diff --git a/docs/changelog.md b/docs/changelog.md index 3b620870fd3..defb3db62cc 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,6 @@ -2024/XX/YY Release 3.6.2 +2024/03/07 Release 3.7.0 +- `docker pull europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v3.7.0` - Implemented the new Gazelle validation API [#141](https://github.com/ahdis/matchbox/issues/141) - Fixed some validation GUI issues [#207](https://github.com/ahdis/matchbox/issues/207) - Renamed the keyword "current" to "last" for Implementation Guide versions [#206](https://github.com/ahdis/matchbox/issues/206) diff --git a/docs/docker.md b/docs/docker.md index 58daf44655c..96c207e4025 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -3,7 +3,7 @@ if you have the rights you can download Matchbox as a docker container: ``` -docker pull europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v3.6.1 +docker pull europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v3.7.0 ``` ## Configurable base image: diff --git a/docs/matchbox-engine.md b/docs/matchbox-engine.md index 145fda46684..22e447a04ff 100644 --- a/docs/matchbox-engine.md +++ b/docs/matchbox-engine.md @@ -45,7 +45,7 @@ You can add the matchbox-engine dependency in your `pom.xml`: health.matchbox matchbox-engine - 3.6.1 + 3.7.0 ``` diff --git a/matchbox-engine/pom.xml b/matchbox-engine/pom.xml index a7c151b2b4c..2979496d116 100644 --- a/matchbox-engine/pom.xml +++ b/matchbox-engine/pom.xml @@ -6,7 +6,7 @@ matchbox health.matchbox - 3.6.1 + 3.7.0 matchbox-engine diff --git a/matchbox-frontend/package-lock.json b/matchbox-frontend/package-lock.json index 88f7e914b57..dbdfb8b925f 100644 --- a/matchbox-frontend/package-lock.json +++ b/matchbox-frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "matchbox", - "version": "3.6.1", + "version": "3.7.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "matchbox", - "version": "3.6.1", + "version": "3.7.0", "license": "MIT", "dependencies": { "@angular-devkit/build-angular": "^17.2.0", diff --git a/matchbox-frontend/package.json b/matchbox-frontend/package.json index 09ff7afc5f3..e3a8c5cc636 100644 --- a/matchbox-frontend/package.json +++ b/matchbox-frontend/package.json @@ -1,6 +1,6 @@ { "name": "matchbox", - "version": "3.6.1", + "version": "3.7.0", "license": "MIT", "scripts": { "ng": "ng", diff --git a/matchbox-server/pom.xml b/matchbox-server/pom.xml index dd97515ed91..4f526b64486 100644 --- a/matchbox-server/pom.xml +++ b/matchbox-server/pom.xml @@ -5,7 +5,7 @@ matchbox health.matchbox - 3.6.1 + 3.7.0 matchbox-server diff --git a/matchbox-server/src/main/resources/static/index.html b/matchbox-server/src/main/resources/static/index.html index e5498d6d7fe..7d123a12171 100644 --- a/matchbox-server/src/main/resources/static/index.html +++ b/matchbox-server/src/main/resources/static/index.html @@ -11,5 +11,5 @@ - + diff --git a/matchbox-server/src/main/resources/static/main.7c4a1e31b12722c9.js b/matchbox-server/src/main/resources/static/main.7c4a1e31b12722c9.js deleted file mode 100644 index fabf6169e31..00000000000 --- a/matchbox-server/src/main/resources/static/main.7c4a1e31b12722c9.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[590],{6244:(De,te)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.Ucum=void 0,te.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"}}},2424:(De,te,g)=>{"use strict";te.M=void 0;var v=g(6244),C=g(3716);class E{constructor(b){if(0===v.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==b)this.assignZero();else if(b instanceof Array){if(b.length!==v.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(b)}`);this.dimVec_=[];for(let s=0;s=v.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[b]=1}}setElementAt(b,s){if(!C(b)||b<0||b>=v.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${b})`);this.dimVec_||this.assignZero(),null==s&&(s=1),this.dimVec_[b]=s}getElementAt(b){if(!C(b)||b<0||b>=v.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${b})`);let s=null;return this.dimVec_&&(s=this.dimVec_[b]),s}getProperty(b){return this["_"===b.charAt(b.length-1)?b:b+"_"]}toString(){let b=null;return this.dimVec_&&(b="["+this.dimVec_.join(", ")+"]"),b}add(b){if(!b instanceof E)throw new Error(`Dimension.add called with an invalid parameter - ${typeof b} instead of a Dimension object`);if(this.dimVec_&&b.dimVec_)for(let s=0;s{"use strict";te.um=function f(d){const l=d&&d.config;if(l){if(l.length&&d.data){const a=E(l);return d.data.map(b.bind(null,a))}return d.data}return d};function E(d){return d.map(l=>Array.isArray(l)?l:[l])}function b(d,l){let a={};return d.forEach((r,u)=>{let h=a;for(let p=0;p{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.Prefix=void 0,g(6244),te.Prefix=class v{constructor(E){if(null==E.code_||null==E.name_||null==E.value_||void 0===E.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_=E.code_,this.ciCode_=E.ciCode_,this.name_=E.name_,this.printSymbol_=E.printSymbol_,this.value_="string"==typeof E.value_?parseFloat(E.value_):E.value_,this.exp_=E.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(E){return this.code_===E.code_&&this.ciCode_===E.ciCode_&&this.name_===E.name_&&this.printSymbol_===E.printSymbol_&&this.value_===E.value_&&this.exp_===E.exp_}}},3828:(De,te)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.PrefixTables=te.PrefixTablesFactory=void 0;class g{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let E="",c=Object.keys(this.byValue_),b=c.length;for(let s=0;s{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.default=void 0;var t=new class g{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(C){return C-273.15},cnvFrom:function(C){return C+273.15}},this.funcs.degf={cnvTo:function(C){return C-459.67},cnvFrom:function(C){return C+459.67}},this.funcs.degre={cnvTo:function(C){return C-273.15},cnvFrom:function(C){return C+273.15}},this.funcs.ph={cnvTo:function(C){return-Math.log(C)/Math.LN10},cnvFrom:function(C){return Math.pow(10,-C)}},this.funcs.ln={cnvTo:function(C){return Math.log(C)},cnvFrom:function(C){return Math.exp(C)}},this.funcs["2ln"]={cnvTo:function(C){return 2*Math.log(C)},cnvFrom:function(C){return Math.exp(C/2)}},this.funcs.lg={cnvTo:function(C){return Math.log(C)/Math.LN10},cnvFrom:function(C){return Math.pow(10,C)}},this.funcs["10lg"]={cnvTo:function(C){return 10*Math.log(C)/Math.LN10},cnvFrom:function(C){return Math.pow(10,C/10)}},this.funcs["20lg"]={cnvTo:function(C){return 20*Math.log(C)/Math.LN10},cnvFrom:function(C){return Math.pow(10,C/20)}},this.funcs["2lg"]={cnvTo:function(C){return 2*Math.log(C)/Math.LN10},cnvFrom:function(C){return Math.pow(10,C/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(C){return Math.log(C)/Math.LN2},cnvFrom:function(C){return Math.pow(2,C)}},this.funcs["100tan"]={cnvTo:function(C){return 100*Math.tan(C)},cnvFrom:function(C){return Math.atan(C/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(C){return Math.sqrt(C)},cnvFrom:function(C){return C*C}},this.funcs.inv={cnvTo:function(C){return 1/C},cnvFrom:function(C){return 1/C}},this.funcs.hpX={cnvTo:function(C){return-this.funcs.lg(C)},cnvFrom:function(C){return Math.pow(10,-C)}},this.funcs.hpC={cnvTo:function(C){return-this.func.ln(C)/this.funcs.ln(100)},cnvFrom:function(C){return Math.pow(100,-C)}},this.funcs.hpM={cnvTo:function(C){return-this.funcs.ln(C)/this.funcs.ln(1e3)},cnvFrom:function(C){return Math.pow(1e3,-C)}},this.funcs.hpQ={cnvTo:function(C){return-this.funcs.ln(C)/this.funcs.ln(5e4)},cnvFrom:function(C){return Math.pow(5e4,-C)}}}forName(C){C=C.toLowerCase();let E=this.funcs[C];if(null===E)throw new Error(`Requested function ${C} is not defined`);return E}isDefined(C){return C=C.toLowerCase(),null!==this.funcs[C]}};te.default=t},480:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.isNumericString=function v(c){let b=""+c;return!isNaN(b)&&!isNaN(parseFloat(b))},te.isIntegerUnit=function C(c){return/^\d+$/.test(c)},te.getSynonyms=function E(c){let b={},f={};if(f=t.getInstance().getUnitBySynonym(c),f.units){b.status="succeeded";let d=f.units.length;b.units=[];for(let l=0;l{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.ucumJsonDefs=te.UcumJsonDefs=void 0;var t=g(5112),v=g(3828),C=g(6464),E=g(7468),c=g(3912).um;class b{loadJsonDefs(){const d=g(8776);if(d.prefixes=c(d.prefixes),d.units=c(d.units),0===E.UnitTables.getInstance().unitsCount()){let l=v.PrefixTables.getInstance(),a=d.prefixes,r=a.length;for(let _=0;_{"use strict";te.k=void 0;var v=g(6904),C=function c(l){if(l&&l.__esModule)return l;if(null===l||"object"!=typeof l&&"function"!=typeof l)return{default:l};var a=E();if(a&&a.has(l))return a.get(l);var r={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var p=u?Object.getOwnPropertyDescriptor(l,h):null;p&&(p.get||p.set)?Object.defineProperty(r,h,p):r[h]=l[h]}return r.default=l,a&&a.set(l,r),r}(g(480));function E(){if("function"!=typeof WeakMap)return null;var l=new WeakMap;return E=function(){return l},l}var b=g(6244).Ucum,s=g(7468).UnitTables,f=g(2904).q;class d{constructor(){0===s.getInstance().unitsCount()&&v.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=f.getInstance()}useHTMLInMessages(a){void 0===a&&(a=!0),this.uStrParser_.useHTMLInMessages(a)}useBraceMsgForEachString(a){void 0===a&&(a=!0),this.uStrParser_.useBraceMsgForEachString(a)}validateUnitString(a,r,u){void 0===r&&(r=!1),void 0===u&&(u="validate");let h=this.getSpecifiedUnit(a,u,r),p=h.unit,_=p?{ucumCode:h.origString,unit:{code:p.csCode_,name:p.name_,guidance:p.guidance_}}:{ucumCode:null};return _.status=h.status,h.suggestions&&(_.suggestions=h.suggestions),_.msg=h.retMsg,_}convertUnitTo(a,r,u,h,p){void 0===h&&(h=!1),void 0===p&&(p=null);let _={status:"failed",toVal:null,msg:[]};if(a&&(a=a.trim()),(!a||""==a)&&(_.status="error",_.msg.push('No "from" unit expression specified.')),this._checkFromVal(r,_),u&&(u=u.trim()),(!u||""==u)&&(_.status="error",_.msg.push('No "to" unit expression specified.')),"error"!==_.status)try{let y=null,M=this.getSpecifiedUnit(a,"convert",h);y=M.unit,M.retMsg&&(_.msg=_.msg.concat(M.retMsg)),M.suggestions&&(_.suggestions={},_.suggestions.from=M.suggestions),y||_.msg.push(`Unable to find a unit for ${a}, so no conversion could be performed.`);let w=null;if(M=this.getSpecifiedUnit(u,"convert",h),w=M.unit,M.retMsg&&(_.msg=_.msg.concat(M.retMsg)),M.suggestions&&(_.suggestions||(_.suggestions={}),_.suggestions.to=M.suggestions),w||_.msg.push(`Unable to find a unit for ${u}, so no conversion could be performed.`),y&&w)try{if(p){if(0!==y.moleExp_&&0!==w.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===y.moleExp_&&0===w.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(!y.isMoleMassCommensurable(w))throw new Error(`Sorry. ${a} cannot be converted to ${u}.`);_.toVal=0!==y.moleExp_?y.convertMolToMass(r,w,p):y.convertMassToMol(r,w,p)}else _.toVal=w.convertFrom(r,y);_.status="succeeded",_.fromUnit=y,_.toUnit=w}catch(k){_.status="failed",_.msg.push(k.message)}}catch(y){_.status=y.message==b.needMoleWeightMsg_?"failed":"error",_.msg.push(y.message)}return _}convertToBaseUnits(a,r){let u={};if(this._checkFromVal(r,u),!u.status){let h=this.getSpecifiedUnit(a,"validate");u={status:"valid"==h.status?"succeeded":h.status};let p=h.unit;if(u.msg=h.retMsg||[],p){if(p.isArbitrary_)u.msg.push("Arbitrary units cannot be converted to base units or other units."),u.status="failed";else if("succeeded"==u.status){let _={},y=p.dim_?.dimVec_,M="1";if(y){let D=s.getInstance().dimVecIndexToBaseUnit_;for(let I=0,O=y.length;I0&&(r=h.retMsg),p){let _=null,y=p.getProperty("dim_");if(y){try{_=y.getProperty("dimVec_")}catch(M){r.push(M.message),"Dimension does not have requested property(dimVec_)"===M.message&&(_=null)}_&&(u=s.getInstance().getUnitsByDimension(_))}else r.push("No commensurable units were found for "+a)}else r.push(`Could not find unit ${a}.`);return[u,r]}}te.k=d,d.getInstance=function(){return new d}},1724:(De,te,g)=>{"use strict";te.k1=void 0,g(6244);var C=g(6660).k;te.k1=C,g(7468)},6464:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.Unit=void 0;var t=function c(a){return a&&a.__esModule?a:{default:a}}(g(8944)),v=function E(a){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var r=C();if(r&&r.has(a))return r.get(a);var u={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in a)if(Object.prototype.hasOwnProperty.call(a,p)){var _=h?Object.getOwnPropertyDescriptor(a,p):null;_&&(_.get||_.set)?Object.defineProperty(u,p,_):u[p]=a[p]}return u.default=a,r&&r.set(a,u),u}(g(480));function C(){if("function"!=typeof WeakMap)return null;var a=new WeakMap;return C=function(){return a},a}var f,b=g(6244).Ucum,s=g(2424).M,d=g(3716);class l{constructor(r={}){this.isBase_=r.isBase_||!1,this.name_=r.name_||"",this.csCode_=r.csCode_||"",this.ciCode_=r.ciCode_||"",this.property_=r.property_||"",this.magnitude_=r.magnitude_||1,this.dim_=null==r.dim_?new s:void 0!==r.dim_.dimVec_?new s(r.dim_.dimVec_):r.dim_ instanceof s?r.dim_:r.dim_ instanceof Array||d(r.dim_)?new s(r.dim_):new s,this.printSymbol_=r.printSymbol_||null,this.class_=r.class_||null,this.isMetric_=r.isMetric_||!1,this.variable_=r.variable_||null,this.cnv_=r.cnv_||null,this.cnvPfx_=r.cnvPfx_||1,this.isSpecial_=r.isSpecial_||!1,this.isArbitrary_=r.isArbitrary_||!1,this.moleExp_=r.moleExp_||0,this.synonyms_=r.synonyms_||null,this.source_=r.source_||null,this.loincProperty_=r.loincProperty_||null,this.category_=r.category_||null,this.guidance_=r.guidance_||null,this.csUnitString_=r.csUnitString_||null,this.ciUnitString_=r.ciUnitString_||null,this.baseFactorStr_=r.baseFactorStr_||null,this.baseFactor_=r.baseFactor_||null,this.defError_=r.defError_||!1}assignUnity(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new s),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}assignVals(r){for(let u in r){let h="_"===!u.charAt(u.length-1)?u+"_":u;if(!this.hasOwnProperty(h))throw new Error(`Parameter error; ${u} is not a property of a Unit`);this[h]=r[u]}}clone(){let r=new l;return Object.getOwnPropertyNames(this).forEach(u=>{"dim_"===u?r.dim_=this.dim_?this.dim_.clone():null:r[u]=this[u]}),r}assign(r){Object.getOwnPropertyNames(r).forEach(u=>{"dim_"===u?this.dim_=r.dim_?r.dim_.clone():null:this[u]=r[u]})}equals(r){return this.magnitude_===r.magnitude_&&this.cnv_===r.cnv_&&this.cnvPfx_===r.cnvPfx_&&(null===this.dim_&&null===r.dim_||this.dim_.equals(r.dim_))}fullEquals(r){let u=Object.keys(this).sort(),h=Object.keys(r).sort(),p=u.length,_=p===h.length;for(let y=0;y0){let u=r.replace("/","!").replace(".","/").replace("=0;k--){let D=parseInt(y[k]);if(!d(D)){if(("-"===y[k]||"+"===y[k])&&k--,k{"use strict";te.q=void 0;var v=function E(a){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var r=C();if(r&&r.has(a))return r.get(a);var u={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in a)if(Object.prototype.hasOwnProperty.call(a,p)){var _=h?Object.getOwnPropertyDescriptor(a,p):null;_&&(_.get||_.set)?Object.defineProperty(u,p,_):u[p]=a[p]}return u.default=a,r&&r.set(a,u),u}(g(480));function C(){if("function"!=typeof WeakMap)return null;var a=new WeakMap;return C=function(){return a},a}function c(a,r,u){return r in a?Object.defineProperty(a,r,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[r]=u,a}var b=g(6244).Ucum,s=g(6464).Unit,f=g(7468).UnitTables,d=g(3828).PrefixTables;class l{constructor(){this.utabs_=f.getInstance(),this.pfxTabs_=d.getInstance(),this.openEmph_=b.openEmph_,this.closeEmph_=b.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(r){void 0===r||r?(this.openEmph_=b.openEmphHTML_,this.closeEmph_=b.closeEmphHTML_):(this.openEmph_=b.openEmph_,this.closeEmph_=b.closeEmph_)}useBraceMsgForEachString(r){this.bracesMsg_=void 0===r||r?b.bracesMsg_:""}parseString(r,u,h){if(""===(r=r.trim())||null===r)throw new Error("Please specify a unit expression to be validated.");"validate"===u?(this.vcMsgStart_=b.valMsgStart_,this.vcMsgEnd_=b.valMsgEnd_):(this.vcMsgStart_=b.cnvMsgStart_,this.vcMsgEnd_=b.cnvMsgEnd_),this.suggestions_=void 0===h||!1===h?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let p=r,_=[];if(r=this._getAnnotations(r),this.retMsg_.length>0)_[0]=null,_[1]=null;else{let M=null;for(M in b.specUnits_)for(;-1!==r.indexOf(M);)r=r.replace(M,b.specUnits_[M]);if(r.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");_=this._parseTheString(r,p);let w=_[0];(v.isIntegerUnit(w)||"number"==typeof w)&&(w=new s({csCode_:p,ciCode_:p,magnitude_:w,name_:p}),_[0]=w)}return _[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(_[3]=this.suggestions_),_}_parseTheString(r,u){let h=null,p=this.retMsg_.length>0,_=this._processParens(r,u);p=_[2];let y=[];if(!p){let M=this._makeUnitsArray(r=_[0],u=_[1]);if(p=M[2],!p){y=M[0],u=M[1];let w=y.length;for(let k=0;k=0){let I=this._getParensUnit(D,u);p||(p=I[1]),p||(y[k].un=I[0])}else{let I=this._makeUnit(D,u);null===I[0]?p=!0:(y[k].un=I[0],u=I[1])}}}}return p||(null===y[0]||" "===y[0]||null==y[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${u}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),p=!0),p||(h=this._performUnitArithmetic(y,u)),[h,u]}_getAnnotations(r){let u=r.indexOf("{");for(;u>=0;){let h=r.indexOf("}");if(h<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+r.substr(u)+this.closeEmph_),u=-1;else{let p=r.substring(u,h+1);if(l.VALID_ANNOTATION_REGEX.test(p)){let _=this.annotations_.length.toString();r=r.replace(p,this.braceFlag_+_+this.braceFlag_),this.annotations_.push(p),u=r.indexOf("{")}else this.retMsg_.push(l.INVALID_ANNOTATION_CHAR_MSG+this.openEmph_+p+this.closeEmph_),u=-1}}if(0==this.retMsg_.length){let h=r.indexOf("}");h>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+r.substring(0,h+1)+this.closeEmph_)}return r}_processParens(r,u){let h=[],p=0,_=!1,y=this.parensUnits_.length,M=0;for(;""!==r&&!_;){let w=0,k=0,D=r.indexOf("(");if(D<0){let I=r.indexOf(")");if(I>=0){let O=`Missing open parenthesis for close parenthesis at ${r.substring(0,I+M)}${this.openEmph_}${r.substr(I,1)}${this.closeEmph_}`;I0&&(h[p++]=r.substr(0,D));let O=0,T=D+1;for(;T0&&(k=r.substr(0,w-1));let D=r.lastIndexOf(this.parensFlag_),I=null;D+this.pFlagLen_=0){let T=this._getAnnoText(k,u);if(T[1]||T[2])throw new Error(`Text found before the parentheses (${k}) included an annotation along with other text for parenthetical unit ${_.csCode_}`);this.retMsg_.push(`The annotation ${T[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(r+=T[0])+this.vcMsgEnd_)}else this.suggestions_?h="succeeded"!==this._getSuggestions(k):(this.retMsg_.push(`${k} preceding the unit code ${r} is invalid. Unable to make a substitution.`),h=!0);if(I)if(I.indexOf(this.braceFlag_)>=0){let T=this._getAnnoText(I,u);if(T[1]||T[2])throw new Error(`Text found after the parentheses (${I}) included an annotation along with other text for parenthetical unit ${_.csCode_}`);r+=T[0]}else if(v.isNumericString(I)){_=null;let T=`An exponent (${I}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.`;r.match(/\d$/)||(T+="\n "+this.vcMsgStart_+(r+=I)+this.vcMsgEnd_),this.retMsg_.push(T),h=!0}else this.suggestions_?h="succeeded"!==this._getSuggestions(k):(this.retMsg_.push(`Text ${I} following the unit code ${r} is invalid. Unable to make a substitution.`),h=!0);return h||(_?v.isIntegerUnit(_)?_=new s({csCode_:_,magnitude_:_,name_:_}):_.csCode_=r:_=new s({csCode_:r,magnitude_:1,name_:r})),[_,h]}_getAnnoText(r,u){let h=r.indexOf(this.braceFlag_),p=h>0?r.substring(0,h):null;0!==h&&(r=r.substr(h));let _=r.indexOf(this.braceFlag_,1),y=_+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${M} found in ${r} that was created from ${u}`);return[r=this.annotations_[w],p,y]}_getSuggestions(r){let u=v.getSynonyms(r);if("succeeded"===u.status){let h={};h.msg=`${r} is not a valid UCUM code. We found possible units that might be what was meant:`,h.invalidUnit=r;let p=u.units.length;h.units=[];for(let _=0;_=0){let p=this._getUnitWithAnnotation(r,u);h=p[0],h&&(u=p[1])}else{if(r.indexOf("^")>-1){let p=r.replace("^","*");h=this.utabs_.getUnitByCode(p),h&&(h=h.clone(),h.csCode_=h.csCode_.replace("*","^"),h.ciCode_=h.ciCode_.replace("*","^"))}if(!h){let p="["+r+"]";h=this.utabs_.getUnitByCode(p),h&&(h=h.clone(),u=u.replace(r,p),this.retMsg_.push(`${r} is not a valid unit expression, but ${p} is.\n`+this.vcMsgStart_+`${p} (${h.name_})${this.vcMsgEnd_}`))}if(!h){let p=this.utabs_.getUnitByName(r);if(p&&p.length>0){h=p[0].clone();let _="The UCUM code for "+r+" is "+h.csCode_+".\n"+this.vcMsgStart_+h.csCode_+this.vcMsgEnd_,y=!1;for(let k=0;k"+A+"",csCode_:L+A,ciCode_:S+A,printSymbol_:F+""+A+""})}}else h=null,this.suggestions_?this._getSuggestions(p):this.retMsg_.push(`${p} is not a valid UCUM code.`)}}return[h,u]}_getUnitWithAnnotation(r,u){let h=null,p=this._getAnnoText(r,u),_=p[0],y=p[1],M=p[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let w=this.retMsg_.length;if(y||M)if(y&&!M)if(v.isIntegerUnit(y))h=y;else{let k=this._makeUnit(y,u);k[0]?(h=k[0],h.csCode_+=_,u=k[1]):this.retMsg_.push(`Unable to find a unit for ${y} that precedes the annotation ${_}.`)}else if(!y&&M)if(v.isIntegerUnit(M))h=M+_,this.retMsg_.push(`The annotation ${_} before the ``${M} is invalid.\n`+this.vcMsgStart_+h+this.vcMsgEnd_);else{let k=this._makeUnit(M,u);k[0]?(h=k[0],h.csCode_+=_,u=h.csCode_,this.retMsg_.push(`The annotation ${_} before the unit code is invalid.\n`+this.vcMsgStart_+h.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${y} that follows the annotation ${_}.`)}else this.retMsg_.push(`Unable to find a unit for ${y}${_}${M}.\nWe are not sure how to interpret text both before and after the annotation. Sorry`);else{let k="["+_.substring(1,_.length-1)+"]",D=this._makeUnit(k,u);D[0]?(h=r,this.retMsg_.push(`${_} is a valid unit expression, but did you mean ${k} (${D[0].name_})?`)):this.retMsg_.length>w&&this.retMsg_.pop(),h=new s({csCode_:_,ciCode_:_,magnitude_:1,name_:_})}return[h,u]}_performUnitArithmetic(r,u){let h=r[0].un;v.isIntegerUnit(h)&&(h=new s({csCode_:h,ciCode_:h,magnitude_:Number(h),name_:h}));let p=r.length,_=!1;for(let y=1;y{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.UnitTables=void 0;var t=g(6244).Ucum,C=new class v{constructor(){this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0,this.dimVecIndexToBaseUnit_={}}unitsCount(){return Object.keys(this.unitCodes_).length}addUnit(b){b.name_&&this.addUnitName(b),this.addUnitCode(b),this.addUnitString(b);try{b.dim_.getProperty("dimVec_")&&this.addUnitDimension(b)}catch{}if(b.isBase_){const f=b.dim_.dimVec_;let d;for(let l=0,a=f.length;null==d&&l=1&&(f=b.substr(s+t.codeSep_.length),b=b.substr(0,s));let d=this.unitNames_[b];if(d){let l=d.length;if(f&&l>1){let a=0;for(;d[a].csCode_!==f&&a0&&(f+=s),"dim_"===b[_])f+=null!=p.dim_&&p.dim_.dimVec_ instanceof Array?"["+p.dim_.dimVec_.join(",")+"]":"";else{let y=p[b[_]];f+="string"==typeof y?y.replace(/[\n\r]/g," "):y}f+="\r\n"}}return f}printUnits(b,s){void 0===b&&(b=!1),void 0===s&&(s="|");let f="",d=this.codeOrder_.length,l="csCode"+s;b&&(l+="ciCode"+s),l+="name"+s,b&&(l+="isBase"+s),l+="magnitude"+s+"dimension"+s+"from unit(s)"+s+"value"+s+"function"+s,b&&(l+="property"+s+"printSymbol"+s+"synonyms"+s+"source"+s+"class"+s+"isMetric"+s+"variable"+s+"isSpecial"+s+"isAbitrary"+s),l+="comment",f=l+"\n";for(let a=0;a{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.AppComponent=void 0;const t=g(5052),E=(g(5400),g(2064),t.__importDefault(g(6604))),c=t.__importStar(g(4496)),b=t.__importStar(g(2064)),s=t.__importStar(g(5400)),f=t.__importStar(g(1560)),d=t.__importStar(g(4192));te.AppComponent=(()=>{class a{constructor(u,h){this.version=E.default.version,u.setDefaultLang("de"),u.use(u.getBrowserLang());let p=location.origin;if("http://localhost:4200"===p)console.log("note: using local dev mag system for"+location.origin),h.changeFhirMicroService("http://localhost:8080/matchboxv3/fhir");else{let _=p+location.pathname+"fhir";h.changeFhirMicroService(_),console.log("fhir endpoint "+_)}}static#e=this.\u0275fac=function(h){return new(h||a)(c.\u0275\u0275directiveInject(b.TranslateService),c.\u0275\u0275directiveInject(s.FhirConfigService))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:a,selectors:[["app-root"]],decls:43,vars:1,consts:[["routerLink","/",1,"logo-container"],["alt","Matchbox logo","height","40","src","assets/matchbox_logo_color.png","width","95"],[1,"version"],["routerLink","/"],["routerLink","/CapabilityStatement"],["routerLink","/igs"],["routerLink","/mappinglanguage"],["routerLink","/transform"],["routerLink","/validate"],["routerLink","/settings"],[1,"mat-typography"]],template:function(h,p){1&h&&(c.\u0275\u0275elementStart(0,"header")(1,"div",0),c.\u0275\u0275element(2,"img",1),c.\u0275\u0275elementStart(3,"span",2),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(5,"nav")(6,"div",3)(7,"mat-icon"),c.\u0275\u0275text(8,"home"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(9,"span"),c.\u0275\u0275text(10,"Home"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(11,"div",4)(12,"mat-icon"),c.\u0275\u0275text(13,"info"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(14,"span"),c.\u0275\u0275text(15,"CapabilityStatement"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(16,"div",5)(17,"mat-icon"),c.\u0275\u0275text(18,"info"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(19,"span"),c.\u0275\u0275text(20,"IGs"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(21,"div",6)(22,"mat-icon"),c.\u0275\u0275text(23,"search"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(24,"span"),c.\u0275\u0275text(25,"FHIR Mapping"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(26,"div",7)(27,"mat-icon"),c.\u0275\u0275text(28,"transform"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(29,"span"),c.\u0275\u0275text(30,"Transform"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(31,"div",8)(32,"mat-icon"),c.\u0275\u0275text(33,"rule"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(34,"span"),c.\u0275\u0275text(35,"Validate"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(36,"div",9)(37,"mat-icon"),c.\u0275\u0275text(38,"settings"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(39,"span"),c.\u0275\u0275text(40,"Settings"),c.\u0275\u0275elementEnd()()()(),c.\u0275\u0275elementStart(41,"main",10),c.\u0275\u0275element(42,"router-outlet"),c.\u0275\u0275elementEnd()),2&h&&(c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate1("v",p.version,""))},dependencies:[f.MatIcon,d.RouterOutlet,d.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)}header[_ngcontent-%COMP%]{background:#97d6ba;display:flex;flex-wrap:wrap;flex:0 1 auto;padding:10px 2em;justify-content:space-between}header[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{display:inline-block}header[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{color:#2e7d73;font-size:.9em;display:inline-block;margin:4px 0 0 10px;vertical-align:top}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{display:flex;margin-top:10px}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:inline-block;margin:0 1rem;cursor:pointer;color:#3d5c73}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px;vertical-align:middle;color:#d2eade}main[_ngcontent-%COMP%]{width:100%;margin:0 auto}@media (max-width: 1140px){header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:0 7px}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:4px;font-size:18px;width:18px;height:18px}}"]})}return a})()},5204:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.AppModule=te.createTranslateLoader=void 0;const t=g(5052),v=g(7048),C=g(4192),E=g(2064),c=g(2628),b=g(6108),s=g(4700),f=g(6916),d=g(8300),l=g(1132),a=g(9280),r=g(4367),u=g(540),h=g(5700),p=g(8032),_=g(869),y=g(6319),M=t.__importStar(g(4496)),I=(t.__importStar(g(4192)),t.__importStar(g(2064)),t.__importStar(g(869)),[{path:"",component:f.HomeComponent},{path:"mappinglanguage",component:d.MappingLanguageComponent},{path:"CapabilityStatement",component:s.CapabilityStatementComponent},{path:"igs",component:r.IgsComponent},{path:"settings",component:l.SettingsComponent},{path:"transform",component:h.TransformComponent},{path:"validate",component:p.ValidateComponent}]);function O(N){return new c.TranslateHttpLoader(N,"./assets/i18n/",".json")}te.createTranslateLoader=O,te.AppModule=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275mod=M.\u0275\u0275defineNgModule({type:N,bootstrap:[b.AppComponent]});static#n=this.\u0275inj=M.\u0275\u0275defineInjector({providers:[{provide:u.HIGHLIGHT_OPTIONS,useValue:{coreLibraryLoader:()=>Promise.resolve().then(()=>t.__importStar(g(1160))),lineNumbersLoader:()=>Promise.resolve().then(()=>t.__importStar(g(4328))),languages:{json:()=>Promise.resolve().then(()=>t.__importStar(g(568))),xml:()=>Promise.resolve().then(()=>t.__importStar(g(2872)))}}}],imports:[a.SharedModule,v.HttpClientModule,u.HighlightModule,C.RouterModule.forRoot(I,{useHash:!0}),E.TranslateModule.forRoot({loader:{provide:E.TranslateLoader,useFactory:O,deps:[v.HttpClient]}}),_.OAuthModule.forRoot(),y.NgxMatSelectSearchModule]})}return N})()},4700:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.CapabilityStatementComponent=void 0;const t=g(5052),C=(g(5400),t.__importDefault(g(7496)));g(7836),g(5148);const E=g(840),c=t.__importStar(g(4496)),b=t.__importStar(g(5400)),s=t.__importStar(g(1368)),f=t.__importStar(g(7488)),d=t.__importStar(g(100));function l(h,p){1&h&&c.\u0275\u0275element(0,"mat-spinner")}function a(h,p){if(1&h&&c.\u0275\u0275element(0,"app-operation-result",4),2&h){const _=c.\u0275\u0275nextContext();c.\u0275\u0275property("operationResult",_.operationResult)}}te.CapabilityStatementComponent=(()=>{class h{constructor(_){this.data=_,this.capabilityStatement=null,this.operationResult=null,this.loading=!0,this.client=_.getFhirClient()}ngAfterViewInit(){this.client.capabilityStatement().then(_=>{this.loading=!1,this.operationResult=null,this.editor=C.default.edit("code"),this.editor.setReadOnly(!0),this.editor.setValue(JSON.stringify(_,null,4),-1),this.editor.getSession().setMode("ace/mode/json"),this.editor.setTheme("ace/theme/textmate"),this.editor.setOptions({maxLines:1e4,tabSize:4,wrap:!0,useWorker:!1}),this.editor.resize(!0)}).catch(_=>{console.error(_),this.loading=!1,this.capabilityStatement=null,this.editor&&(this.editor.destroy(),this.editor.container.remove()),this.editor=null,this.operationResult=_.response?.data?E.OperationResult.fromOperationOutcome(_.response.data):E.OperationResult.fromMatchboxError(_.message)})}static#e=this.\u0275fac=function(y){return new(y||h)(c.\u0275\u0275directiveInject(b.FhirConfigService))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:h,selectors:[["app-capability-statement"]],decls:10,vars:3,consts:[["id","capability-statement",1,"white-block"],[4,"ngIf"],["id","code"],[3,"operationResult",4,"ngIf"],[3,"operationResult"]],template:function(y,M){1&y&&(c.\u0275\u0275elementStart(0,"div",0)(1,"h2"),c.\u0275\u0275text(2,"CapabilityStatement"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(3,"p"),c.\u0275\u0275text(4," CapabilityStatement of the server: "),c.\u0275\u0275elementStart(5,"code"),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(7,l,1,0,"mat-spinner",1),c.\u0275\u0275element(8,"div",2),c.\u0275\u0275template(9,a,1,1,"app-operation-result",3),c.\u0275\u0275elementEnd()),2&y&&(c.\u0275\u0275advance(6),c.\u0275\u0275textInterpolate(M.client.baseUrl),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",M.loading),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",M.operationResult))},dependencies:[s.NgIf,f.MatProgressSpinner,d.OperationResultComponent]})}return h})()},5400:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.FhirConfigService=void 0;const t=g(5052),v=t.__importDefault(g(1920)),C=t.__importStar(g(4496));te.FhirConfigService=(()=>{class c{constructor(){}changeFhirMicroService(s){localStorage.setItem("fhirMicroServer",s)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")}getFhirClient(){return new v.default({baseUrl:this.getFhirMicroService()})}static#e=this.\u0275fac=function(f){return new(f||c)};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},6e3:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.FhirPathService=void 0;const t=g(5052),v=g(2432),C=t.__importStar(g(4496));te.FhirPathService=(()=>{class c{evaluate(s,f){return(0,v.evaluate)(s,f,null)}evaluateToString(s,f){const d=this.evaluate(s,f);return d&&d instanceof Array&&1===d.length?d[0]:null}getOauthUriToken(s){return this.evaluateToString(s,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(s){return this.evaluateToString(s,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}static#e=this.\u0275fac=function(f){return new(f||c)};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},6916:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.HomeComponent=void 0;const t=g(5052),v=t.__importDefault(g(6604)),C=t.__importStar(g(4496)),E=t.__importStar(g(2080)),c=t.__importStar(g(1560)),b=t.__importStar(g(9880)),s=t.__importStar(g(4192));te.HomeComponent=(()=>{class d{constructor(){this.version=v.default.version}static#e=this.\u0275fac=function(r){return new(r||d)};static#t=this.\u0275cmp=C.\u0275\u0275defineComponent({type:d,selectors:[["app-home"]],decls:31,vars:1,consts:[[1,"primary"],["mat-menu-item","","routerLink","/validate"],["mat-menu-item","","routerLink","/igs"],["mat-menu-item","","routerLink","/settings"],["href","https://fhirpath-lab.com/FhirPath","target","_blank"],["href","https://fhirpath-lab.com/FhirMapper2","target","_blank"],["href","https://www.ahdis.ch","rel","external nofollow noopener","target","_blank"]],template:function(r,u){1&r&&(C.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"button",1)(3,"mat-icon"),C.\u0275\u0275text(4,"rule"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(5,"span"),C.\u0275\u0275text(6,"Validate resource"),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(7,"button",2)(8,"mat-icon"),C.\u0275\u0275text(9,"info"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(10,"span"),C.\u0275\u0275text(11,"Installed IGs"),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(12,"button",3)(13,"mat-icon"),C.\u0275\u0275text(14,"settings"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(15,"span"),C.\u0275\u0275text(16,"Settings"),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(17,"p"),C.\u0275\u0275text(18,"Other tools:"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(19,"ul")(20,"li")(21,"a",4),C.\u0275\u0275text(22,"FHIRPath tester"),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(23,"li")(24,"a",5),C.\u0275\u0275text(25,"FHIR Mapper"),C.\u0275\u0275elementEnd()()()(),C.\u0275\u0275elementStart(26,"mat-card-footer")(27,"p"),C.\u0275\u0275text(28),C.\u0275\u0275elementStart(29,"a",6),C.\u0275\u0275text(30," contact"),C.\u0275\u0275elementEnd()()()()),2&r&&(C.\u0275\u0275advance(28),C.\u0275\u0275textInterpolate1(" matchbox version: ",u.version," | "))},dependencies:[E.MatCard,E.MatCardContent,E.MatCardFooter,c.MatIcon,b.MatMenuItem,s.RouterLink],styles:["mat-card.primary[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:20px}mat-card.primary[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px;vertical-align:middle;color:#68c39a}mat-card.primary[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:30px 0 15px}mat-card.primary[_ngcontent-%COMP%] mat-card-footer[_ngcontent-%COMP%]{padding:0 1.5rem 1.5rem}"]})}return d})()},4367:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.IgsComponent=void 0;const t=g(5052),C=(g(5400),g(6504)),c=(g(6e3),g(840)),b=t.__importStar(g(4496)),s=t.__importStar(g(5400)),f=t.__importStar(g(6e3)),d=t.__importStar(g(1368)),l=t.__importStar(g(6504)),a=t.__importStar(g(4060)),r=t.__importStar(g(5155)),u=t.__importStar(g(7488)),h=t.__importStar(g(100));function p(I,O){if(1&I){const T=b.\u0275\u0275getCurrentView();b.\u0275\u0275elementStart(0,"tr",9),b.\u0275\u0275listener("click",function(){const F=b.\u0275\u0275restoreView(T).$implicit,L=b.\u0275\u0275nextContext();return b.\u0275\u0275resetView(L.selectRow(F))}),b.\u0275\u0275elementStart(1,"td"),b.\u0275\u0275text(2),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(3,"td",10),b.\u0275\u0275text(4),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(5,"td",10),b.\u0275\u0275text(6),b.\u0275\u0275elementEnd()()}if(2&I){const T=O.$implicit;b.\u0275\u0275advance(2),b.\u0275\u0275textInterpolate(T.packageId),b.\u0275\u0275advance(2),b.\u0275\u0275textInterpolate(T.version),b.\u0275\u0275advance(2),b.\u0275\u0275textInterpolate(T.title)}}function _(I,O){if(1&I){const T=b.\u0275\u0275getCurrentView();b.\u0275\u0275elementContainerStart(0),b.\u0275\u0275text(1,"\xa0 "),b.\u0275\u0275elementStart(2,"button",6),b.\u0275\u0275listener("click",function(){b.\u0275\u0275restoreView(T);const S=b.\u0275\u0275nextContext();return b.\u0275\u0275resetView(S.onUpdate())}),b.\u0275\u0275text(3,"Update"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementContainerEnd()}}function y(I,O){if(1&I){const T=b.\u0275\u0275getCurrentView();b.\u0275\u0275elementContainerStart(0),b.\u0275\u0275text(1,"\xa0 "),b.\u0275\u0275elementStart(2,"button",6),b.\u0275\u0275listener("click",function(){b.\u0275\u0275restoreView(T);const S=b.\u0275\u0275nextContext();return b.\u0275\u0275resetView(S.onDelete())}),b.\u0275\u0275text(3,"Delete"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementContainerEnd()}}function M(I,O){1&I&&(b.\u0275\u0275elementContainerStart(0),b.\u0275\u0275element(1,"mat-progress-spinner",11),b.\u0275\u0275elementContainerEnd())}function w(I,O){if(1&I&&b.\u0275\u0275element(0,"app-operation-result",14),2&I){const T=b.\u0275\u0275nextContext(2);b.\u0275\u0275property("operationResult",T.operationResult)}}function k(I,O){if(1&I&&(b.\u0275\u0275elementStart(0,"div",12)(1,"h2"),b.\u0275\u0275text(2,"Result of the last operation"),b.\u0275\u0275elementEnd(),b.\u0275\u0275template(3,w,1,1,"app-operation-result",13),b.\u0275\u0275elementEnd()),2&I){const T=b.\u0275\u0275nextContext();b.\u0275\u0275advance(3),b.\u0275\u0275property("ngIf",T.operationResult)}}te.IgsComponent=(()=>{class I{constructor(T,N){this.data=T,this.fhirPathService=N,this.update=!1,this.operationResult=null,this.query={_sort:"title",_count:1e4},this.client=T.getFhirClient(),this.addPackageId=new C.UntypedFormControl("",[C.Validators.required,C.Validators.minLength(1)]),this.addVersion=new C.UntypedFormControl("current",[C.Validators.required,C.Validators.minLength(1)]),this.addUrl=new C.UntypedFormControl("url"),this.search()}search(){this.client.search({resourceType:"ImplementationGuide",searchParams:this.query}).then(T=>{this.igs=T.entry.map(S=>S.resource),this.selection=void 0,this.addPackageId.setValue(""),this.addVersion.setValue(""),this.addUrl.setValue("")}).catch(T=>{this.errorMessage="Error accessing FHIR server",this.operationResult=T.response?.data?c.OperationResult.fromOperationOutcome(T.response.data):c.OperationResult.fromMatchboxError(T.message)}),this.update=!1}getPackageUrl(T){return this.fhirPathService.evaluateToString(T,"extension.where(url='http://ahdis.ch/fhir/extension/packageUrl').valueUri")}selectRow(T){this.selection=T,this.addPackageId.setValue(this.selection.packageId),this.addUrl.setValue(this.getPackageUrl(T));let N=this.selection.version;N&&N.endsWith(" (current)")&&(N=N.substring(0,N.length-10)),this.addVersion.setValue(N)}onSubmit(){if(this.errorMessage=null,this.addPackageId.invalid||this.addVersion.invalid)return void(this.errorMessage="Please provide package name");let T=this.addPackageId.value.trim();T.indexOf("#")>0&&(T.substring(0,T.indexOf("#")-1),this.addVersion.setValue(T.substring(0,T.indexOf("#")+1))),this.addPackageId.setValue(T);const N=this.addVersion.value.trim();this.addVersion.setValue(N),this.update=!0,this.client.create({resourceType:"ImplementationGuide",body:{resourceType:"ImplementationGuide",name:T,version:N,packageId:T,url:this.addUrl.value},options:{headers:{Prefer:"return=OperationOutcome"}}}).then(S=>{this.errorMessage="Created Implementation Guide "+this.addPackageId.value,this.operationResult=c.OperationResult.fromOperationOutcome(S),this.search()}).catch(S=>{this.errorMessage="Error creating Implementation Guide "+this.addPackageId.value,this.operationResult=S.response?.data?c.OperationResult.fromOperationOutcome(S.response.data):c.OperationResult.fromMatchboxError(S.message),this.update=!1})}onUpdate(){this.errorMessage=null,this.selection.name=this.addPackageId.value,this.selection.version=this.addVersion.value,this.selection.packageId=this.addPackageId.value,this.selection.url=this.addUrl.value,this.update=!0,this.client.update({resourceType:this.selection.resourceType,id:this.selection.id,body:this.selection,options:{headers:{Prefer:"return=OperationOutcome"}}}).then(T=>{this.errorMessage="Updated Implementation Guide "+this.selection.packageId,this.operationResult=c.OperationResult.fromOperationOutcome(T),this.search()}).catch(T=>{this.errorMessage="Error updating Implementation Guide "+this.selection.packageId,this.operationResult=T.response?.data?c.OperationResult.fromOperationOutcome(T.response.data):c.OperationResult.fromMatchboxError(T.message),this.update=!1})}onDelete(){this.errorMessage=null,this.update=!0,this.client.delete({resourceType:this.selection.resourceType,id:this.selection.id,options:{headers:{Prefer:"return=OperationOutcome","X-Cascade":"delete"}}}).then(T=>{this.errorMessage="Deleted Implementation Guide Resource "+this.selection.packageId,this.operationResult=c.OperationResult.fromOperationOutcome(T),this.search()}).catch(T=>{this.errorMessage="Error deleting Implementation Guide "+this.selection.packageId,this.operationResult=T.response?.data?c.OperationResult.fromOperationOutcome(T.response.data):c.OperationResult.fromMatchboxError(T.message),this.update=!1})}static#e=this.\u0275fac=function(N){return new(N||I)(b.\u0275\u0275directiveInject(s.FhirConfigService),b.\u0275\u0275directiveInject(f.FhirPathService))};static#t=this.\u0275cmp=b.\u0275\u0275defineComponent({type:I,selectors:[["app-igs"]],decls:40,vars:8,consts:[[1,"white-block","card-igs"],[3,"click",4,"ngFor","ngForOf"],[1,"white-block","Search","card-igs"],["matInput","",3,"formControl"],[2,"width","50vw"],["href","https://packages.fhir.org"],["type","submit",3,"click"],[4,"ngIf"],["class","white-block logs",4,"ngIf"],[3,"click"],[1,"secondary"],["mode","indeterminate"],[1,"white-block","logs"],[3,"operationResult",4,"ngIf"],[3,"operationResult"]],template:function(N,S){1&N&&(b.\u0275\u0275elementStart(0,"div",0)(1,"h2"),b.\u0275\u0275text(2,"ImplementationGuides installed on the server"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(3,"table")(4,"thead")(5,"tr")(6,"th"),b.\u0275\u0275text(7,"Package"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(8,"th"),b.\u0275\u0275text(9,"Version"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(10,"th"),b.\u0275\u0275text(11,"Title"),b.\u0275\u0275elementEnd()()(),b.\u0275\u0275elementStart(12,"tbody"),b.\u0275\u0275template(13,p,7,3,"tr",1),b.\u0275\u0275elementEnd()()(),b.\u0275\u0275elementStart(14,"div",2)(15,"h3"),b.\u0275\u0275text(16,"Install an ImplementationGuide"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(17,"mat-form-field")(18,"mat-label"),b.\u0275\u0275text(19,"PackageId"),b.\u0275\u0275elementEnd(),b.\u0275\u0275element(20,"input",3),b.\u0275\u0275elementEnd(),b.\u0275\u0275text(21," \xa0 "),b.\u0275\u0275elementStart(22,"mat-form-field")(23,"mat-label"),b.\u0275\u0275text(24,"Version"),b.\u0275\u0275elementEnd(),b.\u0275\u0275element(25,"input",3),b.\u0275\u0275elementEnd(),b.\u0275\u0275text(26," \xa0 "),b.\u0275\u0275elementStart(27,"mat-form-field",4)(28,"mat-label"),b.\u0275\u0275text(29,"Package url (optional, use only if not available through "),b.\u0275\u0275elementStart(30,"a",5),b.\u0275\u0275text(31,"packages.fhir.org"),b.\u0275\u0275elementEnd(),b.\u0275\u0275text(32,") "),b.\u0275\u0275elementEnd(),b.\u0275\u0275element(33,"input",3),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(34,"button",6),b.\u0275\u0275listener("click",function(){return S.onSubmit()}),b.\u0275\u0275text(35,"Upload"),b.\u0275\u0275elementEnd(),b.\u0275\u0275template(36,_,4,0,"ng-container",7)(37,y,4,0,"ng-container",7),b.\u0275\u0275elementEnd(),b.\u0275\u0275template(38,M,2,0,"ng-container",7)(39,k,4,1,"div",8)),2&N&&(b.\u0275\u0275advance(13),b.\u0275\u0275property("ngForOf",S.igs),b.\u0275\u0275advance(7),b.\u0275\u0275property("formControl",S.addPackageId),b.\u0275\u0275advance(5),b.\u0275\u0275property("formControl",S.addVersion),b.\u0275\u0275advance(8),b.\u0275\u0275property("formControl",S.addUrl),b.\u0275\u0275advance(3),b.\u0275\u0275property("ngIf",S.selection),b.\u0275\u0275advance(),b.\u0275\u0275property("ngIf",S.selection),b.\u0275\u0275advance(),b.\u0275\u0275property("ngIf",S.update),b.\u0275\u0275advance(),b.\u0275\u0275property("ngIf",S.errorMessage))},dependencies:[d.NgForOf,d.NgIf,l.DefaultValueAccessor,l.NgControlStatus,l.FormControlDirective,a.MatFormField,a.MatLabel,r.MatInput,u.MatProgressSpinner,h.OperationResultComponent],styles:[".secondary[_ngcontent-%COMP%]{color:#6b7280}table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom:1px solid rgb(209,213,219);padding-bottom:1rem}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:1px solid rgb(229,231,235);padding-top:1rem;padding-bottom:1rem}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:hover{background:#eee}.mat-form-field.url[_ngcontent-%COMP%]{width:200px}.mat-table[_ngcontent-%COMP%]{margin:1rem}.mat-table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{cursor:pointer}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}.mat-table[_ngcontent-%COMP%] .mat-cell.title[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell.title[_ngcontent-%COMP%]{flex:2;justify-content:flex-end}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:first-child, .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]:first-child{padding-left:1rem}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:last-child, .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]:last-child{padding-right:1rem}.card-igs[_ngcontent-%COMP%]{margin-bottom:10px}"]})}return I})()},8300:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.MappingLanguageComponent=void 0;const t=g(5052),E=(g(4496),g(5400),g(6504)),c=g(6156),b=t.__importDefault(g(7020)),s=t.__importStar(g(4496)),f=t.__importStar(g(5400)),d=t.__importStar(g(1368)),l=t.__importStar(g(6504)),a=t.__importStar(g(2080)),r=t.__importStar(g(4060)),u=t.__importStar(g(5155));function h(k,D){if(1&k&&(s.\u0275\u0275elementStart(0,"li"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&k){const I=D.$implicit;s.\u0275\u0275advance(),s.\u0275\u0275textInterpolate1(" ",I.diagnostics," ")}}function p(k,D){if(1&k&&(s.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),s.\u0275\u0275template(2,h,2,1,"li",7),s.\u0275\u0275elementEnd()()),2&k){const I=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",I.operationOutcome.issue)}}function _(k,D){if(1&k&&(s.\u0275\u0275elementStart(0,"mat-hint"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&k){const I=s.\u0275\u0275nextContext();s.\u0275\u0275advance(),s.\u0275\u0275textInterpolate1("Successfully created on server: ",I.structureMap.url," ")}}function y(k,D){if(1&k&&(s.\u0275\u0275elementStart(0,"li"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&k){const I=D.$implicit;s.\u0275\u0275advance(),s.\u0275\u0275textInterpolate1(" ",I.diagnostics," ")}}function M(k,D){if(1&k&&(s.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),s.\u0275\u0275template(2,y,2,1,"li",7),s.\u0275\u0275elementEnd()()),2&k){const I=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",I.operationOutcomeTransformed.issue)}}class w{static#e=this.log=(0,b.default)("app:");constructor(D,I){this.cd=D,this.data=I,this.client=I.getFhirClient(),this.source=new E.UntypedFormControl,this.map=new E.UntypedFormControl,this.structureMap=null,this.map.valueChanges.pipe((0,c.debounceTime)(1e3),(0,c.distinctUntilChanged)()).subscribe(O=>{w.log("create StructureMap"),this.client.create({resourceType:"StructureMap",body:O,headers:{accept:"application/fhir+json","content-type":"text/fhir-mapping"}}).then(T=>{this.operationOutcome=null,this.structureMap=T,this.transform()}).catch(T=>{this.structureMap=null,this.operationOutcome=T.response.data})}),this.source.valueChanges.pipe((0,c.debounceTime)(1e3),(0,c.distinctUntilChanged)()).subscribe(O=>this.transform())}transform(){w.log("transform Source");let D=JSON.parse(this.source.value);null!=this.structureMap&&this.client.operation({name:"transform?source="+encodeURIComponent(this.structureMap.url),resourceType:"StructureMap",input:D}).then(I=>{this.operationOutcomeTransformed=null,this.transformed=I}).catch(I=>{this.transformed=null,this.operationOutcomeTransformed=I.response.data})}ngOnInit(){}fileSource(D){const I=new FileReader;if(D.target.files&&D.target.files.length){const[O]=D.target.files;I.readAsText(O),I.onload=()=>{this.source.setValue(I.result),this.cd.markForCheck()}}}fileChange(D){const I=new FileReader;if(D.target.files&&D.target.files.length){const[O]=D.target.files;I.readAsText(O),I.onload=()=>{this.map.setValue(I.result),this.cd.markForCheck()}}}static#t=this.\u0275fac=function(I){return new(I||w)(s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(f.FhirConfigService))};static#n=this.\u0275cmp=s.\u0275\u0275defineComponent({type:w,selectors:[["app-mapping-language"]],decls:31,vars:8,consts:[[1,"card-maps"],[1,"fixtextarea"],["accept",".json","placeholder","Upload source","type","file",3,"change"],["cols","400","matNativeControl","","rows","15",3,"formControl"],["accept",".map","placeholder","Upload map","type","file",3,"change"],["cols","400","matNativeControl","","rows","20",3,"formControl"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(I,O){1&I&&(s.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),s.\u0275\u0275text(4,"Source"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(5,"mat-form-field",1)(6,"mat-card-actions")(7,"input",2),s.\u0275\u0275listener("change",function(N){return O.fileSource(N)}),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(8,"textarea",3),s.\u0275\u0275text(9," "),s.\u0275\u0275elementEnd()()()(),s.\u0275\u0275elementStart(10,"mat-card",0)(11,"mat-card-content")(12,"mat-card-header")(13,"mat-card-title"),s.\u0275\u0275text(14,"FHIR Mapping Language map"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(15,"mat-form-field",1)(16,"mat-card-actions")(17,"input",4),s.\u0275\u0275listener("change",function(N){return O.fileChange(N)}),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(18,"textarea",5),s.\u0275\u0275text(19," "),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(20,p,3,1,"mat-error",6)(21,_,2,1,"mat-hint",6),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(22,"mat-card",0)(23,"mat-card-content")(24,"mat-card-header")(25,"mat-card-title"),s.\u0275\u0275text(26,"Transformed"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(27,M,3,1,"mat-error",6),s.\u0275\u0275elementStart(28,"pre"),s.\u0275\u0275text(29),s.\u0275\u0275pipe(30,"json"),s.\u0275\u0275elementEnd()()()),2&I&&(s.\u0275\u0275advance(8),s.\u0275\u0275property("formControl",O.source),s.\u0275\u0275advance(10),s.\u0275\u0275property("formControl",O.map),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngIf",O.operationOutcome),s.\u0275\u0275advance(),s.\u0275\u0275property("ngIf",O.structureMap),s.\u0275\u0275advance(6),s.\u0275\u0275property("ngIf",O.operationOutcomeTransformed),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(30,6,O.transformed)))},dependencies:[d.NgForOf,d.NgIf,l.DefaultValueAccessor,l.NgControlStatus,l.FormControlDirective,a.MatCard,a.MatCardActions,a.MatCardContent,a.MatCardHeader,a.MatCardTitle,r.MatFormField,r.MatHint,r.MatError,u.MatInput,d.JsonPipe],styles:[".fixtextarea[_ngcontent-%COMP%]{display:inline}.card-maps[_ngcontent-%COMP%]{margin-bottom:10px}"]})}te.MappingLanguageComponent=w},100:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.OperationResultComponent=void 0;const t=g(5052),v=g(4496),c=(g(4476),g(840),t.__importStar(g(4496))),b=t.__importStar(g(4476)),s=t.__importStar(g(1368));function f(p,_){if(1&p&&(c.\u0275\u0275elementStart(0,"li",8),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&p){const y=_.$implicit;c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",y," ")}}function d(p,_){if(1&p&&(c.\u0275\u0275elementStart(0,"ol"),c.\u0275\u0275template(1,f,2,1,"li",7),c.\u0275\u0275elementEnd()),2&p){const y=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(),c.\u0275\u0275property("ngForOf",y.sliceInfo)}}function l(p,_){if(1&p){const y=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"li",3),c.\u0275\u0275listener("click",function(){const k=c.\u0275\u0275restoreView(y).$implicit,D=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(D.select.emit(k))}),c.\u0275\u0275elementStart(1,"span",4),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(3,"span",5)(4,"br"),c.\u0275\u0275elementStart(5,"p"),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(7,d,2,1,"ol",6),c.\u0275\u0275elementEnd()}if(2&p){const y=_.$implicit,M=c.\u0275\u0275nextContext(2);c.\u0275\u0275classMapInterpolate1("issue ",y.severity,""),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(y.severity),c.\u0275\u0275advance(),c.\u0275\u0275property("innerHtml",M.getTemplateHeaderLine(y),c.\u0275\u0275sanitizeHtml),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(y.text),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",y.sliceInfo.length)}}const a=p=>({clickable:p});function r(p,_){if(1&p&&(c.\u0275\u0275elementStart(0,"ul",1),c.\u0275\u0275template(1,l,8,7,"li",2),c.\u0275\u0275elementEnd()),2&p){const y=c.\u0275\u0275nextContext();c.\u0275\u0275property("ngClass",c.\u0275\u0275pureFunction1(2,a,y.reactsToClick)),c.\u0275\u0275advance(),c.\u0275\u0275property("ngForOf",y.result.issues)}}const u=["fatal","error","warning","information"];te.OperationResultComponent=(()=>{class p{set operationResult(y){this.result=y,this.result&&this.result.issues.length&&this.result.issues.sort(p.sortIssues)}constructor(y){this.sanitized=y,this.select=new v.EventEmitter,this.reactsToClick=!1}ngOnInit(){this.reactsToClick=this.select.observed}static sortIssues(y,M){const w=u.indexOf(y.severity)-u.indexOf(M.severity);return 0!==w?w:(y.line??0)-(M.line??0)}getTemplateHeaderLine(y){let M="";y.code&&(M+=` [${y.code}]`),M+=": ";const w=[];return y.line&&w.push(`line ${y.line}`),y.col&&w.push(`column ${y.col}`),y.expression&&w.push(`in ${y.expression}`),w.length&&(M+=w.join(", ")+":"),this.sanitized.bypassSecurityTrustHtml(M)}static#e=this.\u0275fac=function(M){return new(M||p)(c.\u0275\u0275directiveInject(b.DomSanitizer))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:p,selectors:[["app-operation-result"]],inputs:{operationResult:"operationResult"},outputs:{select:"select"},decls:1,vars:1,consts:[[3,"ngClass",4,"ngIf"],[3,"ngClass"],[3,"class","click",4,"ngFor","ngForOf"],[3,"click"],[1,"severity"],[3,"innerHtml"],[4,"ngIf"],["class","slice",4,"ngFor","ngForOf"],[1,"slice"]],template:function(M,w){1&M&&c.\u0275\u0275template(0,r,2,4,"ul",0),2&M&&c.\u0275\u0275property("ngIf",w.result)},dependencies:[s.NgClass,s.NgForOf,s.NgIf],styles:[".card-maps[_ngcontent-%COMP%]{margin-bottom:10px}.app-ace-editor[_ngcontent-%COMP%]{border:2px solid #f8f9fa;box-shadow:0 .5rem 1rem #00000026}ul[_ngcontent-%COMP%]{list-style:none;padding:0}.clickable[_ngcontent-%COMP%] .issue[_ngcontent-%COMP%]{cursor:pointer}.issue[_ngcontent-%COMP%]{border:1px solid #e1e1e1;background:#fbfbfb;border-radius:5px;padding:5px 8px;--color: #000;border-left:4px solid var(--color);margin-bottom:4px}.issue[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:2px 0 0}.issue[_ngcontent-%COMP%] .severity[_ngcontent-%COMP%]{color:var(--color);font-weight:600}.issue.fatal[_ngcontent-%COMP%], .issue.error[_ngcontent-%COMP%]{--color: #d9534f}.issue.warning[_ngcontent-%COMP%]{--color: #f0ad4e}.issue.information[_ngcontent-%COMP%]{--color: #4ca8de}[_nghost-%COMP%] .issue .code{font-size:.9em;color:#636363}[_nghost-%COMP%] .issue>span>code{background:#e1e1e1;border-radius:4px;padding:2px 4px;font-family:courier,monospace} .ace-highlight-fatal{position:absolute;background:#c30;opacity:.4} .ace-highlight-error{position:absolute;background:#f96;opacity:.4} .ace-highlight-warning{position:absolute;background:#fc0;opacity:.4} .ace-highlight-information{position:absolute;background:#9c3;opacity:.4}"]})}return p})()},1132:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.SettingsComponent=void 0;const t=g(5052),v=t.__importDefault(g(6604)),C=t.__importStar(g(4496));te.SettingsComponent=(()=>{class c{constructor(){this.version=v.default.version}static#e=this.\u0275fac=function(f){return new(f||c)};static#t=this.\u0275cmp=C.\u0275\u0275defineComponent({type:c,selectors:[["app-settings"]],decls:12,vars:1,consts:[["id","settings",1,"white-block"],["href","https://github.com/ahdis/matchbox","rel","external nofollow noopener","target","_blank"]],template:function(f,d){1&f&&(C.\u0275\u0275elementStart(0,"div",0)(1,"h2"),C.\u0275\u0275text(2,"Matchbox settings"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(3,"h5"),C.\u0275\u0275text(4),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(5,"p")(6,"em"),C.\u0275\u0275text(7,"There are no configurable settings here right now"),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(8,"p"),C.\u0275\u0275text(9," Source code: "),C.\u0275\u0275elementStart(10,"a",1),C.\u0275\u0275text(11,"github.com/ahdis/matchbox"),C.\u0275\u0275elementEnd()()()),2&f&&(C.\u0275\u0275advance(4),C.\u0275\u0275textInterpolate1("Version ",d.version,""))}})}return c})()},9280:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.SharedModule=void 0;const t=g(5052),v=g(1368),C=g(6504),E=g(4476),c=g(7764),b=g(7816),s=g(2080),f=g(3840),d=g(3576),l=g(9120),a=g(3584),r=g(4060),u=g(1560),h=g(5155),p=g(9880),_=g(9776),y=g(8568),M=g(9716),w=g(7760),k=g(7300),D=g(8818),I=g(180),O=g(964),T=g(2064),N=g(7488),S=t.__importStar(g(4496)),F=[v.CommonModule,E.BrowserModule,C.FormsModule,C.ReactiveFormsModule,T.TranslateModule,c.MatAutocompleteModule,b.MatButtonModule,s.MatCardModule,f.MatCheckboxModule,a.MatDividerModule,r.MatFormFieldModule,u.MatIconModule,h.MatInputModule,p.MatMenuModule,_.MatPaginatorModule,M.MatSelectModule,k.MatSliderModule,w.MatSlideToggleModule,D.MatTableModule,O.MatToolbarModule,I.MatTabsModule,l.MatDatepickerModule,d.MatNativeDateModule,y.MatRadioModule,N.MatProgressSpinnerModule];te.SharedModule=(()=>{class U{static#e=this.\u0275fac=function(ne){return new(ne||U)};static#t=this.\u0275mod=S.\u0275\u0275defineNgModule({type:U});static#n=this.\u0275inj=S.\u0275\u0275defineInjector({imports:[F,v.CommonModule,E.BrowserModule,C.FormsModule,C.ReactiveFormsModule,T.TranslateModule,c.MatAutocompleteModule,b.MatButtonModule,s.MatCardModule,f.MatCheckboxModule,a.MatDividerModule,r.MatFormFieldModule,u.MatIconModule,h.MatInputModule,p.MatMenuModule,_.MatPaginatorModule,M.MatSelectModule,k.MatSliderModule,w.MatSlideToggleModule,D.MatTableModule,O.MatToolbarModule,I.MatTabsModule,l.MatDatepickerModule,d.MatNativeDateModule,y.MatRadioModule,N.MatProgressSpinnerModule]})}return U})()},5700:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.TransformComponent=void 0;const t=g(5052),E=(g(4496),g(5400),g(6504)),c=g(6156),b=t.__importStar(g(4496)),s=t.__importStar(g(5400)),f=t.__importStar(g(1368)),d=t.__importStar(g(6504)),l=t.__importStar(g(3576)),a=t.__importStar(g(2080)),r=t.__importStar(g(4060)),u=t.__importStar(g(9716)),h=t.__importStar(g(540)),p=t.__importStar(g(9623));function _(k,D){if(1&k&&(b.\u0275\u0275elementStart(0,"mat-option",7),b.\u0275\u0275text(1),b.\u0275\u0275elementEnd()),2&k){const I=D.$implicit;b.\u0275\u0275propertyInterpolate("value",I.url),b.\u0275\u0275advance(),b.\u0275\u0275textInterpolate1("",I.name," ")}}function y(k,D){if(1&k&&(b.\u0275\u0275elementStart(0,"li"),b.\u0275\u0275text(1),b.\u0275\u0275elementEnd()),2&k){const I=D.$implicit;b.\u0275\u0275advance(),b.\u0275\u0275textInterpolate1(" ",I.diagnostics," ")}}function M(k,D){if(1&k&&(b.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),b.\u0275\u0275template(2,y,2,1,"li",8),b.\u0275\u0275elementEnd()()),2&k){const I=b.\u0275\u0275nextContext();b.\u0275\u0275advance(2),b.\u0275\u0275property("ngForOf",I.operationOutcomeTransformed.issue)}}te.TransformComponent=(()=>{class k{constructor(I,O){this.data=I,this.cd=O,this.query={_summary:"true",_sort:"name"},this.panelOpenState=!1,this.client=I.getFhirClient(),this.client.search({resourceType:"StructureMap",searchParams:this.query}).then(T=>(this.setMaps(T),T)),this.selectedMap=new E.UntypedFormControl,this.selectedMap.valueChanges.pipe((0,c.debounceTime)(400),(0,c.distinctUntilChanged)()).subscribe(T=>{this.selectedUrl=T,this.transform()})}transform(){null!=this.source&&null!=this.selectedUrl&&this.client.operation({name:"transform?source="+encodeURIComponent(this.selectedUrl),resourceType:"StructureMap",input:this.source,options:{headers:{"content-type":this.mimeType}}}).then(I=>{this.operationOutcomeTransformed=null,this.transformed=I}).catch(I=>{this.transformed=null,this.operationOutcomeTransformed=I.response.data})}getSource(){return this.source}getMapped(){return JSON.stringify(this.transformed,null,2)}setMaps(I){this.structureMaps=I.entry.map(O=>O.resource)}ngOnInit(){}addFile(I){this.transformed=null,("application/json"===I.contentType||I.name.endsWith(".json"))&&(this.mimeType="application/fhir+json"),("application/xml"===I.contentType||I.name.endsWith(".xml"))&&(this.mimeType="application/fhir+xml");const O=new FileReader;O.readAsText(I.blob),O.onload=()=>{this.source=O.result}}static#e=this.\u0275fac=function(O){return new(O||k)(b.\u0275\u0275directiveInject(s.FhirConfigService),b.\u0275\u0275directiveInject(b.ChangeDetectorRef))};static#t=this.\u0275cmp=b.\u0275\u0275defineComponent({type:k,selectors:[["app-transform"]],decls:24,vars:8,consts:[[1,"card-maps"],[3,"addFiles"],[3,"highlight","lineNumbers"],["appearance","fill"],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"],[4,"ngFor","ngForOf"]],template:function(O,T){1&O&&(b.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),b.\u0275\u0275text(4),b.\u0275\u0275elementEnd()(),b.\u0275\u0275elementStart(5,"div"),b.\u0275\u0275text(6,"Resource"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(7,"app-upload",1),b.\u0275\u0275listener("addFiles",function(S){return T.addFile(S)}),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(8,"pre"),b.\u0275\u0275element(9,"code",2),b.\u0275\u0275elementEnd()()(),b.\u0275\u0275elementStart(10,"mat-card",0)(11,"mat-form-field",3)(12,"mat-label"),b.\u0275\u0275text(13,"Map for transforming"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(14,"mat-select",4),b.\u0275\u0275template(15,_,2,2,"mat-option",5),b.\u0275\u0275elementEnd()()(),b.\u0275\u0275elementStart(16,"mat-card",0)(17,"mat-card-content")(18,"mat-card-header")(19,"mat-card-title"),b.\u0275\u0275text(20,"Transformed"),b.\u0275\u0275elementEnd()(),b.\u0275\u0275template(21,M,3,1,"mat-error",6),b.\u0275\u0275elementStart(22,"pre"),b.\u0275\u0275element(23,"code",2),b.\u0275\u0275elementEnd()()()),2&O&&(b.\u0275\u0275advance(4),b.\u0275\u0275textInterpolate(T.client.baseUrl),b.\u0275\u0275advance(5),b.\u0275\u0275property("highlight",T.getSource())("lineNumbers",!0),b.\u0275\u0275advance(5),b.\u0275\u0275property("formControl",T.selectedMap),b.\u0275\u0275advance(),b.\u0275\u0275property("ngForOf",T.structureMaps),b.\u0275\u0275advance(6),b.\u0275\u0275property("ngIf",T.operationOutcomeTransformed),b.\u0275\u0275advance(2),b.\u0275\u0275property("highlight",T.getMapped())("lineNumbers",!0))},dependencies:[f.NgForOf,f.NgIf,d.NgControlStatus,d.FormControlDirective,l.MatOption,a.MatCard,a.MatCardContent,a.MatCardHeader,a.MatCardTitle,r.MatFormField,r.MatLabel,r.MatError,u.MatSelect,h.Highlight,p.UploadComponent],styles:[".card-maps[_ngcontent-%COMP%]{margin-bottom:10px}"]})}return k})()},9623:(De,te,g)=>{"use strict";var t=g(1196).default;Object.defineProperty(te,"__esModule",{value:!0}),te.UploadComponent=void 0;const v=g(5052),C=g(4496),E=v.__importStar(g(4496)),c=v.__importStar(g(7816)),b=v.__importStar(g(1560));te.UploadComponent=(()=>{class f{constructor(){this.addFiles=new C.EventEmitter,this.dragCounter=0}checkStatus(l){if(!l.ok)throw new Error(`HTTP ${l.status} - ${l.statusText}`);return l}onDrop(l){l.preventDefault(),this.dragCounter=0;const a=l.target.files||l.dataTransfer.items;if(a)for(let u=0;u0))},dependencies:[c.MatButton,b.MatIcon],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.attachment-field[_ngcontent-%COMP%]{border-radius:5px;background:#f0f3f6}.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:#e0e6ec}.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})}return f})()},840:(De,te)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.Issue=te.OperationResult=void 0;class g{constructor(C,E){this.operationOutcome=E,this.issues=C??[]}static fromOperationOutcome(C){const E=C.issue?.map(c=>t.fromOoIssue(c));return new g(E,C)}static fromMatchboxError(C){const E=new g;return E.issues.push(new t("fatal","matchbox",C,void 0,void 0,void 0,void 0)),E}}te.OperationResult=g;class t{constructor(C,E,c,b,s,f,d){this.sliceInfo=[],this.severity=C,this.code=E,this.text=c,this.expression=b,this.line=s,this.col=f,this.sliceInfo=d??[]}static fromOoIssue(C){let E;C.expression&&C.expression.length?E=C.expression[0]:C.location&&C.location.length&&(E=C.location[0]);const c=C.diagnostics?.indexOf("Slice info: 1.)");let b,s=null;return c>=0?(b=C.diagnostics.substring(0,c).trimEnd(),s=C.diagnostics.substring(c+15).trimStart().split(/\d+[.][)]/)):b=C.diagnostics,new t(C.severity,C.code,b,E,t.getLineNo(C),t.getColNo(C),s)}static getLineNo(C){const E=t.getExtensionIntValue(C,"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line");return E&&E>0?E:void 0}static getColNo(C){const E=t.getExtensionIntValue(C,"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col");return E&&E>0?E:void 0}static getExtensionIntValue(C,E){if(C.extension)for(const c of C.extension)if(c.url===E)return c.valueInteger}}te.Issue=t},8032:(De,te,g)=>{"use strict";var t=g(1196).default;Object.defineProperty(te,"__esModule",{value:!0}),te.ValidateComponent=void 0;const v=g(5052),c=(g(4496),g(5400),v.__importDefault(g(5116))),b=v.__importDefault(g(9472)),s=v.__importDefault(g(7496)),f=g(1772),d=g(1460),l=g(840),a=g(6504),r=v.__importStar(g(4496)),u=v.__importStar(g(5400)),h=v.__importStar(g(1368)),p=v.__importStar(g(6504)),_=v.__importStar(g(3576)),y=v.__importStar(g(7816)),M=v.__importStar(g(2080)),w=v.__importStar(g(4060)),k=v.__importStar(g(1560)),D=v.__importStar(g(5155)),I=v.__importStar(g(9880)),O=v.__importStar(g(9716)),T=v.__importStar(g(7488)),N=v.__importStar(g(6319)),S=v.__importStar(g(100)),F=v.__importStar(g(9623));function L(Re,ke){if(1&Re&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275text(1," a "),r.\u0275\u0275elementStart(2,"span"),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(4,", from "),r.\u0275\u0275elementStart(5,"em"),r.\u0275\u0275text(6),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementContainerEnd()),2&Re){const pe=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(pe.currentResource.resourceType),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(pe.currentResource.filename)}}function A(Re,ke){1&Re&&(r.\u0275\u0275elementStart(0,"em"),r.\u0275\u0275text(1,"None"),r.\u0275\u0275elementEnd())}function U(Re,ke){if(1&Re&&(r.\u0275\u0275elementStart(0,"mat-option",23),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Re){const pe=ke.$implicit;r.\u0275\u0275property("value",pe),r.\u0275\u0275advance(),r.\u0275\u0275textInterpolate1(" ",pe," ")}}function K(Re,ke){1&Re&&(r.\u0275\u0275elementStart(0,"mat-error"),r.\u0275\u0275text(1,"Please choose a profile"),r.\u0275\u0275elementEnd())}function ee(Re,ke){if(1&Re&&(r.\u0275\u0275elementStart(0,"mat-option",23),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Re){const pe=ke.$implicit;r.\u0275\u0275property("value",pe),r.\u0275\u0275advance(),r.\u0275\u0275textInterpolate1(" ",pe," ")}}function ne(Re,ke){if(1&Re&&(r.\u0275\u0275elementStart(0,"p",24)(1,"mat-icon"),r.\u0275\u0275text(2,"report"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd()),2&Re){const pe=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1(" Error: ",pe.errorMessage,"")}}function B(Re,ke){if(1&Re){const pe=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"app-upload",13),r.\u0275\u0275listener("addFiles",function(Be){r.\u0275\u0275restoreView(pe);const Ie=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ie.addFile(Be))}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(2,"p",14),r.\u0275\u0275text(3," Current resource loaded: "),r.\u0275\u0275template(4,L,7,2,"ng-container",3)(5,A,2,0,"em",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"div",15)(7,"mat-form-field")(8,"mat-label"),r.\u0275\u0275text(9,"Validation profile (required)"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"mat-select",16),r.\u0275\u0275twoWayListener("ngModelChange",function(Be){r.\u0275\u0275restoreView(pe);const Ie=r.\u0275\u0275nextContext();return r.\u0275\u0275twoWayBindingSet(Ie.selectedProfile,Be)||(Ie.selectedProfile=Be),r.\u0275\u0275resetView(Be)}),r.\u0275\u0275elementStart(11,"mat-option")(12,"ngx-mat-select-search",17),r.\u0275\u0275twoWayListener("ngModelChange",function(Be){r.\u0275\u0275restoreView(pe);const Ie=r.\u0275\u0275nextContext();return r.\u0275\u0275twoWayBindingSet(Ie.profileFilter,Be)||(Ie.profileFilter=Be),r.\u0275\u0275resetView(Be)}),r.\u0275\u0275listener("ngModelChange",function(){r.\u0275\u0275restoreView(pe);const Be=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Be.updateProfileFilter())}),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(13,U,2,2,"mat-option",18),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(14,K,2,0,"mat-error",3),r.\u0275\u0275elementStart(15,"mat-hint"),r.\u0275\u0275text(16,"A profile is required to validate against."),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(17,"div",15)(18,"mat-form-field")(19,"mat-label"),r.\u0275\u0275text(20,"Validation IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(21,"mat-select",19),r.\u0275\u0275twoWayListener("ngModelChange",function(Be){r.\u0275\u0275restoreView(pe);const Ie=r.\u0275\u0275nextContext();return r.\u0275\u0275twoWayBindingSet(Ie.selectedIg,Be)||(Ie.selectedIg=Be),r.\u0275\u0275resetView(Be)}),r.\u0275\u0275elementStart(22,"mat-option",20)(23,"em"),r.\u0275\u0275text(24,"Automatic selection"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(25,ee,2,2,"mat-option",18),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(26,"mat-hint"),r.\u0275\u0275text(27,"A specific IG version may be specified."),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(28,"button",21),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(pe);const Be=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Be.onValidate())}),r.\u0275\u0275text(29,"Validate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(30,ne,4,1,"p",22),r.\u0275\u0275elementContainerEnd()}if(2&Re){const pe=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275property("ngIf",pe.currentResource),r.\u0275\u0275advance(),r.\u0275\u0275property("ngIf",!pe.currentResource),r.\u0275\u0275advance(5),r.\u0275\u0275twoWayProperty("ngModel",pe.selectedProfile),r.\u0275\u0275advance(2),r.\u0275\u0275twoWayProperty("ngModel",pe.profileFilter),r.\u0275\u0275advance(),r.\u0275\u0275property("ngForOf",pe.filteredProfiles),r.\u0275\u0275advance(),r.\u0275\u0275property("ngIf",pe.profileControl.hasError("required")),r.\u0275\u0275advance(7),r.\u0275\u0275twoWayProperty("ngModel",pe.selectedIg),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngForOf",pe.installedIgs),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngIf",pe.errorMessage)}}function H(Re,ke){if(1&Re&&(r.\u0275\u0275elementStart(0,"div",15)(1,"mat-form-field",26)(2,"mat-label"),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(4,"input",27),r.\u0275\u0275elementEnd()()),2&Re){const pe=ke.$implicit;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(pe.param.name),r.\u0275\u0275advance(),r.\u0275\u0275property("formControl",pe.formControl)}}function z(Re,ke){if(1&Re&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,H,5,2,"div",25),r.\u0275\u0275elementContainerEnd()),2&Re){const pe=r.\u0275\u0275nextContext();r.\u0275\u0275advance(),r.\u0275\u0275property("ngForOf",pe.validatorSettings)}}function X(Re,ke){1&Re&&r.\u0275\u0275element(0,"mat-spinner",33)}function G(Re,ke){if(1&Re&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"mat-icon",34),r.\u0275\u0275text(2,"error"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(3),r.\u0275\u0275element(4,"br"),r.\u0275\u0275elementStart(5,"mat-icon",35),r.\u0275\u0275text(6,"warning"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(7),r.\u0275\u0275element(8,"br"),r.\u0275\u0275elementStart(9,"mat-icon",36),r.\u0275\u0275text(10,"info"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(11),r.\u0275\u0275elementContainerEnd()),2&Re){const pe=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(pe.result?pe.getErrors():"-"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(pe.result?pe.getWarnings():"-"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate1("",pe.result?pe.getInfos():"-"," ")}}const j=Re=>({selected:Re});function le(Re,ke){if(1&Re){const pe=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"tr",28),r.\u0275\u0275listener("click",function(){const Ie=r.\u0275\u0275restoreView(pe).$implicit,je=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(je.show(Ie))}),r.\u0275\u0275elementStart(1,"td",29),r.\u0275\u0275text(2),r.\u0275\u0275element(3,"br"),r.\u0275\u0275elementStart(4,"time"),r.\u0275\u0275text(5),r.\u0275\u0275pipe(6,"date"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(7,"at"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(8,"td",29),r.\u0275\u0275text(9),r.\u0275\u0275element(10,"br"),r.\u0275\u0275text(11),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"td",30),r.\u0275\u0275template(13,X,1,0,"mat-spinner",11)(14,G,12,3,"ng-container",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(15,"td",31)(16,"mat-icon",32),r.\u0275\u0275listener("click",function(){const Ie=r.\u0275\u0275restoreView(pe).$implicit,je=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(je.removeEntryFromHistory(Ie))}),r.\u0275\u0275text(17,"delete"),r.\u0275\u0275elementEnd()()()}if(2&Re){const pe=ke.$implicit,Qe=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(10,j,pe===Qe.selectedEntry)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",pe.filename,""),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind2(6,7,pe.date,"HH:mm:ss")),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate1(" ",pe.selectedProfile,""),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",pe.ig," "),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",pe.loading),r.\u0275\u0275advance(),r.\u0275\u0275property("ngIf",!pe.loading)}}function ue(Re,ke){if(1&Re&&(r.\u0275\u0275elementStart(0,"dl")(1,"dt"),r.\u0275\u0275text(2,"Filename"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"dd"),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"dt"),r.\u0275\u0275text(6,"Profile"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"dd"),r.\u0275\u0275text(8),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"dt"),r.\u0275\u0275text(10,"IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(11,"dd"),r.\u0275\u0275text(12),r.\u0275\u0275elementEnd()()),2&Re){const pe=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(pe.selectedEntry.filename),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(pe.selectedEntry.selectedProfile),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(pe.selectedEntry.ig)}}function ve(Re,ke){if(1&Re){const pe=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"app-operation-result",37),r.\u0275\u0275listener("select",function(Be){r.\u0275\u0275restoreView(pe);const Ie=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ie.highlightIssue(Be))}),r.\u0275\u0275elementEnd()}if(2&Re){const pe=r.\u0275\u0275nextContext();r.\u0275\u0275property("operationResult",pe.selectedEntry.result)}}function Je(Re,ke){1&Re&&r.\u0275\u0275element(0,"mat-spinner",33)}te.ValidateComponent=(()=>{class Re{constructor(pe,Qe){this.cd=Qe,this.validationEntries=new Array,this.selectedEntry=null,this.capabilityStatement=null,this.installedIgs=new Set,this.supportedProfiles=new Set,this.validatorSettings=new Array,this.filteredProfiles=new Set,this.profileFilter="",this.selectedIg=null,this.profileControl=new a.FormControl(null,a.Validators.required),this.showSettings=!1,this.currentResource=null,this.errorMessage=null,this.client=pe.getFhirClient(),this.client.capabilityStatement().then(Be=>{this.capabilityStatement=Be,this.client.read({resourceType:"OperationDefinition",id:"-s-validate"}).then(Ie=>{Ie.parameter?.forEach(je=>{"profile"==je.name&&(je.targetProfile.forEach(q=>this.supportedProfiles.add(q)),this.updateProfileFilter())}),Ie.parameter.filter(je=>"in"==je.use&&"resource"!=je.name&&"profile"!=je.name&&"ig"!=je.name).forEach(je=>{this.validatorSettings.push(new d.ValidationParameter(je))})})}).catch(Be=>{this.errorMessage="Error accessing FHIR server"}),this.client.search({resourceType:"ImplementationGuide",searchParams:{_sort:"title",_count:1e3}}).then(Be=>{Be.entry.map(Ie=>Ie.resource).map(Ie=>`${Ie.packageId}#${Ie.version}`).sort().forEach(Ie=>this.installedIgs.add(Ie))}).catch(Be=>{this.errorMessage="Error accessing FHIR server"})}ngAfterViewInit(){this.editor=s.default.edit("editor"),this.editor.setReadOnly(!0),this.editor.setTheme("ace/theme/textmate"),this.editor.setOptions({tabSize:4,wrap:!0,useWorker:!1,useSvgGutterIcons:!1})}addFile(pe){if(pe.name.endsWith(".tgz"))try{this.addPackage(pe.blob)}catch(Qe){console.error(Qe)}else{let Qe=null;try{this.selectedProfile=null,this.selectedIg=null;const Be=new FileReader;Be.readAsText(pe.blob),Be.onload=()=>{this.cd.markForCheck(),Qe=new f.ValidationEntry(pe.blob.name,Be.result,pe.contentType,null),this.currentResource=new Ct(pe.name,pe.contentType,Be.result,Qe.resourceType),Qe.selectedProfile&&(this.selectedProfile=Qe.selectedProfile),this.validationEntries.unshift(Qe),this.show(Qe),this.validate(Qe)}}catch(Be){console.error(Be),Qe&&(Qe.result=l.OperationResult.fromMatchboxError("Error while processing the resource for validation: "+Be.message))}}}onValidateIg(){let pe="";null!=this.selectedIg&&(pe=this.selectedIg.endsWith(" (current)")?this.selectedIg.substring(0,this.selectedIg.length-10):this.selectedIg,pe=pe.replace("#","-"),this.fetchData(this.client.baseUrl+"/ImplementationGuide/"+pe))}fetchData(pe){var Qe=this;return t(function*(){const Ie=yield(yield fetch(pe,{cache:"no-store",headers:{Accept:"application/gzip"}})).blob();Qe.addPackage(Ie)})()}addPackage(pe){this.selectedProfile=null,this.selectedIg=null;const Qe=new FileReader;Qe.readAsArrayBuffer(pe),Qe.onload=()=>{if(this.package=Qe.result,this.cd.markForCheck(),null!=this.package){const Be=c.default.inflate(new Uint8Array(this.package)),Ie=new Array;let je=null,q=null;const ye=this;(0,b.default)(Be.buffer).then(function(Oe){Ie.forEach(Xe=>{ye.validationEntries.unshift(Xe),ye.validate(Xe)})},function(Oe){},function(Oe){if(Oe.name?.indexOf("package.json")>=0){let Xe=new TextDecoder("utf-8"),ge=JSON.parse(Xe.decode(Oe.buffer));je=ge.fhirVersions[0],q=ge.name+"#"+ge.version}if(Oe.name?.indexOf("example")>=0&&-1==Oe.name?.indexOf(".index.json")){let Xe=Oe.name;Xe.startsWith("package/example/")&&(Xe=Xe.substring(16)),Xe.startsWith("example/")&&(Xe=Xe.substring(8));let ge=new TextDecoder("utf-8"),Ve=JSON.parse(ge.decode(Oe.buffer)),ot=Ve.meta?.profile,ze=new f.ValidationEntry(Xe,JSON.stringify(Ve,null,2),"application/fhir+json",ot);Ie.push(ze)}})}}}onClear(){this.selectedProfile=null,this.selectedIg=null,this.show(void 0),this.validationEntries.splice(0,this.validationEntries.length)}validate(pe){if(null!=this.selectedProfile&&(pe.profiles.includes(this.selectedProfile)||pe.profiles.push(this.selectedProfile),pe.selectedProfile=this.selectedProfile),null!=this.selectedIg&&(pe.ig=this.selectedIg.endsWith(" (current)")?this.selectedIg.substring(0,this.selectedIg.length-10):this.selectedIg),!pe.selectedProfile)return void console.error("No profile selected, won't run validation");const Qe=new URLSearchParams;Qe.set("profile",pe.selectedProfile),pe.ig&&Qe.set("ig",pe.ig);for(const Be of this.validatorSettings)null!=Be.formControl.value&&Be.formControl.value.length>0&&Qe.set(Be.param.name,Be.formControl.value);pe.loading=!0,this.client.operation({name:"validate?"+Qe.toString(),resourceType:void 0,input:pe.resource,options:{headers:{accept:"application/fhir+json","content-type":pe.mimetype}}}).then(Be=>{pe.loading=!1,pe.setOperationOutcome(Be),pe===this.selectedEntry&&this.updateEditorIssues()}).catch(Be=>{pe.loading=!1,pe.result=l.OperationResult.fromMatchboxError("Error while sending the validation request: "+Be.message),console.error(Be)})}show(pe){if(this.errorMessage=null,this.selectedEntry=pe,!pe)return this.editor.setValue("",-1),void this.updateEditorIssues();this.currentResource=new Ct(pe.filename,pe.mimetype,pe.resource,pe.resourceType),this.editor.setValue(pe.resource,-1),"application/fhir+json"===pe.mimetype?this.editor.getSession().setMode("ace/mode/json"):"application/fhir+xml"===pe.mimetype&&this.editor.getSession().setMode("ace/mode/xml"),this.updateEditorIssues()}removeEntryFromHistory(pe){pe===this.selectedEntry&&this.show(null);const Qe=this.validationEntries.indexOf(pe);this.validationEntries.splice(Qe,1)}onValidate(){let pe=new f.ValidationEntry(this.currentResource.filename,this.currentResource.content,this.currentResource.contentType,[this.selectedProfile]);pe.ig=this.selectedIg,this.validationEntries.unshift(pe),this.validate(pe)}toggleSettings(){this.showSettings=!this.showSettings}updateEditorIssues(){if(this.editor.session.clearAnnotations(),!this.selectedEntry?.result)return;const pe=this.selectedEntry.result.issues.filter(Qe=>Qe.line).map(Qe=>{let Be;switch(Qe.severity){case"fatal":case"error":Be="error";break;case"warning":Be="warning";break;case"information":Be="info"}return{row:Qe.line-1,column:Qe.col,text:Qe.text,type:Be}});this.editor.session.setAnnotations(pe)}highlightIssue(pe){pe.line&&(this.editor.gotoLine(pe.line,pe.col,!0),this.editor.scrollToLine(pe.line,!1,!0,()=>{}))}updateProfileFilter(){this.filteredProfiles=new Set([...this.supportedProfiles].filter(pe=>pe.includes(this.profileFilter)))}static#e=this.\u0275fac=function(Qe){return new(Qe||Re)(r.\u0275\u0275directiveInject(u.FhirConfigService),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))};static#t=this.\u0275cmp=r.\u0275\u0275defineComponent({type:Re,selectors:[["app-validate"]],decls:37,vars:6,consts:[[1,"row"],[1,"card-maps","white-block"],["mat-menu-item","",1,"setting",3,"click"],[4,"ngIf"],[1,"mat-table"],[1,"mat-header-row"],[1,"mat-header-cell"],["class","mat-row",3,"ngClass","click",4,"ngFor","ngForOf"],["mat-raised-button","","type","submit",3,"click"],[1,"row","row-full-height"],[3,"operationResult","select",4,"ngIf"],["diameter","30",4,"ngIf"],["id","editor"],[3,"addFiles"],[1,"current"],[1,"form-field-group"],["name","selectProfile","placeholder","Validate against specific Profile",3,"ngModel","ngModelChange"],["placeholderLabel","Find a profile\u2026","noEntriesFoundLabel","'no matching profile found'",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["name","selectIg","placeholder","Validate against specific Implementation Guide",3,"ngModel","ngModelChange"],["value",""],["color","primary","mat-raised-button","",3,"click"],["class","error",4,"ngIf"],[3,"value"],[1,"error"],["class","form-field-group",4,"ngFor","ngForOf"],[1,"column50"],["matInput","",3,"formControl"],[1,"mat-row",3,"ngClass","click"],[1,"mat-cell"],[1,"issues","mat-cell"],[1,"actions","mat-cell"],["aria-label","Remove","title","Remove from history",3,"click"],["diameter","30"],["inline","",1,"error"],["inline","",1,"warning"],["inline","",1,"info"],[3,"operationResult","select"]],template:function(Qe,Be){1&Qe&&(r.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),r.\u0275\u0275listener("click",function(){return Be.toggleSettings()}),r.\u0275\u0275elementStart(3,"mat-icon"),r.\u0275\u0275text(4,"settings"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(5,"h2"),r.\u0275\u0275text(6,"Validate FHIR Resource"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(7,B,31,9,"ng-container",3)(8,z,2,1,"ng-container",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"div",1)(10,"h2"),r.\u0275\u0275text(11,"Validation history"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"table",4)(13,"tr",5)(14,"th",6),r.\u0275\u0275text(15,"Resource"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(16,"th",6),r.\u0275\u0275text(17,"Profile/IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(18,"th",6),r.\u0275\u0275text(19,"Issues"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(20,"th",6),r.\u0275\u0275text(21,"Actions"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(22,le,18,12,"tr",7),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(23,"mat-card-actions")(24,"button",8),r.\u0275\u0275listener("click",function(){return Be.onClear()}),r.\u0275\u0275text(25,"Clear history"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(26,"div",9)(27,"div",1)(28,"h2"),r.\u0275\u0275text(29,"Result of the validation"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(30,ue,13,3,"dl",3)(31,ve,1,1,"app-operation-result",10)(32,Je,1,0,"mat-spinner",11),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(33,"div",1)(34,"h2"),r.\u0275\u0275text(35,"Document content"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(36,"div",12),r.\u0275\u0275elementEnd()()),2&Qe&&(r.\u0275\u0275advance(7),r.\u0275\u0275property("ngIf",!Be.showSettings),r.\u0275\u0275advance(),r.\u0275\u0275property("ngIf",Be.showSettings),r.\u0275\u0275advance(14),r.\u0275\u0275property("ngForOf",Be.validationEntries),r.\u0275\u0275advance(8),r.\u0275\u0275property("ngIf",Be.selectedEntry),r.\u0275\u0275advance(),r.\u0275\u0275property("ngIf",Be.selectedEntry&&Be.selectedEntry.result),r.\u0275\u0275advance(),r.\u0275\u0275property("ngIf",Be.selectedEntry&&Be.selectedEntry.loading))},dependencies:[h.NgClass,h.NgForOf,h.NgIf,p.DefaultValueAccessor,p.NgControlStatus,p.NgModel,p.FormControlDirective,_.MatOption,y.MatButton,M.MatCardActions,w.MatFormField,w.MatLabel,w.MatHint,w.MatError,k.MatIcon,D.MatInput,I.MatMenuItem,O.MatSelect,T.MatProgressSpinner,N.MatSelectSearchComponent,S.OperationResultComponent,F.UploadComponent,h.DatePipe],styles:["[_nghost-%COMP%]{margin:0 auto;min-width:1400px;width:100%}button.setting[_ngcontent-%COMP%]{float:right}button.setting[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}p.current[_ngcontent-%COMP%]{margin:10px 0}p.current[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:500}mat-hint[_ngcontent-%COMP%]{color:#7db99e}p.error[_ngcontent-%COMP%]{color:#d9534f;margin-top:20px}p.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-self:stretch;margin:1em auto;min-width:1400px;width:100%;justify-content:space-evenly}.row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:46%}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:#d8f1e6}table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{cursor:pointer}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%]{font-size:12px;line-height:12px;color:#818181}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:12px;height:12px;margin-right:2px;vertical-align:bottom}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.error[_ngcontent-%COMP%]{color:#d9534f}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.warning[_ngcontent-%COMP%]{color:#f0ad4e}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.info[_ngcontent-%COMP%]{color:#4ca8de}table[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:24px;color:#d9534f}.form-field-group[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem;display:flex;flex-direction:row}.form-field-group[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.card-maps[_ngcontent-%COMP%]{padding:8px 16px}.row-full-height[_ngcontent-%COMP%] .card-maps[_ngcontent-%COMP%]{height:96vh;max-height:96vh;overflow-y:auto}#editor[_ngcontent-%COMP%]{height:calc(100% - 50px)}.column50[_ngcontent-%COMP%]{width:40%}"]})}return Re})();class Ct{constructor(ke,pe,Qe,Be){this.filename=ke,this.contentType=pe,this.content=Qe,this.resourceType=Be}}},1772:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.ValidationEntry=void 0;const t=g(840);te.ValidationEntry=class v{constructor(E,c,b,s){this.profiles=[],this.loading=!1,this.filename=E,this.resource=c,this.mimetype=b||(E.endsWith(".json")?"application/fhir+json":"application/fhir+xml"),s&&(this.profiles=s),this.date=new Date,"application/fhir+json"===this.mimetype?this.extractJsonInfo():this.extractXmlInfo(),this.profiles&&this.profiles.length?this.selectedProfile=this.profiles[0]:this.resourceType&&(this.selectedProfile="http://hl7.org/fhir/StructureDefinition/"+this.resourceType)}getErrors(){if(this.result)return this.result.issues.filter(E=>"error"===E.severity||"fatal"===E.severity).length}getWarnings(){if(this.result)return this.result.issues.filter(E=>"warning"===E.severity).length}getInfos(){if(this.result)return this.result.issues.filter(E=>"information"===E.severity).length}setOperationOutcome(E){this.result=t.OperationResult.fromOperationOutcome(E)}extractJsonInfo(){const E=JSON.parse(this.resource);E?.resourceType&&(this.resourceType=E.resourceType,this.resourceId=E.id),E.meta?.profile&&this.profiles.push(...E.meta.profile)}extractXmlInfo(){let E=this.resource.indexOf("",c);if(c0&&(s=s.substring(0,f)),f=s.indexOf(":"),f>0&&(s=s.substring(f+1)),this.resourceType=s;let d=this.resource.indexOf("profile",b);if(d>0){let l=this.resource.indexOf('value="',d)+7,a=this.resource.indexOf('"',l);l{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.ValidationParameter=void 0;const t=g(6504);te.ValidationParameter=class v{constructor(E){this.param=E,this.formControl=new t.UntypedFormControl}isValueSet(){return null!=this.valueBoolean||null!=this.valueString}}},6716:(De,te)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.environment=void 0,te.environment={production:!0}},7460:(De,te,g)=>{"use strict";const C=g(5052).__importStar(g(4476)),E=g(4496),c=g(5204);g(6716).environment.production&&(0,E.enableProdMode)(),C.platformBrowser().bootstrapModule(c.AppModule).catch(s=>console.log(s))},7496:(De,te,g)=>{De=g.nmd(De),function(){var v=function(){return this}();!v&&typeof window<"u"&&(v=window);var C=function(d,l,a){"string"==typeof d?(2==arguments.length&&(a=l),C.modules[d]||(C.payloads[d]=a,C.modules[d]=null)):C.original?C.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};C.modules={},C.payloads={};var E=function(d,l,a){if("string"==typeof l){var r=s(d,l);if(null!=r)return a&&a(),r}else if("[object Array]"===Object.prototype.toString.call(l)){for(var u=[],h=0,p=l.length;hs.length)&&(b=s.length);var f=s.indexOf(c,b-=c.length);return-1!==f&&f===b}),String.prototype.repeat||E(String.prototype,"repeat",function(c){for(var b="",s=this;c>0;)1&c&&(b+=s),(c>>=1)&&(s+=s);return b}),String.prototype.includes||E(String.prototype,"includes",function(c,b){return-1!=this.indexOf(c,b)}),Object.assign||(Object.assign=function(c){if(null==c)throw new TypeError("Cannot convert undefined or null to object");for(var b=Object(c),s=1;s>>0,d=arguments[1]>>0,l=d<0?Math.max(s+d,0):Math.min(d,s),a=arguments[2],r=void 0===a?s:a>>0,u=r<0?Math.max(s+r,0):Math.min(r,s);l0;)1&s&&(f+=b),(s>>=1)&&(b+=b);return f};var E=/^\s\s*/,c=/\s\s*$/;v.stringTrimLeft=function(b){return b.replace(E,"")},v.stringTrimRight=function(b){return b.replace(c,"")},v.copyObject=function(b){var s={};for(var f in b)s[f]=b[f];return s},v.copyArray=function(b){for(var s=[],f=0,d=b.length;f65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(t,v,C){"use strict";v.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},v.getOS=function(){return v.isMac?v.OS.MAC:v.isLinux?v.OS.LINUX:v.OS.WINDOWS};var E="object"==typeof navigator?navigator:{},c=(/mac|win|linux/i.exec(E.platform)||["other"])[0].toLowerCase(),b=E.userAgent||"",s=E.appName||"";v.isWin="win"==c,v.isMac="mac"==c,v.isLinux="linux"==c,v.isIE="Microsoft Internet Explorer"==s||s.indexOf("MSAppHost")>=0?parseFloat((b.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((b.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),v.isOldIE=v.isIE&&v.isIE<9,v.isGecko=v.isMozilla=b.match(/ Gecko\/\d+/),v.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),v.isWebKit=parseFloat(b.split("WebKit/")[1])||void 0,v.isChrome=parseFloat(b.split(" Chrome/")[1])||void 0,v.isSafari=parseFloat(b.split(" Safari/")[1])&&!v.isChrome||void 0,v.isEdge=parseFloat(b.split(" Edge/")[1])||void 0,v.isAIR=b.indexOf("AdobeAIR")>=0,v.isAndroid=b.indexOf("Android")>=0,v.isChromeOS=b.indexOf(" CrOS ")>=0,v.isIOS=/iPad|iPhone|iPod/.test(b)&&!window.MSStream,v.isIOS&&(v.isMac=!0),v.isMobile=v.isIOS||v.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(t,v,C){"use strict";var E=t("./useragent");v.buildDom=function a(r,u,h){if("string"==typeof r&&r){var p=document.createTextNode(r);return u&&u.appendChild(p),p}if(!Array.isArray(r))return r&&r.appendChild&&u&&u.appendChild(r),r;if("string"!=typeof r[0]||!r[0]){for(var _=[],y=0;y"u")){if(s)if(u)f();else if(!1===u)return s.push([a,r]);if(!b){var h=u;u&&u.getRootNode?(!(h=u.getRootNode())||h==u)&&(h=document):h=document;var p=h.ownerDocument||h;if(r&&v.hasCssString(r,h))return null;r&&(a+="\n/*# sourceURL=ace/css/"+r+" */");var _=v.createElement("style");_.appendChild(p.createTextNode(a)),r&&(_.id=r),h==p&&(h=v.getDocumentHead(p)),h.insertBefore(_,h.firstChild)}}}if(v.useStrictCSP=function(a){b=a,0==a?f():s||(s=[])},v.importCssString=d,v.importCssStylsheet=function(a,r){v.buildDom(["link",{rel:"stylesheet",href:a}],v.getDocumentHead(r))},v.scrollbarWidth=function(a){var r=v.createElement("ace_inner");r.style.width="100%",r.style.minWidth="0px",r.style.height="200px",r.style.display="block";var u=v.createElement("ace_outer"),h=u.style;h.position="absolute",h.left="-10000px",h.overflow="hidden",h.width="200px",h.minWidth="0px",h.height="150px",h.display="block",u.appendChild(r);var p=a&&a.documentElement||document&&document.documentElement;if(!p)return 0;p.appendChild(u);var _=r.offsetWidth;h.overflow="scroll";var y=r.offsetWidth;return _===y&&(y=u.clientWidth),p.removeChild(u),_-y},v.computedStyle=function(a,r){return window.getComputedStyle(a,"")||{}},v.setStyle=function(a,r,u){a[r]!==u&&(a[r]=u)},v.HAS_CSS_ANIMATION=!1,v.HAS_CSS_TRANSFORMS=!1,v.HI_DPI=!E.isWin||typeof window<"u"&&window.devicePixelRatio>=1.5,E.isChromeOS&&(v.HI_DPI=!1),typeof document<"u"){var l=document.createElement("div");v.HI_DPI&&void 0!==l.style.transform&&(v.HAS_CSS_TRANSFORMS=!0),!E.isEdge&&typeof l.style.animationName<"u"&&(v.HAS_CSS_ANIMATION=!0),l=null}v.translate=v.HAS_CSS_TRANSFORMS?function(a,r,u){a.style.transform="translate("+Math.round(r)+"px, "+Math.round(u)+"px)"}:function(a,r,u){a.style.top=Math.round(u)+"px",a.style.left=Math.round(r)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(t,v,C){"use strict";var E=t("./dom");v.get=function(c,b){var s=new XMLHttpRequest;s.open("GET",c,!0),s.onreadystatechange=function(){4===s.readyState&&b(s.responseText)},s.send(null)},v.loadScript=function(c,b){var s=E.getDocumentHead(),f=document.createElement("script");f.src=c,s.appendChild(f),f.onload=f.onreadystatechange=function(d,l){(l||!f.readyState||"loaded"==f.readyState||"complete"==f.readyState)&&(f=f.onload=f.onreadystatechange=null,l||b())}},v.qualifyURL=function(c){var b=document.createElement("a");return b.href=c,b.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(t,v,C){"use strict";v.inherits=function(E,c){E.super_=c,E.prototype=Object.create(c.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}})},v.mixin=function(E,c){for(var b in c)E[b]=c[b];return E},v.implement=function(E,c){v.mixin(E,c)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(t,v,C){"use strict";var E={},c=function(){this.propagationStopped=!0},b=function(){this.defaultPrevented=!0};E._emit=E._dispatchEvent=function(s,f){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var d=this._eventRegistry[s]||[],l=this._defaultHandlers[s];if(d.length||l){("object"!=typeof f||!f)&&(f={}),f.type||(f.type=s),f.stopPropagation||(f.stopPropagation=c),f.preventDefault||(f.preventDefault=b),d=d.slice();for(var a=0;a1&&(_=h[h.length-2]);var M=f[u+"Path"];return null==M?M=f.basePath:"/"==p&&(u=p=""),M&&"/"!=M.slice(-1)&&(M+="/"),M+u+p+_+this.get("suffix")},v.setModuleUrl=function(r,u){return f.$moduleUrls[r]=u},v.setLoader=function(r){l=r},v.dynamicModules=Object.create(null),v.$loading={},v.$loaded={},v.loadModule=function(r,u){var h;if(Array.isArray(r))var p=r[0],_=r[1];else"string"==typeof r&&(_=r);var y=function(M){if(M&&!v.$loading[_])return u&&u(M);if(v.$loading[_]||(v.$loading[_]=[]),v.$loading[_].push(u),!(v.$loading[_].length>1)){var w=function(){!function(r,u){"ace/theme/textmate"===r||"./theme/textmate"===r?u(0,t("./theme/textmate")):l?l(r,u):console.error("loader is not configured")}(_,function(k,D){D&&(v.$loaded[_]=D),v._emit("load.module",{name:_,module:D});var I=v.$loading[_];v.$loading[_]=null,I.forEach(function(O){O&&O(D)})})};if(!v.get("packaged"))return w();c.loadScript(v.moduleUrl(_,p),w),a()}};if(v.dynamicModules[_])v.dynamicModules[_]().then(function(M){y(M.default?M.default:M)});else{try{h=this.$require(_)}catch{}y(h||v.$loaded[_])}},v.$require=function(r){if("function"==typeof C.require)return C.require(r)},v.setModuleLoader=function(r,u){v.dynamicModules[r]=u};var a=function(){!f.basePath&&!f.workerPath&&!f.modePath&&!f.themePath&&!Object.keys(f.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),a=function(){})};v.version="1.32.6"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(t,v,C){"use strict";t("./lib/fixoldbrowsers");var E=t("./config");E.setLoader(function(f,d){t([f],function(l){d(null,l)})});var c=function(){return this||typeof window<"u"&&window}();function b(f){if(c&&c.document){E.set("packaged",f||t.packaged||C.packaged||c.define&&g.amdD.packaged);var d={},l="",a=document.currentScript||document._currentScript,r=a&&a.ownerDocument||document;a&&a.src&&(l=a.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var u=r.getElementsByTagName("script"),h=0;h ["+this.end.row+"/"+this.end.column+"]"},c.prototype.contains=function(b,s){return 0==this.compare(b,s)},c.prototype.compareRange=function(b){var s,f=b.end,d=b.start;return 1==(s=this.compare(f.row,f.column))?1==(s=this.compare(d.row,d.column))?2:0==s?1:0:-1==s?-2:-1==(s=this.compare(d.row,d.column))?-1:1==s?42:0},c.prototype.comparePoint=function(b){return this.compare(b.row,b.column)},c.prototype.containsRange=function(b){return 0==this.comparePoint(b.start)&&0==this.comparePoint(b.end)},c.prototype.intersects=function(b){var s=this.compareRange(b);return-1==s||0==s||1==s},c.prototype.isEnd=function(b,s){return this.end.row==b&&this.end.column==s},c.prototype.isStart=function(b,s){return this.start.row==b&&this.start.column==s},c.prototype.setStart=function(b,s){"object"==typeof b?(this.start.column=b.column,this.start.row=b.row):(this.start.row=b,this.start.column=s)},c.prototype.setEnd=function(b,s){"object"==typeof b?(this.end.column=b.column,this.end.row=b.row):(this.end.row=b,this.end.column=s)},c.prototype.inside=function(b,s){return 0==this.compare(b,s)&&!(this.isEnd(b,s)||this.isStart(b,s))},c.prototype.insideStart=function(b,s){return 0==this.compare(b,s)&&!this.isEnd(b,s)},c.prototype.insideEnd=function(b,s){return 0==this.compare(b,s)&&!this.isStart(b,s)},c.prototype.compare=function(b,s){return this.isMultiLine()||b!==this.start.row?bthis.end.row?1:this.start.row===b?s>=this.start.column?0:-1:this.end.row===b?s<=this.end.column?0:1:0:sthis.end.column?1:0},c.prototype.compareStart=function(b,s){return this.start.row==b&&this.start.column==s?-1:this.compare(b,s)},c.prototype.compareEnd=function(b,s){return this.end.row==b&&this.end.column==s?1:this.compare(b,s)},c.prototype.compareInside=function(b,s){return this.end.row==b&&this.end.column==s?1:this.start.row==b&&this.start.column==s?-1:this.compare(b,s)},c.prototype.clipRows=function(b,s){if(this.end.row>s)var f={row:s+1,column:0};else this.end.rows)var d={row:s+1,column:0};else this.start.row1?++O>4&&(O=1):O=1,c.isIE){var U=Math.abs(A.clientX-T)>5||Math.abs(A.clientY-N)>5;(!S||U)&&(O=1),S&&clearTimeout(S),S=setTimeout(function(){S=null},w[O-1]||600),1==O&&(T=A.clientX,N=A.clientY)}if(A._clicks=O,k[D]("mousedown",A),O>4)O=0;else if(O>1)return k[D](F[O],A)}Array.isArray(M)||(M=[M]),M.forEach(function(A){r(A,"mousedown",L,I)})},v.getModifierString=function(M){return E.KEY_MODS[h(M)]},v.addCommandKeyListener=function(M,w,k){var D=null;r(M,"keydown",function(I){b[I.keyCode]=(b[I.keyCode]||0)+1;var O=function p(M,w,k){var D=h(w);if(!c.isMac&&b){if(w.getModifierState&&(w.getModifierState("OS")||w.getModifierState("Win"))&&(D|=8),b.altGr){if(3==(3&D))return;b.altGr=0}if(18===k||17===k){var I=w.location;17===k&&1===I?1==b[k]&&(s=w.timeStamp):18===k&&3===D&&2===I&&w.timeStamp-s<50&&(b.altGr=!0)}}if(k in E.MODIFIER_KEYS&&(k=-1),D||13!==k||3!==w.location||(M(w,D,-k),!w.defaultPrevented)){if(c.isChromeOS&&8&D){if(M(w,D,k),w.defaultPrevented)return;D&=-9}return!!(D||k in E.FUNCTION_KEYS||k in E.PRINTABLE_KEYS)&&M(w,D,k)}}(w,I,I.keyCode);return D=I.defaultPrevented,O},k),r(M,"keypress",function(I){D&&(I.ctrlKey||I.altKey||I.shiftKey||I.metaKey)&&(v.stopEvent(I),D=null)},k),r(M,"keyup",function(I){b[I.keyCode]=null},k),b||(_(),r(window,"focus",_))},"object"==typeof window&&window.postMessage&&!c.isOldIE){var y=1;v.nextTick=function(M,w){w=w||window;var k="zero-timeout-message-"+y++,D=function(I){I.data==k&&(v.stopPropagation(I),u(w,"message",D),M())};r(w,"message",D),w.postMessage(k,"*")}}v.$idleBlocked=!1,v.onIdle=function(M,w){return setTimeout(function k(){v.$idleBlocked?setTimeout(k,100):M()},w)},v.$idleBlockId=null,v.blockIdle=function(M){v.$idleBlockId&&clearTimeout(v.$idleBlockId),v.$idleBlocked=!0,v.$idleBlockId=setTimeout(function(){v.$idleBlocked=!1},M||100)},v.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),v.nextFrame=v.nextFrame?v.nextFrame.bind(window):function(M){setTimeout(M,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(t,v,C){"use strict";var E;C.exports={lineMode:!1,pasteCancelled:function(){return!!(E&&E>Date.now()-50)||(E=!1)},cancel:function(){E=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(t,v,C){"use strict";var E=t("../lib/event"),c=t("../config").nls,b=t("../lib/useragent"),s=t("../lib/dom"),f=t("../lib/lang"),d=t("../clipboard"),l=b.isChrome<18,a=b.isIE,r=b.isChrome>63,u=400,h=t("../lib/keys"),p=h.KEY_MODS,_=b.isIOS,y=_?/\s/:/\n/,M=b.isMobile;v.TextInput=function(k,D){var I=s.createElement("textarea");I.className="ace_text-input",I.setAttribute("wrap","off"),I.setAttribute("autocorrect","off"),I.setAttribute("autocapitalize","off"),I.setAttribute("spellcheck","false"),I.style.opacity="0",k.insertBefore(I,k.firstChild);var O=!1,T=!1,N=!1,S=!1,F="";M||(I.style.fontSize="1px");var L=!1,A=!1,U="",K=0,ee=0,ne=0,B=Number.MAX_SAFE_INTEGER,H=Number.MIN_SAFE_INTEGER,z=0;try{var X=document.activeElement===I}catch{}this.setNumberOfExtraLines=function(ze){B=Number.MAX_SAFE_INTEGER,H=Number.MIN_SAFE_INTEGER,z=ze<0?0:ze},this.setAriaOptions=function(ze){ze.activeDescendant?(I.setAttribute("aria-haspopup","true"),I.setAttribute("aria-autocomplete",ze.inline?"both":"list"),I.setAttribute("aria-activedescendant",ze.activeDescendant)):(I.setAttribute("aria-haspopup","false"),I.setAttribute("aria-autocomplete","both"),I.removeAttribute("aria-activedescendant")),ze.role&&I.setAttribute("role",ze.role),ze.setLabel&&(I.setAttribute("aria-roledescription",c("editor")),D.session)&&I.setAttribute("aria-label",c("Cursor at row $0",[D.session.selection.cursor.row+1]))},this.setAriaOptions({role:"textbox"}),E.addListener(I,"blur",function(ze){A||(D.onBlur(ze),X=!1)},D),E.addListener(I,"focus",function(ze){if(!A){if(X=!0,b.isEdge)try{if(!document.hasFocus())return}catch{}D.onFocus(ze),b.isEdge?setTimeout(j):j()}},D),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:D.renderer.enableKeyboardAccessibility}),F||r||"browser"==this.$focusScroll)return I.focus({preventScroll:!0});var ze=I.style.top;I.style.position="fixed",I.style.top="0px";try{var pt=0!=I.getBoundingClientRect().top}catch{return}var Pt=[];if(pt)for(var Gt=I.parentElement;Gt&&1==Gt.nodeType;)Pt.push(Gt),Gt.setAttribute("ace_nocontext","true"),Gt=!Gt.parentElement&&Gt.getRootNode?Gt.getRootNode().host:Gt.parentElement;I.focus({preventScroll:!0}),pt&&Pt.forEach(function(rn){rn.removeAttribute("ace_nocontext")}),setTimeout(function(){I.style.position="","0px"==I.style.top&&(I.style.top=ze)},0)},this.blur=function(){I.blur()},this.isFocused=function(){return X},D.on("beforeEndOperation",function(){var ze=D.curOp,pt=ze&&ze.command&&ze.command.name;"insertstring"!=pt&&(N&&pt&&(ze.docChanged||ze.selectionChanged)&&(U=I.value="",je()),j())});var G=function(ze,pt){for(var Pt=pt,Gt=1;Gt<=ze-B&&Gt<2*z+1;Gt++)Pt+=D.session.getLine(ze-Gt).length+1;return Pt},j=_?function(ze){if(X&&(!O||ze)&&!S){ze||(ze="");var pt="\n ab"+ze+"cde fg\n";pt!=I.value&&(I.value=U=pt);var Gt=4+(ze.length||(D.selection.isEmpty()?0:1));(4!=K||ee!=Gt)&&I.setSelectionRange(4,Gt),K=4,ee=Gt}}:function(){if(!N&&!S&&(X||Je)){N=!0;var ze=0,pt=0,Pt="";if(D.session){var Gt=D.selection,rn=Gt.getRange(),on=Gt.cursor.row;on===H+1?H=(B=H+1)+2*z:on===B-1?B=(H=B-1)-2*z:(onH+1)&&(B=on>z?on-z:0,H=on>z?on+z:2*z);for(var tn=[],gn=B;gn<=H;gn++)tn.push(D.session.getLine(gn));if(Pt=tn.join("\n"),ze=G(rn.start.row,rn.start.column),pt=G(rn.end.row,rn.end.column),rn.start.rowH){var an=D.session.getLine(H+1);pt=rn.end.row>H+1?an.length:rn.end.column,pt+=Pt.length+1,Pt=Pt+"\n"+an}else M&&on>0&&(Pt="\n"+Pt,pt+=1,ze+=1);Pt.length>u&&(ze0&&U[an]==ze[an];)an++,rn--;for(tn=tn.slice(an),an=1;on>0&&U.length-an>K-1&&U[U.length-an]==ze[ze.length-an];)an++,on--;gn-=an-1,Jt-=an-1;var Ot=tn.length-an+1;if(Ot<0&&(rn=-Ot,Ot=0),tn=tn.slice(0,Ot),!(pt||tn||gn||rn||on||Jt))return"";S=!0;var Ut=!1;return b.isAndroid&&". "==tn&&(tn=" ",Ut=!0),tn&&!rn&&!on&&!gn&&!Jt||L?D.onTextInput(tn):D.onTextInput(tn,{extendLeft:rn,extendRight:on,restoreStart:gn,restoreEnd:Jt}),S=!1,U=ze,K=Pt,ee=Gt,ne=Jt,Ut?"\n":tn},ct=function(ze){if(N)return Ie();if(ze&&ze.inputType){if("historyUndo"==ze.inputType)return D.execCommand("undo");if("historyRedo"==ze.inputType)return D.execCommand("redo")}var pt=I.value,Pt=_t(pt,!0);(pt.length>500||y.test(Pt)||M&&K<1&&K==ee)&&j()},Ct=function(ze,pt,Pt){var Gt=ze.clipboardData||window.clipboardData;if(Gt&&!l){var rn=a||Pt?"Text":"text/plain";try{return pt?!1!==Gt.setData(rn,pt):Gt.getData(rn)}catch(on){if(!Pt)return Ct(on,pt,!0)}}},Re=function(ze,pt){var Pt=D.getCopyText();if(!Pt)return E.preventDefault(ze);Ct(ze,Pt)?(_&&(j(Pt),O=Pt,setTimeout(function(){O=!1},10)),pt?D.onCut():D.onCopy(),E.preventDefault(ze)):(O=!0,I.value=Pt,I.select(),setTimeout(function(){O=!1,j(),pt?D.onCut():D.onCopy()}))},ke=function(ze){Re(ze,!0)},pe=function(ze){Re(ze,!1)},Qe=function(ze){var pt=Ct(ze);d.pasteCancelled()||("string"==typeof pt?(pt&&D.onPaste(pt,ze),b.isIE&&setTimeout(j),E.preventDefault(ze)):(I.value="",T=!0))};E.addCommandKeyListener(I,function(ze,pt,Pt){if(!N)return D.onCommandKey(ze,pt,Pt)},D),E.addListener(I,"select",function(ze){N||(O?O=!1:function(ze){return 0===ze.selectionStart&&ze.selectionEnd>=U.length&&ze.value===U&&U&&ze.selectionEnd!==ee}(I)?(D.selectAll(),j()):M&&I.selectionStart!=K&&j())},D),E.addListener(I,"input",ct,D),E.addListener(I,"cut",ke,D),E.addListener(I,"copy",pe,D),E.addListener(I,"paste",Qe,D),(!("oncut"in I)||!("oncopy"in I)||!("onpaste"in I))&&E.addListener(k,"keydown",function(ze){if((!b.isMac||ze.metaKey)&&ze.ctrlKey)switch(ze.keyCode){case 67:pe(ze);break;case 86:Qe(ze);break;case 88:ke(ze)}},D);var Ie=function(){if(N&&D.onCompositionUpdate&&!D.$readOnly){if(L)return q();N.useTextareaForIME?D.onCompositionUpdate(I.value):(_t(I.value),N.markerRange&&(N.context&&(N.markerRange.start.column=N.selectionStart=N.context.compositionStartOffset),N.markerRange.end.column=N.markerRange.start.column+ee-N.selectionStart+ne))}},je=function(ze){!D.onCompositionEnd||D.$readOnly||(N=!1,D.onCompositionEnd(),D.off("mousedown",q),ze&&ct())};function q(){A=!0,I.blur(),I.focus(),A=!1}var Xe,ye=f.delayedCall(Ie,50).schedule.bind(null,null);function ge(){clearTimeout(Xe),Xe=setTimeout(function(){F&&(I.style.cssText=F,F=""),D.renderer.$isMousePressed=!1,D.renderer.$keepTextAreaAtCursor&&D.renderer.$moveTextAreaToCursor()},0)}E.addListener(I,"compositionstart",function(ze){if(!N&&D.onCompositionStart&&!D.$readOnly&&(N={},!L)){ze.data&&(N.useTextareaForIME=!1),setTimeout(Ie,0),D._signal("compositionStart"),D.on("mousedown",q);var pt=D.getSelectionRange();pt.end.row=pt.start.row,pt.end.column=pt.start.column,N.markerRange=pt,N.selectionStart=K,D.onCompositionStart(N),N.useTextareaForIME?(U=I.value="",K=0,ee=0):(I.msGetInputContext&&(N.context=I.msGetInputContext()),I.getInputContext&&(N.context=I.getInputContext()))}},D),E.addListener(I,"compositionupdate",Ie,D),E.addListener(I,"keyup",function Oe(ze){27==ze.keyCode&&I.value.lengthee&&"\n"==U[Jt]?an=h.end:gnee&&U.slice(0,Jt).split("\n").length>2?an=h.down:Jt>ee&&" "==U[Jt-1]?(an=h.right,Ot=p.option):(Jt>ee||Jt==ee&&ee!=K&&gn==Jt)&&(an=h.right),gn!==Jt&&(Ot|=p.shift),an){if(!pt.onCommandKey({},Ot,an)&&pt.commands){an=h.keyCodeToString(an);var xe=pt.commands.findKeyCommand(Ot,an);xe&&pt.execCommand(xe)}K=gn,ee=Jt,j("")}}};document.addEventListener("selectionchange",on),pt.on("destroy",function(){document.removeEventListener("selectionchange",on)})}(0,D,I),this.destroy=function(){I.parentElement&&I.parentElement.removeChild(I)}},v.$setUserAgentForTests=function(k,D){M=k,_=D}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(t,v,C){"use strict";var E=t("../lib/useragent"),s=function(){function l(a){a.$clickSelection=null;var r=a.editor;r.setDefaultHandler("mousedown",this.onMouseDown.bind(a)),r.setDefaultHandler("dblclick",this.onDoubleClick.bind(a)),r.setDefaultHandler("tripleclick",this.onTripleClick.bind(a)),r.setDefaultHandler("quadclick",this.onQuadClick.bind(a)),r.setDefaultHandler("mousewheel",this.onMouseWheel.bind(a)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(h){a[h]=this[h]},this),a.selectByLines=this.extendSelectionBy.bind(a,"getLineRange"),a.selectByWords=this.extendSelectionBy.bind(a,"getWordRange")}return l.prototype.onMouseDown=function(a){var r=a.inSelection(),u=a.getDocumentPosition();this.mousedownEvent=a;var h=this.editor,p=a.getButton();return 0!==p?((h.getSelectionRange().isEmpty()||1==p)&&h.selection.moveToPosition(u),void(2==p&&(h.textInput.onContextMenu(a.domEvent),E.isMozilla||a.preventDefault()))):(this.mousedownEvent.time=Date.now(),!r||h.isFocused()||(h.focus(),!this.$focusTimeout||this.$clickSelection||h.inMultiSelectMode)?(this.captureMouse(a),this.startSelect(u,a.domEvent._clicks>1),a.preventDefault()):(this.setState("focusWait"),void this.captureMouse(a)))},l.prototype.startSelect=function(a,r){a=a||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var u=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?u.selection.selectToPosition(a):r||u.selection.moveToPosition(a),r||this.select(),u.setStyle("ace_selecting"),this.setState("select"))},l.prototype.select=function(){var a,r=this.editor,u=r.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var h=this.$clickSelection.comparePoint(u);if(-1==h)a=this.$clickSelection.end;else if(1==h)a=this.$clickSelection.start;else{var p=d(this.$clickSelection,u);u=p.cursor,a=p.anchor}r.selection.setSelectionAnchor(a.row,a.column)}r.selection.selectToPosition(u),r.renderer.scrollCursorIntoView()},l.prototype.extendSelectionBy=function(a){var r,u=this.editor,h=u.renderer.screenToTextCoordinates(this.x,this.y),p=u.selection[a](h.row,h.column);if(this.$clickSelection){var _=this.$clickSelection.comparePoint(p.start),y=this.$clickSelection.comparePoint(p.end);if(-1==_&&y<=0)r=this.$clickSelection.end,(p.end.row!=h.row||p.end.column!=h.column)&&(h=p.start);else if(1==y&&_>=0)r=this.$clickSelection.start,(p.start.row!=h.row||p.start.column!=h.column)&&(h=p.end);else if(-1==_&&1==y)h=p.end,r=p.start;else{var M=d(this.$clickSelection,h);h=M.cursor,r=M.anchor}u.selection.setSelectionAnchor(r.row,r.column)}u.selection.selectToPosition(h),u.renderer.scrollCursorIntoView()},l.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},l.prototype.focusWait=function(){var a=function f(l,a,r,u){return Math.sqrt(Math.pow(r-l,2)+Math.pow(u-a,2))}(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),r=Date.now();(a>0||r-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},l.prototype.onDoubleClick=function(a){var r=a.getDocumentPosition(),u=this.editor,p=u.session.getBracketRange(r);p?(p.isEmpty()&&(p.start.column--,p.end.column++),this.setState("select")):(p=u.selection.getWordRange(r.row,r.column),this.setState("selectByWords")),this.$clickSelection=p,this.select()},l.prototype.onTripleClick=function(a){var r=a.getDocumentPosition(),u=this.editor;this.setState("selectByLines");var h=u.getSelectionRange();h.isMultiLine()&&h.contains(r.row,r.column)?(this.$clickSelection=u.selection.getLineRange(h.start.row),this.$clickSelection.end=u.selection.getLineRange(h.end.row).end):this.$clickSelection=u.selection.getLineRange(r.row),this.select()},l.prototype.onQuadClick=function(a){var r=this.editor;r.selectAll(),this.$clickSelection=r.getSelectionRange(),this.setState("selectAll")},l.prototype.onMouseWheel=function(a){if(!a.getAccelKey()){a.getShiftKey()&&a.wheelY&&!a.wheelX&&(a.wheelX=a.wheelY,a.wheelY=0);var r=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var u=this.$lastScroll,h=a.domEvent.timeStamp,p=h-u.t,_=p?a.wheelX/p:u.vx,y=p?a.wheelY/p:u.vy;p<550&&(_=(_+u.vx)/2,y=(y+u.vy)/2);var M=Math.abs(_/y),w=!1;if(M>=1&&r.renderer.isScrollableBy(a.wheelX*a.speed,0)&&(w=!0),M<=1&&r.renderer.isScrollableBy(0,a.wheelY*a.speed)&&(w=!0),w?u.allowed=h:h-u.allowed<550&&(Math.abs(_)<=1.5*Math.abs(u.vx)&&Math.abs(y)<=1.5*Math.abs(u.vy)?(w=!0,u.allowed=h):u.allowed=0),u.t=h,u.vx=_,u.vy=y,w)return r.renderer.scrollBy(a.wheelX*a.speed,a.wheelY*a.speed),a.stop()}},l}();function d(l,a){if(l.start.row==l.end.row)var r=2*a.column-l.start.column-l.end.column;else if(l.start.row!=l.end.row-1||l.start.column||l.end.column)r=2*a.row-l.start.row-l.end.row;else r=a.column-4;return r<0?{cursor:l.start,anchor:l.end}:{cursor:l.end,anchor:l.start}}s.prototype.selectEnd=s.prototype.selectByLinesEnd,s.prototype.selectAllEnd=s.prototype.selectByLinesEnd,s.prototype.selectByWordsEnd=s.prototype.selectByLinesEnd,v.DefaultHandlers=s}),ace.define("ace/lib/scroll",["require","exports","module"],function(t,v,C){v.preventParentScroll=function(c){c.stopPropagation();var b=c.currentTarget;b.scrollHeight>b.clientHeight||c.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(t,v,C){"use strict";var E=this&&this.__extends||function(){var p=function(_,y){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,w){M.__proto__=w}||function(M,w){for(var k in w)Object.prototype.hasOwnProperty.call(w,k)&&(M[k]=w[k])})(_,y)};return function(_,y){if("function"!=typeof y&&null!==y)throw new TypeError("Class extends value "+String(y)+" is not a constructor or null");function M(){this.constructor=_}p(_,y),_.prototype=null===y?Object.create(y):(M.prototype=y.prototype,new M)}}(),c=this&&this.__values||function(p){var _="function"==typeof Symbol&&Symbol.iterator,y=_&&p[_],M=0;if(y)return y.call(p);if(p&&"number"==typeof p.length)return{next:function(){return p&&M>=p.length&&(p=void 0),{value:p&&p[M++],done:!p}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},b=t("./lib/dom"),f=(t("./lib/event"),t("./range").Range),d=t("./lib/scroll").preventParentScroll,l="ace_tooltip",a=function(){function p(_){this.isOpen=!1,this.$element=null,this.$parentNode=_}return p.prototype.$init=function(){return this.$element=b.createElement("div"),this.$element.className=l,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},p.prototype.getElement=function(){return this.$element||this.$init()},p.prototype.setText=function(_){this.getElement().textContent=_},p.prototype.setHtml=function(_){this.getElement().innerHTML=_},p.prototype.setPosition=function(_,y){this.getElement().style.left=_+"px",this.getElement().style.top=y+"px"},p.prototype.setClassName=function(_){b.addCssClass(this.getElement(),_)},p.prototype.setTheme=function(_){this.$element.className=l+" "+(_.isDark?"ace_dark ":"")+(_.cssClass||"")},p.prototype.show=function(_,y,M){null!=_&&this.setText(_),null!=y&&null!=M&&this.setPosition(y,M),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},p.prototype.hide=function(_){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=l,this.isOpen=!1)},p.prototype.getHeight=function(){return this.getElement().offsetHeight},p.prototype.getWidth=function(){return this.getElement().offsetWidth},p.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},p}(),u=new(function(){function p(){this.popups=[]}return p.prototype.addPopup=function(_){this.popups.push(_),this.updatePopups()},p.prototype.removePopup=function(_){var y=this.popups.indexOf(_);-1!==y&&(this.popups.splice(y,1),this.updatePopups())},p.prototype.updatePopups=function(){var _,y,M,w;this.popups.sort(function(L,A){return A.priority-L.priority});var k=[];try{for(var D=c(this.popups),I=D.next();!I.done;I=D.next()){var O=I.value,T=!0;try{for(var N=(M=void 0,c(k)),S=N.next();!S.done;S=N.next())if(this.doPopupsOverlap(S.value,O)){T=!1;break}}catch(L){M={error:L}}finally{try{S&&!S.done&&(w=N.return)&&w.call(N)}finally{if(M)throw M.error}}T?k.push(O):O.hide()}}catch(L){_={error:L}}finally{try{I&&!I.done&&(y=D.return)&&y.call(D)}finally{if(_)throw _.error}}},p.prototype.doPopupsOverlap=function(_,y){var M=_.getElement().getBoundingClientRect(),w=y.getElement().getBoundingClientRect();return M.leftw.left&&M.topw.top},p}());v.popupManager=u,v.Tooltip=a;var h=function(p){function _(y){void 0===y&&(y=document.body);var M=p.call(this,y)||this;M.timeout=void 0,M.lastT=0,M.idleTime=350,M.lastEvent=void 0,M.onMouseOut=M.onMouseOut.bind(M),M.onMouseMove=M.onMouseMove.bind(M),M.waitForHover=M.waitForHover.bind(M),M.hide=M.hide.bind(M);var w=M.getElement();return w.style.whiteSpace="pre-wrap",w.style.pointerEvents="auto",w.addEventListener("mouseout",M.onMouseOut),w.tabIndex=-1,w.addEventListener("blur",function(){w.contains(document.activeElement)||this.hide()}.bind(M)),w.addEventListener("wheel",d),M}return E(_,p),_.prototype.addToEditor=function(y){y.on("mousemove",this.onMouseMove),y.on("mousedown",this.hide),y.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},_.prototype.removeFromEditor=function(y){y.off("mousemove",this.onMouseMove),y.off("mousedown",this.hide),y.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},_.prototype.onMouseMove=function(y,M){this.lastEvent=y,this.lastT=Date.now();var w=M.$mouseHandler.isMousePressed;if(this.isOpen){var k=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(k.row,k.column)||w||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||w||(this.lastEvent=y,this.timeout=setTimeout(this.waitForHover,this.idleTime))},_.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var y=Date.now()-this.lastT;this.idleTime-y>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-y):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},_.prototype.isOutsideOfText=function(y){var M=y.editor,w=y.getDocumentPosition(),k=M.session.getLine(w.row);if(w.column==k.length){var D=M.renderer.pixelToScreenCoordinates(y.clientX,y.clientY),I=M.session.documentToScreenPosition(w.row,w.column);if(I.column!=D.column||I.row!=D.row)return!0}return!1},_.prototype.setDataProvider=function(y){this.$gatherData=y},_.prototype.showForRange=function(y,M,w,k){if(!(k&&k!=this.lastEvent||this.isOpen&&document.activeElement==this.getElement())){var I=y.renderer;this.isOpen||(u.addPopup(this),this.$registerCloseEvents(),this.setTheme(I.theme)),this.isOpen=!0,this.addMarker(M,y.session),this.range=f.fromPoints(M.start,M.end);var O=I.textToScreenCoordinates(M.start.row,M.start.column),T=I.scroller.getBoundingClientRect();O.pageX=r.length&&(r=void 0),{value:r&&r[p++],done:!r}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")},b=t("../lib/dom"),s=t("../lib/event"),f=t("../tooltip").Tooltip,d=t("../config").nls;v.GutterHandler=function l(r){var _,y,u=r.editor,h=u.renderer.$gutterLayer,p=new a(u);function w(){_&&(_=clearTimeout(_)),p.isOpen&&(p.hideTooltip(),u.off("mousewheel",w))}function k(D){p.setPosition(D.x,D.y)}r.editor.setDefaultHandler("guttermousedown",function(D){if(u.isFocused()&&0==D.getButton()&&"foldWidgets"!=h.getRegion(D)){var O=D.getDocumentPosition().row,T=u.session.selection;if(D.getShiftKey())T.selectTo(O,0);else{if(2==D.domEvent.detail)return u.selectAll(),D.preventDefault();r.$clickSelection=u.selection.getLineRange(O)}return r.setState("selectByLines"),r.captureMouse(D),D.preventDefault()}}),r.editor.setDefaultHandler("guttermousemove",function(D){if(b.hasCssClass(D.domEvent.target||D.domEvent.srcElement,"ace_fold-widget"))return w();p.isOpen&&r.$tooltipFollowsMouse&&k(D),y=D,!_&&(_=setTimeout(function(){_=null,y&&!r.isMousePressed?function M(){var D=y.getDocumentPosition().row;if(D==u.session.getLength()){var O=u.renderer.pixelToScreenCoordinates(0,y.y).row,T=y.$pos;if(O>u.session.documentToScreenRow(T.row,T.column))return w()}if(p.showTooltip(D),p.isOpen)if(u.on("mousewheel",w),r.$tooltipFollowsMouse)k(y);else{var N=y.getGutterRow(),S=h.$lines.get(N);if(S){var L=S.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),A=p.getElement().style;A.left=L.right+"px",A.top=L.bottom+"px"}else k(y)}}():w()},50))}),s.addListener(u.renderer.$gutter,"mouseout",function(D){y=null,p.isOpen&&!_&&(_=setTimeout(function(){_=null,w()},50))},u),u.on("changeSession",w),u.on("input",w)};var a=function(r){function u(h){var p=r.call(this,h.container)||this;return p.editor=h,p}return E(u,r),u.prototype.setPosition=function(h,p){var _=window.innerWidth||document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight,M=this.getWidth(),w=this.getHeight();(h+=15)+M>_&&(h-=h+M-_),(p+=15)+w>y&&(p-=20+w),f.prototype.setPosition.call(this,h,p)},Object.defineProperty(u,"annotationLabels",{get:function(){return{error:{singular:d("error"),plural:d("errors")},warning:{singular:d("warning"),plural:d("warnings")},info:{singular:d("information message"),plural:d("information messages")}}},enumerable:!1,configurable:!0}),u.prototype.showTooltip=function(h){var y,p=this.editor.renderer.$gutterLayer,_=p.$annotations[h];y=_?{text:Array.from(_.text),type:Array.from(_.type)}:{text:[],type:[]};var M=p.session.getFoldLine(h);if(M&&p.$showFoldedAnnotations){for(var k,w={error:[],warning:[],info:[]},D=h+1;D<=M.end.row;D++)if(p.$annotations[D])for(var I=0;I ").concat(y.text[D]);N[y.type[D].replace("_fold","")].push(F)}var L=[].concat(N.error,N.warning,N.info).join("
");this.setHtml(L),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},u.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},u.annotationsToSummaryString=function(h){var p,_,y=[];try{for(var w=c(["error","warning","info"]),k=w.next();!k.done;k=w.next()){var D=k.value;if(h[D].length){var I=1===h[D].length?u.annotationLabels[D].singular:u.annotationLabels[D].plural;y.push("".concat(h[D].length," ").concat(I))}}}catch(O){p={error:O}}finally{try{k&&!k.done&&(_=w.return)&&_.call(w)}finally{if(p)throw p.error}}return y.join(", ")},u}(f);v.GutterTooltip=a}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(t,v,C){"use strict";var E=t("../lib/event"),c=t("../lib/useragent"),b=function(){function s(f,d){this.domEvent=f,this.editor=d,this.x=this.clientX=f.clientX,this.y=this.clientY=f.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return s.prototype.stopPropagation=function(){E.stopPropagation(this.domEvent),this.propagationStopped=!0},s.prototype.preventDefault=function(){E.preventDefault(this.domEvent),this.defaultPrevented=!0},s.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},s.prototype.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},s.prototype.getGutterRow=function(){var f=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(f,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},s.prototype.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var d=this.editor.getSelectionRange();if(d.isEmpty())this.$inSelection=!1;else{var l=this.getDocumentPosition();this.$inSelection=d.contains(l.row,l.column)}return this.$inSelection},s.prototype.getButton=function(){return E.getButton(this.domEvent)},s.prototype.getShiftKey=function(){return this.domEvent.shiftKey},s.prototype.getAccelKey=function(){return c.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},s}();v.MouseEvent=b}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(t,v,C){"use strict";var E=t("../lib/dom"),c=t("../lib/event"),b=t("../lib/useragent");function l(r){var u=r.editor,h=E.createElement("div");h.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",h.textContent="\xa0",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(G){r[G]=this[G]},this),u.on("mousedown",this.onMouseDown.bind(r));var y,M,w,k,D,I,T,N,S,F,L,_=u.container,O=0;function K(){var G=I;(function A(G,j){var le=Date.now();F&&j&&G.row==j.row&&j&&G.column==j.column?a(L.x,L.y,M,w)>5?F=null:le-F>=200&&(u.renderer.scrollCursorIntoView(),F=null):(u.moveCursorToPosition(G),F=le,L={x:M,y:w})})(I=u.renderer.screenToTextCoordinates(M,w),G),function U(G,j){var le=Date.now(),ue=u.renderer.layerConfig.lineHeight,ve=u.renderer.layerConfig.characterWidth,Je=u.renderer.scroller.getBoundingClientRect(),_t={x:{left:M-Je.left,right:Je.right-M},y:{top:w-Je.top,bottom:Je.bottom-w}},ct=Math.min(_t.x.left,_t.x.right),Ct=Math.min(_t.y.top,_t.y.bottom),Re={row:G.row,column:G.column};ct/ve<=2&&(Re.column+=_t.x.left<_t.x.right?-3:2),Ct/ue<=1&&(Re.row+=_t.y.top<_t.y.bottom?-1:1),G.row!=Re.row||G.column!=Re.column&&j&&G.row==j.row?S?le-S>=200&&u.renderer.scrollCursorIntoView(Re):S=le:S=null}(I,G)}function ee(){D=u.selection.toOrientedRange(),y=u.session.addMarker(D,"ace_selection",u.getSelectionStyle()),u.clearSelection(),u.isFocused()&&u.renderer.$cursorLayer.setBlinking(!1),clearInterval(k),K(),k=setInterval(K,20),O=0,c.addListener(document,"mousemove",H)}function ne(){clearInterval(k),u.session.removeMarker(y),y=null,u.selection.fromOrientedRange(D),u.isFocused()&&!N&&u.$resetCursorStyle(),D=null,I=null,O=0,S=null,F=null,c.removeListener(document,"mousemove",H)}this.onDragStart=function(G){if(this.cancelDrag||!_.draggable){var j=this;return setTimeout(function(){j.startSelect(),j.captureMouse(G)},0),G.preventDefault()}D=u.getSelectionRange();var le=G.dataTransfer;le.effectAllowed=u.getReadOnly()?"copy":"copyMove",u.container.appendChild(h),le.setDragImage&&le.setDragImage(h,0,0),setTimeout(function(){u.container.removeChild(h)}),le.clearData(),le.setData("Text",u.session.getTextRange()),N=!0,this.setState("drag")},this.onDragEnd=function(G){_.draggable=!1,N=!1,this.setState(null),u.getReadOnly()||(!T&&"move"==G.dataTransfer.dropEffect&&u.session.remove(u.getSelectionRange()),u.$resetCursorStyle()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(G){if(!u.getReadOnly()&&z(G.dataTransfer))return M=G.clientX,w=G.clientY,y||ee(),O++,G.dataTransfer.dropEffect=T=X(G),c.preventDefault(G)},this.onDragOver=function(G){if(!u.getReadOnly()&&z(G.dataTransfer))return M=G.clientX,w=G.clientY,y||(ee(),O++),null!==B&&(B=null),G.dataTransfer.dropEffect=T=X(G),c.preventDefault(G)},this.onDragLeave=function(G){if(--O<=0&&y)return ne(),T=null,c.preventDefault(G)},this.onDrop=function(G){if(I){var j=G.dataTransfer;if(N)switch(T){case"move":D=D.contains(I.row,I.column)?{start:I,end:I}:u.moveText(D,I);break;case"copy":D=u.moveText(D,I,!0)}else{var le=j.getData("Text");D={start:I,end:u.session.insert(I,le)},u.focus(),T=null}return ne(),c.preventDefault(G)}},c.addListener(_,"dragstart",this.onDragStart.bind(r),u),c.addListener(_,"dragend",this.onDragEnd.bind(r),u),c.addListener(_,"dragenter",this.onDragEnter.bind(r),u),c.addListener(_,"dragover",this.onDragOver.bind(r),u),c.addListener(_,"dragleave",this.onDragLeave.bind(r),u),c.addListener(_,"drop",this.onDrop.bind(r),u);var B=null;function H(){null==B&&(B=setTimeout(function(){null!=B&&y&&ne()},20))}function z(G){var j=G.types;return!j||Array.prototype.some.call(j,function(le){return"text/plain"==le||"Text"==le})}function X(G){var j=["copy","copymove","all","uninitialized"],ue=b.isMac?G.altKey:G.ctrlKey,ve="uninitialized";try{ve=G.dataTransfer.effectAllowed.toLowerCase()}catch{}var Je="none";return ue&&j.indexOf(ve)>=0?Je="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(ve)>=0?Je="move":j.indexOf(ve)>=0&&(Je="copy"),Je}}function a(r,u,h,p){return Math.sqrt(Math.pow(h-r,2)+Math.pow(p-u,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(r){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var r=this.editor;r.container.draggable=!0,r.renderer.$cursorLayer.setBlinking(!1),r.setStyle("ace_dragging"),r.renderer.setCursorStyle(b.isWin?"default":"move"),this.setState("dragReady")},this.onMouseDrag=function(r){var u=this.editor.container;b.isIE&&"dragReady"==this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&u.dragDrop(),"dragWait"===this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(u.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(r){if(this.$dragEnabled){this.mousedownEvent=r;var u=this.editor,h=r.inSelection(),p=r.getButton();if(1===(r.domEvent.detail||1)&&0===p&&h){if(r.editor.inMultiSelectMode&&(r.getAccelKey()||r.getShiftKey()))return;this.mousedownEvent.time=Date.now();var y=r.domEvent.target||r.domEvent.srcElement;"unselectable"in y&&(y.unselectable="on"),u.getDragDelay()?(b.isWebKit&&(this.cancelDrag=!0,u.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(r,this.onMouseDrag.bind(this)),r.defaultPrevented=!0}}}}).call(l.prototype),v.DragdropHandler=l}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(t,v,C){"use strict";var E=t("./mouse_event").MouseEvent,c=t("../lib/event"),b=t("../lib/dom");v.addTouchListeners=function(s,f){var l,a,r,u,h,p,y,D,I,d="scroll",_=0,M=0,w=0,k=0;function T(){I||function O(){var A=window.navigator&&window.navigator.clipboard,U=!1,ee=function(ne){var B=ne.target.getAttribute("action");if("more"==B||!U)return U=!U,function(){var ne=f.getCopyText(),B=f.session.getUndoManager().hasUndo();I.replaceChild(b.buildDom(U?["span",!ne&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],ne&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],ne&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],A&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],B&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),I.firstChild)}();"paste"==B?A.readText().then(function(H){f.execCommand(B,H)}):B&&(("cut"==B||"copy"==B)&&(A?A.writeText(f.getCopyText()):document.execCommand("copy")),f.execCommand(B)),I.firstChild.style.display="none",U=!1,"openCommandPalette"!=B&&f.focus()};I=b.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(ne){d="menu",ne.stopPropagation(),ne.preventDefault(),f.textInput.focus()},ontouchend:function(ne){ne.stopPropagation(),ne.preventDefault(),ee(ne)},onclick:ee},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],f.container)}();var A=f.selection.cursor,U=f.renderer.textToScreenCoordinates(A.row,A.column),K=f.renderer.textToScreenCoordinates(0,0).pageX,ee=f.renderer.scrollLeft,ne=f.container.getBoundingClientRect();I.style.top=U.pageY-ne.top-3+"px",U.pageX-ne.left1)return clearTimeout(h),h=null,r=-1,void(d="zoom");D=f.$mouseHandler.isMousePressed=!0;var K=f.renderer.layerConfig.lineHeight,ee=f.renderer.layerConfig.lineHeight,ne=A.timeStamp;u=ne;var B=U[0],H=B.clientX,z=B.clientY;Math.abs(l-H)+Math.abs(a-z)>K&&(r=-1),l=A.clientX=H,a=A.clientY=z,w=k=0;var X=new E(A,f);if(y=X.getDocumentPosition(),ne-r<500&&1==U.length&&!_)M++,A.preventDefault(),A.button=0,function F(){h=null,clearTimeout(h),f.selection.moveToPosition(y);var A=M>=2?f.selection.getLineRange(y.row):f.session.getBracketRange(y);A&&!A.isEmpty()?f.selection.setRange(A):f.selection.selectWord(),d="wait"}();else{M=0;var G=f.selection.cursor,j=f.selection.isEmpty()?G:f.selection.anchor,le=f.renderer.$cursorLayer.getPixelPosition(G,!0),ue=f.renderer.$cursorLayer.getPixelPosition(j,!0),ve=f.renderer.scroller.getBoundingClientRect(),Je=f.renderer.layerConfig.offset,_t=f.renderer.scrollLeft,ct=function(ke,pe){return(ke/=ee)*ke+(pe=pe/K-.75)*pe};if(A.clientXRe?"cursor":"anchor"),d=Re<3.5?"anchor":Ct<3.5?"cursor":"scroll",h=setTimeout(S,450)}r=ne},f),c.addListener(s,"touchend",function(A){D=f.$mouseHandler.isMousePressed=!1,p&&clearInterval(p),"zoom"==d?(d="",_=0):h?(f.selection.moveToPosition(y),_=0,T()):"scroll"==d?(function L(){_+=60,p=setInterval(function(){_--<=0&&(clearInterval(p),p=null),Math.abs(w)<.01&&(w=0),Math.abs(k)<.01&&(k=0),_<20&&(w*=.9),_<20&&(k*=.9);var A=f.session.getScrollTop();f.renderer.scrollBy(10*w,10*k),A==f.session.getScrollTop()&&(_=0)},10)}(),N()):T(),clearTimeout(h),h=null},f),c.addListener(s,"touchmove",function(A){h&&(clearTimeout(h),h=null);var U=A.touches;if(!(U.length>1||"zoom"==d)){var K=U[0],ee=l-K.clientX,ne=a-K.clientY;if("wait"==d){if(!(ee*ee+ne*ne>4))return A.preventDefault();d="cursor"}l=K.clientX,a=K.clientY,A.clientX=K.clientX,A.clientY=K.clientY;var B=A.timeStamp,H=B-u;if(u=B,"scroll"==d){var z=new E(A,f);z.speed=1,z.wheelX=ee,z.wheelY=ne,10*Math.abs(ee)=_t){for(pe=ke+1;pe=_t;)pe++;for(Qe=ke,Be=pe-1;Qe=ct.length||2!=(pe=Ct[Re-1])&&3!=pe||2!=(Qe=ct[Re+1])&&3!=Qe?4:(f&&(Qe=3),Qe==pe?Qe:4);case 10:return 2==(pe=Re>0?Ct[Re-1]:5)&&Re+10&&2==Ct[Re-1])return 2;if(f)return 4;for(Ie=Re+1,Be=ct.length;Ie=1425&&je<=2303||64286==je)&&(1==pe||7==pe))return 1}return Re<1||5==(pe=ct[Re-1])?4:Ct[Re-1];case 5:return f=!1,l=!0,b;case 6:return a=!0,4;case 13:case 14:case 16:case 17:case 15:f=!1;case z:return 4}}function ve(_t){var ct=_t.charCodeAt(0),Ct=ct>>8;return 0==Ct?ct>191?0:X[ct]:5==Ct?/[\u0591-\u05f4]/.test(_t)?1:0:6==Ct?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(_t)?12:/[\u0660-\u0669\u066b-\u066c]/.test(_t)?3:1642==ct?A:/[\u06f0-\u06f9]/.test(_t)?2:7:32==Ct&&ct<=8287?G[255&ct]:254==Ct&&ct>=65136?7:4}v.L=0,v.R=1,v.EN=2,v.ON_R=3,v.AN=4,v.R_H=5,v.B=6,v.RLE=7,v.DOT="\xb7",v.doBidiReorder=function(_t,ct,Ct){if(_t.length<2)return{};var Re=_t.split(""),ke=new Array(Re.length),pe=new Array(Re.length),Qe=[];b=Ct?1:0,function j(_t,ct,Ct,Re){var ke=b?p:h,pe=null,Qe=null,Be=null,Ie=0,je=null,ye=-1,Oe=null,Xe=null,ge=[];if(!Re)for(Oe=0,Re=[];Oe0)if(16==je){for(Oe=ye;Oe-1){for(Oe=ye;Oe=0&&8==Re[Ve];Ve--)ct[Ve]=b}}(Re,Qe,Re.length,ct);for(var Be=0;Be7&&ct[Be]<13||4===ct[Be]||ct[Be]===z)?Qe[Be]=v.ON_R:Be>0&&"\u0644"===Re[Be-1]&&/\u0622|\u0623|\u0625|\u0627/.test(Re[Be])&&(Qe[Be-1]=Qe[Be]=v.R_H,Be++);for(Re[Re.length-1]===v.DOT&&(Qe[Re.length-1]=v.B),"\u202b"===Re[0]&&(Qe[0]=v.RLE),Be=0;Be=0&&(d=this.session.$docRowCache[a])}return d},f.prototype.getSplitIndex=function(){var d=0,l=this.session.$screenRowCache;if(l.length)for(var a,r=this.session.$getRowCacheIndex(l,this.currentRow);this.currentRow-d>0&&(a=this.session.$getRowCacheIndex(l,this.currentRow-d-1))===r;)r=a,d++;else d=this.currentRow;return d},f.prototype.updateRowLine=function(d,l){void 0===d&&(d=this.getDocumentRow());var r=d===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(d),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var u=this.session.$wrapData[d];u&&(void 0===l&&(l=this.getSplitIndex()),l>0&&u.length?(this.wrapIndent=u.indent,this.wrapOffset=this.wrapIndent*this.charWidths[E.L],this.line=ll?this.session.getOverwrite()?d:d-1:l,r=E.getVisualFromLogicalIdx(a,this.bidiMap),u=this.bidiMap.bidiLevels,h=0;!this.session.getOverwrite()&&d<=l&&u[r]%2!=0&&r++;for(var p=0;pl&&u[r]%2==0&&(h+=this.charWidths[u[r]]),this.wrapIndent&&(h+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(h+=this.rtlLineOffset),h},f.prototype.getSelections=function(d,l){var u,a=this.bidiMap,r=a.bidiLevels,h=[],p=0,_=Math.min(d,l)-this.wrapIndent,y=Math.max(d,l)-this.wrapIndent,M=!1,w=!1,k=0;this.wrapIndent&&(p+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var D,I=0;I=_&&Dr+p/2;){if(r+=p,u===h.length-1){p=0;break}p=this.charWidths[h[++u]]}return u>0&&h[u-1]%2!=0&&h[u]%2==0?(a0&&h[u-1]%2==0&&h[u]%2!=0?l=1+(a>r?this.bidiMap.logicalFromVisual[u]:this.bidiMap.logicalFromVisual[u-1]):this.isRtlDir&&u===h.length-1&&0===p&&h[u-1]%2==0||!this.isRtlDir&&0===u&&h[u]%2!=0?l=1+this.bidiMap.logicalFromVisual[u]:(u>0&&h[u-1]%2!=0&&0!==p&&u--,l=this.bidiMap.logicalFromVisual[u]),0===l&&this.isRtlDir&&l++,l+this.wrapIndent},f}();v.BidiHandler=s}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(t,v,C){"use strict";var E=t("./lib/oop"),c=t("./lib/lang"),b=t("./lib/event_emitter").EventEmitter,s=t("./range").Range,f=function(){function d(l){this.session=l,this.doc=l.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var a=this;this.cursor.on("change",function(r){a.$cursorChanged=!0,a.$silent||a._emit("changeCursor"),!a.$isEmpty&&!a.$silent&&a._emit("changeSelection"),!a.$keepDesiredColumnOnChange&&r.old.column!=r.value.column&&(a.$desiredColumn=null)}),this.anchor.on("change",function(){a.$anchorChanged=!0,!a.$isEmpty&&!a.$silent&&a._emit("changeSelection")})}return d.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},d.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},d.prototype.getCursor=function(){return this.lead.getPosition()},d.prototype.setAnchor=function(l,a){this.$isEmpty=!1,this.anchor.setPosition(l,a)},d.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},d.prototype.getSelectionLead=function(){return this.lead.getPosition()},d.prototype.isBackwards=function(){var l=this.anchor,a=this.lead;return l.row>a.row||l.row==a.row&&l.column>a.column},d.prototype.getRange=function(){var l=this.anchor,a=this.lead;return this.$isEmpty?s.fromPoints(a,a):this.isBackwards()?s.fromPoints(a,l):s.fromPoints(l,a)},d.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},d.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},d.prototype.setRange=function(l,a){var r=a?l.end:l.start,u=a?l.start:l.end;this.$setSelection(r.row,r.column,u.row,u.column)},d.prototype.$setSelection=function(l,a,r,u){if(!this.$silent){var h=this.$isEmpty,p=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(l,a),this.cursor.setPosition(r,u),this.$isEmpty=!s.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||h!=this.$isEmpty||p)&&this._emit("changeSelection")}},d.prototype.$moveSelection=function(l){var a=this.lead;this.$isEmpty&&this.setSelectionAnchor(a.row,a.column),l.call(this)},d.prototype.selectTo=function(l,a){this.$moveSelection(function(){this.moveCursorTo(l,a)})},d.prototype.selectToPosition=function(l){this.$moveSelection(function(){this.moveCursorToPosition(l)})},d.prototype.moveTo=function(l,a){this.clearSelection(),this.moveCursorTo(l,a)},d.prototype.moveToPosition=function(l){this.clearSelection(),this.moveCursorToPosition(l)},d.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},d.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},d.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},d.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},d.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},d.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},d.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},d.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},d.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},d.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},d.prototype.getWordRange=function(l,a){if(typeof a>"u"){var r=l||this.lead;l=r.row,a=r.column}return this.session.getWordRange(l,a)},d.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},d.prototype.selectAWord=function(){var l=this.getCursor(),a=this.session.getAWordRange(l.row,l.column);this.setSelectionRange(a)},d.prototype.getLineRange=function(l,a){var u,r="number"==typeof l?l:this.lead.row,h=this.session.getFoldLine(r);return h?(r=h.start.row,u=h.end.row):u=r,!0===a?new s(r,0,u,this.session.getLine(u).length):new s(r,0,u+1,0)},d.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},d.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},d.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},d.prototype.wouldMoveIntoSoftTab=function(l,a,r){var u=l.column,h=l.column+a;return r<0&&(u=l.column-a,h=l.column),this.session.isTabStop(l)&&this.doc.getLine(l.row).slice(u,h).split(" ").length-1==a},d.prototype.moveCursorLeft=function(){var a,l=this.lead.getPosition();if(a=this.session.getFoldAt(l.row,l.column,-1))this.moveCursorTo(a.start.row,a.start.column);else if(0===l.column)l.row>0&&this.moveCursorTo(l.row-1,this.doc.getLine(l.row-1).length);else{var r=this.session.getTabSize();this.wouldMoveIntoSoftTab(l,r,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-r):this.moveCursorBy(0,-1)}},d.prototype.moveCursorRight=function(){var a,l=this.lead.getPosition();if(a=this.session.getFoldAt(l.row,l.column,1))this.moveCursorTo(a.end.row,a.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(a.column=u)}}this.moveCursorTo(a.row,a.column)},d.prototype.moveCursorFileEnd=function(){var l=this.doc.getLength()-1,a=this.doc.getLine(l).length;this.moveCursorTo(l,a)},d.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},d.prototype.moveCursorLongWordRight=function(){var l=this.lead.row,a=this.lead.column,r=this.doc.getLine(l),u=r.substring(a);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var h=this.session.getFoldAt(l,a,1);if(!h)return this.session.nonTokenRe.exec(u)&&(a+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,u=r.substring(a)),a>=r.length?(this.moveCursorTo(l,r.length),this.moveCursorRight(),void(l0&&this.moveCursorWordLeft());this.session.tokenRe.exec(h)&&(a-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(l,a)}},d.prototype.$shortWordEndIndex=function(l){var r,a=0,u=/\s/,h=this.session.tokenRe;if(h.lastIndex=0,this.session.tokenRe.exec(l))a=this.session.tokenRe.lastIndex;else{for(;(r=l[a])&&u.test(r);)a++;if(a<1)for(h.lastIndex=0;(r=l[a])&&!h.test(r);)if(h.lastIndex=0,a++,u.test(r)){if(a>2){a--;break}for(;(r=l[a])&&u.test(r);)a++;if(a>2)break}}return h.lastIndex=0,a},d.prototype.moveCursorShortWordRight=function(){var l=this.lead.row,a=this.lead.column,r=this.doc.getLine(l),u=r.substring(a),h=this.session.getFoldAt(l,a,1);if(h)return this.moveCursorTo(h.end.row,h.end.column);if(a==r.length){var p=this.doc.getLength();do{l++,u=this.doc.getLine(l)}while(l0&&/^\s*$/.test(u));a=u.length,/\s+$/.test(u)||(u="")}var h=c.stringReverse(u),p=this.$shortWordEndIndex(h);return this.moveCursorTo(l,a-p)},d.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},d.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},d.prototype.moveCursorBy=function(l,a){var u,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===a&&(0!==l&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(u=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(u/this.session.$bidiHandler.charWidths[0])):u=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column),0!=l&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var h=this.session.lineWidgets[this.lead.row];l<0?l-=h.rowsAbove||0:l>0&&(l+=h.rowCount-(h.rowsAbove||0))}var p=this.session.screenToDocumentPosition(r.row+l,r.column,u);this.moveCursorTo(p.row,p.column+a,0===a)},d.prototype.moveCursorToPosition=function(l){this.moveCursorTo(l.row,l.column)},d.prototype.moveCursorTo=function(l,a,r){var u=this.session.getFoldAt(l,a,1);u&&(l=u.start.row,a=u.start.column),this.$keepDesiredColumnOnChange=!0;var h=this.session.getLine(l);/[\uDC00-\uDFFF]/.test(h.charAt(a))&&h.charAt(a-1)&&(this.lead.row==l&&this.lead.column==a+1?a-=1:a+=1),this.lead.setPosition(l,a),this.$keepDesiredColumnOnChange=!1,r||(this.$desiredColumn=null)},d.prototype.moveCursorToScreen=function(l,a,r){var u=this.session.screenToDocumentPosition(l,a);this.moveCursorTo(u.row,u.column,r)},d.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},d.prototype.fromOrientedRange=function(l){this.setSelectionRange(l,l.cursor==l.start),this.$desiredColumn=l.desiredColumn||this.$desiredColumn},d.prototype.toOrientedRange=function(l){var a=this.getRange();return l?(l.start.column=a.start.column,l.start.row=a.start.row,l.end.column=a.end.column,l.end.row=a.end.row):l=a,l.cursor=this.isBackwards()?l.start:l.end,l.desiredColumn=this.$desiredColumn,l},d.prototype.getRangeOfMovements=function(l){var a=this.getCursor();try{l(this);var r=this.getCursor();return s.fromPoints(a,r)}catch{return s.fromPoints(a,a)}finally{this.moveCursorToPosition(a)}},d.prototype.toJSON=function(){if(this.rangeCount)var l=this.ranges.map(function(a){var r=a.clone();return r.isBackwards=a.cursor==a.start,r});else(l=this.getRange()).isBackwards=this.isBackwards();return l},d.prototype.fromJSON=function(l){if(null==l.start){if(this.rangeList&&l.length>1){this.toSingleRange(l[0]);for(var a=l.length;a--;){var r=s.fromPoints(l[a].start,l[a].end);l[a].isBackwards&&(r.cursor=r.start),this.addRange(r,!0)}return}l=l[0]}this.rangeList&&this.toSingleRange(l),this.setSelectionRange(l,l.isBackwards)},d.prototype.isEqual=function(l){if((l.length||this.rangeCount)&&l.length!=this.rangeCount)return!1;if(!l.length||!this.ranges)return this.getRange().isEqual(l);for(var a=this.ranges.length;a--;)if(!this.ranges[a].isEqual(l[a]))return!1;return!0},d}();f.prototype.setSelectionAnchor=f.prototype.setAnchor,f.prototype.getSelectionAnchor=f.prototype.getAnchor,f.prototype.setSelectionRange=f.prototype.setRange,E.implement(f.prototype,b),v.Selection=f}),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],function(t,v,C){"use strict";var E=t("./lib/report_error").reportError,c=2e3,b=function(){function s(f){for(var d in this.states=f,this.regExps={},this.matchMappings={},this.states){for(var l=this.states[d],a=[],r=0,u=this.matchMappings[d]={defaultToken:"text"},h="g",p=[],_=0;_1?this.$applyToken:y.token),w>1&&(/\\\d/.test(y.regex)?M=y.regex.replace(/\\([0-9]+)/g,function(k,D){return"\\"+(parseInt(D,10)+r+1)}):(w=1,M=this.removeCapturingGroups(y.regex)),!y.splitRegex&&"string"!=typeof y.token&&p.push(y)),u[r]=_,r+=w,a.push(M),y.onMatch||(y.onMatch=null)}}a.length||(u[0]=0,a.push("$")),p.forEach(function(k){k.splitRegex=this.createSplitterRegexp(k.regex,h)},this),this.regExps[d]=new RegExp("("+a.join(")|(")+")|($)",h)}}return s.prototype.$setMaxTokenCount=function(f){c=0|f},s.prototype.$applyToken=function(f){var d=this.splitRegex.exec(f).slice(1),l=this.token.apply(this,d);if("string"==typeof l)return[{type:l,value:f}];for(var a=[],r=0,u=l.length;ry){var T=f.substring(y,O-I.length);w.type==k?w.value+=T:(w.type&&_.push(w),w={type:k,value:T})}for(var N=0;Nc){for(M>2*f.length&&this.reportError("infinite loop with in ace tokenizer",{startState:d,line:f});y1&&l[0]!==a&&l.unshift("#tmp",a),{tokens:_,state:l.length?l:a}},s}();b.prototype.reportError=E,v.Tokenizer=b}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],function(t,v,C){"use strict";var c,E=t("../lib/deep_copy").deepCopy;(function(){this.addRules=function(f,d){if(d)for(var l in f){for(var a=f[l],r=0;r=this.$rowTokens.length;){if(this.$row+=1,s||(s=this.$session.getLength()),this.$row>=s)return this.$row=s-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},b.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},b.prototype.getCurrentTokenRow=function(){return this.$row},b.prototype.getCurrentTokenColumn=function(){var s=this.$rowTokens,f=this.$tokenIndex,d=s[f].start;if(void 0!==d)return d;for(d=0;f>0;)d+=s[f-=1].value.length;return d},b.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},b.prototype.getCurrentTokenRange=function(){var s=this.$rowTokens[this.$tokenIndex],f=this.getCurrentTokenColumn();return new E(this.$row,f,this.$row,f+s.value.length)},b}();v.TokenIterator=c}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(t,v,C){"use strict";var l,p,E=t("../../lib/oop"),c=t("../behaviour").Behaviour,b=t("../../token_iterator").TokenIterator,s=t("../../lib/lang"),f=["text","paren.rparen","rparen","paren","punctuation.operator"],d=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],a={},r={'"':'"',"'":"'"},u=function(_){var y=-1;if(_.multiSelect&&(y=_.selection.index,a.rangeCount!=_.multiSelect.rangeCount&&(a={rangeCount:_.multiSelect.rangeCount})),a[y])return l=a[y];l=a[y]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},h=function(_,y,M,w){var k=_.end.row-_.start.row;return{text:M+y+w,selection:[0,_.start.column+1,k,_.end.column+(k?0:1)]}};(p=function(_){_=_||{},this.add("braces","insertion",function(y,M,w,k,D){var I=w.getCursorPosition(),O=k.doc.getLine(I.row);if("{"==D){u(w);var T=w.getSelectionRange(),N=k.doc.getTextRange(T);if(""!==N&&"{"!==N&&w.getWrapBehavioursEnabled())return h(T,N,"{","}");if(p.isSaneInsertion(w,k))return/[\]\}\)]/.test(O[I.column])||w.inMultiSelectMode||_.braces?(p.recordAutoInsert(w,k,"}"),{text:"{}",selection:[1,1]}):(p.recordMaybeInsert(w,k,"{"),{text:"{",selection:[1,1]})}else if("}"==D){if(u(w),"}"==O.substring(I.column,I.column+1)&&null!==k.$findOpeningBracket("}",{column:I.column+1,row:I.row})&&p.isAutoInsertedClosing(I,O,D))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==D||"\r\n"==D){u(w);var L="";if(p.isMaybeInsertedClosing(I,O)&&(L=s.stringRepeat("}",l.maybeInsertedBrackets),p.clearMaybeInsertedClosing()),"}"===O.substring(I.column,I.column+1)){var A=k.findMatchingBracket({row:I.row,column:I.column+1},"}");if(!A)return null;var U=this.$getIndent(k.getLine(A.row))}else{if(!L)return void p.clearMaybeInsertedClosing();U=this.$getIndent(O)}var K=U+k.getTabString();return{text:"\n"+K+"\n"+U+L,selection:[1,K.length,1,K.length]}}p.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(y,M,w,k,D){var I=k.doc.getTextRange(D);if(!D.isMultiLine()&&"{"==I){if(u(w),"}"==k.doc.getLine(D.start.row).substring(D.end.column,D.end.column+1))return D.end.column++,D;l.maybeInsertedBrackets--}}),this.add("parens","insertion",function(y,M,w,k,D){if("("==D){u(w);var I=w.getSelectionRange(),O=k.doc.getTextRange(I);if(""!==O&&w.getWrapBehavioursEnabled())return h(I,O,"(",")");if(p.isSaneInsertion(w,k))return p.recordAutoInsert(w,k,")"),{text:"()",selection:[1,1]}}else if(")"==D){u(w);var T=w.getCursorPosition(),N=k.doc.getLine(T.row);if(")"==N.substring(T.column,T.column+1)&&null!==k.$findOpeningBracket(")",{column:T.column+1,row:T.row})&&p.isAutoInsertedClosing(T,N,D))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("parens","deletion",function(y,M,w,k,D){var I=k.doc.getTextRange(D);if(!D.isMultiLine()&&"("==I&&(u(w),")"==k.doc.getLine(D.start.row).substring(D.start.column+1,D.start.column+2)))return D.end.column++,D}),this.add("brackets","insertion",function(y,M,w,k,D){if("["==D){u(w);var I=w.getSelectionRange(),O=k.doc.getTextRange(I);if(""!==O&&w.getWrapBehavioursEnabled())return h(I,O,"[","]");if(p.isSaneInsertion(w,k))return p.recordAutoInsert(w,k,"]"),{text:"[]",selection:[1,1]}}else if("]"==D){u(w);var T=w.getCursorPosition(),N=k.doc.getLine(T.row);if("]"==N.substring(T.column,T.column+1)&&null!==k.$findOpeningBracket("]",{column:T.column+1,row:T.row})&&p.isAutoInsertedClosing(T,N,D))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("brackets","deletion",function(y,M,w,k,D){var I=k.doc.getTextRange(D);if(!D.isMultiLine()&&"["==I&&(u(w),"]"==k.doc.getLine(D.start.row).substring(D.start.column+1,D.start.column+2)))return D.end.column++,D}),this.add("string_dquotes","insertion",function(y,M,w,k,D){var I=k.$mode.$quotes||r;if(1==D.length&&I[D]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(D))return;u(w);var O=D,T=w.getSelectionRange(),N=k.doc.getTextRange(T);if(""!==N&&(1!=N.length||!I[N])&&w.getWrapBehavioursEnabled())return h(T,N,O,O);if(!N){var S=w.getCursorPosition(),F=k.doc.getLine(S.row),L=F.substring(S.column-1,S.column),A=F.substring(S.column,S.column+1),U=k.getTokenAt(S.row,S.column),K=k.getTokenAt(S.row,S.column+1);if("\\"==L&&U&&/escape/.test(U.type))return null;var B,ee=U&&/string|escape/.test(U.type),ne=!K||/string|escape/.test(K.type);if(A==O)(B=ee!==ne)&&/string\.end/.test(K.type)&&(B=!1);else{if(ee&&!ne||ee&&ne)return null;var H=k.$mode.tokenRe;H.lastIndex=0;var z=H.test(L);H.lastIndex=0;var X=H.test(A),G=k.$mode.$pairQuotesAfter;if(!(G&&G[O]&&G[O].test(L))&&z||X||A&&!/[\s;,.})\]\\]/.test(A))return null;var le=F[S.column-2];if(L==O&&(le==O||H.test(le)))return null;B=!0}return{text:B?O+O:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(y,M,w,k,D){var I=k.$mode.$quotes||r,O=k.doc.getTextRange(D);if(!D.isMultiLine()&&I.hasOwnProperty(O)&&(u(w),k.doc.getLine(D.start.row).substring(D.start.column+1,D.start.column+2)==O))return D.end.column++,D}),!1!==_.closeDocComment&&this.add("doc comment end","insertion",function(y,M,w,k,D){if("doc-start"===y&&("\n"===D||"\r\n"===D)&&w.selection.isEmpty()){var I=w.getCursorPosition(),O=k.doc.getLine(I.row),T=k.doc.getLine(I.row+1),N=this.$getIndent(O);if(/\s*\*/.test(T))return/^\s*\*/.test(O)?{text:D+N+"* ",selection:[1,3+N.length,1,3+N.length]}:{text:D+N+" * ",selection:[1,3+N.length,1,3+N.length]};if(/\/\*\*/.test(O.substring(0,I.column)))return{text:D+N+" * "+D+" "+N+"*/",selection:[1,4+N.length,1,4+N.length]}}})}).isSaneInsertion=function(_,y){var M=_.getCursorPosition(),w=new b(y,M.row,M.column);if(!this.$matchTokenType(w.getCurrentToken()||"text",f)){if(/[)}\]]/.test(_.session.getLine(M.row)[M.column]))return!0;var k=new b(y,M.row,M.column+1);if(!this.$matchTokenType(k.getCurrentToken()||"text",f))return!1}return w.stepForward(),w.getCurrentTokenRow()!==M.row||this.$matchTokenType(w.getCurrentToken()||"text",d)},p.$matchTokenType=function(_,y){return y.indexOf(_.type||_)>-1},p.recordAutoInsert=function(_,y,M){var w=_.getCursorPosition(),k=y.doc.getLine(w.row);this.isAutoInsertedClosing(w,k,l.autoInsertedLineEnd[0])||(l.autoInsertedBrackets=0),l.autoInsertedRow=w.row,l.autoInsertedLineEnd=M+k.substr(w.column),l.autoInsertedBrackets++},p.recordMaybeInsert=function(_,y,M){var w=_.getCursorPosition(),k=y.doc.getLine(w.row);this.isMaybeInsertedClosing(w,k)||(l.maybeInsertedBrackets=0),l.maybeInsertedRow=w.row,l.maybeInsertedLineStart=k.substr(0,w.column)+M,l.maybeInsertedLineEnd=k.substr(w.column),l.maybeInsertedBrackets++},p.isAutoInsertedClosing=function(_,y,M){return l.autoInsertedBrackets>0&&_.row===l.autoInsertedRow&&M===l.autoInsertedLineEnd[0]&&y.substr(_.column)===l.autoInsertedLineEnd},p.isMaybeInsertedClosing=function(_,y){return l.maybeInsertedBrackets>0&&_.row===l.maybeInsertedRow&&y.substr(_.column)===l.maybeInsertedLineEnd&&y.substr(0,_.column)==l.maybeInsertedLineStart},p.popAutoInsertedClosing=function(){l.autoInsertedLineEnd=l.autoInsertedLineEnd.substr(1),l.autoInsertedBrackets--},p.clearMaybeInsertedClosing=function(){l&&(l.maybeInsertedBrackets=0,l.maybeInsertedRow=-1)},E.inherits(p,c),v.CstyleBehaviour=p}),ace.define("ace/unicode",["require","exports","module"],function(t,v,C){"use strict";for(var E=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],c=0,b=[],s=0;s2?le%D!=D-1:le%D==0}}else{if(!this.blockComment)return!1;O=this.blockComment.start;var T=this.blockComment.end,S=(N=new RegExp("^(\\s*)(?:"+d.escapeRegExp(O)+")"),new RegExp("(?:"+d.escapeRegExp(T)+")\\s*$"));F=function(B,H){A(B,H)||(!M||/\S/.test(B))&&(y.insertInLine({row:H,column:B.length},T),y.insertInLine({row:H,column:k},O))},L=function(B,H){var z;(z=B.match(S))&&y.removeInLine(H,B.length-z[0].length,B.length),(z=B.match(N))&&y.removeInLine(H,z[1].length,z[0].length)},A=function(B,H){if(N.test(B))return!0;for(var z=h.getTokens(H),X=0;XB.length&&(ne=B.length)}),k==1/0&&(k=ne,M=!1,w=!1),I&&k%D!=0&&(k=Math.floor(k/D)*D),ee(w?L:F)},this.toggleBlockComment=function(u,h,p,_){var y=this.blockComment;if(y){!y.start&&y[0]&&(y=y[0]);var I,O,w=(M=new l(h,_.row,_.column)).getCurrentToken(),D=h.selection.toOrientedRange();if(w&&/comment/.test(w.type)){for(var T,N;w&&/comment/.test(w.type);){if(-1!=(S=w.value.indexOf(y.start))){var F=M.getCurrentTokenRow(),L=M.getCurrentTokenColumn()+S;T=new a(F,L,F,L+y.start.length);break}w=M.stepBackward()}var M;for(w=(M=new l(h,_.row,_.column)).getCurrentToken();w&&/comment/.test(w.type);){var S;if(-1!=(S=w.value.indexOf(y.end))){F=M.getCurrentTokenRow(),L=M.getCurrentTokenColumn()+S,N=new a(F,L,F,L+y.end.length);break}w=M.stepForward()}N&&h.remove(N),T&&(h.remove(T),I=T.start.row,O=-y.start.length)}else O=y.start.length,I=p.start.row,h.insert(p.end,y.end),h.insert(p.start,y.start);D.start.row==I&&(D.start.column+=O),D.end.row==I&&(D.end.column+=O),h.selection.fromOrientedRange(D)}},this.getNextLineIndent=function(u,h,p){return this.$getIndent(h)},this.checkOutdent=function(u,h,p){return!1},this.autoOutdent=function(u,h,p){},this.$getIndent=function(u){return u.match(/^\s*/)[0]},this.createWorker=function(u){return null},this.createModeDelegates=function(u){for(var h in this.$embeds=[],this.$modes={},u)if(u[h]){var p=u[h],_=p.prototype.$id,y=E.$modes[_];y||(E.$modes[_]=y=new p),E.$modes[h]||(E.$modes[h]=y),this.$embeds.push(h),this.$modes[h]=y}var M=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],w=function(D){var I,O,T;T=(I=k)[O=M[D]],I[M[D]]=function(){return this.$delegator(O,arguments,T)}},k=this;for(h=0;hthis.row)){var a=function f(d,l,a){var r="insert"==d.action,u=(r?1:-1)*(d.end.row-d.start.row),h=(r?1:-1)*(d.end.column-d.start.column),p=d.start,_=r?p:d.end;return s(l,p,a)?{row:l.row,column:l.column}:s(_,l,!a)?{row:l.row+u,column:l.column+(l.row==_.row?h:0)}:{row:p.row,column:p.column}}(l,{row:this.row,column:this.column},this.$insertRight);this.setPosition(a.row,a.column,!0)}},d.prototype.setPosition=function(l,a,r){var u;if(u=r?{row:l,column:a}:this.$clipPositionToDocument(l,a),this.row!=u.row||this.column!=u.column){var h={row:this.row,column:this.column};this.row=u.row,this.column=u.column,this._signal("change",{old:h,value:u})}},d.prototype.detach=function(){this.document.off("change",this.$onChange)},d.prototype.attach=function(l){this.document=l||this.document,this.document.on("change",this.$onChange)},d.prototype.$clipPositionToDocument=function(l,a){var r={};return l>=this.document.getLength()?(r.row=Math.max(0,this.document.getLength()-1),r.column=this.document.getLine(r.row).length):l<0?(r.row=0,r.column=0):(r.row=l,r.column=Math.min(this.document.getLine(r.row).length,Math.max(0,a))),a<0&&(r.column=0),r},d}();function s(d,l,a){return d.row=u&&(a=u-1,r=void 0);var h=this.getLine(a);return null==r&&(r=h.length),{row:a,column:r=Math.min(Math.max(r,0),h.length)}},l.prototype.clonePos=function(a){return{row:a.row,column:a.column}},l.prototype.pos=function(a,r){return{row:a,column:r}},l.prototype.$clipPosition=function(a){var r=this.getLength();return a.row>=r?(a.row=Math.max(0,r-1),a.column=this.getLine(r-1).length):(a.row=Math.max(0,a.row),a.column=Math.min(Math.max(a.column,0),this.getLine(a.row).length)),a},l.prototype.insertFullLines=function(a,r){var u=0;(a=Math.min(Math.max(a,0),this.getLength()))0,h=r=0&&this.applyDelta({start:this.pos(a,this.getLine(a).length),end:this.pos(a+1,0),action:"remove",lines:["",""]})},l.prototype.replace=function(a,r){return a instanceof s||(a=s.fromPoints(a.start,a.end)),0===r.length&&a.isEmpty()?a.start:r==this.getTextRange(a)?a.end:(this.remove(a),r?this.insert(a.start,r):a.start)},l.prototype.applyDeltas=function(a){for(var r=0;r=0;r--)this.revertDelta(a[r])},l.prototype.applyDelta=function(a,r){var u="insert"==a.action;(u?a.lines.length<=1&&!a.lines[0]:!s.comparePoints(a.start,a.end))||(u&&a.lines.length>2e4?this.$splitAndapplyLargeDelta(a,2e4):(c(this.$lines,a,r),this._signal("change",a)))},l.prototype.$safeApplyDelta=function(a){var r=this.$lines.length;("remove"==a.action&&a.start.row20){l.running=setTimeout(l.$worker,20);break}}l.currentLine=r,-1==u&&(u=r),p<=u&&l.fireUpdateEvent(p,u)}}}return s.prototype.setTokenizer=function(f){this.tokenizer=f,this.lines=[],this.states=[],this.start(0)},s.prototype.setDocument=function(f){this.doc=f,this.lines=[],this.states=[],this.stop()},s.prototype.fireUpdateEvent=function(f,d){this._signal("update",{data:{first:f,last:d}})},s.prototype.start=function(f){this.currentLine=Math.min(f||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},s.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},s.prototype.$updateOnChange=function(f){var d=f.start.row,l=f.end.row-d;if(0===l)this.lines[d]=null;else if("remove"==f.action)this.lines.splice(d,l+1,null),this.states.splice(d,l+1,null);else{var a=Array(l+1);a.unshift(d,1),this.lines.splice.apply(this.lines,a),this.states.splice.apply(this.states,a)}this.currentLine=Math.min(d,this.currentLine,this.doc.getLength()),this.stop()},s.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},s.prototype.getTokens=function(f){return this.lines[f]||this.$tokenizeRow(f)},s.prototype.getState=function(f){return this.currentLine==f&&this.$tokenizeRow(f),this.states[f]||"start"},s.prototype.$tokenizeRow=function(f){var d=this.doc.getLine(f),a=this.tokenizer.getLineTokens(d,this.states[f-1],f);return this.states[f]+""!=a.state+""?(this.states[f]=a.state,this.lines[f+1]=null,this.currentLine>f+1&&(this.currentLine=f+1)):this.currentLine==f&&(this.currentLine=f+1),this.lines[f]=a.tokens},s.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},s}();E.implement(b.prototype,c),v.BackgroundTokenizer=b}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(t,v,C){"use strict";var E=t("./lib/lang"),c=t("./range").Range,b=function(){function s(f,d,l){void 0===l&&(l="text"),this.setRegexp(f),this.clazz=d,this.type=l}return s.prototype.setRegexp=function(f){this.regExp+""!=f+""&&(this.regExp=f,this.cache=[])},s.prototype.update=function(f,d,l,a){if(this.regExp)for(var u=a.lastRow,h={},p=a.firstRow;p<=u;p++){var _=this.cache[p];null==_&&((_=E.getMatchOffsets(l.getLine(p),this.regExp)).length>this.MAX_RANGES&&(_=_.slice(0,this.MAX_RANGES)),_=_.map(function(k){return new c(p,k.offset,p,k.offset+k.length)}),this.cache[p]=_.length?_:"");for(var y=_.length;y--;){var M=_[y].toScreenRange(l),w=M.toString();h[w]||(h[w]=!0,d.drawSingleLineMarker(f,M,this.clazz,a))}}},s}();b.prototype.MAX_RANGES=500,v.SearchHighlight=b}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(t,v,C){"use strict";var E=function(){function I(){this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return I.prototype.addSession=function(O){this.$session=O},I.prototype.add=function(O,T,N){if(!this.$fromUndo&&O!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===T||!this.lastDeltas){this.lastDeltas=[];var S=this.$undoStack.length;S>this.$undoDepth-1&&this.$undoStack.splice(0,S-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),O.id=this.$rev=++this.$maxRev}("remove"==O.action||"insert"==O.action)&&(this.$lastDelta=O),this.lastDeltas.push(O)}},I.prototype.addSelection=function(O,T){this.selections.push({value:O,rev:T||this.$rev})},I.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},I.prototype.markIgnored=function(O,T){null==T&&(T=this.$rev+1);for(var N=this.$undoStack,S=N.length;S--;){var F=N[S][0];if(F.id<=O)break;F.id0},I.prototype.canRedo=function(){return this.$redoStack.length>0},I.prototype.bookmark=function(O){null==O&&(O=this.$rev),this.mark=O},I.prototype.isAtBookmark=function(){return this.$rev===this.mark},I.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},I.prototype.fromJSON=function(O){this.reset(),this.$undoStack=O.$undoStack,this.$redoStack=O.$redoStack},I.prototype.$prettyPrint=function(O){return O?r(O):r(this.$undoStack)+"\n---\n"+r(this.$redoStack)},I}();E.prototype.hasUndo=E.prototype.canUndo,E.prototype.hasRedo=E.prototype.canRedo,E.prototype.isClean=E.prototype.isAtBookmark,E.prototype.markClean=E.prototype.bookmark;var b=t("./range").Range,s=b.comparePoints;function l(I){return{row:I.row,column:I.column}}function r(I){if(I=I||this,Array.isArray(I))return I.map(r).join("\n");var O="";return I.action?(O="insert"==I.action?"+":"-",O+="["+I.lines+"]"):I.value&&(O=Array.isArray(I.value)?I.value.map(u).join("\n"):u(I.value)),I.start&&(O+=u(I)),(I.id||I.rev)&&(O+="\t("+(I.id||I.rev)+")"),O}function u(I){return I.start.row+":"+I.start.column+"=>"+I.end.row+":"+I.end.column}function h(I,O){var T="insert"==I.action,N="insert"==O.action;if(T&&N)if(s(O.start,I.end)>=0)y(O,I,-1);else{if(!(s(O.start,I.start)<=0))return null;y(I,O,1)}else if(T&&!N)if(s(O.start,I.end)>=0)y(O,I,-1);else{if(!(s(O.end,I.start)<=0))return null;y(I,O,-1)}else if(!T&&N)if(s(O.start,I.start)>=0)y(O,I,1);else{if(!(s(O.start,I.start)<=0))return null;y(I,O,1)}else if(!T&&!N)if(s(O.start,I.start)>=0)y(O,I,1);else{if(!(s(O.end,I.start)<=0))return null;y(I,O,-1)}return[O,I]}function p(I,O){for(var T=I.length;T--;)for(var N=0;N=0?y(I,O,-1):(s(I.start,O.start)<=0||y(I,b.fromPoints(O.start,I.start),-1),y(O,I,1));else if(!T&&N)s(O.start,I.end)>=0?y(O,I,-1):(s(O.start,I.start)<=0||y(O,b.fromPoints(I.start,O.start),-1),y(I,O,1));else if(!T&&!N)if(s(O.start,I.end)>=0)y(O,I,-1);else{var S,F;if(!(s(O.end,I.start)<=0))return s(I.start,O.start)<0&&(S=I,I=w(I,O.start)),s(I.end,O.end)>0&&(F=w(I,O.end)),M(O.end,I.start,I.end,-1),F&&!S&&(I.lines=F.lines,I.start=F.start,I.end=F.end,F=I),[O,S,F].filter(Boolean);y(I,O,-1)}return[O,I]}function y(I,O,T){M(I.start,O.start,O.end,T),M(I.end,O.start,O.end,T)}function M(I,O,T,N){I.row==(1==N?O:T).row&&(I.column+=N*(T.column-O.column)),I.row+=N*(T.row-O.row)}function w(I,O){var T=I.lines,N=I.end;I.end=l(O);var S=I.end.row-I.start.row,F=T.splice(S,T.length),L=S?O.column:O.column-I.start.column;return T.push(F[0].substring(0,L)),F[0]=F[0].substr(L),{start:l(O),end:N,lines:F,action:I.action}}function k(I,O){O=function a(I){return{start:l(I.start),end:l(I.end),action:I.action,lines:I.lines.slice()}}(O);for(var T=I.length;T--;){for(var N=I[T],S=0;Sthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(s),this.folds.sort(function(f,d){return-f.range.compareEnd(d.start.row,d.start.column)}),this.range.compareEnd(s.start.row,s.start.column)>0?(this.end.row=s.end.row,this.end.column=s.end.column):this.range.compareStart(s.end.row,s.end.column)<0&&(this.start.row=s.start.row,this.start.column=s.start.column)}else if(s.start.row==this.end.row)this.folds.push(s),this.end.row=s.end.row,this.end.column=s.end.column;else{if(s.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(s),this.start.row=s.start.row,this.start.column=s.start.column}s.foldLine=this},b.prototype.containsRow=function(s){return s>=this.start.row&&s<=this.end.row},b.prototype.walk=function(s,f,d){var r,u,l=0,a=this.folds,p=!0;null==f&&(f=this.end.row,d=this.end.column);for(var _=0;_0)){var p=c(f,u.start);return 0===h?d&&0!==p?-r-2:r:p>0||0===p&&!d?r:-r-1}}return-r-1},s.prototype.add=function(f){var d=!f.isEmpty(),l=this.pointIndex(f.start,d);l<0&&(l=-l-1);var a=this.pointIndex(f.end,d,l);return a<0?a=-a-1:a++,this.ranges.splice(l,a-l,f)},s.prototype.addList=function(f){for(var d=[],l=f.length;l--;)d.push.apply(d,this.add(f[l]));return d},s.prototype.substractPoint=function(f){var d=this.pointIndex(f);if(d>=0)return this.ranges.splice(d,1)},s.prototype.merge=function(){for(var a,f=[],d=this.ranges,l=(d=d.sort(function(h,p){return c(h.start,p.start)}))[0],r=1;r=0},s.prototype.containsPoint=function(f){return this.pointIndex(f)>=0},s.prototype.rangeAtPoint=function(f){var d=this.pointIndex(f);if(d>=0)return this.ranges[d]},s.prototype.clipRows=function(f,d){var l=this.ranges;if(l[0].start.row>d||l[l.length-1].start.row=a);h++);if("insert"==f.action){for(var y=r-a,M=-d.column+l.column;ha);h++)if(_.start.row==a&&_.start.column>=d.column&&(_.start.column==d.column&&this.$bias<=0||(_.start.column+=M,_.start.row+=y)),_.end.row==a&&_.end.column>=d.column){if(_.end.column==d.column&&this.$bias<0)continue;_.end.column==d.column&&M>0&&h_.start.column&&_.end.column==u[h+1].start.column&&(_.end.column-=M),_.end.column+=M,_.end.row+=y}}else for(y=a-r,M=d.column-l.column;hr);h++)_.end.rowd.column)&&(_.end.column=d.column,_.end.row=d.row):(_.end.column+=M,_.end.row+=y):_.end.row>r&&(_.end.row+=y),_.start.rowd.column)&&(_.start.column=d.column,_.start.row=d.row):(_.start.column+=M,_.start.row+=y):_.start.row>r&&(_.start.row+=y);if(0!=y&&h=l)return h;if(h.end.row>l)return null}return null},this.getNextFoldLine=function(l,a){var r=this.$foldData,u=0;for(a&&(u=r.indexOf(a)),-1==u&&(u=0);u=l)return h}return null},this.getFoldedRowCount=function(l,a){for(var r=this.$foldData,u=a-l+1,h=0;h=a){y=l?u-=a-y:u=0);break}_>=l&&(u-=y>=l?_-y:_-l+1)}return u},this.$addFoldLine=function(l){return this.$foldData.push(l),this.$foldData.sort(function(a,r){return a.start.row-r.start.row}),l},this.addFold=function(l,a){var h,r=this.$foldData,u=!1;l instanceof b?h=l:(h=new b(a,l)).collapseChildren=a.collapseChildren,this.$clipRangeToDocument(h.range);var p=h.start.row,_=h.start.column,y=h.end.row,M=h.end.column,w=this.getFoldAt(p,_,1),k=this.getFoldAt(y,M,-1);if(w&&k==w)return w.addSubFold(h);w&&!w.range.isStart(p,_)&&this.removeFold(w),k&&!k.range.isEnd(y,M)&&this.removeFold(k);var D=this.getFoldsInRange(h.range);D.length>0&&(this.removeFolds(D),h.collapseChildren||D.forEach(function(N){h.addSubFold(N)}));for(var I=0;I0&&this.foldAll(l.start.row+1,l.end.row,l.collapseChildren-1),l.subFolds=[]},this.expandFolds=function(l){l.forEach(function(a){this.expandFold(a)},this)},this.unfold=function(l,a){var r,u;if(null==l)r=new E(0,0,this.getLength(),0),null==a&&(a=!0);else if("number"==typeof l)r=new E(l,0,l,this.getLine(l).length);else if("row"in l)r=E.fromPoints(l,l);else{if(Array.isArray(l))return u=[],l.forEach(function(p){u=u.concat(this.unfold(p))},this),u;r=l}for(var h=u=this.getFoldsInRangeList(r);1==u.length&&E.comparePoints(u[0].start,r.start)<0&&E.comparePoints(u[0].end,r.end)>0;)this.expandFolds(u),u=this.getFoldsInRangeList(r);if(0!=a?this.removeFolds(u):this.expandFolds(u),h.length)return h},this.isRowFolded=function(l,a){return!!this.getFoldLine(l,a)},this.getRowFoldEnd=function(l,a){var r=this.getFoldLine(l,a);return r?r.end.row:l},this.getRowFoldStart=function(l,a){var r=this.getFoldLine(l,a);return r?r.start.row:l},this.getFoldDisplayLine=function(l,a,r,u,h){null==u&&(u=l.start.row),null==h&&(h=0),null==a&&(a=l.end.row),null==r&&(r=this.getLine(a).length);var p=this.doc,_="";return l.walk(function(y,M,w,k){if(!(MM)break}while(h&&_.test(h.type)&&!/^comment.start/.test(h.type));h=u.stepBackward()}else h=u.getCurrentToken();return y.end.row=u.getCurrentTokenRow(),y.end.column=u.getCurrentTokenColumn(),/^comment.end/.test(h.type)||(y.end.column+=h.value.length-2),y}},this.foldAll=function(l,a,r,u){null==r&&(r=1e5);var h=this.foldWidgets;if(h){a=a||this.getLength();for(var p=l=l||0;p=l&&(p=_.end.row,_.collapseChildren=r,this.addFold("...",_))}}},this.foldToLevel=function(l){for(this.foldAll();l-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var l=this;this.foldAll(null,null,null,function(a){for(var r=l.getTokens(a),u=0;u=0;){var p=r[u];if(null==p&&(p=r[u]=this.getFoldWidget(u)),"start"==p){var _=this.getFoldWidgetRange(u);if(h||(h=_),_&&_.end.row>=l)break}u--}return{range:-1!==u&&_,firstRange:h}},this.onFoldWidgetClick=function(l,a){if(a instanceof f&&(a=a.domEvent),!this.$toggleFoldWidget(l,{children:a.shiftKey,all:a.ctrlKey||a.metaKey,siblings:a.altKey})){var h=a.target||a.srcElement;h&&/ace_fold-widget/.test(h.className)&&(h.className+=" ace_invalid")}},this.$toggleFoldWidget=function(l,a){if(this.getFoldWidget){var r=this.getFoldWidget(l),u=this.getLine(l),h="end"===r?-1:1,p=this.getFoldAt(l,-1===h?0:u.length,h);if(p)return a.children||a.all?this.removeFold(p):this.expandFold(p),p;var _=this.getFoldWidgetRange(l,!0);if(_&&!_.isMultiLine()&&(p=this.getFoldAt(_.start.row,_.start.column,1))&&_.isEqual(p.range))return this.removeFold(p),p;if(a.siblings){var y=this.getParentFoldRangeData(l);if(y.range)var M=y.range.start.row+1,w=y.range.end.row;this.foldAll(M,w,a.all?1e4:0)}else a.children?(w=_?_.end.row:this.getLength(),this.foldAll(l+1,w,a.all?1e4:0)):_&&(a.all&&(_.collapseChildren=1e4),this.addFold("...",_));return _}},this.toggleFoldWidget=function(l){var a=this.selection.getCursor().row;a=this.getRowFoldStart(a);var r=this.$toggleFoldWidget(a,{});if(!r){var u=this.getParentFoldRangeData(a,!0);if(r=u.range||u.firstRange){var h=this.getFoldAt(a=r.start.row,this.getLine(a).length,1);h?this.removeFold(h):this.addFold("...",r)}}},this.updateFoldWidgets=function(l){var a=l.start.row,r=l.end.row-a;if(0===r)this.foldWidgets[a]=null;else if("remove"==l.action)this.foldWidgets.splice(a,r+1,null);else{var u=Array(r+1);u.unshift(a,1),this.foldWidgets.splice.apply(this.foldWidgets,u)}},this.tokenizerUpdateFoldWidgets=function(l){var a=l.data;a.first!=a.last&&this.foldWidgets.length>a.first&&this.foldWidgets.splice(a.first,this.foldWidgets.length)}}}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(t,v,C){"use strict";var E=t("../token_iterator").TokenIterator,c=t("../range").Range;v.BracketMatch=function b(){this.findMatchingBracket=function(s,f){if(0==s.column)return null;var d=f||this.getLine(s.row).charAt(s.column-1);if(""==d)return null;var l=d.match(/([\(\[\{])|([\)\]\}])/);return l?l[1]?this.$findClosingBracket(l[1],s):this.$findOpeningBracket(l[2],s):null},this.getBracketRange=function(s){var l,f=this.getLine(s.row),d=!0,a=f.charAt(s.column-1),r=a&&a.match(/([\(\[\{])|([\)\]\}])/);if(r||(a=f.charAt(s.column),s={row:s.row,column:s.column+1},r=a&&a.match(/([\(\[\{])|([\)\]\}])/),d=!1),!r)return null;if(r[1]){if(!(u=this.$findClosingBracket(r[1],s)))return null;l=c.fromPoints(s,u),d||(l.end.column++,l.start.column--),l.cursor=l.end}else{var u;if(!(u=this.$findOpeningBracket(r[2],s)))return null;l=c.fromPoints(u,s),d||(l.start.column++,l.end.column--),l.cursor=l.start}return l},this.getMatchingBracketRanges=function(s,f){var d=this.getLine(s.row),l=/([\(\[\{])|([\)\]\}])/,a=!f&&d.charAt(s.column-1),r=a&&a.match(l);if(r||(a=(void 0===f||f)&&d.charAt(s.column),s={row:s.row,column:s.column+1},r=a&&a.match(l)),!r)return null;var u=new c(s.row,s.column-1,s.row,s.column),h=r[1]?this.$findClosingBracket(r[1],s):this.$findOpeningBracket(r[2],s);return h?[u,new c(h.row,h.column,h.row,h.column+1)]:[u]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(s,f,d){var l=this.$brackets[s],a=1,r=new E(this,f.row,f.column),u=r.getCurrentToken();if(u||(u=r.stepForward()),u){d||(d=new RegExp("(\\.?"+u.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var h=f.column-r.getCurrentTokenColumn()-2,p=u.value;;){for(;h>=0;){var _=p.charAt(h);if(_==l){if(0==(a-=1))return{row:r.getCurrentTokenRow(),column:h+r.getCurrentTokenColumn()}}else _==s&&(a+=1);h-=1}do{u=r.stepBackward()}while(u&&!d.test(u.type));if(null==u)break;h=(p=u.value).length-1}return null}},this.$findClosingBracket=function(s,f,d){var l=this.$brackets[s],a=1,r=new E(this,f.row,f.column),u=r.getCurrentToken();if(u||(u=r.stepForward()),u){d||(d=new RegExp("(\\.?"+u.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var h=f.column-r.getCurrentTokenColumn();;){for(var p=u.value,_=p.length;h<_;){var y=p.charAt(h);if(y==l){if(0==(a-=1))return{row:r.getCurrentTokenRow(),column:h+r.getCurrentTokenColumn()}}else y==s&&(a+=1);h+=1}do{u=r.stepForward()}while(u&&!d.test(u.type));if(null==u)break;h=0}return null}},this.getMatchingTags=function(s){var f=new E(this,s.row,s.column),d=this.$findTagName(f);if(d)return"<"===f.stepBackward().value?this.$findClosingTag(f,d):this.$findOpeningTag(f,d)},this.$findTagName=function(s){var f=s.getCurrentToken(),d=!1,l=!1;if(f&&-1===f.type.indexOf("tag-name"))do{(f=l?s.stepBackward():s.stepForward())&&("/>"===f.value?l=!0:-1!==f.type.indexOf("tag-name")&&(d=!0))}while(f&&!d);return f},this.$findClosingTag=function(s,f){var d,l=f.value,a=f.value,r=0,u=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);f=s.stepForward();var h=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+f.value.length),p=!1;do{if(d=f,f=s.stepForward()){if(">"===f.value&&!p){var _=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);p=!0}if(-1!==f.type.indexOf("tag-name")){if(a===(l=f.value))if("<"===d.value)r++;else if(""!==f.value)return;var w=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1)}}else a===l&&"/>"===f.value&&--r<0&&(w=M=y=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+2),_=new c(h.end.row,h.end.column,h.end.row,h.end.column+1))}}while(f&&r>=0);if(u&&_&&y&&w&&h&&M)return{openTag:new c(u.start.row,u.start.column,_.end.row,_.end.column),closeTag:new c(y.start.row,y.start.column,w.end.row,w.end.column),openTagName:h,closeTagName:M}},this.$findOpeningTag=function(s,f){var d=s.getCurrentToken(),l=f.value,a=0,r=s.getCurrentTokenRow(),u=s.getCurrentTokenColumn(),h=u+2,p=new c(r,u,r,h);s.stepForward();var _=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+f.value.length);if((f=s.stepForward())&&">"===f.value){var y=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);s.stepBackward(),s.stepBackward();do{if(f=d,r=s.getCurrentTokenRow(),h=(u=s.getCurrentTokenColumn())+f.value.length,d=s.stepBackward(),f)if(-1!==f.type.indexOf("tag-name")){if(l===f.value)if("<"===d.value){if(++a>0){var M=new c(r,u,r,h),w=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);do{f=s.stepForward()}while(f&&">"!==f.value);var k=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1)}}else""===f.value){for(var D=0,I=d;I;){if(-1!==I.type.indexOf("tag-name")&&I.value===l){a--;break}if("<"===I.value)break;I=s.stepBackward(),D++}for(var O=0;OA&&(this.$docRowCache.splice(A,L),this.$screenRowCache.splice(A,L))},S.prototype.$getRowCacheIndex=function(F,L){for(var A=0,U=F.length-1;A<=U;){var K=A+U>>1,ee=F[K];if(L>ee)A=K+1;else{if(!(L=L);ee++);return(U=A[ee])?(U.index=ee,U.start=K-U.value.length,U):null},S.prototype.setUndoManager=function(F){if(this.$undoManager=F,this.$informUndoManager&&this.$informUndoManager.cancel(),F){var L=this;F.addSession(this),this.$syncInformUndoManager=function(){L.$informUndoManager.cancel(),L.mergeUndoDeltas=!1},this.$informUndoManager=c.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},S.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},S.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},S.prototype.getTabString=function(){return this.getUseSoftTabs()?c.stringRepeat(" ",this.getTabSize()):"\t"},S.prototype.setUseSoftTabs=function(F){this.setOption("useSoftTabs",F)},S.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},S.prototype.setTabSize=function(F){this.setOption("tabSize",F)},S.prototype.getTabSize=function(){return this.$tabSize},S.prototype.isTabStop=function(F){return this.$useSoftTabs&&F.column%this.$tabSize==0},S.prototype.setNavigateWithinSoftTabs=function(F){this.setOption("navigateWithinSoftTabs",F)},S.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},S.prototype.setOverwrite=function(F){this.setOption("overwrite",F)},S.prototype.getOverwrite=function(){return this.$overwrite},S.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},S.prototype.addGutterDecoration=function(F,L){this.$decorations[F]||(this.$decorations[F]=""),this.$decorations[F]+=" "+L,this._signal("changeBreakpoint",{})},S.prototype.removeGutterDecoration=function(F,L){this.$decorations[F]=(this.$decorations[F]||"").replace(" "+L,""),this._signal("changeBreakpoint",{})},S.prototype.getBreakpoints=function(){return this.$breakpoints},S.prototype.setBreakpoints=function(F){this.$breakpoints=[];for(var L=0;L0&&(U=!!A.charAt(L-1).match(this.tokenRe)),U||(U=!!A.charAt(L).match(this.tokenRe)),U)var K=this.tokenRe;else K=/^\s+$/.test(A.slice(L-1,L+1))?/\s/:this.nonTokenRe;var ee=L;if(ee>0){do{ee--}while(ee>=0&&A.charAt(ee).match(K));ee++}for(var ne=L;neF&&(F=L.screenWidth)}),this.lineWidgetWidth=F},S.prototype.$computeWidth=function(F){if(this.$modified||F){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var L=this.doc.getAllLines(),A=this.$rowLengthCache,U=0,K=0,ee=this.$foldData[K],ne=ee?ee.start.row:1/0,B=L.length,H=0;Hne){if((H=ee.end.row+1)>=B)break;ne=(ee=this.$foldData[K++])?ee.start.row:1/0}null==A[H]&&(A[H]=this.$getStringScreenWidth(L[H])[0]),A[H]>U&&(U=A[H])}this.screenWidth=U}},S.prototype.getLine=function(F){return this.doc.getLine(F)},S.prototype.getLines=function(F,L){return this.doc.getLines(F,L)},S.prototype.getLength=function(){return this.doc.getLength()},S.prototype.getTextRange=function(F){return this.doc.getTextRange(F||this.selection.getRange())},S.prototype.insert=function(F,L){return this.doc.insert(F,L)},S.prototype.remove=function(F){return this.doc.remove(F)},S.prototype.removeFullLines=function(F,L){return this.doc.removeFullLines(F,L)},S.prototype.undoChanges=function(F,L){if(F.length){this.$fromUndo=!0;for(var A=F.length-1;-1!=A;A--){var U=F[A];"insert"==U.action||"remove"==U.action?this.doc.revertDelta(U):U.folds&&this.addFolds(U.folds)}!L&&this.$undoSelect&&(F.selectionBefore?this.selection.fromJSON(F.selectionBefore):this.selection.setRange(this.$getUndoSelection(F,!0))),this.$fromUndo=!1}},S.prototype.redoChanges=function(F,L){if(F.length){this.$fromUndo=!0;for(var A=0;AF.end.column&&(ee.start.column+=B),ee.end.row==F.end.row&&ee.end.column>F.end.column&&(ee.end.column+=B)),ne&&ee.start.row>=F.end.row&&(ee.start.row+=ne,ee.end.row+=ne)),ee.end=this.insert(ee.start,U),K.length){var H=F.start,z=ee.start,ne=z.row-H.row,B=z.column-H.column;this.addFolds(K.map(function(j){return(j=j.clone()).start.row==H.row&&(j.start.column+=B),j.end.row==H.row&&(j.end.column+=B),j.start.row+=ne,j.end.row+=ne,j}))}return ee},S.prototype.indentRows=function(F,L,A){A=A.replace(/\t/g,this.getTabString());for(var U=F;U<=L;U++)this.doc.insertInLine({row:U,column:0},A)},S.prototype.outdentRows=function(F){for(var L=F.collapseRows(),A=new a(0,0,0,0),U=this.getTabSize(),K=L.start.row;K<=L.end.row;++K){var ee=this.getLine(K);A.start.row=K,A.end.row=K;for(var ne=0;ne0){var U;if((U=this.getRowFoldEnd(L+A))>this.doc.getLength()-1)return 0;K=U-L}else F=this.$clipRowToDocument(F),K=(L=this.$clipRowToDocument(L))-F+1;var ee=new a(F,0,L,Number.MAX_VALUE),ne=this.getFoldsInRange(ee).map(function(H){return(H=H.clone()).start.row+=K,H.end.row+=K,H}),B=0==A?this.doc.getLines(F,L):this.doc.removeFullLines(F,L);return this.doc.insertFullLines(F+K,B),ne.length&&this.addFolds(ne),K},S.prototype.moveLinesUp=function(F,L){return this.$moveLines(F,L,-1)},S.prototype.moveLinesDown=function(F,L){return this.$moveLines(F,L,1)},S.prototype.duplicateLines=function(F,L){return this.$moveLines(F,L,0)},S.prototype.$clipRowToDocument=function(F){return Math.max(0,Math.min(F,this.doc.getLength()-1))},S.prototype.$clipColumnToRow=function(F,L){return L<0?0:Math.min(this.doc.getLine(F).length,L)},S.prototype.$clipPositionToDocument=function(F,L){if(L=Math.max(0,L),F<0)F=0,L=0;else{var A=this.doc.getLength();F>=A?(F=A-1,L=this.doc.getLine(A-1).length):L=Math.min(this.doc.getLine(F).length,L)}return{row:F,column:L}},S.prototype.$clipRangeToDocument=function(F){F.start.row<0?(F.start.row=0,F.start.column=0):F.start.column=this.$clipColumnToRow(F.start.row,F.start.column);var L=this.doc.getLength()-1;return F.end.row>L?(F.end.row=L,F.end.column=this.doc.getLine(L).length):F.end.column=this.$clipColumnToRow(F.end.row,F.end.column),F},S.prototype.setUseWrapMode=function(F){if(F!=this.$useWrapMode){if(this.$useWrapMode=F,this.$modified=!0,this.$resetRowCache(0),F){var L=this.getLength();this.$wrapData=Array(L),this.$updateWrapData(0,L-1)}this._signal("changeWrapMode")}},S.prototype.getUseWrapMode=function(){return this.$useWrapMode},S.prototype.setWrapLimitRange=function(F,L){(this.$wrapLimitRange.min!==F||this.$wrapLimitRange.max!==L)&&(this.$wrapLimitRange={min:F,max:L},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},S.prototype.adjustWrapLimit=function(F,L){var A=this.$wrapLimitRange;A.max<0&&(A={min:L,max:L});var U=this.$constrainWrapLimit(F,A.min,A.max);return U!=this.$wrapLimit&&U>1&&(this.$wrapLimit=U,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},S.prototype.$constrainWrapLimit=function(F,L,A){return L&&(F=Math.max(L,F)),A&&(F=Math.min(A,F)),F},S.prototype.getWrapLimit=function(){return this.$wrapLimit},S.prototype.setWrapLimit=function(F){this.setWrapLimitRange(F,F)},S.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},S.prototype.$updateInternalDataOnChange=function(F){var L=this.$useWrapMode,A=F.action,U=F.start,K=F.end,ee=U.row,ne=K.row,B=ne-ee,H=null;if(this.$updating=!0,0!=B)if("remove"===A){this[L?"$wrapData":"$rowLengthCache"].splice(ee,B);var z=this.$foldData;H=this.getFoldsInRange(F),this.removeFolds(H);var G=0;if(X=this.getFoldLine(K.row)){X.addRemoveChars(K.row,K.column,U.column-K.column),X.shiftRow(-B);var j=this.getFoldLine(ee);j&&j!==X&&(j.merge(X),X=j),G=z.indexOf(X)+1}for(;G=K.row&&X.shiftRow(-B);ne=ee}else{var le=Array(B);le.unshift(ee,0);var ue=L?this.$wrapData:this.$rowLengthCache;if(ue.splice.apply(ue,le),z=this.$foldData,G=0,X=this.getFoldLine(ee)){var ve=X.range.compareInside(U.row,U.column);0==ve?(X=X.split(U.row,U.column))&&(X.shiftRow(B),X.addRemoveChars(ne,0,K.column-U.column)):-1==ve&&(X.addRemoveChars(ee,0,K.column-U.column),X.shiftRow(B)),G=z.indexOf(X)+1}for(;G=ee&&X.shiftRow(B)}}else B=Math.abs(F.start.column-F.end.column),"remove"===A&&(H=this.getFoldsInRange(F),this.removeFolds(H),B=-B),(X=this.getFoldLine(ee))&&X.addRemoveChars(ee,U.column,B);return L&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,L?this.$updateWrapData(ee,ne):this.$updateRowLengthCache(ee,ne),H},S.prototype.$updateRowLengthCache=function(F,L){this.$rowLengthCache[F]=null,this.$rowLengthCache[L]=null},S.prototype.$updateWrapData=function(F,L){var ne,B,A=this.doc.getAllLines(),U=this.getTabSize(),K=this.$wrapData,ee=this.$wrapLimit,H=F;for(L=Math.min(L,A.length-1);H<=L;)(B=this.getFoldLine(H,B))?(ne=[],B.walk(function(z,X,G,j){var le;if(null!=z){(le=this.$getDisplayTokens(z,ne.length))[0]=w;for(var ue=1;ueL-j;){var le=ee+L-j;if(F[le-1]>=I&&F[le]>=I)G(le);else if(F[le]!=w&&F[le]!=k){for(var ue=Math.max(le-(L-(L>>2)),ee-1);le>ue&&F[le]ue&&F[le]ue&&F[le]==D;)le--}else for(;le>ue&&F[le]ue?G(++le):(F[le=ee+L]==M&&le--,G(le-j))}else{for(;le!=ee-1&&F[le]!=w;le--);if(le>ee){G(le);continue}for(le=ee+L;le39&&ee<48||ee>57&&ee<64?A.push(D):ee>=4352&&N(ee)?A.push(y,M):A.push(y)}return A},S.prototype.$getStringScreenWidth=function(F,L,A){if(0==L)return[0,0];var U,K;for(null==L&&(L=1/0),A=A||0,K=0;K=4352&&N(U)?A+=2:A+=1,!(A>L));K++);return[A,K]},S.prototype.getRowLength=function(F){var L=1;return this.lineWidgets&&(L+=this.lineWidgets[F]&&this.lineWidgets[F].rowCount||0),this.$useWrapMode&&this.$wrapData[F]?this.$wrapData[F].length+L:L},S.prototype.getRowLineCount=function(F){return this.$useWrapMode&&this.$wrapData[F]?this.$wrapData[F].length+1:1},S.prototype.getRowWrapIndent=function(F){if(this.$useWrapMode){var L=this.screenToDocumentPosition(F,Number.MAX_VALUE),A=this.$wrapData[L.row];return A.length&&A[0]=0){B=z[X],K=this.$docRowCache[X];var j=F>z[G-1]}else j=!G;for(var le=this.getLength()-1,ue=this.getNextFoldLine(K),ve=ue?ue.start.row:1/0;B<=F&&!(B+(H=this.getRowLength(K))>F||K>=le);)B+=H,++K>ve&&(ve=(ue=this.getNextFoldLine(K=ue.end.row+1,ue))?ue.start.row:1/0),j&&(this.$docRowCache.push(K),this.$screenRowCache.push(B));if(ue&&ue.start.row<=K)U=this.getFoldDisplayLine(ue),K=ue.start.row;else{if(B+H<=F||K>le)return{row:le,column:this.getLine(le).length};U=this.getLine(K),ue=null}var Je=0,_t=Math.floor(F-B);if(this.$useWrapMode){var ct=this.$wrapData[K];ct&&(ne=ct[_t],_t>0&&ct.length&&(Je=ct.indent,U=U.substring(ee=ct[_t-1]||ct[ct.length-1])))}return void 0!==A&&this.$bidiHandler.isBidiRow(B+_t,K,_t)&&(L=this.$bidiHandler.offsetToCol(A)),ee+=this.$getStringScreenWidth(U,L-Je)[1],this.$useWrapMode&&ee>=ne&&(ee=ne-1),ue?ue.idxToPosition(ee):{row:K,column:ee}},S.prototype.documentToScreenPosition=function(F,L){if(typeof L>"u")var A=this.$clipPositionToDocument(F.row,F.column);else A=this.$clipPositionToDocument(F,L);var ee,U=0,K=null;(ee=this.getFoldAt(F=A.row,L=A.column,1))&&(F=ee.start.row,L=ee.start.column);var ne,B=0,H=this.$docRowCache,z=this.$getRowCacheIndex(H,F),X=H.length;if(X&&z>=0){B=H[z],U=this.$screenRowCache[z];var G=F>H[X-1]}else G=!X;for(var j=this.getNextFoldLine(B),le=j?j.start.row:1/0;B=le){if((ne=j.end.row+1)>F)break;le=(j=this.getNextFoldLine(ne,j))?j.start.row:1/0}else ne=B+1;U+=this.getRowLength(B),B=ne,G&&(this.$docRowCache.push(B),this.$screenRowCache.push(U))}var ue="";j&&B>=le?(ue=this.getFoldDisplayLine(j,F,L),K=j.start.row):(ue=this.getLine(F).substring(0,L),K=F);var ve=0;if(this.$useWrapMode){var Je=this.$wrapData[K];if(Je){for(var _t=0;ue.length>=Je[_t];)U++,_t++;ue=ue.substring(Je[_t-1]||0,ue.length),ve=_t>0?Je.indent:0}}return this.lineWidgets&&this.lineWidgets[B]&&this.lineWidgets[B].rowsAbove&&(U+=this.lineWidgets[B].rowsAbove),{row:U,column:ve+this.$getStringScreenWidth(ue)[0]}},S.prototype.documentToScreenColumn=function(F,L){return this.documentToScreenPosition(F,L).column},S.prototype.documentToScreenRow=function(F,L){return this.documentToScreenPosition(F,L).row},S.prototype.getScreenLength=function(){var F=0,L=null;if(this.$useWrapMode)for(var K=this.$wrapData.length,ee=0,U=0,ne=(L=this.$foldData[U++])?L.start.row:1/0;eene&&(ee=L.end.row+1,ne=(L=this.$foldData[U++])?L.start.row:1/0)}else{F=this.getLength();var A=this.$foldData;for(U=0;UA);ee++);return[U,ee]})},S.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},S}();_.$uid=0,_.prototype.$modes=s.$modes,_.prototype.getValue=_.prototype.toString,_.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},_.prototype.$overwrite=!1,_.prototype.$mode=null,_.prototype.$modeId=null,_.prototype.$scrollTop=0,_.prototype.$scrollLeft=0,_.prototype.$wrapLimit=80,_.prototype.$useWrapMode=!1,_.prototype.$wrapLimitRange={min:null,max:null},_.prototype.lineWidgets=null,_.prototype.isFullWidth=N,E.implement(_.prototype,f);var y=1,M=2,w=3,k=4,D=9,I=10,O=11,T=12;function N(S){return!(S<4352)&&(S>=4352&&S<=4447||S>=4515&&S<=4519||S>=4602&&S<=4607||S>=9001&&S<=9002||S>=11904&&S<=11929||S>=11931&&S<=12019||S>=12032&&S<=12245||S>=12272&&S<=12283||S>=12288&&S<=12350||S>=12353&&S<=12438||S>=12441&&S<=12543||S>=12549&&S<=12589||S>=12593&&S<=12686||S>=12688&&S<=12730||S>=12736&&S<=12771||S>=12784&&S<=12830||S>=12832&&S<=12871||S>=12880&&S<=13054||S>=13056&&S<=19903||S>=19968&&S<=42124||S>=42128&&S<=42182||S>=43360&&S<=43388||S>=44032&&S<=55203||S>=55216&&S<=55238||S>=55243&&S<=55291||S>=63744&&S<=64255||S>=65040&&S<=65049||S>=65072&&S<=65106||S>=65108&&S<=65126||S>=65128&&S<=65131||S>=65281&&S<=65376||S>=65504&&S<=65510)}t("./edit_session/folding").Folding.call(_.prototype),t("./edit_session/bracket_match").BracketMatch.call(_.prototype),s.defineOptions(_.prototype,"session",{wrap:{set:function(S){if(S&&"off"!=S?"free"==S?S=!0:"printMargin"==S?S=-1:"string"==typeof S&&(S=parseInt(S,10)||!1):S=!1,this.$wrap!=S)if(this.$wrap=S,S){var F="number"==typeof S?S:null;this.setWrapLimitRange(F,F),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(S){(S="auto"==S?"text"!=this.$mode.type:"text"!=S)!=this.$wrapAsCode&&(this.$wrapAsCode=S,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(S){this.$useWorker=S,this.$stopWorker(),S&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(S){(S=parseInt(S))>0&&this.$tabSize!==S&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=S,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(S){this.setFoldStyle(S)},handlesSet:!0},overwrite:{set:function(S){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(S){this.doc.setNewLineMode(S)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(S){this.setMode(S)},get:function(){return this.$modeId},handlesSet:!0}}),v.EditSession=_}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(t,v,C){"use strict";var E=t("./lib/lang"),c=t("./lib/oop"),b=t("./range").Range,s=function(){function d(){this.$options={}}return d.prototype.set=function(l){return c.mixin(this.$options,l),this},d.prototype.getOptions=function(){return E.copyObject(this.$options)},d.prototype.setOptions=function(l){this.$options=l},d.prototype.find=function(l){var a=this.$options,r=this.$matchIterator(l,a);if(!r)return!1;var u=null;return r.forEach(function(h,p,_,y){return u=new b(h,p,_,y),!(p==y&&a.start&&a.start.start&&0!=a.skipCurrent&&u.isEqual(a.start)&&(u=null,1))}),u},d.prototype.findAll=function(l){var a=this.$options;if(!a.needle)return[];this.$assembleRegExp(a);var r=a.range,u=r?l.getLines(r.start.row,r.end.row):l.doc.getAllLines(),h=[],p=a.re;if(a.$isMultiLine){var M,_=p.length,y=u.length-_;e:for(var w=p.offset||0;w<=y;w++){for(var k=0;k<_;k++)if(-1==u[w+k].search(p[k]))continue e;var D=u[w],I=u[w+_-1],O=D.length-D.match(p[0])[0].length,T=I.match(p[_-1])[0].length;M&&M.end.row===w&&M.end.column>O||(h.push(M=new b(w,O,w+_-1,T)),_>2&&(w=w+_-2))}}else for(var N=0;NA&&h[k].end.row==U;)k--;for(h=h.slice(N,k+1),N=0,k=h.length;N=M;T--)if(I(T,Number.MAX_VALUE,O))return;if(0!=a.wrap)for(T=w,M=y.row;T>=M;T--)if(I(T,Number.MAX_VALUE,O))return}};else k=function(T){var N=y.row;if(!I(N,y.column,T)){for(N+=1;N<=w;N++)if(I(N,0,T))return;if(0!=a.wrap)for(N=M,w=y.row;N<=w;N++)if(I(N,0,T))return}};if(a.$isMultiLine)var D=r.length,I=function(O,T,N){var S=u?O-D+1:O;if(!(S<0||S+D>l.getLength())){var F=l.getLine(S),L=F.search(r[0]);if(!(!u&&LT)&&N(S,L,S+D-1,U))return!0}}};else I=u?function(T,N,S){var A,F=l.getLine(T),L=[],U=0;for(r.lastIndex=0;A=r.exec(F);){if(U=A.index,!(K=A[0].length)){if(U>=F.length)break;r.lastIndex=U+=E.skipEmptyMatch(F,U,p)}if(A.index+K>N)break;L.push(A.index,K)}for(var ee=L.length-1;ee>=0;ee-=2){var K,ne=L[ee-1];if(S(T,ne,T,ne+(K=L[ee])))return!0}}:function(T,N,S){var L,A,F=l.getLine(T);for(r.lastIndex=N;A=r.exec(F);){var U=A[0].length;if(S(T,L=A.index,T,L+U))return!0;if(!U&&(r.lastIndex=L+=E.skipEmptyMatch(F,L,p),L>=F.length))return!1}};return{forEach:k}},d}();v.Search=s}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(t,v,C){"use strict";var E=this&&this.__extends||function(){var a=function(r,u){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&(h[_]=p[_])})(r,u)};return function(r,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function h(){this.constructor=r}a(r,u),r.prototype=null===u?Object.create(u):(h.prototype=u.prototype,new h)}}(),c=t("../lib/keys"),b=t("../lib/useragent"),s=c.KEY_MODS,f=function(){function a(r,u){this.$init(r,u,!1)}return a.prototype.$init=function(r,u,h){this.platform=u||(b.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(r),this.$singleCommand=h},a.prototype.addCommand=function(r){this.commands[r.name]&&this.removeCommand(r),this.commands[r.name]=r,r.bindKey&&this._buildKeyHash(r)},a.prototype.removeCommand=function(r,u){var h=r&&("string"==typeof r?r:r.name);r=this.commands[h],u||delete this.commands[h];var p=this.commandKeyBinding;for(var _ in p){var y=p[_];if(y==r)delete p[_];else if(Array.isArray(y)){var M=y.indexOf(r);-1!=M&&(y.splice(M,1),1==y.length&&(p[_]=y[0]))}}},a.prototype.bindKey=function(r,u,h){if("object"==typeof r&&r&&(null==h&&(h=r.position),r=r[this.platform]),r){if("function"==typeof u)return this.addCommand({exec:u,bindKey:r,name:u.name||r});r.split("|").forEach(function(p){var _="";if(-1!=p.indexOf(" ")){var y=p.split(/\s+/);p=y.pop(),y.forEach(function(k){var D=this.parseKeys(k);this._addCommandToBinding(_+=(_?" ":"")+(s[D.hashId]+D.key),"chainKeys")},this),_+=" "}var M=this.parseKeys(p);this._addCommandToBinding(_+(s[M.hashId]+M.key),u,h)},this)}},a.prototype._addCommandToBinding=function(r,u,h){var _,p=this.commandKeyBinding;if(u)if(!p[r]||this.$singleCommand)p[r]=u;else{Array.isArray(p[r])?-1!=(_=p[r].indexOf(u))&&p[r].splice(_,1):p[r]=[p[r]],"number"!=typeof h&&(h=d(u));var y=p[r];for(_=0;_h);_++);y.splice(_,0,u)}else delete p[r]},a.prototype.addCommands=function(r){r&&Object.keys(r).forEach(function(u){var h=r[u];if(h){if("string"==typeof h)return this.bindKey(h,u);"function"==typeof h&&(h={exec:h}),"object"==typeof h&&(h.name||(h.name=u),this.addCommand(h))}},this)},a.prototype.removeCommands=function(r){Object.keys(r).forEach(function(u){this.removeCommand(r[u])},this)},a.prototype.bindKeys=function(r){Object.keys(r).forEach(function(u){this.bindKey(u,r[u])},this)},a.prototype._buildKeyHash=function(r){this.bindKey(r.bindKey,r)},a.prototype.parseKeys=function(r){var u=r.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(w){return w}),h=u.pop(),p=c[h];if(c.FUNCTION_KEYS[p])h=c.FUNCTION_KEYS[p].toLowerCase();else{if(!u.length)return{key:h,hashId:-1};if(1==u.length&&"shift"==u[0])return{key:h.toUpperCase(),hashId:-1}}for(var _=0,y=u.length;y--;){var M=c.KEY_MODS[u[y]];if(null==M)return typeof console<"u"&&console.error("invalid modifier "+u[y]+" in "+r),!1;_|=M}return{key:h,hashId:_}},a.prototype.findKeyCommand=function(r,u){return this.commandKeyBinding[s[r]+u]},a.prototype.handleKeyboard=function(r,u,h,p){if(!(p<0)){var _=s[u]+h,y=this.commandKeyBinding[_];return r.$keyChain&&(r.$keyChain+=" "+_,y=this.commandKeyBinding[r.$keyChain]||y),!y||"chainKeys"!=y&&"chainKeys"!=y[y.length-1]?(r.$keyChain&&(u&&4!=u||1!=h.length?(-1==u||p>0)&&(r.$keyChain=""):r.$keyChain=r.$keyChain.slice(0,-_.length-1)),{command:y}):(r.$keyChain=r.$keyChain||_,{command:"null"})}},a.prototype.getStatusText=function(r,u){return u.$keyChain||""},a}();function d(a){return"object"==typeof a&&a.bindKey&&a.bindKey.position||(a.isDefault?-100:0)}var l=function(a){function r(u,h){var p=a.call(this,u,h)||this;return p.$singleCommand=!0,p}return E(r,a),r}(f);l.call=function(a,r,u){f.prototype.$init.call(a,r,u,!0)},f.call=function(a,r,u){f.prototype.$init.call(a,r,u,!1)},v.HashHandler=l,v.MultiHashHandler=f}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(t,v,C){"use strict";var E=this&&this.__extends||function(){var d=function(l,a){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,u){r.__proto__=u}||function(r,u){for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&(r[h]=u[h])})(l,a)};return function(l,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function r(){this.constructor=l}d(l,a),l.prototype=null===a?Object.create(a):(r.prototype=a.prototype,new r)}}(),c=t("../lib/oop"),b=t("../keyboard/hash_handler").MultiHashHandler,s=t("../lib/event_emitter").EventEmitter,f=function(d){function l(a,r){var u=d.call(this,r,a)||this;return u.byName=u.commands,u.setDefaultHandler("exec",function(h){return h.args?h.command.exec(h.editor,h.args,h.event,!1):h.command.exec(h.editor,{},h.event,!0)}),u}return E(l,d),l.prototype.exec=function(a,r,u){if(Array.isArray(a)){for(var h=a.length;h--;)if(this.exec(a[h],r,u))return!0;return!1}if("string"==typeof a&&(a=this.commands[a]),!a||r&&r.$readOnly&&!a.readOnly||0!=this.$checkCommandState&&a.isAvailable&&!a.isAvailable(r))return!1;var p={editor:r,command:a,args:u};return p.returnValue=this._emit("exec",p),this._signal("afterExec",p),!1!==p.returnValue},l.prototype.toggleRecording=function(a){if(!this.$inReplay)return a&&a._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(r){this.macro.push([r.command,r.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},l.prototype.replay=function(a){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(a);try{this.$inReplay=!0,this.macro.forEach(function(r){"string"==typeof r?this.exec(r,a):this.exec(r[0],a,r[1])},this)}finally{this.$inReplay=!1}}},l.prototype.trimMacro=function(a){return a.map(function(r){return"string"!=typeof r[0]&&(r[0]=r[0].name),r[1]||(r=r[0]),r})},l}(b);c.implement(f.prototype,s),v.CommandManager=f}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(t,v,C){"use strict";var E=t("../lib/lang"),c=t("../config"),b=t("../range").Range;function s(d,l){return{win:d,mac:l}}v.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:s("Ctrl-,","Command-,"),exec:function(d){c.loadModule("ace/ext/settings_menu",function(l){l.init(d),d.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:s("Alt-E","F4"),exec:function(d){c.loadModule("ace/ext/error_marker",function(l){l.showErrorMarker(d,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(d){c.loadModule("ace/ext/error_marker",function(l){l.showErrorMarker(d,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:s("Ctrl-A","Command-A"),exec:function(d){d.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:s(null,"Ctrl-L"),exec:function(d){d.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:s("Ctrl-L","Command-L"),exec:function(d,l){"number"==typeof l&&!isNaN(l)&&d.gotoLine(l),d.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(d){d.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(d){d.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:s("F2","F2"),exec:function(d){d.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:s("Alt-F2","Alt-F2"),exec:function(d){d.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(d){d.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(d){d.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:s("Alt-0","Command-Option-0"),exec:function(d){d.session.foldAll(),d.session.unfold(d.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(d){d.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:s("Ctrl-K","Command-G"),exec:function(d){d.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(d){d.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:s("Alt-K","Ctrl-G"),exec:function(d){d.selection.isEmpty()?d.selection.selectWord():d.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(d){d.selection.isEmpty()?d.selection.selectWord():d.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:s("Ctrl-F","Command-F"),exec:function(d){c.loadModule("ace/ext/searchbox",function(l){l.Search(d)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(d){d.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(d){d.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(d){d.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(d){d.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:s("Up","Up|Ctrl-P"),exec:function(d,l){d.navigateUp(l.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(d){d.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(d){d.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(d){d.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:s("Down","Down|Ctrl-N"),exec:function(d,l){d.navigateDown(l.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(d){d.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:s("Ctrl-Left","Option-Left"),exec:function(d){d.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(d){d.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(d){d.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(d){d.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:s("Left","Left|Ctrl-B"),exec:function(d,l){d.navigateLeft(l.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(d){d.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:s("Ctrl-Right","Option-Right"),exec:function(d){d.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(d){d.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(d){d.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:s("Shift-Right","Shift-Right"),exec:function(d){d.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:s("Right","Right|Ctrl-F"),exec:function(d,l){d.navigateRight(l.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(d){d.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:s(null,"Option-PageDown"),exec:function(d){d.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(d){d.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(d){d.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:s(null,"Option-PageUp"),exec:function(d){d.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(d){d.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:s("Ctrl-Up",null),exec:function(d){d.renderer.scrollBy(0,-2*d.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:s("Ctrl-Down",null),exec:function(d){d.renderer.scrollBy(0,2*d.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(d){d.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(d){d.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(d){d.commands.toggleRecording(d)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(d){d.commands.replay(d)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:s("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(d){d.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:s("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(d){d.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(d){d.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(d){},readOnly:!0},{name:"cut",description:"Cut",exec:function(d){var a=d.$copyWithEmptySelection&&d.selection.isEmpty()?d.selection.getLineRange():d.selection.getRange();d._emit("cut",a),a.isEmpty()||d.session.remove(a),d.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(d,l){d.$handlePaste(l)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:s("Ctrl-D","Command-D"),exec:function(d){d.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(d){d.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(d){d.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:s("Ctrl-/","Command-/"),exec:function(d){d.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(d){d.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(d){d.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(d){d.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(d){c.loadModule("ace/ext/searchbox",function(l){l.Search(d,!0)})}},{name:"undo",description:"Undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(d){d.undo()}},{name:"redo",description:"Redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(d){d.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(d){d.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:s("Alt-Up","Option-Up"),exec:function(d){d.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(d){d.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:s("Alt-Down","Option-Down"),exec:function(d){d.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(d){d.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(d){d.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:s("Shift-Delete",null),exec:function(d){if(!d.selection.isEmpty())return!1;d.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(d){d.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(d){d.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(d){var l=d.selection.getRange();l.start.column=0,d.session.remove(l)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(d){var l=d.selection.getRange();l.end.column=Number.MAX_VALUE,d.session.remove(l)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(d){d.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(d){d.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(d){d.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:s("Tab","Tab"),exec:function(d){d.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(d){d.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(d){d.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(d,l){d.insert(l)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(d,l){d.insert(E.stringRepeat(l.text||"",l.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:s(null,"Ctrl-O"),exec:function(d){d.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(d){d.transposeLetters()},multiSelectAction:function(d){d.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(d){d.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(d){d.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:s(null,null),exec:function(d){d.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(d){var l=d.selection.getRange();l.start.column=l.end.column=0,l.end.row++,d.selection.setRange(l,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:s("Ctrl+F3","F3"),exec:function(d){d.openLink()}},{name:"joinlines",description:"Join lines",bindKey:s(null,null),exec:function(d){for(var l=d.selection.isBackwards(),a=l?d.selection.getSelectionLead():d.selection.getSelectionAnchor(),r=l?d.selection.getSelectionAnchor():d.selection.getSelectionLead(),u=d.session.doc.getLine(a.row).length,p=d.session.doc.getTextRange(d.selection.getRange()).replace(/\n\s*/," ").length,_=d.session.doc.getLine(a.row),y=a.row+1;y<=r.row+1;y++){var M=E.stringTrimLeft(E.stringTrimRight(d.session.doc.getLine(y)));0!==M.length&&(M=" "+M),_+=M}r.row+10?(d.selection.moveCursorTo(a.row,a.column),d.selection.selectTo(a.row,a.column+p)):(u=d.session.doc.getLine(a.row).length>u?u+1:u,d.selection.moveCursorTo(a.row,u))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:s(null,null),exec:function(d){var l=d.session.doc.getLength()-1,a=d.session.doc.getLine(l).length,r=d.selection.rangeList.ranges,u=[];r.length<1&&(r=[d.selection.getRange()]);for(var h=0;hf[d].column&&d++,r.unshift(d,0),f.splice.apply(f,r),this.$updateRows()}}},b.prototype.$updateRows=function(){var s=this.session.lineWidgets;if(s){var f=!0;s.forEach(function(d,l){if(d)for(f=!1,d.row=l;d.$oldWidget;)d.$oldWidget.row=l,d=d.$oldWidget}),f&&(this.session.lineWidgets=null)}},b.prototype.$registerLineWidget=function(s){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var f=this.session.lineWidgets[s.row];return f&&(s.$oldWidget=f,f.el&&f.el.parentNode&&(f.el.parentNode.removeChild(f.el),f._inDocument=!1)),this.session.lineWidgets[s.row]=s,s},b.prototype.addLineWidget=function(s){if(this.$registerLineWidget(s),s.session=this.session,!this.editor)return s;var f=this.editor.renderer;s.html&&!s.el&&(s.el=E.createElement("div"),s.el.innerHTML=s.html),s.text&&!s.el&&(s.el=E.createElement("div"),s.el.textContent=s.text),s.el&&(E.addCssClass(s.el,"ace_lineWidgetContainer"),s.className&&E.addCssClass(s.el,s.className),s.el.style.position="absolute",s.el.style.zIndex="5",f.container.appendChild(s.el),s._inDocument=!0,s.coverGutter||(s.el.style.zIndex="3"),null==s.pixelHeight&&(s.pixelHeight=s.el.offsetHeight)),null==s.rowCount&&(s.rowCount=s.pixelHeight/f.layerConfig.lineHeight);var d=this.session.getFoldAt(s.row,0);if(s.$fold=d,d){var l=this.session.lineWidgets;s.row!=d.end.row||l[d.start.row]?s.hidden=!0:l[d.start.row]=s}return this.session._emit("changeFold",{data:{start:{row:s.row}}}),this.$updateRows(),this.renderWidgets(null,f),this.onWidgetChanged(s),s},b.prototype.removeLineWidget=function(s){if(s._inDocument=!1,s.session=null,s.el&&s.el.parentNode&&s.el.parentNode.removeChild(s.el),s.editor&&s.editor.destroy)try{s.editor.destroy()}catch{}if(this.session.lineWidgets){var f=this.session.lineWidgets[s.row];if(f==s)this.session.lineWidgets[s.row]=s.$oldWidget,s.$oldWidget&&this.onWidgetChanged(s.$oldWidget);else for(;f;){if(f.$oldWidget==s){f.$oldWidget=s.$oldWidget;break}f=f.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:s.row}}}),this.$updateRows()},b.prototype.getWidgetsAtRow=function(s){for(var f=this.session.lineWidgets,d=f&&f[s],l=[];d;)l.push(d),d=d.$oldWidget;return l},b.prototype.onWidgetChanged=function(s){this.session._changedWidgets.push(s),this.editor&&this.editor.renderer.updateFull()},b.prototype.measureWidgets=function(s,f){var d=this.session._changedWidgets,l=f.layerConfig;if(d&&d.length){for(var a=1/0,r=0;r0&&!l[a];)a--;this.firstRow=d.firstRow,this.lastRow=d.lastRow,f.$cursorLayer.config=d;for(var u=a;u<=r;u++){var h=l[u];if(h&&h.el){if(h.hidden){h.el.style.top=-100-(h.pixelHeight||0)+"px";continue}h._inDocument||(h._inDocument=!0,f.container.appendChild(h.el));var p=f.$cursorLayer.getPixelPosition({row:u,column:0},!0).top;h.coverLine||(p+=d.lineHeight*this.session.getRowLineCount(h.row)),h.el.style.top=p-d.offset+"px";var _=h.coverGutter?0:f.gutterWidth;h.fixedWidth||(_-=f.scrollLeft),h.el.style.left=_+"px",h.fullWidth&&h.screenWidth&&(h.el.style.minWidth=d.width+2*d.padding+"px"),h.el.style.right=h.fixedWidth?f.scrollBar.getWidth()+"px":""}}}},b}();v.LineWidgets=c}),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],function(t,v,C){"use strict";var E=t("../lib/keys"),c=t("../mouse/default_gutter_handler").GutterTooltip,b=function(){function f(d){this.editor=d,this.gutterLayer=d.renderer.$gutterLayer,this.element=d.renderer.$gutter,this.lines=d.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new c(this.editor)}return f.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},f.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},f.prototype.$onGutterKeyDown=function(d){if(this.annotationTooltip.isOpen)return d.preventDefault(),void(d.keyCode===E.escape&&this.annotationTooltip.hideTooltip());if(d.target===this.element){if(d.keyCode!=E.enter)return;d.preventDefault();var l=this.editor.getCursorPosition().row;return this.editor.isRowVisible(l)||this.editor.scrollToLine(l,!0,!0),void setTimeout(function(){var a=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),r=this.$findNearestFoldWidget(a),u=this.$findNearestAnnotation(a);if(null!==r||null!==u)return null===r&&null!==u?(this.activeRowIndex=u,this.activeLane="annotation",void this.$focusAnnotation(this.activeRowIndex)):null!==r&&null===u?(this.activeRowIndex=r,this.activeLane="fold",void this.$focusFoldWidget(this.activeRowIndex)):Math.abs(u-a)0||d+l=0&&this.$isFoldWidgetVisible(d-l))return d-l;if(d+l<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(d+l))return d+l}return null},f.prototype.$findNearestAnnotation=function(d){if(this.$isAnnotationVisible(d))return d;for(var l=0;d-l>0||d+l=0&&this.$isAnnotationVisible(d-l))return d-l;if(d+l<=this.lines.getLength()-1&&this.$isAnnotationVisible(d+l))return d+l}return null},f.prototype.$focusFoldWidget=function(d){if(null!=d){var l=this.$getFoldWidget(d);l.classList.add(this.editor.renderer.keyboardFocusClassName),l.focus()}},f.prototype.$focusAnnotation=function(d){if(null!=d){var l=this.$getAnnotation(d);l.classList.add(this.editor.renderer.keyboardFocusClassName),l.focus()}},f.prototype.$blurFoldWidget=function(d){var l=this.$getFoldWidget(d);l.classList.remove(this.editor.renderer.keyboardFocusClassName),l.blur()},f.prototype.$blurAnnotation=function(d){var l=this.$getAnnotation(d);l.classList.remove(this.editor.renderer.keyboardFocusClassName),l.blur()},f.prototype.$moveFoldWidgetUp=function(){for(var d=this.activeRowIndex;d>0;)if(d--,this.$isFoldWidgetVisible(d))return this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=d,void this.$focusFoldWidget(this.activeRowIndex)},f.prototype.$moveFoldWidgetDown=function(){for(var d=this.activeRowIndex;d0;)if(d--,this.$isAnnotationVisible(d))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=d,void this.$focusAnnotation(this.activeRowIndex)},f.prototype.$moveAnnotationDown=function(){for(var d=this.activeRowIndex;d=L.length&&(L=void 0),{value:L&&L[K++],done:!L}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")},c=t("./lib/oop"),b=t("./lib/dom"),s=t("./lib/lang"),f=t("./lib/useragent"),d=t("./keyboard/textinput").TextInput,l=t("./mouse/mouse_handler").MouseHandler,a=t("./mouse/fold_handler").FoldHandler,r=t("./keyboard/keybinding").KeyBinding,u=t("./edit_session").EditSession,h=t("./search").Search,p=t("./range").Range,_=t("./lib/event_emitter").EventEmitter,y=t("./commands/command_manager").CommandManager,M=t("./commands/default_commands").commands,w=t("./config"),k=t("./token_iterator").TokenIterator,D=t("./line_widgets").LineWidgets,I=t("./keyboard/gutter_handler").GutterKeyboardHandler,O=t("./config").nls,T=t("./clipboard"),N=t("./lib/keys"),S=function(){function L(A,U,K){this.$toDestroy=[];var ee=A.getContainerElement();this.container=ee,this.renderer=A,this.id="editor"+ ++L.$uid,this.commands=new y(f.isMac?"mac":"win",M),"object"==typeof document&&(this.textInput=new d(A.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new l(this),new a(this)),this.keyBinding=new r(this),this.$search=(new h).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(ne,B){B._$emitInputEvent.schedule(31)}),this.setSession(U||K&&K.session||new u("")),w.resetOptions(this),K&&this.setOptions(K),w._signal("editor",this)}return L.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},L.prototype.startOperation=function(A){if(this.curOp){if(!A||this.curOp.command)return;this.prevOp=this.curOp}A||(this.previousCommand=null,A={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:A.command||{},args:A.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},L.prototype.endOperation=function(A){if(this.curOp&&this.session){if(A&&!1===A.returnValue||!this.session)return this.curOp=null;if(1==A&&this.curOp.command&&"mouse"==this.curOp.command.name||(this._signal("beforeEndOperation"),!this.curOp))return;var U=this.curOp.command,K=U&&U.scrollIntoView;if(K){switch(K){case"center-animate":K="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var ee=this.selection.getRange(),ne=this.renderer.layerConfig;(ee.start.row>=ne.lastRow||ee.end.row<=ne.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==K&&this.renderer.animateScrolling(this.curOp.scrollTop)}var B=this.selection.toJSON();this.curOp.selectionAfter=B,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(B),this.prevOp=this.curOp,this.curOp=null}},L.prototype.$historyTracker=function(A){if(this.$mergeUndoDeltas){var U=this.prevOp,K=this.$mergeableCommands,ee=U.command&&A.command.name==U.command.name;if("insertstring"==A.command.name){var ne=A.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),ee=ee&&this.mergeNextCommand&&(!/\s/.test(ne)||/\s/.test(U.args)),this.mergeNextCommand=!0}else ee=ee&&-1!==K.indexOf(A.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(ee=!1),ee?this.session.mergeUndoDeltas=!0:-1!==K.indexOf(A.command.name)&&(this.sequenceStartTime=Date.now())}},L.prototype.setKeyboardHandler=function(A,U){if(A&&"string"==typeof A&&"ace"!=A){this.$keybindingId=A;var K=this;w.loadModule(["keybinding",A],function(ee){K.$keybindingId==A&&K.keyBinding.setKeyboardHandler(ee&&ee.handler),U&&U()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(A),U&&U()},L.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},L.prototype.setSession=function(A){if(this.session!=A){this.curOp&&this.endOperation(),this.curOp={};var U=this.session;if(U){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var K=this.session.getSelection();K.off("changeCursor",this.$onCursorChange),K.off("changeSelection",this.$onSelectionChange)}this.session=A,A?(this.$onDocumentChange=this.onDocumentChange.bind(this),A.on("change",this.$onDocumentChange),this.renderer.setSession(A),this.$onChangeMode=this.onChangeMode.bind(this),A.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),A.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),A.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),A.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),A.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),A.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=A.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(A)),this._signal("changeSession",{session:A,oldSession:U}),this.curOp=null,U&&U._signal("changeEditor",{oldEditor:this}),A&&A._signal("changeEditor",{editor:this}),A&&!A.destroyed&&A.bgTokenizer.scheduleStart()}},L.prototype.getSession=function(){return this.session},L.prototype.setValue=function(A,U){return this.session.doc.setValue(A),U?1==U?this.navigateFileEnd():-1==U&&this.navigateFileStart():this.selectAll(),A},L.prototype.getValue=function(){return this.session.getValue()},L.prototype.getSelection=function(){return this.selection},L.prototype.resize=function(A){this.renderer.onResize(A)},L.prototype.setTheme=function(A,U){this.renderer.setTheme(A,U)},L.prototype.getTheme=function(){return this.renderer.getTheme()},L.prototype.setStyle=function(A){this.renderer.setStyle(A)},L.prototype.unsetStyle=function(A){this.renderer.unsetStyle(A)},L.prototype.getFontSize=function(){return this.getOption("fontSize")||b.computedStyle(this.container).fontSize},L.prototype.setFontSize=function(A){this.setOption("fontSize",A)},L.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var A=this;this.$highlightPending=!0,setTimeout(function(){A.$highlightPending=!1;var U=A.session;if(U&&!U.destroyed){U.$bracketHighlight&&(U.$bracketHighlight.markerIds.forEach(function(j){U.removeMarker(j)}),U.$bracketHighlight=null);var K=A.getCursorPosition(),ee=A.getKeyboardHandler(),ne=ee&&ee.$getDirectionForHighlight&&ee.$getDirectionForHighlight(A),B=U.getMatchingBracketRanges(K,ne);if(!B){var z=new k(U,K.row,K.column).getCurrentToken();if(z&&/\b(?:tag-open|tag-name)/.test(z.type)){var X=U.getMatchingTags(K);X&&(B=[X.openTagName,X.closeTagName])}}if(!B&&U.$mode.getMatching&&(B=U.$mode.getMatching(A.session)),!B)return void(A.getHighlightIndentGuides()&&A.renderer.$textLayer.$highlightIndentGuide());var G="ace_bracket";Array.isArray(B)?1==B.length&&(G="ace_error_bracket"):B=[B],2==B.length&&(0==p.comparePoints(B[0].end,B[1].start)?B=[p.fromPoints(B[0].start,B[1].end)]:0==p.comparePoints(B[0].start,B[1].end)&&(B=[p.fromPoints(B[1].start,B[0].end)])),U.$bracketHighlight={ranges:B,markerIds:B.map(function(j){return U.addMarker(j,G,"text")})},A.getHighlightIndentGuides()&&A.renderer.$textLayer.$highlightIndentGuide()}},50)}},L.prototype.focus=function(){this.textInput.focus()},L.prototype.isFocused=function(){return this.textInput.isFocused()},L.prototype.blur=function(){this.textInput.blur()},L.prototype.onFocus=function(A){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",A))},L.prototype.onBlur=function(A){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",A))},L.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},L.prototype.onDocumentChange=function(A){this.renderer.updateLines(A.start.row,A.start.row==A.end.row?A.end.row:1/0,this.session.$useWrapMode),this._signal("change",A),this.$cursorChange()},L.prototype.onTokenizerUpdate=function(A){var U=A.data;this.renderer.updateLines(U.first,U.last)},L.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},L.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},L.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},L.prototype.$updateHighlightActiveLine=function(){var U,A=this.getSession();if(this.$highlightActiveLine&&(("line"!=this.$selectionStyle||!this.selection.isMultiLine())&&(U=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(U=!1),this.renderer.$maxLines&&1===this.session.getLength()&&!(this.renderer.$minLines>1)&&(U=!1)),A.$highlightLineMarker&&!U)A.removeMarker(A.$highlightLineMarker.id),A.$highlightLineMarker=null;else if(!A.$highlightLineMarker&&U){var K=new p(U.row,U.column,U.row,1/0);K.id=A.addMarker(K,"ace_active-line","screenLine"),A.$highlightLineMarker=K}else U&&(A.$highlightLineMarker.start.row=U.row,A.$highlightLineMarker.end.row=U.row,A.$highlightLineMarker.start.column=U.column,A._signal("changeBackMarker"))},L.prototype.onSelectionChange=function(A){var U=this.session;if(U.$selectionMarker&&U.removeMarker(U.$selectionMarker),U.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var K=this.selection.getRange(),ee=this.getSelectionStyle();U.$selectionMarker=U.addMarker(K,"ace_selection",ee)}var ne=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(ne),this._signal("changeSelection")},L.prototype.$getSelectionHighLightRegexp=function(){var A=this.session,U=this.getSelectionRange();if(!U.isEmpty()&&!U.isMultiLine()){var K=U.start.column,ee=U.end.column,ne=A.getLine(U.start.row),B=ne.substring(K,ee);if(!(B.length>5e3)&&/[\w\d]/.test(B)){var H=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:B}),z=ne.substring(K-1,ee+1);if(H.test(z))return H}}},L.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},L.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},L.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},L.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},L.prototype.onChangeMode=function(A){this.renderer.updateText(),this._emit("changeMode",A)},L.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},L.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},L.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},L.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},L.prototype.getCopyText=function(){var A=this.getSelectedText(),U=this.session.doc.getNewLineCharacter(),K=!1;if(!A&&this.$copyWithEmptySelection){K=!0;for(var ee=this.selection.getAllRanges(),ne=0;nej.search(/\S|$/)){var z=j.substr(ne.column).search(/\S|$/);K.doc.removeInLine(ne.row,ne.column,ne.column+z)}}this.clearSelection();var X=ne.column,G=K.getState(ne.row),le=(j=K.getLine(ne.row),ee.checkOutdent(G,j,A));if(K.insert(ne,A),B&&B.selection&&this.selection.setSelectionRange(2==B.selection.length?new p(ne.row,X+B.selection[0],ne.row,X+B.selection[1]):new p(ne.row+B.selection[0],B.selection[1],ne.row+B.selection[2],B.selection[3])),this.$enableAutoIndent){if(K.getDocument().isNewLine(A)){var ue=ee.getNextLineIndent(G,j.slice(0,ne.column),K.getTabString());K.insert({row:ne.row+1,column:0},ue)}le&&ee.autoOutdent(G,K,ne.row)}},L.prototype.autoIndent=function(){for(var A=this.session,U=A.getMode(),K=this.selection.isEmpty()?[new p(0,0,A.doc.getLength()-1,0)]:this.selection.getAllRanges(),ee="",ne="",B="",H=A.getTabString(),z=0;z0&&(ee=A.getState(j-1),ne=A.getLine(j-1),B=U.getNextLineIndent(ee,ne,H));var le=A.getLine(j),ue=U.$getIndent(le);if(B!==ue){if(ue.length>0){var ve=new p(j,0,j,ue.length);A.remove(ve)}B.length>0&&A.insert({row:j,column:0},B)}U.autoOutdent(ee,A,j)}},L.prototype.onTextInput=function(A,U){if(!U)return this.keyBinding.onTextInput(A);this.startOperation({command:{name:"insertstring"}});var K=this.applyComposition.bind(this,A,U);this.selection.rangeCount?this.forEachSelection(K):K(),this.endOperation()},L.prototype.applyComposition=function(A,U){var K;(U.extendLeft||U.extendRight)&&((K=this.selection.getRange()).start.column-=U.extendLeft,K.end.column+=U.extendRight,K.start.column<0&&(K.start.row--,K.start.column+=this.session.getLine(K.start.row).length+1),this.selection.setRange(K),!A&&!K.isEmpty()&&this.remove()),(A||!this.selection.isEmpty())&&this.insert(A,!0),(U.restoreStart||U.restoreEnd)&&((K=this.selection.getRange()).start.column-=U.restoreStart,K.end.column-=U.restoreEnd,this.selection.setRange(K))},L.prototype.onCommandKey=function(A,U,K){return this.keyBinding.onCommandKey(A,U,K)},L.prototype.setOverwrite=function(A){this.session.setOverwrite(A)},L.prototype.getOverwrite=function(){return this.session.getOverwrite()},L.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},L.prototype.setScrollSpeed=function(A){this.setOption("scrollSpeed",A)},L.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},L.prototype.setDragDelay=function(A){this.setOption("dragDelay",A)},L.prototype.getDragDelay=function(){return this.getOption("dragDelay")},L.prototype.setSelectionStyle=function(A){this.setOption("selectionStyle",A)},L.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},L.prototype.setHighlightActiveLine=function(A){this.setOption("highlightActiveLine",A)},L.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},L.prototype.setHighlightGutterLine=function(A){this.setOption("highlightGutterLine",A)},L.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},L.prototype.setHighlightSelectedWord=function(A){this.setOption("highlightSelectedWord",A)},L.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},L.prototype.setAnimatedScroll=function(A){this.renderer.setAnimatedScroll(A)},L.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},L.prototype.setShowInvisibles=function(A){this.renderer.setShowInvisibles(A)},L.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},L.prototype.setDisplayIndentGuides=function(A){this.renderer.setDisplayIndentGuides(A)},L.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},L.prototype.setHighlightIndentGuides=function(A){this.renderer.setHighlightIndentGuides(A)},L.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},L.prototype.setShowPrintMargin=function(A){this.renderer.setShowPrintMargin(A)},L.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},L.prototype.setPrintMarginColumn=function(A){this.renderer.setPrintMarginColumn(A)},L.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},L.prototype.setReadOnly=function(A){this.setOption("readOnly",A)},L.prototype.getReadOnly=function(){return this.getOption("readOnly")},L.prototype.setBehavioursEnabled=function(A){this.setOption("behavioursEnabled",A)},L.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},L.prototype.setWrapBehavioursEnabled=function(A){this.setOption("wrapBehavioursEnabled",A)},L.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},L.prototype.setShowFoldWidgets=function(A){this.setOption("showFoldWidgets",A)},L.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},L.prototype.setFadeFoldWidgets=function(A){this.setOption("fadeFoldWidgets",A)},L.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},L.prototype.remove=function(A){this.selection.isEmpty()&&("left"==A?this.selection.selectLeft():this.selection.selectRight());var U=this.getSelectionRange();if(this.getBehavioursEnabled()){var K=this.session,ee=K.getState(U.start.row),ne=K.getMode().transformAction(ee,"deletion",this,K,U);if(0===U.end.column){var B=K.getTextRange(U);if("\n"==B[B.length-1]){var H=K.getLine(U.end.row);/^\s+$/.test(H)&&(U.end.column=H.length)}}ne&&(U=ne)}this.session.remove(U),this.clearSelection()},L.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},L.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},L.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},L.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var A=this.getSelectionRange();A.start.column==A.end.column&&A.start.row==A.end.row&&(A.end.column=0,A.end.row++),this.session.remove(A),this.clearSelection()},L.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var A=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(A)},L.prototype.setGhostText=function(A,U){this.session.widgetManager||(this.session.widgetManager=new D(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(A,U)},L.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},L.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var A=this.getCursorPosition(),U=A.column;if(0!==U){var ee,ne,K=this.session.getLine(A.row);Uz.toLowerCase()?1:0});var ne=new p(0,0,0,0);for(ee=A.first;ee<=A.last;ee++){var B=U.getLine(ee);ne.start.row=ee,ne.end.row=ee,ne.end.column=B.length,U.replace(ne,K[ee-A.first])}},L.prototype.toggleCommentLines=function(){var A=this.session.getState(this.getCursorPosition().row),U=this.$getSelectedRows();this.session.getMode().toggleCommentLines(A,this.session,U.first,U.last)},L.prototype.toggleBlockComment=function(){var A=this.getCursorPosition(),U=this.session.getState(A.row),K=this.getSelectionRange();this.session.getMode().toggleBlockComment(U,this.session,K,A)},L.prototype.getNumberAt=function(A,U){var K=/[\-]?[0-9]+(?:\.[0-9]+)?/g;K.lastIndex=0;for(var ee=this.session.getLine(A);K.lastIndex=U)return{value:ne[0],start:ne.index,end:ne.index+ne[0].length}}return null},L.prototype.modifyNumber=function(A){var U=this.selection.getCursor().row,K=this.selection.getCursor().column,ee=new p(U,K-1,U,K),ne=this.session.getTextRange(ee);if(!isNaN(parseFloat(ne))&&isFinite(ne)){var B=this.getNumberAt(U,K);if(B){var H=B.value.indexOf(".")>=0?B.start+B.value.indexOf(".")+1:B.end,z=B.start+B.value.length-H,X=parseFloat(B.value);X*=Math.pow(10,z),X+=A*=H!==B.end&&K=H&&B<=z&&(K=Ct,X.selection.clearSelection(),X.moveCursorTo(A,H+ee),X.selection.selectTo(A,z+ee)),H=z});for(var j,G=this.$toggleWordPairs,le=0;le=z&&H<=X&&ue.match(/((?:https?|ftp):\/\/[\S]+)/)){G=ue.replace(/[\s:.,'";}\]]+$/,"");break}z=X}}catch(ve){K={error:ve}}finally{try{le&&!le.done&&(ee=j.return)&&ee.call(j)}finally{if(K)throw K.error}}return G},L.prototype.openLink=function(){var A=this.selection.getCursor(),U=this.findLinkAt(A.row,A.column);return U&&window.open(U,"_blank"),null!=U},L.prototype.removeLines=function(){var A=this.$getSelectedRows();this.session.removeFullLines(A.first,A.last),this.clearSelection()},L.prototype.duplicateSelection=function(){var A=this.selection,U=this.session,K=A.getRange(),ee=A.isBackwards();if(K.isEmpty()){var ne=K.start.row;U.duplicateLines(ne,ne)}else{var B=ee?K.start:K.end,H=U.insert(B,U.getTextRange(K));K.start=B,K.end=H,A.setSelectionRange(K,ee)}},L.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},L.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},L.prototype.moveText=function(A,U,K){return this.session.moveText(A,U,K)},L.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},L.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},L.prototype.$moveLines=function(A,U){var K,ee,ne=this.selection;if(!ne.inMultiSelectMode||this.inVirtualSelectionMode){var B=ne.toOrientedRange();K=this.$getSelectedRows(B),ee=this.session.$moveLines(K.first,K.last,U?0:A),U&&-1==A&&(ee=0),B.moveBy(ee,0),ne.fromOrientedRange(B)}else{var H=ne.rangeList.ranges;ne.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var z=0,X=0,G=H.length,j=0;jve+1)break;ve=Je.last}for(j--,z=this.session.$moveLines(ue,ve,U?0:A),U&&-1==A&&(le=j+1);le<=j;)H[le].moveBy(z,0),le++;U||(z=0),X+=z}ne.fromOrientedRange(ne.ranges[0]),ne.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},L.prototype.$getSelectedRows=function(A){return A=(A||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(A.start.row),last:this.session.getRowFoldEnd(A.end.row)}},L.prototype.onCompositionStart=function(A){this.renderer.showComposition(A)},L.prototype.onCompositionUpdate=function(A){this.renderer.setCompositionText(A)},L.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},L.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},L.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},L.prototype.isRowVisible=function(A){return A>=this.getFirstVisibleRow()&&A<=this.getLastVisibleRow()},L.prototype.isRowFullyVisible=function(A){return A>=this.renderer.getFirstFullyVisibleRow()&&A<=this.renderer.getLastFullyVisibleRow()},L.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},L.prototype.$moveByPage=function(A,U){var K=this.renderer,ee=this.renderer.layerConfig,ne=A*Math.floor(ee.height/ee.lineHeight);!0===U?this.selection.$moveSelection(function(){this.moveCursorBy(ne,0)}):!1===U&&(this.selection.moveCursorBy(ne,0),this.selection.clearSelection());var B=K.scrollTop;K.scrollBy(0,ne*ee.lineHeight),null!=U&&K.scrollCursorIntoView(null,.5),K.animateScrolling(B)},L.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},L.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},L.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},L.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},L.prototype.scrollPageDown=function(){this.$moveByPage(1)},L.prototype.scrollPageUp=function(){this.$moveByPage(-1)},L.prototype.scrollToRow=function(A){this.renderer.scrollToRow(A)},L.prototype.scrollToLine=function(A,U,K,ee){this.renderer.scrollToLine(A,U,K,ee)},L.prototype.centerSelection=function(){var A=this.getSelectionRange(),U={row:Math.floor(A.start.row+(A.end.row-A.start.row)/2),column:Math.floor(A.start.column+(A.end.column-A.start.column)/2)};this.renderer.alignCursor(U,.5)},L.prototype.getCursorPosition=function(){return this.selection.getCursor()},L.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},L.prototype.getSelectionRange=function(){return this.selection.getRange()},L.prototype.selectAll=function(){this.selection.selectAll()},L.prototype.clearSelection=function(){this.selection.clearSelection()},L.prototype.moveCursorTo=function(A,U){this.selection.moveCursorTo(A,U)},L.prototype.moveCursorToPosition=function(A){this.selection.moveCursorToPosition(A)},L.prototype.jumpToMatching=function(A,U){var K=this.getCursorPosition(),ee=new k(this.session,K.row,K.column),ne=ee.getCurrentToken(),B=0;ne&&-1!==ne.type.indexOf("tag-name")&&(ne=ee.stepBackward());var H=ne||ee.stepForward();if(H){var z,le,X=!1,G={},j=K.column-H.start,ue={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(H.value.match(/[{}()\[\]]/g)){for(;j1?G[H.value]++:"=0;--B)this.$tryReplace(K[B],A)&&ee++;return this.selection.setSelectionRange(ne),ee},L.prototype.$tryReplace=function(A,U){var K=this.session.getTextRange(A);return null!==(U=this.$search.replace(K,U))?(A.end=this.session.replace(A,U),A):null},L.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},L.prototype.find=function(A,U,K){U||(U={}),"string"==typeof A||A instanceof RegExp?U.needle=A:"object"==typeof A&&c.mixin(U,A);var ee=this.selection.getRange();null==U.needle&&((A=this.session.getTextRange(ee)||this.$search.$options.needle)||(ee=this.session.getWordRange(ee.start.row,ee.start.column),A=this.session.getTextRange(ee)),this.$search.set({needle:A})),this.$search.set(U),U.start||this.$search.set({start:ee});var ne=this.$search.find(this.session);return U.preventScroll?ne:ne?(this.revealRange(ne,K),ne):(U.backwards?ee.start=ee.end:ee.end=ee.start,void this.selection.setRange(ee))},L.prototype.findNext=function(A,U){this.find({skipCurrent:!0,backwards:!1},A,U)},L.prototype.findPrevious=function(A,U){this.find(A,{skipCurrent:!0,backwards:!0},U)},L.prototype.revealRange=function(A,U){this.session.unfold(A),this.selection.setSelectionRange(A);var K=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(A.start,A.end,.5),!1!==U&&this.renderer.animateScrolling(K)},L.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},L.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},L.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(A){A.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},L.prototype.setAutoScrollEditorIntoView=function(A){if(A){var U,K=this,ee=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var ne=this.$scrollAnchor;ne.style.cssText="position:absolute",this.container.insertBefore(ne,this.container.firstChild);var B=this.on("changeSelection",function(){ee=!0}),H=this.renderer.on("beforeRender",function(){ee&&(U=K.renderer.container.getBoundingClientRect())}),z=this.renderer.on("afterRender",function(){if(ee&&U&&(K.isFocused()||K.searchBox&&K.searchBox.isFocused())){var X=K.renderer,G=X.$cursorLayer.$pixelPos,j=X.layerConfig,le=G.top-j.offset;null!=(ee=G.top>=0&&le+U.top<0||!(G.topwindow.innerHeight)&&null)&&(ne.style.top=le+"px",ne.style.left=G.left+"px",ne.style.height=j.lineHeight+"px",ne.scrollIntoView(ee)),ee=U=null}});this.setAutoScrollEditorIntoView=function(X){X||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",B),this.renderer.off("afterRender",z),this.renderer.off("beforeRender",H))}}},L.prototype.$resetCursorStyle=function(){var A=this.$cursorStyle||"ace",U=this.renderer.$cursorLayer;U&&(U.setSmoothBlinking(/smooth/.test(A)),U.isBlinking=!this.$readOnly&&"wide"!=A,b.setCssClass(U.element,"ace_slim-cursors",/slim/.test(A)))},L.prototype.prompt=function(A,U,K){var ee=this;w.loadModule("ace/ext/prompt",function(ne){ne.prompt(ee,A,U,K)})},L}();S.$uid=0,S.prototype.curOp=null,S.prototype.prevOp={},S.prototype.$mergeableCommands=["backspace","del","insertstring"],S.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],c.implement(S.prototype,_),w.defineOptions(S.prototype,"editor",{selectionStyle:{set:function(L){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:L})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(L){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(L){this.textInput.setReadOnly(L),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(L){this.textInput.setCopyWithEmptySelection(L)},initialValue:!1},cursorStyle:{set:function(L){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(L){this.setAutoScrollEditorIntoView(L)}},keyboardHandler:{set:function(L){this.setKeyboardHandler(L)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(L){this.session.setValue(L)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(L){this.setSession(L)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(L){this.renderer.$gutterLayer.setShowLineNumbers(L),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),L&&this.$relativeLineNumbers?F.attach(this):F.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(L){this.$showLineNumbers&&L?F.attach(this):F.detach(this)}},placeholder:{set:function(L){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var A=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(A&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),b.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(A||this.renderer.placeholderNode)!A&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),b.addCssClass(this.container,"ace_hasPlaceholder");var U=b.createElement("div");U.className="ace_placeholder",U.textContent=this.$placeholder||"",this.renderer.placeholderNode=U,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(L){var K,A={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(ee){ee.blur(),ee.renderer.scroller.focus()},readOnly:!0},U=function(ee){if(ee.target==this.renderer.scroller&&ee.keyCode===N.enter){ee.preventDefault();var ne=this.getCursorPosition().row;this.isRowVisible(ne)||this.scrollToLine(ne,!0,!0),this.focus()}};L?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(f.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",O("editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",O("Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",U.bind(this)),this.commands.addCommand(A),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",O("editor")),this.renderer.$gutter.setAttribute("aria-label",O("Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),K||(K=new I(this)),K.addListener()):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",U.bind(this)),this.commands.removeCommand(A),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),K&&K.removeListener())},initialValue:!1},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var F={getText:function(L,A){return(Math.abs(L.selection.lead.row-A)||A+1+(A<9?"\xb7":""))+""},getWidth:function(L,A,U){return Math.max(A.toString().length,(U.lastRow+1).toString().length,2)*U.characterWidth},update:function(L,A){A.renderer.$loop.schedule(A.renderer.CHANGE_GUTTER)},attach:function(L){L.renderer.$gutterLayer.$renderer=this,L.on("changeSelection",this.update),this.update(null,L)},detach:function(L){L.renderer.$gutterLayer.$renderer==this&&(L.renderer.$gutterLayer.$renderer=null),L.off("changeSelection",this.update),this.update(null,L)}};v.Editor=S}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(t,v,C){"use strict";var E=t("../lib/dom"),c=function(){function b(s,f){this.element=s,this.canvasHeight=f||5e5,this.element.style.height=2*this.canvasHeight+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return b.prototype.moveContainer=function(s){E.translate(this.element,0,-s.firstRowScreen*s.lineHeight%this.canvasHeight-s.offset*this.$offsetCoefficient)},b.prototype.pageChanged=function(s,f){return Math.floor(s.firstRowScreen*s.lineHeight/this.canvasHeight)!==Math.floor(f.firstRowScreen*f.lineHeight/this.canvasHeight)},b.prototype.computeLineTop=function(s,f,d){var a=Math.floor(f.firstRowScreen*f.lineHeight/this.canvasHeight);return d.documentToScreenRow(s,0)*f.lineHeight-a*this.canvasHeight},b.prototype.computeLineHeight=function(s,f,d){return f.lineHeight*d.getRowLineCount(s)},b.prototype.getLength=function(){return this.cells.length},b.prototype.get=function(s){return this.cells[s]},b.prototype.shift=function(){this.$cacheCell(this.cells.shift())},b.prototype.pop=function(){this.$cacheCell(this.cells.pop())},b.prototype.push=function(s){if(Array.isArray(s)){this.cells.push.apply(this.cells,s);for(var f=E.createFragment(this.element),d=0;dM&&(M=(y=h.getNextFoldLine(D=y.end.row+1,y))?y.start.row:1/0),D>_){for(;this.$lines.getLength()>k+1;)this.$lines.pop();break}(w=this.$lines.get(++k))?w.row=D:(w=this.$lines.createCell(D,u,this.session,a),this.$lines.push(w)),this.$renderCell(w,u,y,D),D++}this._signal("afterRender"),this.$updateGutterWidth(u)},r.prototype.$updateGutterWidth=function(u){var h=this.session,p=h.gutterRenderer||this.$renderer,_=h.$firstLineNumber,y=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||h.$useWrapMode)&&(y=h.getLength()+_-1);var M=p?p.getWidth(h,y,u):y.toString().length*u.characterWidth,w=this.$padding||this.$computePadding();(M+=w.left+w.right)!==this.gutterWidth&&!isNaN(M)&&(this.gutterWidth=M,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",M))},r.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var u=this.session.selection.getCursor();this.$cursorRow!==u.row&&(this.$cursorRow=u.row)}},r.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var u=this.session.selection.cursor.row;if(this.$cursorRow=u,!this.$cursorCell||this.$cursorCell.row!=u){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var h=this.$lines.cells;this.$cursorCell=null;for(var p=0;p=this.$cursorRow){if(_.row>this.$cursorRow){var y=this.session.getFoldLine(this.$cursorRow);if(!(p>0&&y&&y.start.row==h[p-1].row))break;_=h[p-1]}_.element.className="ace_gutter-active-line "+_.element.className,this.$cursorCell=_;break}}}}},r.prototype.scrollLines=function(u){var h=this.config;if(this.config=u,this.$updateCursorRow(),this.$lines.pageChanged(h,u))return this.update(u);this.$lines.moveContainer(u);var p=Math.min(u.lastRow+u.gutterOffset,this.session.getLength()-1),_=this.oldLastRow;if(this.oldLastRow=p,!h||_0;y--)this.$lines.shift();if(_>p)for(y=this.session.getFoldedRowCount(p+1,_);y>0;y--)this.$lines.pop();u.firstRow_&&this.$lines.push(this.$renderLines(u,_+1,p)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(u)},r.prototype.$renderLines=function(u,h,p){for(var _=[],y=h,M=this.session.getNextFoldLine(y),w=M?M.start.row:1/0;y>w&&(w=(M=this.session.getNextFoldLine(y=M.end.row+1,M))?M.start.row:1/0),!(y>p);){var k=this.$lines.createCell(y,u,this.session,a);this.$renderCell(k,u,M,y),_.push(k),y++}return _},r.prototype.$renderCell=function(u,h,p,_){var y=u.element,M=this.session,w=y.childNodes[0],k=y.childNodes[1],D=y.childNodes[2],I=D.firstChild,O=M.$firstLineNumber,T=M.$breakpoints,N=M.$decorations,S=M.gutterRenderer||this.$renderer,F=this.$showFoldWidgets&&M.foldWidgets,L=p?p.start.row:Number.MAX_VALUE,A=h.lineHeight+"px",U=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",K=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",ee=(S?S.getText(M,_):_+O).toString();if(this.$highlightGutterLine&&(_==this.$cursorRow||p&&_=L&&this.$cursorRow<=p.end.row)&&(U+="ace_gutter-active-line ",this.$cursorCell!=u&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=u)),T[_]&&(U+=T[_]),N[_]&&(U+=N[_]),this.$annotations[_]&&_!==L&&(U+=this.$annotations[_].className),F){var ne=F[_];null==ne&&(ne=F[_]=M.getFoldWidget(_))}if(ne){var B="ace_fold-widget ace_"+ne,H="start"==ne&&_==L&&_p.right-h.right?"foldWidgets":void 0},r}();function a(r){var u=document.createTextNode("");r.appendChild(u);var h=E.createElement("span");r.appendChild(h);var p=E.createElement("span");r.appendChild(p);var _=E.createElement("span");return p.appendChild(_),r}l.prototype.$fixedWidth=!1,l.prototype.$highlightGutterLine=!0,l.prototype.$renderer="",l.prototype.$showLineNumbers=!0,l.prototype.$showFoldWidgets=!0,c.implement(l.prototype,s),v.Gutter=l}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(t,v,C){"use strict";var E=t("../range").Range,c=t("../lib/dom"),b=function(){function f(d){this.element=c.createElement("div"),this.element.className="ace_layer ace_marker-layer",d.appendChild(this.element)}return f.prototype.setPadding=function(d){this.$padding=d},f.prototype.setSession=function(d){this.session=d},f.prototype.setMarkers=function(d){this.markers=d},f.prototype.elt=function(d,l){var a=-1!=this.i&&this.element.childNodes[this.i];a?this.i++:(a=document.createElement("div"),this.element.appendChild(a),this.i=-1),a.style.cssText=l,a.className=d},f.prototype.update=function(d){if(d){var l;for(var a in this.config=d,this.i=0,this.markers){var r=this.markers[a];if(r.range){var u=r.range.clipRows(d.firstRow,d.lastRow);if(!u.isEmpty())if(u=u.toScreenRange(this.session),r.renderer){var h=this.$getTop(u.start.row,d);r.renderer(l,u,this.$padding+u.start.column*d.characterWidth,h,d)}else"fullLine"==r.type?this.drawFullLineMarker(l,u,r.clazz,d):"screenLine"==r.type?this.drawScreenLineMarker(l,u,r.clazz,d):u.isMultiLine()?"text"==r.type?this.drawTextMarker(l,u,r.clazz,d):this.drawMultiLineMarker(l,u,r.clazz,d):this.drawSingleLineMarker(l,u,r.clazz+" ace_start ace_br15",d)}else r.update(l,this,this.session,d)}if(-1!=this.i)for(;this.ik,y==_),r,y==_?0:1,u)},f.prototype.drawMultiLineMarker=function(d,l,a,r,u){var M,h=this.$padding,p=r.lineHeight,_=this.$getTop(l.start.row,r),y=h+l.start.column*r.characterWidth;if(u=u||"",this.session.$bidiHandler.isBidiRow(l.start.row)?((M=l.clone()).end.row=M.start.row,M.end.column=this.session.getLine(M.start.row).length,this.drawBidiSingleLineMarker(d,M,a+" ace_br1 ace_start",r,null,u)):this.elt(a+" ace_br1 ace_start","height:"+p+"px;right:0;top:"+_+"px;left:"+y+"px;"+(u||"")),this.session.$bidiHandler.isBidiRow(l.end.row)?((M=l.clone()).start.row=M.end.row,M.start.column=0,this.drawBidiSingleLineMarker(d,M,a+" ace_br12",r,null,u)):(_=this.$getTop(l.end.row,r),this.elt(a+" ace_br12","height:"+p+"px;width:"+l.end.column*r.characterWidth+"px;top:"+_+"px;left:"+h+"px;"+(u||""))),!((p=(l.end.row-l.start.row-1)*r.lineHeight)<=0)){_=this.$getTop(l.start.row+1,r);var k=(l.start.column?1:0)|(l.end.column?0:8);this.elt(a+(k?" ace_br"+k:""),"height:"+p+"px;right:0;top:"+_+"px;left:"+h+"px;"+(u||""))}},f.prototype.drawSingleLineMarker=function(d,l,a,r,u,h){if(this.session.$bidiHandler.isBidiRow(l.start.row))return this.drawBidiSingleLineMarker(d,l,a,r,u,h);var p=r.lineHeight,_=(l.end.column+(u||0)-l.start.column)*r.characterWidth,y=this.$getTop(l.start.row,r);this.elt(a,"height:"+p+"px;width:"+_+"px;top:"+y+"px;left:"+(this.$padding+l.start.column*r.characterWidth)+"px;"+(h||""))},f.prototype.drawBidiSingleLineMarker=function(d,l,a,r,u,h){var p=r.lineHeight,_=this.$getTop(l.start.row,r),y=this.$padding;this.session.$bidiHandler.getSelections(l.start.column,l.end.column).forEach(function(w){this.elt(a,"height:"+p+"px;width:"+(w.width+(u||0))+"px;top:"+_+"px;left:"+(y+w.left)+"px;"+(h||""))},this)},f.prototype.drawFullLineMarker=function(d,l,a,r,u){var h=this.$getTop(l.start.row,r),p=r.lineHeight;l.start.row!=l.end.row&&(p+=this.$getTop(l.end.row,r)-h),this.elt(a,"height:"+p+"px;top:"+h+"px;left:0;right:0;"+(u||""))},f.prototype.drawScreenLineMarker=function(d,l,a,r,u){var h=this.$getTop(l.start.row,r);this.elt(a,"height:"+r.lineHeight+"px;top:"+h+"px;left:0;right:0;"+(u||""))},f}();function s(f,d,l,a){return(f?1:0)|(d?2:0)|(l?4:0)|(a?8:0)}b.prototype.$padding=0,v.Marker=b}),ace.define("ace/layer/text_util",["require","exports","module"],function(t,v,C){var E=new Set(["text","rparen","lparen"]);v.isTextToken=function(c){return E.has(c)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(t,v,C){"use strict";var E=t("../lib/oop"),c=t("../lib/dom"),b=t("../lib/lang"),s=t("./lines").Lines,f=t("../lib/event_emitter").EventEmitter,d=t("../config").nls,l=t("./text_util").isTextToken,a=function(){function r(u){this.dom=c,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",u.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new s(this.element)}return r.prototype.$updateEolChar=function(){var u=this.session.doc,p="\n"==u.getNewLineCharacter()&&"windows"!=u.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=p)return this.EOL_CHAR=p,!0},r.prototype.setPadding=function(u){this.$padding=u,this.element.style.margin="0 "+u+"px"},r.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},r.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},r.prototype.$setFontMetrics=function(u){this.$fontMetrics=u,this.$fontMetrics.on("changeCharacterSize",function(h){this._signal("changeCharacterSize",h)}.bind(this)),this.$pollSizeChanges()},r.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},r.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},r.prototype.setSession=function(u){this.session=u,u&&this.$computeTabString()},r.prototype.setShowInvisibles=function(u){return this.showInvisibles!=u&&(this.showInvisibles=u,"string"==typeof u?(this.showSpaces=/tab/i.test(u),this.showTabs=/space/i.test(u),this.showEOL=/eol/i.test(u)):this.showSpaces=this.showTabs=this.showEOL=u,this.$computeTabString(),!0)},r.prototype.setDisplayIndentGuides=function(u){return this.displayIndentGuides!=u&&(this.displayIndentGuides=u,this.$computeTabString(),!0)},r.prototype.setHighlightIndentGuides=function(u){return this.$highlightIndentGuides!==u&&(this.$highlightIndentGuides=u,u)},r.prototype.$computeTabString=function(){var u=this.session.getTabSize();this.tabSize=u;for(var h=this.$tabStrings=[0],p=1;pO&&(O=(I=this.session.getNextFoldLine(D=I.end.row+1,I))?I.start.row:1/0),!(D>y);){var T=M[w++];if(T){this.dom.removeChildren(T),this.$renderLine(T,D,D==O&&I),k&&(T.style.top=this.$lines.computeLineTop(D,u,this.session)+"px");var N=u.lineHeight*this.session.getRowLength(D)+"px";T.style.height!=N&&(k=!0,T.style.height=N)}D++}if(k)for(;w0;y--)this.$lines.shift();if(h.lastRow>u.lastRow)for(y=this.session.getFoldedRowCount(u.lastRow+1,h.lastRow);y>0;y--)this.$lines.pop();u.firstRowh.lastRow&&this.$lines.push(this.$renderLinesFragment(u,h.lastRow+1,u.lastRow)),this.$highlightIndentGuide()},r.prototype.$renderLinesFragment=function(u,h,p){for(var _=[],y=h,M=this.session.getNextFoldLine(y),w=M?M.start.row:1/0;y>w&&(w=(M=this.session.getNextFoldLine(y=M.end.row+1,M))?M.start.row:1/0),!(y>p);){var k=this.$lines.createCell(y,u,this.session),D=k.element;this.dom.removeChildren(D),c.setStyle(D.style,"height",this.$lines.computeLineHeight(y,u,this.session)+"px"),c.setStyle(D.style,"top",this.$lines.computeLineTop(y,u,this.session)+"px"),this.$renderLine(D,y,y==w&&M),D.className=this.$useLineGroups()?"ace_line_group":"ace_line",_.push(k),y++}return _},r.prototype.update=function(u){this.$lines.moveContainer(u),this.config=u;for(var h=u.firstRow,p=u.lastRow,_=this.$lines;_.getLength();)_.pop();_.push(this.$renderLinesFragment(u,h,p))},r.prototype.$renderToken=function(u,h,p,_){for(var k,y=this,M=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,w=this.dom.createFragment(this.element),D=0;k=M.exec(_);){var I=k[1],O=k[2],T=k[3],N=k[4],S=k[5];if(y.showSpaces||!O){var F=D!=k.index?_.slice(D,k.index):"";if(D=k.index+k[0].length,F&&w.appendChild(this.dom.createTextNode(F,this.element)),I){var L=y.session.getScreenTabSize(h+k.index);w.appendChild(y.$tabStrings[L].cloneNode(!0)),h+=L-1}else O?y.showSpaces?((A=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",A.textContent=b.stringRepeat(y.SPACE_CHAR,O.length),w.appendChild(A)):w.appendChild(this.dom.createTextNode(O,this.element)):T?((A=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",A.textContent=b.stringRepeat(y.SPACE_CHAR,T.length),w.appendChild(A)):N?(h+=1,(A=this.dom.createElement("span")).style.width=2*y.config.characterWidth+"px",A.className=y.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",A.textContent=y.showSpaces?y.SPACE_CHAR:N,w.appendChild(A)):S&&(h+=1,(A=this.dom.createElement("span")).style.width=2*y.config.characterWidth+"px",A.className="ace_cjk",A.textContent=S,w.appendChild(A))}}if(w.appendChild(this.dom.createTextNode(D?_.slice(D):_,this.element)),l(p.type))u.appendChild(w);else{var U="ace_"+p.type.replace(/\./g," ace_"),A=this.dom.createElement("span");"fold"==p.type&&(A.style.width=p.value.length*this.config.characterWidth+"px",A.setAttribute("title",d("Unfold code"))),A.className=U,A.appendChild(w),u.appendChild(A)}return h+_.length},r.prototype.renderIndentGuide=function(u,h,p){var _=h.search(this.$indentGuideRe);if(_<=0||_>=p)return h;if(" "==h[0]){for(var y=(_-=_%this.tabSize)/this.tabSize,M=0;MM[w].start.row?-1:1;break}if(!this.$highlightIndentGuideMarker.end&&""!==u[h.row]&&h.column===u[h.row].length)for(this.$highlightIndentGuideMarker.dir=1,w=h.row+1;w0)for(var y=0;y<_.length;y++)if(_[y].classList&&_[y].classList.contains("ace_indent-guide-active")){_[y].classList.remove("ace_indent-guide-active");break}}},r.prototype.$setIndentGuideActive=function(u,h){if(""!==this.session.doc.getLine(u.row)){var _=u.element.childNodes;if(_){var y=_[h-1];y&&y.classList&&y.classList.contains("ace_indent-guide")&&y.classList.add("ace_indent-guide-active")}}},r.prototype.$renderHighlightIndentGuide=function(){if(this.$lines){var u=this.$lines.cells;this.$clearActiveIndentGuide();var h=this.$highlightIndentGuideMarker.indentLevel;if(0!==h)if(1===this.$highlightIndentGuideMarker.dir)for(var p=0;p=this.$highlightIndentGuideMarker.start+1){if(_.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(_,h)}}else for(p=u.length-1;p>=0;p--)if(_=u[p],this.$highlightIndentGuideMarker.end&&_.row=M;)w=this.$renderToken(k,w,I,O.substring(0,M-_)),O=O.substring(M-_),_=M,k=this.$createLineElement(),u.appendChild(k),k.appendChild(this.dom.createTextNode(b.stringRepeat("\xa0",p.indent),this.element)),w=0,M=p[++y]||Number.MAX_VALUE;0!=O.length&&(_+=O.length,w=this.$renderToken(k,w,I,O))}}p[p.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(k,w,null,"",!0)},r.prototype.$renderSimpleLine=function(u,h){for(var p=0,_=0;_this.MAX_LINE_LENGTH)return this.$renderOverflowMessage(u,p,y,M);p=this.$renderToken(u,p,y,M)}}},r.prototype.$renderOverflowMessage=function(u,h,p,_,y){p&&this.$renderToken(u,h,p,_.slice(0,this.MAX_LINE_LENGTH-h));var M=this.dom.createElement("span");M.className="ace_inline_button ace_keyword ace_toggle_wrap",M.textContent=y?"":"",u.appendChild(M)},r.prototype.$renderLine=function(u,h,p){if(!p&&0!=p&&(p=this.session.getFoldLine(h)),p)var _=this.$getFoldLineTokens(h,p);else _=this.session.getTokens(h);var y=u;if(_.length){var M=this.session.getRowSplitData(h);M&&M.length?(this.$renderWrappedLine(u,_,M),y=u.lastChild):(y=u,this.$useLineGroups()&&(y=this.$createLineElement(),u.appendChild(y)),this.$renderSimpleLine(y,_))}else this.$useLineGroups()&&(y=this.$createLineElement(),u.appendChild(y));if(this.showEOL&&y){p&&(h=p.end.row);var w=this.dom.createElement("span");w.className="ace_invisible ace_invisible_eol",w.textContent=h==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,y.appendChild(w)}},r.prototype.$getFoldLineTokens=function(u,h){var p=this.session,_=[],M=p.getTokens(u);return h.walk(function(w,k,D,I,O){null!=w?_.push({type:"fold",value:w}):(O&&(M=p.getTokens(k)),M.length&&function y(w,k,D){for(var I=0,O=0;O+w[I].value.lengthD-k&&(T=T.substring(0,D-k)),_.push({type:w[I].type,value:T}),O=k+T.length,I+=1);OD?{type:w[I].type,value:T.substring(0,D-O)}:w[I]),O+=T.length,I+=1}}(M,I,D))},h.end.row,this.session.getLine(h.end.row).length),_},r.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},r}();a.prototype.EOF_CHAR="\xb6",a.prototype.EOL_CHAR_LF="\xac",a.prototype.EOL_CHAR_CRLF="\xa4",a.prototype.EOL_CHAR=a.prototype.EOL_CHAR_LF,a.prototype.TAB_CHAR="\u2014",a.prototype.SPACE_CHAR="\xb7",a.prototype.$padding=0,a.prototype.MAX_LINE_LENGTH=1e4,a.prototype.showInvisibles=!1,a.prototype.showSpaces=!1,a.prototype.showTabs=!1,a.prototype.showEOL=!1,a.prototype.displayIndentGuides=!0,a.prototype.$highlightIndentGuides=!0,a.prototype.$tabStrings=[],a.prototype.destroy={},a.prototype.onChangeTabSize=a.prototype.$computeTabString,E.implement(a.prototype,f),v.Text=a}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(t,v,C){"use strict";var E=t("../lib/dom"),c=function(){function b(s){this.element=E.createElement("div"),this.element.className="ace_layer ace_cursor-layer",s.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),E.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return b.prototype.$updateOpacity=function(s){for(var f=this.cursors,d=f.length;d--;)E.setStyle(f[d].style,"opacity",s?"":"0")},b.prototype.$startCssAnimation=function(){for(var s=this.cursors,f=s.length;f--;)s[f].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&E.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},b.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,E.removeCssClass(this.element,"ace_animate-blinking")},b.prototype.setPadding=function(s){this.$padding=s},b.prototype.setSession=function(s){this.session=s},b.prototype.setBlinking=function(s){s!=this.isBlinking&&(this.isBlinking=s,this.restartTimer())},b.prototype.setBlinkInterval=function(s){s!=this.blinkInterval&&(this.blinkInterval=s,this.restartTimer())},b.prototype.setSmoothBlinking=function(s){s!=this.smoothBlinking&&(this.smoothBlinking=s,E.setCssClass(this.element,"ace_smooth-blinking",s),this.$updateCursors(!0),this.restartTimer())},b.prototype.addCursor=function(){var s=E.createElement("div");return s.className="ace_cursor",this.element.appendChild(s),this.cursors.push(s),s},b.prototype.removeCursor=function(){if(this.cursors.length>1){var s=this.cursors.pop();return s.parentNode.removeChild(s),s}},b.prototype.hideCursor=function(){this.isVisible=!1,E.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},b.prototype.showCursor=function(){this.isVisible=!0,E.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},b.prototype.restartTimer=function(){var s=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,E.removeCssClass(this.element,"ace_smooth-blinking")),s(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&E.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),E.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var f=function(){this.timeoutId=setTimeout(function(){s(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){s(!0),f()},this.blinkInterval),f()}else this.$stopCssAnimation()},b.prototype.getPixelPosition=function(s,f){if(!this.config||!this.session)return{left:0,top:0};s||(s=this.session.selection.getCursor());var d=this.session.documentToScreenPosition(s);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(d.row,s.row)?this.session.$bidiHandler.getPosLeft(d.column):d.column*this.config.characterWidth),top:(d.row-(f?this.config.firstRowScreen:0))*this.config.lineHeight}},b.prototype.isCursorInView=function(s,f){return s.top>=0&&s.tops.height+s.offset||r.top<0)&&d>1)){var u=this.cursors[l++]||this.addCursor(),h=u.style;this.drawCursor?this.drawCursor(u,r,s,f[d],this.session):this.isCursorInView(r,s)?(E.setStyle(h,"display","block"),E.translate(u,r.left,r.top),E.setStyle(h,"width",Math.round(s.characterWidth)+"px"),E.setStyle(h,"height",s.lineHeight+"px")):E.setStyle(h,"display","none")}}for(;this.cursors.length>l;)this.removeCursor();var p=this.session.getOverwrite();this.$setOverwrite(p),this.$pixelPos=r,this.restartTimer()},b.prototype.$setOverwrite=function(s){s!=this.overwrite&&(this.overwrite=s,s?E.addCssClass(this.element,"ace_overwrite-cursors"):E.removeCssClass(this.element,"ace_overwrite-cursors"))},b.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},b}();c.prototype.$padding=0,c.prototype.drawCursor=null,v.Cursor=c}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(t,v,C){"use strict";var E=this&&this.__extends||function(){var u=function(h,p){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,y){_.__proto__=y}||function(_,y){for(var M in y)Object.prototype.hasOwnProperty.call(y,M)&&(_[M]=y[M])})(h,p)};return function(h,p){if("function"!=typeof p&&null!==p)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");function _(){this.constructor=h}u(h,p),h.prototype=null===p?Object.create(p):(_.prototype=p.prototype,new _)}}(),c=t("./lib/oop"),b=t("./lib/dom"),s=t("./lib/event"),f=t("./lib/event_emitter").EventEmitter,d=32768,l=function(){function u(h,p){this.element=b.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+p,this.inner=b.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xa0",this.element.appendChild(this.inner),h.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,s.addListener(this.element,"scroll",this.onScroll.bind(this)),s.addListener(this.element,"mousedown",s.preventDefault)}return u.prototype.setVisible=function(h){this.element.style.display=h?"":"none",this.isVisible=h,this.coeff=1},u}();c.implement(l.prototype,f);var a=function(u){function h(p,_){var y=u.call(this,p,"-v")||this;return y.scrollTop=0,y.scrollHeight=0,_.$scrollbarWidth=y.width=b.scrollbarWidth(p.ownerDocument),y.inner.style.width=y.element.style.width=(y.width||15)+5+"px",y.$minWidth=0,y}return E(h,u),h.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var p=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-p)/(this.coeff-p)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},h.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},h.prototype.setHeight=function(p){this.element.style.height=p+"px"},h.prototype.setScrollHeight=function(p){this.scrollHeight=p,p>d?(this.coeff=d/p,p=d):1!=this.coeff&&(this.coeff=1),this.inner.style.height=p+"px"},h.prototype.setScrollTop=function(p){this.scrollTop!=p&&(this.skipEvent=!0,this.scrollTop=p,this.element.scrollTop=p*this.coeff)},h}(l);a.prototype.setInnerHeight=a.prototype.setScrollHeight;var r=function(u){function h(p,_){var y=u.call(this,p,"-h")||this;return y.scrollLeft=0,y.height=_.$scrollbarWidth,y.inner.style.height=y.element.style.height=(y.height||15)+5+"px",y}return E(h,u),h.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},h.prototype.getHeight=function(){return this.isVisible?this.height:0},h.prototype.setWidth=function(p){this.element.style.width=p+"px"},h.prototype.setInnerWidth=function(p){this.inner.style.width=p+"px"},h.prototype.setScrollWidth=function(p){this.inner.style.width=p+"px"},h.prototype.setScrollLeft=function(p){this.scrollLeft!=p&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=p)},h}(l);v.ScrollBar=a,v.ScrollBarV=a,v.ScrollBarH=r,v.VScrollBar=a,v.HScrollBar=r}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(t,v,C){"use strict";var E=this&&this.__extends||function(){var r=function(u,h){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,_){p.__proto__=_}||function(p,_){for(var y in _)Object.prototype.hasOwnProperty.call(_,y)&&(p[y]=_[y])})(u,h)};return function(u,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function p(){this.constructor=u}r(u,h),u.prototype=null===h?Object.create(h):(p.prototype=h.prototype,new p)}}(),c=t("./lib/oop"),b=t("./lib/dom"),s=t("./lib/event"),f=t("./lib/event_emitter").EventEmitter;b.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css",!1);var d=function(){function r(u,h){this.element=b.createElement("div"),this.element.className="ace_sb"+h,this.inner=b.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,u.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,s.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return r.prototype.setVisible=function(u){this.element.style.display=u?"":"none",this.isVisible=u,this.coeff=1},r}();c.implement(d.prototype,f);var l=function(r){function u(h,p){var _=r.call(this,h,"-v")||this;return _.scrollTop=0,_.scrollHeight=0,_.parent=h,_.width=_.VScrollWidth,_.renderer=p,_.inner.style.width=_.element.style.width=(_.width||15)+"px",_.$minWidth=0,_}return E(u,r),u.prototype.onMouseDown=function(h,p){if("mousedown"===h&&0===s.getButton(p)&&2!==p.detail){if(p.target===this.inner){var _=this,y=p.clientY,k=p.clientY,D=this.thumbTop;s.capture(this.inner,function(N){y=N.clientY},function(){clearInterval(O)});var O=setInterval(function(){if(void 0!==y){var N=_.scrollTopFromThumbTop(D+y-k);N!==_.scrollTop&&_._emit("scroll",{data:N})}},20);return s.preventDefault(p)}var T=p.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(T)}),s.preventDefault(p)}},u.prototype.getHeight=function(){return this.height},u.prototype.scrollTopFromThumbTop=function(h){var p=h*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(p>>=0)<0?p=0:p>this.pageHeight-this.viewHeight&&(p=this.pageHeight-this.viewHeight),p},u.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},u.prototype.setHeight=function(h){this.height=Math.max(0,h),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},u.prototype.setScrollHeight=function(h,p){this.pageHeight===h&&!p||(this.pageHeight=h,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},u.prototype.setScrollTop=function(h){this.scrollTop=h,h<0&&(h=0),this.thumbTop=h*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},u}(d);l.prototype.setInnerHeight=l.prototype.setScrollHeight;var a=function(r){function u(h,p){var _=r.call(this,h,"-h")||this;return _.scrollLeft=0,_.scrollWidth=0,_.height=_.HScrollHeight,_.inner.style.height=_.element.style.height=(_.height||12)+"px",_.renderer=p,_}return E(u,r),u.prototype.onMouseDown=function(h,p){if("mousedown"===h&&0===s.getButton(p)&&2!==p.detail){if(p.target===this.inner){var _=this,y=p.clientX,k=p.clientX,D=this.thumbLeft;s.capture(this.inner,function(N){y=N.clientX},function(){clearInterval(O)});var O=setInterval(function(){if(void 0!==y){var N=_.scrollLeftFromThumbLeft(D+y-k);N!==_.scrollLeft&&_._emit("scroll",{data:N})}},20);return s.preventDefault(p)}var T=p.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(T)}),s.preventDefault(p)}},u.prototype.getHeight=function(){return this.isVisible?this.height:0},u.prototype.scrollLeftFromThumbLeft=function(h){var p=h*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(p>>=0)<0?p=0:p>this.pageWidth-this.viewWidth&&(p=this.pageWidth-this.viewWidth),p},u.prototype.setWidth=function(h){this.width=Math.max(0,h),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},u.prototype.setScrollWidth=function(h,p){this.pageWidth===h&&!p||(this.pageWidth=h,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},u.prototype.setScrollLeft=function(h){this.scrollLeft=h,h<0&&(h=0),this.thumbLeft=h*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},u}(d);a.prototype.setInnerWidth=a.prototype.setScrollWidth,v.ScrollBar=l,v.ScrollBarV=l,v.ScrollBarH=a,v.VScrollBar=l,v.HScrollBar=a}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(t,v,C){"use strict";var E=t("./lib/event"),c=function(){function b(s,f){this.onRender=s,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=f||window;var d=this;this._flush=function(l){d.pending=!1;var a=d.changes;if(a&&(E.blockIdle(100),d.changes=0,d.onRender(a)),d.changes){if(d.$recursionLimit--<0)return;d.schedule()}else d.$recursionLimit=2}}return b.prototype.schedule=function(s){this.changes=this.changes|s,this.changes&&!this.pending&&(E.nextFrame(this._flush),this.pending=!0)},b.prototype.clear=function(s){var f=this.changes;return this.changes=0,f},b}();v.RenderLoop=c}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(t,v,C){var E=t("../lib/oop"),c=t("../lib/dom"),b=t("../lib/lang"),s=t("../lib/event"),f=t("../lib/useragent"),d=t("../lib/event_emitter").EventEmitter,l=512,a="function"==typeof ResizeObserver,r=200,u=function(){function h(p){this.el=c.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=c.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=c.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),p.appendChild(this.el),this.$measureNode.textContent=b.stringRepeat("X",l),this.$characterSize={width:0,height:0},a?this.$addObserver():this.checkForSizeChanges()}return h.prototype.$setMeasureNodeStyles=function(p,_){p.width=p.height="auto",p.left=p.top="0px",p.visibility="hidden",p.position="absolute",p.whiteSpace="pre",f.isIE<8?p["font-family"]="inherit":p.font="inherit",p.overflow=_?"hidden":"visible"},h.prototype.checkForSizeChanges=function(p){if(void 0===p&&(p=this.$measureSizes()),p&&(this.$characterSize.width!==p.width||this.$characterSize.height!==p.height)){this.$measureNode.style.fontWeight="bold";var _=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=p,this.charSizes=Object.create(null),this.allowBoldFonts=_&&_.width===p.width&&_.height===p.height,this._emit("changeCharacterSize",{data:p})}},h.prototype.$addObserver=function(){var p=this;this.$observer=new window.ResizeObserver(function(_){p.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},h.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var p=this;return this.$pollSizeChangesTimer=s.onIdle(function _(){p.checkForSizeChanges(),s.onIdle(_,500)},500)},h.prototype.setPolling=function(p){p?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},h.prototype.$measureSizes=function(p){var _={height:(p||this.$measureNode).clientHeight,width:(p||this.$measureNode).clientWidth/l};return 0===_.width||0===_.height?null:_},h.prototype.$measureCharWidth=function(p){return this.$main.textContent=b.stringRepeat(p,l),this.$main.getBoundingClientRect().width/l},h.prototype.getCharacterWidth=function(p){var _=this.charSizes[p];return void 0===_&&(_=this.charSizes[p]=this.$measureCharWidth(p)/this.$characterSize.width),_},h.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},h.prototype.$getZoom=function(p){return p&&p.parentElement?(window.getComputedStyle(p).zoom||1)*this.$getZoom(p.parentElement):1},h.prototype.$initTransformMeasureNodes=function(){var p=function(_,y){return["div",{style:"position: absolute;top:"+_+"px;left:"+y+"px;"}]};this.els=c.buildDom([p(0,0),p(r,0),p(0,r),p(r,r)],this.el)},h.prototype.transformCoordinates=function(p,_){function M(H,z,X){var G=H[1]*z[0]-H[0]*z[1];return[(-z[1]*X[0]+z[0]*X[1])/G,(+H[1]*X[0]-H[0]*X[1])/G]}function w(H,z){return[H[0]-z[0],H[1]-z[1]]}function k(H,z){return[H[0]+z[0],H[1]+z[1]]}function D(H,z){return[H*z[0],H*z[1]]}function I(H){var z=H.getBoundingClientRect();return[z.left,z.top]}p&&(p=D(1/this.$getZoom(this.el),p)),this.els||this.$initTransformMeasureNodes();var O=I(this.els[0]),T=I(this.els[1]),N=I(this.els[2]),S=I(this.els[3]),F=M(w(S,T),w(S,N),w(k(T,N),k(S,O))),L=D(1+F[0],w(T,O)),A=D(1+F[1],w(N,O));if(_){var U=_,K=F[0]*U[0]/r+F[1]*U[1]/r+1,ee=k(D(U[0],L),D(U[1],A));return k(D(1/K/r,ee),O)}var ne=w(p,O),B=M(w(L,D(F[0],ne)),w(A,D(F[1],ne)),ne);return D(r,B)},h}();u.prototype.$characterSize={width:0,height:0},E.implement(u.prototype,d),v.FontMetrics=u}),ace.define("ace/css/editor-css",["require","exports","module"],function(t,v,C){C.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n overflow: auto;\n max-width: min(60em, 66vw);\n overscroll-behavior: contain;\n}\n.ace_tooltip pre {\n white-space: pre-wrap;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n white-space: pre;\n}\n\n.ace_screenreader-only {\n position:absolute;\n left:-10000px;\n top:auto;\n width:1px;\n height:1px;\n overflow:hidden;\n}'}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(t,v,C){"use strict";var E=t("../lib/dom"),c=t("../lib/oop"),b=t("../lib/event_emitter").EventEmitter,s=function(){function f(d,l){this.canvas=E.createElement("canvas"),this.renderer=l,this.pixelRatio=1,this.maxHeight=l.layerConfig.maxHeight,this.lineHeight=l.layerConfig.lineHeight,this.canvasHeight=d.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=d.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},d.element.appendChild(this.canvas)}return f.prototype.$updateDecorators=function(d){var l=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;d&&(this.maxHeight=d.maxHeight,this.lineHeight=d.lineHeight,this.canvasHeight=d.height,this.heightRatio=(d.lastRow+1)*this.lineHeightF.priority?1:0});for(var _=this.renderer.session.$foldData,y=0;ythis.canvasHeight&&(T=this.canvasHeight-this.halfMinDecorationHeight),D=Math.round(T-this.halfMinDecorationHeight),I=Math.round(T+this.halfMinDecorationHeight)}r.fillStyle=l[h[y].type]||null,r.fillRect(0,k,this.canvasWidth,I-D)}}var N=this.renderer.session.selection.getCursor();N&&(w=this.compensateFoldRows(N.row,_),k=Math.round((N.row-w)*this.lineHeight*this.heightRatio),r.fillStyle="rgba(0, 0, 0, 0.5)",r.fillRect(0,k,this.canvasWidth,2))},f.prototype.compensateFoldRows=function(d,l){var a=0;if(l&&l.length>0)for(var r=0;rl[r].start.row&&d=l[r].end.row&&(a+=l[r].end.row-l[r].start.row);return a},f}();c.implement(s.prototype,b),v.Decorator=s}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],function(t,v,C){"use strict";var E=t("./lib/oop"),c=t("./lib/dom"),b=t("./lib/lang"),s=t("./config"),f=t("./layer/gutter").Gutter,d=t("./layer/marker").Marker,l=t("./layer/text").Text,a=t("./layer/cursor").Cursor,r=t("./scrollbar").HScrollBar,u=t("./scrollbar").VScrollBar,h=t("./scrollbar_custom").HScrollBar,p=t("./scrollbar_custom").VScrollBar,_=t("./renderloop").RenderLoop,y=t("./layer/font_metrics").FontMetrics,M=t("./lib/event_emitter").EventEmitter,w=t("./css/editor-css"),k=t("./layer/decorators").Decorator,D=t("./lib/useragent");c.importCssString(w,"ace_editor.css",!1);var I=function(){function O(T,N){var S=this;this.container=T||c.createElement("div"),c.addCssClass(this.container,"ace_editor"),c.HI_DPI&&c.addCssClass(this.container,"ace_hidpi"),this.setTheme(N),null==s.get("useStrictCSP")&&s.set("useStrictCSP",!1),this.$gutter=c.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=c.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=c.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new f(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new d(this.content);var F=this.$textLayer=new l(this.content);this.canvas=F.element,this.$markerFront=new d(this.content),this.$cursorLayer=new a(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new u(this.container,this),this.scrollBarH=new r(this.container,this),this.scrollBarV.on("scroll",function(L){S.$scrollAnimation||S.session.setScrollTop(L.data-S.scrollMargin.top)}),this.scrollBarH.on("scroll",function(L){S.$scrollAnimation||S.session.setScrollLeft(L.data-S.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new y(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(L){S.updateCharacterSize(),S.onResize(!0,S.gutterWidth,S.$size.width,S.$size.height),S._signal("changeCharacterSize",L)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!D.isIOS,this.$loop=new _(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),s.resetOptions(this),s._signal("renderer",this)}return O.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),c.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},O.prototype.setSession=function(T){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=T,T&&this.scrollMargin.top&&T.getScrollTop()<=0&&T.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(T),this.$markerBack.setSession(T),this.$markerFront.setSession(T),this.$gutterLayer.setSession(T),this.$textLayer.setSession(T),T&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},O.prototype.updateLines=function(T,N,S){if(void 0===N&&(N=1/0),this.$changedLines?(this.$changedLines.firstRow>T&&(this.$changedLines.firstRow=T),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},O.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},O.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},O.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},O.prototype.updateFull=function(T){T?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},O.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},O.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},O.prototype.onResize=function(T,N,S,F){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=T?1:0;var L=this.container;F||(F=L.clientHeight||L.scrollHeight),S||(S=L.clientWidth||L.scrollWidth);var A=this.$updateCachedSize(T,N,S,F);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!S&&!F)return this.resizing=0;T&&(this.$gutterLayer.$padding=null),T?this.$renderChanges(A|this.$changes,!0):this.$loop.schedule(A|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},O.prototype.$updateCachedSize=function(T,N,S,F){var L=0,A=this.$size,U={width:A.width,height:A.height,scrollerHeight:A.scrollerHeight,scrollerWidth:A.scrollerWidth};if((F-=this.$extraHeight||0)&&(T||A.height!=F)&&(A.height=F,L|=this.CHANGE_SIZE,A.scrollerHeight=A.height,this.$horizScroll&&(A.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(A.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",L|=this.CHANGE_SCROLL),S&&(T||A.width!=S)){L|=this.CHANGE_SIZE,A.width=S,null==N&&(N=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=N,c.setStyle(this.scrollBarH.element.style,"left",N+"px"),c.setStyle(this.scroller.style,"left",N+this.margin.left+"px"),A.scrollerWidth=Math.max(0,S-N-this.scrollBarV.getWidth()-this.margin.h),c.setStyle(this.$gutter.style,"left",this.margin.left+"px");var K=this.scrollBarV.getWidth()+"px";c.setStyle(this.scrollBarH.element.style,"right",K),c.setStyle(this.scroller.style,"right",K),c.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(A.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||T)&&(L|=this.CHANGE_FULL)}return A.$dirty=!S||!F,L&&this._signal("resize",U),L},O.prototype.onGutterResize=function(T){var N=this.$showGutter?T:0;N!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,N,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},O.prototype.adjustWrapLimit=function(){var N=Math.floor((this.$size.scrollerWidth-2*this.$padding)/this.characterWidth);return this.session.adjustWrapLimit(N,this.$showPrintMargin&&this.$printMarginColumn)},O.prototype.setAnimatedScroll=function(T){this.setOption("animatedScroll",T)},O.prototype.getAnimatedScroll=function(){return this.$animatedScroll},O.prototype.setShowInvisibles=function(T){this.setOption("showInvisibles",T),this.session.$bidiHandler.setShowInvisibles(T)},O.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},O.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},O.prototype.setDisplayIndentGuides=function(T){this.setOption("displayIndentGuides",T)},O.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},O.prototype.setHighlightIndentGuides=function(T){this.setOption("highlightIndentGuides",T)},O.prototype.setShowPrintMargin=function(T){this.setOption("showPrintMargin",T)},O.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},O.prototype.setPrintMarginColumn=function(T){this.setOption("printMarginColumn",T)},O.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},O.prototype.getShowGutter=function(){return this.getOption("showGutter")},O.prototype.setShowGutter=function(T){return this.setOption("showGutter",T)},O.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},O.prototype.setFadeFoldWidgets=function(T){this.setOption("fadeFoldWidgets",T)},O.prototype.setHighlightGutterLine=function(T){this.setOption("highlightGutterLine",T)},O.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},O.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var T=c.createElement("div");T.className="ace_layer ace_print-margin-layer",this.$printMarginEl=c.createElement("div"),this.$printMarginEl.className="ace_print-margin",T.appendChild(this.$printMarginEl),this.content.insertBefore(T,this.content.firstChild)}var N=this.$printMarginEl.style;N.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",N.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},O.prototype.getContainerElement=function(){return this.container},O.prototype.getMouseEventTarget=function(){return this.scroller},O.prototype.getTextAreaContainer=function(){return this.container},O.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var T=this.textarea.style,N=this.$composition;if(!this.$keepTextAreaAtCursor&&!N)return void c.translate(this.textarea,-100,0);var S=this.$cursorLayer.$pixelPos;if(S){N&&N.markerRange&&(S=this.$cursorLayer.getPixelPosition(N.markerRange.start,!0));var F=this.layerConfig,L=S.top,A=S.left,U=N&&N.useTextareaForIME||D.isMobile?this.lineHeight:1;if((L-=F.offset)<0||L>F.height-U)return void c.translate(this.textarea,0,0);var K=1,ee=this.$size.height-U;N?N.useTextareaForIME?K=this.characterWidth*this.session.$getStringScreenWidth(this.textarea.value)[0]:L+=this.lineHeight+2:L+=this.lineHeight,(A-=this.scrollLeft)>this.$size.scrollerWidth-K&&(A=this.$size.scrollerWidth-K),A+=this.gutterWidth+this.margin.left,c.setStyle(T,"height",U+"px"),c.setStyle(T,"width",K+"px"),c.translate(this.textarea,Math.min(A,this.$size.scrollerWidth-K),Math.min(L,ee))}}},O.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},O.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},O.prototype.getLastFullyVisibleRow=function(){var T=this.layerConfig,N=T.lastRow;return this.session.documentToScreenRow(N,0)*T.lineHeight-this.session.getScrollTop()>T.height-T.lineHeight?N-1:N},O.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},O.prototype.setPadding=function(T){this.$padding=T,this.$textLayer.setPadding(T),this.$cursorLayer.setPadding(T),this.$markerFront.setPadding(T),this.$markerBack.setPadding(T),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},O.prototype.setScrollMargin=function(T,N,S,F){var L=this.scrollMargin;L.top=0|T,L.bottom=0|N,L.right=0|F,L.left=0|S,L.v=L.top+L.bottom,L.h=L.left+L.right,L.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-L.top),this.updateFull()},O.prototype.setMargin=function(T,N,S,F){var L=this.margin;L.top=0|T,L.bottom=0|N,L.right=0|F,L.left=0|S,L.v=L.top+L.bottom,L.h=L.left+L.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},O.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},O.prototype.setHScrollBarAlwaysVisible=function(T){this.setOption("hScrollBarAlwaysVisible",T)},O.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},O.prototype.setVScrollBarAlwaysVisible=function(T){this.setOption("vScrollBarAlwaysVisible",T)},O.prototype.$updateScrollBarV=function(){var T=this.layerConfig.maxHeight,N=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>(T-=(N-this.lineHeight)*this.$scrollPastEnd)-N&&(T=this.scrollTop+N,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(T+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},O.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},O.prototype.freeze=function(){this.$frozen=!0},O.prototype.unfreeze=function(){this.$frozen=!1},O.prototype.$renderChanges=function(T,N){if(this.$changes&&(T|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(T||N)){if(this.$size.$dirty)return this.$changes|=T,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",T),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var S=this.layerConfig;if(T&this.CHANGE_FULL||T&this.CHANGE_SIZE||T&this.CHANGE_TEXT||T&this.CHANGE_LINES||T&this.CHANGE_SCROLL||T&this.CHANGE_H_SCROLL){if(T|=this.$computeLayerConfig()|this.$loop.clear(),S.firstRow!=this.layerConfig.firstRow&&S.firstRowScreen==this.layerConfig.firstRowScreen){var F=this.scrollTop+(S.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;F>0&&(this.scrollTop=F,T|=this.CHANGE_SCROLL,T|=this.$computeLayerConfig()|this.$loop.clear())}S=this.layerConfig,this.$updateScrollBarV(),T&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),c.translate(this.content,-this.scrollLeft,-S.offset);var A=S.minHeight+"px";c.setStyle(this.content.style,"width",S.width+2*this.$padding+"px"),c.setStyle(this.content.style,"height",A)}return T&this.CHANGE_H_SCROLL&&(c.translate(this.content,-this.scrollLeft,-S.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),T&this.CHANGE_FULL?(this.$changedLines=null,this.$textLayer.update(S),this.$showGutter&&this.$gutterLayer.update(S),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(S),this.$markerBack.update(S),this.$markerFront.update(S),this.$cursorLayer.update(S),this.$moveTextAreaToCursor(),void this._signal("afterRender",T)):T&this.CHANGE_SCROLL?(this.$changedLines=null,T&this.CHANGE_TEXT||T&this.CHANGE_LINES?this.$textLayer.update(S):this.$textLayer.scrollLines(S),this.$showGutter&&(T&this.CHANGE_GUTTER||T&this.CHANGE_LINES?this.$gutterLayer.update(S):this.$gutterLayer.scrollLines(S)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(S),this.$markerBack.update(S),this.$markerFront.update(S),this.$cursorLayer.update(S),this.$moveTextAreaToCursor(),void this._signal("afterRender",T)):(T&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(S),this.$showGutter&&this.$gutterLayer.update(S),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(S)):T&this.CHANGE_LINES?((this.$updateLines()||T&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(S),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(S)):T&this.CHANGE_TEXT||T&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(S),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(S)):T&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(S),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(S)),T&this.CHANGE_CURSOR&&(this.$cursorLayer.update(S),this.$moveTextAreaToCursor()),T&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(S),T&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(S),void this._signal("afterRender",T))}this.$changes|=T},O.prototype.$autosize=function(){var T=this.session.getScreenLength()*this.lineHeight,N=this.$maxLines*this.lineHeight,S=Math.min(N,Math.max((this.$minLines||1)*this.lineHeight,T))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(S+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&S>this.$maxPixelHeight&&(S=this.$maxPixelHeight);var L=!(S<=2*this.lineHeight)&&T>N;if(S!=this.desiredHeight||this.$size.height!=this.desiredHeight||L!=this.$vScroll){L!=this.$vScroll&&(this.$vScroll=L,this.scrollBarV.setVisible(L));var A=this.container.clientWidth;this.container.style.height=S+"px",this.$updateCachedSize(!0,this.$gutterWidth,A,S),this.desiredHeight=S,this._signal("autosize")}},O.prototype.$computeLayerConfig=function(){var T=this.session,N=this.$size,S=N.height<=2*this.lineHeight,L=this.session.getScreenLength()*this.lineHeight,A=this.$getLongestLine(),U=!S&&(this.$hScrollBarAlwaysVisible||N.scrollerWidth-A-2*this.$padding<0),K=this.$horizScroll!==U;K&&(this.$horizScroll=U,this.scrollBarH.setVisible(U));var ee=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var ne=N.scrollerHeight+this.lineHeight,B=!this.$maxLines&&this.$scrollPastEnd?(N.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;L+=B;var H=this.scrollMargin;this.session.setScrollTop(Math.max(-H.top,Math.min(this.scrollTop,L-N.scrollerHeight+H.bottom))),this.session.setScrollLeft(Math.max(-H.left,Math.min(this.scrollLeft,A+2*this.$padding-N.scrollerWidth+H.right)));var z=!S&&(this.$vScrollBarAlwaysVisible||N.scrollerHeight-L+B<0||this.scrollTop>H.top),X=ee!==z;X&&(this.$vScroll=z,this.scrollBarV.setVisible(z));var ve,Je,G=this.scrollTop%this.lineHeight,j=Math.ceil(ne/this.lineHeight)-1,le=Math.max(0,Math.round((this.scrollTop-G)/this.lineHeight)),ue=le+j,_t=this.lineHeight;le=T.screenToDocumentRow(le,0);var ct=T.getFoldLine(le);ct&&(le=ct.start.row),ve=T.documentToScreenRow(le,0),Je=T.getRowLength(le)*_t,ue=Math.min(T.screenToDocumentRow(ue,0),T.getLength()-1),ne=N.scrollerHeight+T.getRowLength(ue)*_t+Je,G=this.scrollTop-ve*_t;var Ct=0;return(this.layerConfig.width!=A||K)&&(Ct=this.CHANGE_H_SCROLL),(K||X)&&(Ct|=this.$updateCachedSize(!0,this.gutterWidth,N.width,N.height),this._signal("scrollbarVisibilityChanged"),X&&(A=this.$getLongestLine())),this.layerConfig={width:A,padding:this.$padding,firstRow:le,firstRowScreen:ve,lastRow:ue,lineHeight:_t,characterWidth:this.characterWidth,minHeight:ne,maxHeight:L,offset:G,gutterOffset:_t?Math.max(0,Math.ceil((G+N.height-N.scrollerHeight)/_t)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(A-this.$padding),Ct},O.prototype.$updateLines=function(){if(this.$changedLines){var T=this.$changedLines.firstRow,N=this.$changedLines.lastRow;this.$changedLines=null;var S=this.layerConfig;if(!(T>S.lastRow+1||Nthis.$textLayer.MAX_LINE_LENGTH&&(T=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(T*this.characterWidth))},O.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},O.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},O.prototype.addGutterDecoration=function(T,N){this.$gutterLayer.addGutterDecoration(T,N)},O.prototype.removeGutterDecoration=function(T,N){this.$gutterLayer.removeGutterDecoration(T,N)},O.prototype.updateBreakpoints=function(T){this._rows=T,this.$loop.schedule(this.CHANGE_GUTTER)},O.prototype.setAnnotations=function(T){this.$gutterLayer.setAnnotations(T),this.$loop.schedule(this.CHANGE_GUTTER)},O.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},O.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},O.prototype.showCursor=function(){this.$cursorLayer.showCursor()},O.prototype.scrollSelectionIntoView=function(T,N,S){this.scrollCursorIntoView(T,S),this.scrollCursorIntoView(N,S)},O.prototype.scrollCursorIntoView=function(T,N,S){if(0!==this.$size.scrollerHeight){var F=this.$cursorLayer.getPixelPosition(T),L=F.left,A=F.top,U=S&&S.top||0,K=S&&S.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var ee=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;ee+U>A?(N&&ee+U>A+this.lineHeight&&(A-=N*this.$size.scrollerHeight),0===A&&(A=-this.scrollMargin.top),this.session.setScrollTop(A)):ee+this.$size.scrollerHeight-K=1-this.scrollMargin.top||N>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||T<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||T>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},O.prototype.pixelToScreenCoordinates=function(T,N){var S;if(this.$hasCssTransforms){S={top:0,left:0};var F=this.$fontMetrics.transformCoordinates([T,N]);T=F[1]-this.gutterWidth-this.margin.left,N=F[0]}else S=this.scroller.getBoundingClientRect();var L=T+this.scrollLeft-S.left-this.$padding,A=L/this.characterWidth,U=Math.floor((N+this.scrollTop-S.top)/this.lineHeight),K=this.$blockCursor?Math.floor(A):Math.round(A);return{row:U,column:K,side:A-K>0?1:-1,offsetX:L}},O.prototype.screenToTextCoordinates=function(T,N){var S;if(this.$hasCssTransforms){S={top:0,left:0};var F=this.$fontMetrics.transformCoordinates([T,N]);T=F[1]-this.gutterWidth-this.margin.left,N=F[0]}else S=this.scroller.getBoundingClientRect();var L=T+this.scrollLeft-S.left-this.$padding,A=L/this.characterWidth,U=this.$blockCursor?Math.floor(A):Math.round(A),K=Math.floor((N+this.scrollTop-S.top)/this.lineHeight);return this.session.screenToDocumentPosition(K,Math.max(U,0),L)},O.prototype.textToScreenCoordinates=function(T,N){var S=this.scroller.getBoundingClientRect(),F=this.session.documentToScreenPosition(T,N),L=this.$padding+(this.session.$bidiHandler.isBidiRow(F.row,T)?this.session.$bidiHandler.getPosLeft(F.column):Math.round(F.column*this.characterWidth));return{pageX:S.left+L-this.scrollLeft,pageY:S.top+F.row*this.lineHeight-this.scrollTop}},O.prototype.visualizeFocus=function(){c.addCssClass(this.container,"ace_focus")},O.prototype.visualizeBlur=function(){c.removeCssClass(this.container,"ace_focus")},O.prototype.showComposition=function(T){this.$composition=T,T.cssText||(T.cssText=this.textarea.style.cssText),null==T.useTextareaForIME&&(T.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(c.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):T.markerId=this.session.addMarker(T.markerRange,"ace_composition_marker","text")},O.prototype.setCompositionText=function(T){var N=this.session.selection.cursor;this.addToken(T,"composition_placeholder",N.row,N.column),this.$moveTextAreaToCursor()},O.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),c.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var T=this.session.selection.cursor;this.removeExtraToken(T.row,T.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},O.prototype.setGhostText=function(T,N){var S=this.session.selection.cursor,F=N||{row:S.row,column:S.column};this.removeGhostText();var L=T.split("\n");if(this.addToken(L[0],"ghost_text",F.row,F.column),this.$ghostText={text:T,position:{row:F.row,column:F.column}},L.length>1){this.$ghostTextWidget={text:L.slice(1).join("\n"),row:F.row,column:F.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var A=this.$cursorLayer.getPixelPosition(F,!0),K=this.container.getBoundingClientRect().height,ee=L.length*this.lineHeight;if(ee1||Math.abs(T.$size.height-F)>1?T.$resizeTimer.delay():T.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},O}();I.prototype.CHANGE_CURSOR=1,I.prototype.CHANGE_MARKER=2,I.prototype.CHANGE_GUTTER=4,I.prototype.CHANGE_SCROLL=8,I.prototype.CHANGE_LINES=16,I.prototype.CHANGE_TEXT=32,I.prototype.CHANGE_SIZE=64,I.prototype.CHANGE_MARKER_BACK=128,I.prototype.CHANGE_MARKER_FRONT=256,I.prototype.CHANGE_FULL=512,I.prototype.CHANGE_H_SCROLL=1024,I.prototype.$changes=0,I.prototype.$padding=null,I.prototype.$frozen=!1,I.prototype.STEPS=8,E.implement(I.prototype,M),s.defineOptions(I.prototype,"renderer",{useResizeObserver:{set:function(O){!O&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):O&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(O){this.$textLayer.setShowInvisibles(O)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(O){"number"==typeof O&&(this.$printMarginColumn=O),this.$showPrintMargin=!!O,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(O){this.$gutter.style.display=O?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(O){this.$gutterLayer.$useSvgGutterIcons=O},initialValue:!1},showFoldedAnnotations:{set:function(O){this.$gutterLayer.$showFoldedAnnotations=O},initialValue:!1},fadeFoldWidgets:{set:function(O){c.setCssClass(this.$gutter,"ace_fade-fold-widgets",O)},initialValue:!1},showFoldWidgets:{set:function(O){this.$gutterLayer.setShowFoldWidgets(O),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(O){this.$textLayer.setDisplayIndentGuides(O)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(O){1==this.$textLayer.setHighlightIndentGuides(O)?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(O){this.$gutterLayer.setHighlightGutterLine(O),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(O){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(O){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(O){"number"==typeof O&&(O+="px"),this.container.style.fontSize=O,this.updateFontSize()},initialValue:12},fontFamily:{set:function(O){this.container.style.fontFamily=O,this.updateFontSize()}},maxLines:{set:function(O){this.updateFull()}},minLines:{set:function(O){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(O){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(O){this.$scrollPastEnd!=(O=+O||0)&&(this.$scrollPastEnd=O,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(O){this.$gutterLayer.$fixedWidth=!!O,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(O){this.$updateCustomScrollbar(O)},initialValue:!1},theme:{set:function(O){this.setTheme(O)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!D.isMobile&&!D.isIE}}),v.VirtualRenderer=I}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(t,v,C){"use strict";var E=t("../lib/oop"),c=t("../lib/net"),b=t("../lib/event_emitter").EventEmitter,s=t("../config");function d(r){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(s.get("loadWorkerFromBlob")){var u=function f(r){var u="importScripts('"+c.qualifyURL(r)+"');";try{return new Blob([u],{type:"application/javascript"})}catch{var p=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return p.append(u),p.getBlob("application/javascript")}}(r),p=(window.URL||window.webkitURL).createObjectURL(u);return new Worker(p)}return new Worker(r)}var l=function(r){r.postMessage||(r=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=r,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){E.implement(this,b),this.$createWorkerFromOldConfig=function(r,u,h,p,_){if(t.nameToUrl&&!t.toUrl&&(t.toUrl=t.nameToUrl),s.get("packaged")||!t.toUrl)p=p||s.moduleUrl(u,"worker");else{var y=this.$normalizePath;p=p||y(t.toUrl("ace/worker/worker.js",null,"_"));var M={};r.forEach(function(w){M[w]=y(t.toUrl(w,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=d(p),_&&this.send("importScripts",_),this.$worker.postMessage({init:!0,tlns:M,module:u,classname:h}),this.$worker},this.onMessage=function(r){var u=r.data;switch(u.type){case"event":this._signal(u.name,{data:u.data});break;case"call":var h=this.callbacks[u.id];h&&(h(u.data),delete this.callbacks[u.id]);break;case"error":this.reportError(u.data);break;case"log":window.console&&console.log&&console.log.apply(console,u.data)}},this.reportError=function(r){window.console&&console.error&&console.error(r)},this.$normalizePath=function(r){return c.qualifyURL(r)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(r){r.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(r,u){this.$worker.postMessage({command:r,args:u})},this.call=function(r,u,h){if(h){var p=this.callbackId++;this.callbacks[p]=h,u.push(p)}this.send(r,u)},this.emit=function(r,u){try{u.data&&u.data.err&&(u.data.err={message:u.data.err.message,stack:u.data.err.stack,code:u.data.err.code}),this.$worker&&this.$worker.postMessage({event:r,data:{data:u.data}})}catch(h){console.error(h.stack)}},this.attachToDocument=function(r){this.$doc&&this.terminate(),this.$doc=r,this.call("setValue",[r.getValue()]),r.on("change",this.changeListener,!0)},this.changeListener=function(r){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),this.deltaQueue.push(r.start,"insert"==r.action?r.lines:r.end)},this.$sendDeltaQueue=function(){var r=this.deltaQueue;r&&(this.deltaQueue=null,r.length>50&&r.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:r}))}}).call(l.prototype),v.UIWorkerClient=function(r,u,h){var p=null,_=!1,y=Object.create(b),M=[],w=new l({messageBuffer:M,terminate:function(){},postMessage:function(D){M.push(D),p&&(_?setTimeout(k):k())}});w.setEmitSync=function(D){_=D};var k=function(){var D=M.shift();D.command?p[D.command].apply(p,D.args):D.event&&y._signal(D.event,D.data)};return y.postMessage=function(D){w.onMessage({data:D})},y.callback=function(D,I){this.postMessage({type:"call",id:I,data:D})},y.emit=function(D,I){this.postMessage({type:"event",name:D,data:I})},s.loadModule(["worker",u],function(D){for(p=new D[h](y);M.length;)k()}),w},v.WorkerClient=l,v.createWorker=d}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(t,v,C){"use strict";var E=t("./range").Range,c=t("./lib/event_emitter").EventEmitter,b=t("./lib/oop"),s=function(){function f(d,l,a,r,u,h){var p=this;this.length=l,this.session=d,this.doc=d.getDocument(),this.mainClass=u,this.othersClass=h,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=r,this.$onCursorChange=function(){setTimeout(function(){p.onCursorChange()})},this.$pos=a;var _=d.getUndoManager().$undoStack||d.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=_.length,this.setup(),d.selection.on("changeCursor",this.$onCursorChange)}return f.prototype.setup=function(){var d=this,l=this.doc,a=this.session;this.selectionBefore=a.selection.toJSON(),a.selection.inMultiSelectMode&&a.selection.toSingleRange(),this.pos=l.createAnchor(this.$pos.row,this.$pos.column);var r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=a.addMarker(new E(r.row,r.column,r.row,r.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(u){var h=l.createAnchor(u.row,u.column);h.$insertRight=!0,h.detach(),d.others.push(h)}),a.setUndoSelect(!1)},f.prototype.showOtherMarkers=function(){if(!this.othersActive){var d=this.session,l=this;this.othersActive=!0,this.others.forEach(function(a){a.markerId=d.addMarker(new E(a.row,a.column,a.row,a.column+l.length),l.othersClass,null,!1)})}},f.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var d=0;d=this.pos.column&&l.start.column<=this.pos.column+this.length+1,u=l.start.column-this.pos.column;if(this.updateAnchors(d),r&&(this.length+=a),r&&!this.session.$fromUndo)if("insert"===d.action)for(var h=this.others.length-1;h>=0;h--)this.doc.insertMergedLines(_={row:(p=this.others[h]).row,column:p.column+u},d.lines);else if("remove"===d.action)for(h=this.others.length-1;h>=0;h--){var p,_;this.doc.remove(new E((_={row:(p=this.others[h]).row,column:p.column+u}).row,_.column,_.row,_.column-a))}this.$updating=!1,this.updateMarkers()}},f.prototype.updateAnchors=function(d){this.pos.onChange(d);for(var l=this.others.length;l--;)this.others[l].onChange(d);this.updateMarkers()},f.prototype.updateMarkers=function(){if(!this.$updating){var d=this,l=this.session,a=function(u,h){l.removeMarker(u.markerId),u.markerId=l.addMarker(new E(u.row,u.column,u.row,u.column+d.length),h,null,!1)};a(this.pos,this.mainClass);for(var r=this.others.length;r--;)a(this.others[r],this.othersClass)}},f.prototype.onCursorChange=function(d){if(!this.$updating&&this.session){var l=this.session.selection.getCursor();l.row===this.pos.row&&l.column>=this.pos.column&&l.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",d)):(this.hideOtherMarkers(),this._emit("cursorLeave",d))}},f.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},f.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var d=this.session.getUndoManager(),l=(d.$undoStack||d.$undostack).length-this.$undoStackDepth,a=0;a1?c.multiSelect.joinSelections():c.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(c){c.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(c){c.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(c){c.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],v.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(c){c.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(c){return c&&c.inMultiSelectMode}}];var E=t("../keyboard/hash_handler").HashHandler;v.keyboardHandler=new E(v.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(t,v,C){var E=t("./range_list").RangeList,c=t("./range").Range,b=t("./selection").Selection,s=t("./mouse/multi_select_handler").onMouseDown,f=t("./lib/event"),d=t("./lib/lang"),l=t("./commands/multi_select_commands");v.commands=l.defaultCommands.concat(l.multiSelectCommands);var r=new(0,t("./search").Search),h=t("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(h.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(w,k){if(w){if(!this.inMultiSelectMode&&0===this.rangeCount){var D=this.toOrientedRange();if(this.rangeList.add(D),this.rangeList.add(w),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),k||this.fromOrientedRange(w);this.rangeList.removeAll(),this.rangeList.add(D),this.$onAddRange(D)}w.cursor||(w.cursor=w.end);var I=this.rangeList.add(w);return this.$onAddRange(w),I.length&&this.$onRemoveRange(I),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),k||this.fromOrientedRange(w)}},this.toSingleRange=function(w){w=w||this.ranges[0];var k=this.rangeList.removeAll();k.length&&this.$onRemoveRange(k),w&&this.fromOrientedRange(w)},this.substractPoint=function(w){var k=this.rangeList.substractPoint(w);if(k)return this.$onRemoveRange(k),k[0]},this.mergeOverlappingRanges=function(){var w=this.rangeList.merge();w.length&&this.$onRemoveRange(w)},this.$onAddRange=function(w){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(w),this._signal("addRange",{range:w})},this.$onRemoveRange=function(w){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var k=this.rangeList.ranges.pop();w.push(k),this.rangeCount=0}for(var D=w.length;D--;){var I=this.ranges.indexOf(w[D]);this.ranges.splice(I,1)}this._signal("removeRange",{ranges:w}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(k=k||this.ranges[0])&&!k.isEqual(this.getRange())&&this.fromOrientedRange(k)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new E,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var w=this.ranges.length?this.ranges:[this.getRange()],k=[],D=0;D1){var w=this.rangeList.ranges,k=w[w.length-1],D=c.fromPoints(w[0].start,k.end);this.toSingleRange(),this.setSelectionRange(D,k.cursor==k.start)}else{var I=this.session.documentToScreenPosition(this.cursor),O=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(I,O).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(w,k,D){var I=[],O=w.column0;)B--;if(B>0)for(var H=0;I[H].isEmpty();)H++;for(var z=B;z>=H;z--)I[z].isEmpty()&&I.splice(z,1)}return I}}.call(b.prototype);var p=t("./editor").Editor;function _(w,k){return w.row==k.row&&w.column==k.column}function y(w){w.$multiselectOnSessionChange||(w.$onAddRange=w.$onAddRange.bind(w),w.$onRemoveRange=w.$onRemoveRange.bind(w),w.$onMultiSelect=w.$onMultiSelect.bind(w),w.$onSingleSelect=w.$onSingleSelect.bind(w),w.$multiselectOnSessionChange=v.onSessionChange.bind(w),w.$checkMultiselectChange=w.$checkMultiselectChange.bind(w),w.$multiselectOnSessionChange(w),w.on("changeSession",w.$multiselectOnSessionChange),w.on("mousedown",s),w.commands.addCommands(l.defaultCommands),function M(w){if(w.textInput){var k=w.textInput.getElement(),D=!1;f.addListener(k,"keydown",function(O){w.$blockSelectEnabled&&18==O.keyCode&&!(O.ctrlKey||O.shiftKey||O.metaKey)?D||(w.renderer.setMouseCursor("crosshair"),D=!0):D&&I()},w),f.addListener(k,"keyup",I,w),f.addListener(k,"blur",I,w)}function I(O){D&&(w.renderer.setMouseCursor(""),D=!1)}}(w))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(w){w.cursor||(w.cursor=w.end);var k=this.getSelectionStyle();return w.marker=this.session.addMarker(w,"ace_selection",k),this.session.$selectionMarkers.push(w),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,w},this.removeSelectionMarker=function(w){if(w.marker){this.session.removeMarker(w.marker);var k=this.session.$selectionMarkers.indexOf(w);-1!=k&&this.session.$selectionMarkers.splice(k,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(w){for(var k=this.session.$selectionMarkers,D=w.length;D--;){var I=w[D];if(I.marker){this.session.removeMarker(I.marker);var O=k.indexOf(I);-1!=O&&k.splice(O,1)}}this.session.selectionMarkerCount=k.length},this.$onAddRange=function(w){this.addSelectionMarker(w.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(w){this.removeSelectionMarkers(w.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(w){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(l.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(w){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(l.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(w){var k=w.command,D=w.editor;if(D.multiSelect){if(k.multiSelectAction)"forEach"==k.multiSelectAction?I=D.forEachSelection(k,w.args):"forEachLine"==k.multiSelectAction?I=D.forEachSelection(k,w.args,!0):"single"==k.multiSelectAction?(D.exitMultiSelectMode(),I=k.exec(D,w.args||{})):I=k.multiSelectAction(D,w.args||{});else{var I=k.exec(D,w.args||{});D.multiSelect.addRange(D.multiSelect.toOrientedRange()),D.multiSelect.mergeOverlappingRanges()}return I}},this.forEachSelection=function(w,k,D){if(!this.inVirtualSelectionMode){var L,O=1==D||D&&D.$byLines,T=this.session,N=this.selection,F=(D&&D.keepOrder?N:N.rangeList).ranges;if(!F.length)return w.exec?w.exec(this,k||{}):w(this,k||{});var A=N._eventRegistry;N._eventRegistry={};var U=new b(T);this.inVirtualSelectionMode=!0;for(var K=F.length;K--;){if(O)for(;K>0&&F[K].start.row==F[K-1].end.row;)K--;U.fromOrientedRange(F[K]),U.index=K,this.selection=T.selection=U;var ee=w.exec?w.exec(this,k||{}):w(this,k||{});!L&&void 0!==ee&&(L=ee),U.toOrientedRange(F[K])}U.detach(),this.selection=T.selection=N,this.inVirtualSelectionMode=!1,N._eventRegistry=A,N.mergeOverlappingRanges(),N.ranges[0]&&N.fromOrientedRange(N.ranges[0]);var ne=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),ne&&ne.from==ne.to&&this.renderer.animateScrolling(ne.from),L}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var w="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var k=this.multiSelect.rangeList.ranges,D=[],I=0;IK&&(K=H.column),XG?w.insert(z,d.stringRepeat(" ",X-G)):w.remove(new c(z.row,z.column,z.row,z.column-X+G)),B.start.column=B.end.column=K,B.start.row=B.end.row=z.row,B.cursor=B.end}),k.fromOrientedRange(D[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var T=this.selection.getRange(),N=T.start.row,S=T.end.row,F=N==S;if(F){var A,L=this.session.getLength();do{A=this.session.getLine(S)}while(/[=:]/.test(A)&&++S0);N<0&&(N=0),S>=L&&(S=L-1)}var U=this.session.removeFullLines(N,S);U=this.$reAlignText(U,F),this.session.insert({row:N,column:0},U.join("\n")+"\n"),F||(T.start.column=0,T.end.column=U[U.length-1].length),this.selection.setRange(T)}},this.$reAlignText=function(w,k){var O,T,N,D=!0,I=!0;return w.map(function(U){var K=U.match(/(\s*)(.*?)(\s*)([=:].*)/);return K?null==O?(O=K[1].length,T=K[2].length,N=K[3].length,K):(O+T+N!=K[1].length+K[2].length+K[3].length&&(I=!1),O!=K[1].length&&(D=!1),O>K[1].length&&(O=K[1].length),TK[3].length&&(N=K[3].length),K):[U]}).map(k?F:D?I?function L(U){return U[2]?S(O+T-U[2].length)+U[2]+S(N)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]}:F:function A(U){return U[2]?S(O)+U[2]+S(N)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]});function S(U){return d.stringRepeat(" ",U)}function F(U){return U[2]?S(O)+U[2]+S(T-U[2].length+N)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]}}}).call(p.prototype),v.onSessionChange=function(w){var k=w.session;k&&!k.multiSelect&&(k.$selectionMarkers=[],k.selection.$initRangeList(),k.multiSelect=k.selection),this.multiSelect=k&&k.multiSelect;var D=w.oldSession;D&&(D.multiSelect.off("addRange",this.$onAddRange),D.multiSelect.off("removeRange",this.$onRemoveRange),D.multiSelect.off("multiSelect",this.$onMultiSelect),D.multiSelect.off("singleSelect",this.$onSingleSelect),D.multiSelect.lead.off("change",this.$checkMultiselectChange),D.multiSelect.anchor.off("change",this.$checkMultiselectChange)),k&&(k.multiSelect.on("addRange",this.$onAddRange),k.multiSelect.on("removeRange",this.$onRemoveRange),k.multiSelect.on("multiSelect",this.$onMultiSelect),k.multiSelect.on("singleSelect",this.$onSingleSelect),k.multiSelect.lead.on("change",this.$checkMultiselectChange),k.multiSelect.anchor.on("change",this.$checkMultiselectChange)),k&&this.inMultiSelectMode!=k.selection.inMultiSelectMode&&(k.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},v.MultiSelect=y,t("./config").defineOptions(p.prototype,"editor",{enableMultiselect:{set:function(w){y(this),w?this.on("mousedown",s):this.off("mousedown",s)},value:!0},enableBlockSelect:{set:function(w){this.$blockSelectEnabled=w},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(t,v,C){"use strict";var E=t("../../range").Range,c=v.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(b,s,f){var d=b.getLine(f);return this.foldingStartMarker.test(d)?"start":"markbeginend"==s&&this.foldingStopMarker&&this.foldingStopMarker.test(d)?"end":""},this.getFoldWidgetRange=function(b,s,f){return null},this.indentationBlock=function(b,s,f){var d=/\S/,l=b.getLine(s),a=l.search(d);if(-1!=a){for(var r=f||l.length,u=b.getLength(),h=s,p=s;++sh){var M=b.getLine(p).length;return new E(h,r,p,M)}}},this.openingBracketBlock=function(b,s,f,d,l){var a={row:f,column:d+1},r=b.$findClosingBracket(s,a,l);if(r){var u=b.foldWidgets[r.row];return null==u&&(u=b.getFoldWidget(r.row)),"start"==u&&r.row>a.row&&(r.row--,r.column=b.getLine(r.row).length),E.fromPoints(a,r)}},this.closingBracketBlock=function(b,s,f,d,l){var a={row:f,column:d},r=b.$findOpeningBracket(s,a);if(r)return r.column++,a.column--,E.fromPoints(r,a)}}).call(c.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(t,v,C){"use strict";var E=t("../line_widgets").LineWidgets,c=t("../lib/dom"),b=t("../range").Range,s=t("../config").nls;v.showErrorMarker=function(l,a){var r=l.session;r.widgetManager||(r.widgetManager=new E(r),r.widgetManager.attach(l));var u=l.getCursorPosition(),h=u.row,p=r.widgetManager.getWidgetsAtRow(h).filter(function(T){return"errorMarker"==T.type})[0];p?p.destroy():h-=a;var y,_=function d(l,a,r){var u=l.getAnnotations().sort(b.comparePoints);if(u.length){var h=function f(l,a,r){for(var u=0,h=l.length-1;u<=h;){var p=u+h>>1,_=r(a,l[p]);if(_>0)u=p+1;else{if(!(_<0))return p;h=p-1}}return-(u+1)}(u,{row:a,column:-1},b.comparePoints);h<0&&(h=-h-1),h>=u.length?h=r>0?0:u.length-1:0===h&&r<0&&(h=u.length-1);var p=u[h];if(p&&r){if(p.row===a){do{p=u[h+=r]}while(p&&p.row===a);if(!p)return u.slice()}var _=[];a=p.row;do{_[r<0?"unshift":"push"](p),p=u[h+=r]}while(p&&p.row==a);return _.length&&_}}}(r,h,a);if(_){var M=_[0];u.column=(M.pos&&"number"!=typeof M.column?M.pos.sc:M.column)||0,u.row=M.row,y=l.renderer.$gutterLayer.$annotations[u.row]}else{if(p)return;y={text:[s("Looks good!")],className:"ace_ok"}}l.session.unfold(u.row),l.selection.moveToPosition(u);var w={row:u.row,fixedWidth:!0,coverGutter:!0,el:c.createElement("div"),type:"errorMarker"},k=w.el.appendChild(c.createElement("div")),D=w.el.appendChild(c.createElement("div"));D.className="error_widget_arrow "+y.className;var I=l.renderer.$cursorLayer.getPixelPosition(u).left;D.style.left=I+l.renderer.gutterWidth-5+"px",w.el.className="error_widget_wrapper",k.className="error_widget "+y.className,k.innerHTML=y.text.join("
"),k.appendChild(c.createElement("div"));var O=function(T,N,S){if(0===N&&("esc"===S||"return"===S))return w.destroy(),{command:"null"}};w.destroy=function(){l.$mouseHandler.isMousePressed||(l.keyBinding.removeKeyboardHandler(O),r.widgetManager.removeLineWidget(w),l.off("changeSelection",w.destroy),l.off("changeSession",w.destroy),l.off("mouseup",w.destroy),l.off("change",w.destroy))},l.keyBinding.addKeyboardHandler(O),l.on("changeSelection",w.destroy),l.on("changeSession",w.destroy),l.on("mouseup",w.destroy),l.on("change",w.destroy),l.session.widgetManager.addLineWidget(w),w.el.onmousedown=l.focus.bind(l),l.renderer.scrollCursorIntoView(null,.5,{bottom:w.el.offsetHeight})},c.importCssString("\n .error_widget_wrapper {\n background: inherit;\n color: inherit;\n border:none\n }\n .error_widget {\n border-top: solid 2px;\n border-bottom: solid 2px;\n margin: 5px 0;\n padding: 10px 40px;\n white-space: pre-wrap;\n }\n .error_widget.ace_error, .error_widget_arrow.ace_error{\n border-color: #ff5a5a\n }\n .error_widget.ace_warning, .error_widget_arrow.ace_warning{\n border-color: #F1D817\n }\n .error_widget.ace_info, .error_widget_arrow.ace_info{\n border-color: #5a5a5a\n }\n .error_widget.ace_ok, .error_widget_arrow.ace_ok{\n border-color: #5aaa5a\n }\n .error_widget_arrow {\n position: absolute;\n border: solid 5px;\n border-top-color: transparent!important;\n border-right-color: transparent!important;\n border-left-color: transparent!important;\n top: -5px;\n }\n","error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],function(t,v,C){"use strict";t("./loader_build")(v);var E=t("./lib/dom"),c=t("./range").Range,b=t("./editor").Editor,s=t("./edit_session").EditSession,f=t("./undomanager").UndoManager,d=t("./virtual_renderer").VirtualRenderer;t("./worker/worker_client"),t("./keyboard/hash_handler"),t("./placeholder"),t("./multi_select"),t("./mode/folding/fold_mode"),t("./theme/textmate"),t("./ext/error_marker"),v.config=t("./config"),v.edit=function(l,a){if("string"==typeof l){var r=l;if(!(l=document.getElementById(r)))throw new Error("ace.edit can't find div #"+r)}if(l&&l.env&&l.env.editor instanceof b)return l.env.editor;var u="";if(l&&/input|textarea/i.test(l.tagName)){var h=l;u=h.value,l=E.createElement("pre"),h.parentNode.replaceChild(l,h)}else l&&(u=l.textContent,l.innerHTML="");var p=v.createEditSession(u),_=new b(new d(l),p,a),y={document:p,editor:_,onResize:_.resize.bind(_,null)};return h&&(y.textarea=h),_.on("destroy",function(){y.editor.container.env=null}),_.container.env=_.env=y,_},v.createEditSession=function(l,a){var r=new s(l,a);return r.setUndoManager(new f),r},v.Range=c,v.Editor=b,v.EditSession=s,v.UndoManager=f,v.VirtualRenderer=d,v.version=v.config.version}),ace.require(["ace/ace"],function(t){t&&(t.config.init(!0),t.define=ace.define);var v=function(){return this}();for(var C in!v&&typeof window<"u"&&(v=window),!v&&typeof self<"u"&&(v=self),v.ace||(v.ace=t),t)t.hasOwnProperty(C)&&(v.ace[C]=t[C]);v.ace.default=v.ace,De&&(De.exports=v.ace)})},7836:(De,te,g)=>{De=g.nmd(De),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(t,v,C){"use strict";var E=t("../lib/oop"),c=t("./text_highlight_rules").TextHighlightRules,b=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};E.inherits(b,c),v.JsonHighlightRules=b}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(t,v,C){"use strict";var E=t("../range").Range,c=function(){};(function(){this.checkOutdent=function(b,s){return!!/^\s+$/.test(b)&&/^\s*\}/.test(s)},this.autoOutdent=function(b,s){var d=b.getLine(s).match(/^(\s*\})/);if(!d)return 0;var l=d[1].length,a=b.findMatchingBracket({row:s,column:l});if(!a||a.row==s)return 0;var r=this.$getIndent(b.getLine(a.row));b.replace(new E(s,0,s,l-1),r)},this.$getIndent=function(b){return b.match(/^\s*/)[0]}}).call(c.prototype),v.MatchingBraceOutdent=c}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(t,v,C){"use strict";var E=t("../../lib/oop"),c=t("../../range").Range,b=t("./fold_mode").FoldMode,s=v.FoldMode=function(f){f&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+f.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+f.end)))};E.inherits(s,b),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(f,d,l){var a=f.getLine(l);if(this.singleLineBlockCommentRe.test(a)&&!this.startRegionRe.test(a)&&!this.tripleStarBlockCommentRe.test(a))return"";var r=this._getFoldWidgetBase(f,d,l);return!r&&this.startRegionRe.test(a)?"start":r},this.getFoldWidgetRange=function(f,d,l,a){var p,r=f.getLine(l);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(f,r,l);if(p=r.match(this.foldingStartMarker)){var u=p.index;if(p[1])return this.openingBracketBlock(f,p[1],l,u);var h=f.getCommentFoldRange(l,u+p[0].length,1);return h&&!h.isMultiLine()&&(a?h=this.getSectionRange(f,l):"all"!=d&&(h=null)),h}return"markbegin"!==d&&(p=r.match(this.foldingStopMarker))?(u=p.index+p[0].length,p[1]?this.closingBracketBlock(f,p[1],l,u):f.getCommentFoldRange(l,u,-1)):void 0},this.getSectionRange=function(f,d){for(var l=f.getLine(d),a=l.search(/\S/),r=d,u=l.length,h=d+=1,p=f.getLength();++d_)break;var y=this.getFoldWidgetRange(f,"all",d);if(y){if(y.start.row<=r)break;if(y.isMultiLine())d=y.end.row;else if(a==_)break}h=d}}return new c(r,u,h,f.getLine(h).length)},this.getCommentRegionBlock=function(f,d,l){for(var a=d.search(/\s*$/),r=f.getLength(),u=l,h=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,p=1;++lu)return new c(u,a,l,d.length)}}.call(s.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],function(t,v,C){"use strict";var E=t("../lib/oop"),c=t("./text").Mode,b=t("./json_highlight_rules").JsonHighlightRules,s=t("./matching_brace_outdent").MatchingBraceOutdent,f=t("./folding/cstyle").FoldMode,d=t("../worker/worker_client").WorkerClient,l=function(){this.HighlightRules=b,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new f};E.inherits(l,c),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(a,r,u){var h=this.$getIndent(r);return"start"==a&&r.match(/^.*[\{\(\[]\s*$/)&&(h+=u),h},this.checkOutdent=function(a,r,u){return this.$outdent.checkOutdent(r,u)},this.autoOutdent=function(a,r,u){this.$outdent.autoOutdent(r,u)},this.createWorker=function(a){var r=new d(["ace"],"ace/mode/json_worker","JsonWorker");return r.attachToDocument(a.getDocument()),r.on("annotate",function(u){a.setAnnotations(u.data)}),r.on("terminate",function(){a.clearAnnotations()}),r},this.$id="ace/mode/json"}.call(l.prototype),v.Mode=l}),ace.require(["ace/mode/json"],function(t){De&&(De.exports=t)})},5148:(De,te,g)=>{De=g.nmd(De),ace.define("ace/theme/textmate",["require","exports","module","ace/theme/textmate-css","ace/lib/dom"],function(t,v,C){"use strict";v.isDark=!1,v.cssClass="ace-tm",v.cssText=t("./textmate-css"),v.$id="ace/theme/textmate",t("../lib/dom").importCssString(v.cssText,v.cssClass,!1)}),ace.require(["ace/theme/textmate"],function(t){De&&(De.exports=t)})},5368:De=>{function te(){}De.exports=te,De.exports.HttpsAgent=te},2504:(De,te,g)=>{const{Token:t}=g(9300),v=g(6580),{Interval:C}=g(2344);class E{}De.exports=class c extends E{constructor(s){super(),this.tokenSource=s,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(s){}reset(){this.seek(0)}seek(s){this.lazyInit(),this.index=this.adjustSeekIndex(s)}get(s){return this.lazyInit(),this.tokens[s]}consume(){let s=!1;if(s=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(f)>=f}fetch(s){if(this.fetchedEOF)return 0;for(let f=0;f=this.tokens.length&&(f=this.tokens.length-1);for(let a=s;a=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[f]}adjustSeekIndex(s){return s}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(s){this.tokenSource=s,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(s,f){if(this.sync(s),s>=this.tokens.length)return-1;let d=this.tokens[s];for(;d.channel!==this.channel;){if(d.type===t.EOF)return-1;this.sync(s+=1),d=this.tokens[s]}return s}previousTokenOnChannel(s,f){for(;s>=0&&this.tokens[s].channel!==f;)s-=1;return s}getHiddenTokensToRight(s,f){if(void 0===f&&(f=-1),this.lazyInit(),s<0||s>=this.tokens.length)throw s+" not in 0.."+this.tokens.length-1;const d=this.nextTokenOnChannel(s+1,v.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(s+1,-1===d?this.tokens.length-1:d,f)}getHiddenTokensToLeft(s,f){if(void 0===f&&(f=-1),this.lazyInit(),s<0||s>=this.tokens.length)throw s+" not in 0.."+this.tokens.length-1;const d=this.previousTokenOnChannel(s-1,v.DEFAULT_TOKEN_CHANNEL);return d===s-1?null:this.filterForChannel(d+1,s-1,f)}filterForChannel(s,f,d){const l=[];for(let a=s;a=this.tokens.length&&(d=this.tokens.length-1);let l="";for(let a=f;a{const t=g(9300).CommonToken;class v{}class C extends v{constructor(c){super(),this.copyText=void 0!==c&&c}create(c,b,s,f,d,l,a,r){const u=new t(c,b,f,d,l);return u.line=a,u.column=r,null!==s?u.text=s:this.copyText&&null!==c[1]&&(u.text=c[1].getText(d,l)),u}createThin(c,b){const s=new t(null,c);return s.text=b,s}}C.DEFAULT=new C,De.exports=C},8957:(De,te,g)=>{const t=g(9300).Token,v=g(2504);De.exports=class C extends v{constructor(c,b){super(c),this.channel=void 0===b?t.DEFAULT_CHANNEL:b}adjustSeekIndex(c){return this.nextTokenOnChannel(c,this.channel)}LB(c){if(0===c||this.index-c<0)return null;let b=this.index,s=1;for(;s<=c;)b=this.previousTokenOnChannel(b-1,this.channel),s+=1;return b<0?null:this.tokens[b]}LT(c){if(this.lazyInit(),0===c)return null;if(c<0)return this.LB(-c);let b=this.index,s=1;for(;s{const{Token:t}=g(9300);g(2388),g(9700),De.exports=class v{constructor(E,c){if(this.name="",this.strdata=E,this.decodeToUnicodeCodePoints=c||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let b=0;b=this._size)throw"cannot consume EOF";this._index+=1}LA(E){if(0===E)return 0;E<0&&(E+=1);const c=this._index+E-1;return c<0||c>=this._size?t.EOF:this.data[c]}LT(E){return this.LA(E)}mark(){return-1}release(E){}seek(E){this._index=E<=this._index?E:Math.min(E,this._size)}getText(E,c){if(c>=this._size&&(c=this._size-1),E>=this._size)return"";if(this.decodeToUnicodeCodePoints){let b="";for(let s=E;s<=c;s++)b+=String.fromCodePoint(this.data[s]);return b}return this.strdata.slice(E,c+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}},2344:(De,te,g)=>{const{Token:t}=g(9300);class v{constructor(c,b){this.start=c,this.stop=b}clone(){return new v(this.start,this.stop)}contains(c){return c>=this.start&&cthis.addInterval(b),this),this}reduce(c){if(c=s.stop?(this.intervals.splice(c+1,1),this.reduce(c)):b.stop>=s.start&&(this.intervals[c]=new v(b.start,s.stop),this.intervals.splice(c+1,1))}}complement(c,b){const s=new C;return s.addInterval(new v(c,b+1)),null!==this.intervals&&this.intervals.forEach(f=>s.removeRange(f)),s}contains(c){if(null===this.intervals)return!1;for(let b=0;bf.start&&c.stop=f.stop?(this.intervals.splice(b,1),b-=1):c.start":"'"+String.fromCharCode(s.start)+"'":"'"+String.fromCharCode(s.start)+"'..'"+String.fromCharCode(s.stop-1)+"'")}return c.length>1?"{"+c.join(", ")+"}":c[0]}toIndexString(){const c=[];for(let b=0;b":s.start.toString():s.start.toString()+".."+(s.stop-1).toString())}return c.length>1?"{"+c.join(", ")+"}":c[0]}toTokenString(c,b){const s=[];for(let f=0;f1?"{"+s.join(", ")+"}":s[0]}elementName(c,b,s){return s===t.EOF?"":s===t.EPSILON?"":c[s]||b[s]}get length(){return this.intervals.map(c=>c.length).reduce((c,b)=>c+b)}}De.exports={Interval:v,IntervalSet:C}},2464:(De,te,g)=>{const{Set:t,BitSet:v}=g(1464),{Token:C}=g(9300),{ATNConfig:E}=g(4644),{IntervalSet:c}=g(2344),{RuleStopState:b}=g(6968),{RuleTransition:s,NotSetTransition:f,WildcardTransition:d,AbstractPredicateTransition:l}=g(3568),{predictionContextFromRuleContext:a,PredictionContext:r,SingletonPredictionContext:u}=g(1483);class h{constructor(_){this.atn=_}getDecisionLookahead(_){if(null===_)return null;const y=_.transitions.length,M=[];for(let w=0;w{const{Token:t}=g(9300),v=g(1384),C=g(1492),{RecognitionException:E}=g(7772),{LexerNoViableAltException:c}=g(7772);class s extends v{constructor(d){super(),this._input=d,this._factory=C.DEFAULT,this._tokenFactorySourcePair=[this,d],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=t.DEFAULT_CHANNEL,this._type=t.INVALID_TYPE,this._modeStack=[],this._mode=s.DEFAULT_MODE,this._text=null}reset(){null!==this._input&&this._input.seek(0),this._token=null,this._type=t.INVALID_TYPE,this._channel=t.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=s.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(null===this._input)throw"nextToken requires a non-null input stream.";const d=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=t.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let l=!1;for(;;){this._type=t.INVALID_TYPE;let a=s.SKIP;try{a=this._interp.match(this._input,this._mode)}catch(r){if(!(r instanceof E))throw console.log(r.stack),r;this.notifyListeners(r),this.recover(r)}if(this._input.LA(1)===t.EOF&&(this._hitEOF=!0),this._type===t.INVALID_TYPE&&(this._type=a),this._type===s.SKIP){l=!0;break}if(this._type!==s.MORE)break}if(!l)return null===this._token&&this.emit(),this._token}}finally{this._input.release(d)}}skip(){this._type=s.SKIP}more(){this._type=s.MORE}mode(d){this._mode=d}pushMode(d){this._interp.debug&&console.log("pushMode "+d),this._modeStack.push(this._mode),this.mode(d)}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(d){this._token=d}emit(){const d=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(d),d}emitEOF(){const a=this._factory.create(this._tokenFactorySourcePair,t.EOF,null,t.DEFAULT_CHANNEL,this._input.index,this._input.index-1,this.line,this.column);return this.emitToken(a),a}getCharIndex(){return this._input.index}getAllTokens(){const d=[];let l=this.nextToken();for(;l.type!==t.EOF;)d.push(l),l=this.nextToken();return d}notifyListeners(d){const r=this._input.getText(this._tokenStartCharIndex,this._input.index),u="token recognition error at: '"+this.getErrorDisplay(r)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,u,d)}getErrorDisplay(d){const l=[];for(let a=0;a":"\n"===d?"\\n":"\t"===d?"\\t":"\r"===d?"\\r":d}getCharErrorDisplay(d){return"'"+this.getErrorDisplayForChar(d)+"'"}recover(d){this._input.LA(1)!==t.EOF&&(d instanceof c?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(d){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=d,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(d){this._type=d}get line(){return this._interp.line}set line(d){this._interp.line=d}get column(){return this._interp.column}set column(d){this._interp.column=d}get text(){return null!==this._text?this._text:this._interp.getText(this._input)}set text(d){this._text=d}}s.DEFAULT_MODE=0,s.MORE=-2,s.SKIP=-3,s.DEFAULT_TOKEN_CHANNEL=t.DEFAULT_CHANNEL,s.HIDDEN=t.HIDDEN_CHANNEL,s.MIN_CHAR_VALUE=0,s.MAX_CHAR_VALUE=1114111,De.exports=s},5472:(De,te,g)=>{const{Token:t}=g(9300),{ParseTreeListener:v,TerminalNode:C,ErrorNode:E}=g(7336),c=g(1384),{DefaultErrorStrategy:b}=g(2079),s=g(8064),f=g(7992),d=g(6580);class l extends v{constructor(u){super(),this.parser=u}enterEveryRule(u){console.log("enter "+this.parser.ruleNames[u.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(u){console.log("consume "+u.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(u){console.log("exit "+this.parser.ruleNames[u.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}De.exports=(()=>{class r extends c{constructor(h){super(),this._input=null,this._errHandler=new b,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(h)}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(h){let p=this.getCurrentToken();return p.type===h?(this._errHandler.reportMatch(this),this.consume()):(p=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===p.tokenIndex&&this._ctx.addErrorNode(p)),p}matchWildcard(){let h=this.getCurrentToken();return h.type>0?(this._errHandler.reportMatch(this),this.consume()):(h=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===h.tokenIndex&&this._ctx.addErrorNode(h)),h}getParseListeners(){return this._parseListeners||[]}addParseListener(h){if(null===h)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(h)}removeParseListener(h){if(null!==this._parseListeners){const p=this._parseListeners.indexOf(h);p>=0&&this._parseListeners.splice(p,1),0===this._parseListeners.length&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(null!==this._parseListeners){const h=this._ctx;this._parseListeners.forEach(function(p){p.enterEveryRule(h),h.enterRule(p)})}}triggerExitRuleEvent(){if(null!==this._parseListeners){const h=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(p){h.exitRule(p),p.exitEveryRule(h)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(h){this._input.tokenSource._factory=h}getATNWithBypassAlts(){const h=this.getSerializedATN();if(null===h)throw"The current parser does not support an ATN with bypass alternatives.";let p=this.bypassAltsAtnCache[h];if(null===p){const _=new f;_.generateRuleBypassTransitions=!0,p=new s(_).deserialize(h),this.bypassAltsAtnCache[h]=p}return p}compileParseTreePattern(h,p,_){if(null===(_=_||null)&&null!==this.getTokenStream()){const M=this.getTokenStream().tokenSource;M instanceof d&&(_=M)}if(null===_)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(_,this).compile(h,p)}getInputStream(){return this.getTokenStream()}setInputStream(h){this.setTokenStream(h)}getTokenStream(){return this._input}setTokenStream(h){this._input=null,this.reset(),this._input=h}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(h,p,_){_=_||null,null===(p=p||null)&&(p=this.getCurrentToken()),this._syntaxErrors+=1;const y=p.line,M=p.column;this.getErrorListenerDispatch().syntaxError(this,p,y,M,h,_)}consume(){const h=this.getCurrentToken();h.type!==t.EOF&&this.getInputStream().consume();const p=null!==this._parseListeners&&this._parseListeners.length>0;if(this.buildParseTrees||p){let _;_=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(h):this._ctx.addTokenNode(h),_.invokingState=this.state,p&&this._parseListeners.forEach(function(y){_ instanceof E||void 0!==_.isErrorNode&&_.isErrorNode()?y.visitErrorNode(_):_ instanceof C&&y.visitTerminal(_)})}return h}addContextToParseTree(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(h,p,_){this.state=p,this._ctx=h,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(h,p){h.setAltNumber(p),this.buildParseTrees&&this._ctx!==h&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(h)),this._ctx=h}getPrecedence(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(h,p,_,y){this.state=p,this._precedenceStack.push(y),this._ctx=h,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(h,p,_){const y=this._ctx;y.parentCtx=h,y.invokingState=p,y.stop=this._input.LT(-1),this._ctx=h,this._ctx.start=y.start,this.buildParseTrees&&this._ctx.addChild(y),this.triggerEnterRuleEvent()}unrollRecursionContexts(h){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const p=this._ctx,_=this.getParseListeners();if(null!==_&&_.length>0)for(;this._ctx!==h;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=h;p.parentCtx=h,this.buildParseTrees&&null!==h&&h.addChild(p)}getInvokingContext(h){let p=this._ctx;for(;null!==p;){if(p.ruleIndex===h)return p;p=p.parentCtx}return null}precpred(h,p){return p>=this._precedenceStack[this._precedenceStack.length-1]}inContext(h){return!1}isExpectedToken(h){const p=this._interp.atn;let _=this._ctx,M=p.nextTokens(p.states[this.state]);if(M.contains(h))return!0;if(!M.contains(t.EPSILON))return!1;for(;null!==_&&_.invokingState>=0&&M.contains(t.EPSILON);){if(M=p.nextTokens(p.states[_.invokingState].transitions[0].followState),M.contains(h))return!0;_=_.parentCtx}return!(!M.contains(t.EPSILON)||h!==t.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const h=this._interp.atn;return h.nextTokens(h.states[this.state])}getRuleIndex(h){const p=this.getRuleIndexMap()[h];return null!==p?p:-1}getRuleInvocationStack(h){null===(h=h||null)&&(h=this._ctx);const p=[];for(;null!==h;){const _=h.ruleIndex;p.push(_<0?"n/a":this.ruleNames[_]),h=h.parentCtx}return p}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let h=!1;for(let p=0;p0&&(h&&console.log(),this.printer.println("Decision "+_.decision+":"),this.printer.print(_.toString(this.literalNames,this.symbolicNames)),h=!0)}}getSourceName(){return this._input.sourceName}setTrace(h){h?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new l(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}return r.bypassAltsAtnCache={},r})()},4256:(De,te,g)=>{const t=g(3160),v=g(7336),C=v.INVALID_INTERVAL,E=v.TerminalNode,c=v.TerminalNodeImpl,b=v.ErrorNodeImpl,s=g(2344).Interval;class f extends t{constructor(a,r){super(a=a||null,r=r||null),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(a){this.parentCtx=a.parentCtx,this.invokingState=a.invokingState,this.children=null,this.start=a.start,this.stop=a.stop,a.children&&(this.children=[],a.children.map(function(r){r instanceof b&&(this.children.push(r),r.parentCtx=this)},this))}enterRule(a){}exitRule(a){}addChild(a){return null===this.children&&(this.children=[]),this.children.push(a),a}removeLastChild(){null!==this.children&&this.children.pop()}addTokenNode(a){const r=new c(a);return this.addChild(r),r.parentCtx=this,r}addErrorNode(a){const r=new b(a);return this.addChild(r),r.parentCtx=this,r}getChild(a,r){if(null===this.children||a<0||a>=this.children.length)return null;if(null===(r=r||null))return this.children[a];for(let u=0;u=this.children.length)return null;for(let u=0;u{const t=g(3160),{Hash:v,Map:C,equalArrays:E}=g(1464);class c{constructor(w){this.cachedHashCode=w}isEmpty(){return this===c.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===c.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(w){w.update(this.cachedHashCode)}}c.EMPTY=null,c.EMPTY_RETURN_STATE=2147483647,c.globalNodeCount=1,c.id=c.globalNodeCount;class s extends c{constructor(w,k){let D=0;const I=new v;null!==w?I.update(w,k):I.update(1),D=I.finish(),super(D),this.parentCtx=w,this.returnState=k}getParent(w){return this.parentCtx}getReturnState(w){return this.returnState}equals(w){return this===w||w instanceof s&&this.hashCode()===w.hashCode()&&this.returnState===w.returnState&&(null==this.parentCtx?null==w.parentCtx:this.parentCtx.equals(w.parentCtx))}toString(){const w=null===this.parentCtx?"":this.parentCtx.toString();return 0===w.length?this.returnState===c.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+w}get length(){return 1}static create(w,k){return k===c.EMPTY_RETURN_STATE&&null===w?c.EMPTY:new s(w,k)}}class f extends s{constructor(){super(null,c.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(w){return null}getReturnState(w){return this.returnState}equals(w){return this===w}toString(){return"$"}}c.EMPTY=new f;class d extends c{constructor(w,k){const D=new v;return D.update(w,k),super(D.finish()),this.parents=w,this.returnStates=k,this}isEmpty(){return this.returnStates[0]===c.EMPTY_RETURN_STATE}getParent(w){return this.parents[w]}getReturnState(w){return this.returnStates[w]}equals(w){return this===w||w instanceof d&&this.hashCode()===w.hashCode()&&E(this.returnStates,w.returnStates)&&E(this.parents,w.parents)}toString(){if(this.isEmpty())return"[]";{let w="[";for(let k=0;k0&&(w+=", "),this.returnStates[k]!==c.EMPTY_RETURN_STATE?(w+=this.returnStates[k],null!==this.parents[k]?w=w+" "+this.parents[k]:w+="null"):w+="$";return w+"]"}}get length(){return this.returnStates.length}}De.exports={merge:function a(M,w,k,D){if(M===w)return M;if(M instanceof s&&w instanceof s)return function r(M,w,k,D){if(null!==D){let O=D.get(M,w);if(null!==O||(O=D.get(w,M),null!==O))return O}const I=function u(M,w,k){if(k){if(M===c.EMPTY||w===c.EMPTY)return c.EMPTY}else{if(M===c.EMPTY&&w===c.EMPTY)return c.EMPTY;if(M===c.EMPTY)return new d([w.parentCtx,null],[w.returnState,c.EMPTY_RETURN_STATE]);if(w===c.EMPTY)return new d([M.parentCtx,null],[M.returnState,c.EMPTY_RETURN_STATE])}return null}(M,w,k);if(null!==I)return null!==D&&D.set(M,w,I),I;if(M.returnState===w.returnState){const O=a(M.parentCtx,w.parentCtx,k,D);if(O===M.parentCtx)return M;if(O===w.parentCtx)return w;const T=s.create(O,M.returnState);return null!==D&&D.set(M,w,T),T}{let O=null;if((M===w||null!==M.parentCtx&&M.parentCtx===w.parentCtx)&&(O=M.parentCtx),null!==O){const F=[M.returnState,w.returnState];M.returnState>w.returnState&&(F[0]=w.returnState,F[1]=M.returnState);const A=new d([O,O],F);return null!==D&&D.set(M,w,A),A}const T=[M.returnState,w.returnState];let N=[M.parentCtx,w.parentCtx];M.returnState>w.returnState&&(T[0]=w.returnState,T[1]=M.returnState,N=[w.parentCtx,M.parentCtx]);const S=new d(N,T);return null!==D&&D.set(M,w,S),S}}(M,w,k,D);if(k){if(M instanceof f)return M;if(w instanceof f)return w}return M instanceof s&&(M=new d([M.getParent()],[M.returnState])),w instanceof s&&(w=new d([w.getParent()],[w.returnState])),function h(M,w,k,D){if(null!==D){let L=D.get(M,w);if(null!==L||(L=D.get(w,M),null!==L))return L}let I=0,O=0,T=0,N=[],S=[];for(;I{const{Token:t}=g(9300),{ConsoleErrorListener:v}=g(3032),{ProxyErrorListener:C}=g(3032);De.exports=(()=>{class c{constructor(){this._listeners=[v.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(s){"4.9.3"!==s&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+s)}addErrorListener(s){this._listeners.push(s)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const s=this.getLiteralNames(),f=this.getSymbolicNames(),d=s.length>f.length?s.length:f.length;this.tokenNames=[];for(let l=0;l";let f=s.text;return null===f&&(f=s.type===t.EOF?"":"<"+s.type+">"),f=f.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+f+"'"}getErrorListenerDispatch(){return new C(this._listeners)}sempred(s,f,d){return!0}precpred(s,f){return!0}get state(){return this._stateNumber}set state(s){this._stateNumber=s}}return c.tokenTypeMapCache={},c.ruleIndexMapCache={},c})()},3160:(De,te,g)=>{const{RuleNode:t}=g(7336),{INVALID_INTERVAL:v}=g(7336),C=g(8);De.exports=class E extends t{constructor(b,s){super(),this.parentCtx=b||null,this.invokingState=s||-1}depth(){let b=0,s=this;for(;null!==s;)s=s.parentCtx,b+=1;return b}isEmpty(){return-1===this.invokingState}getSourceInterval(){return v}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(b){return b.getText()}).join("")}getAltNumber(){return 0}setAltNumber(b){}getChild(b){return null}getChildCount(){return 0}accept(b){return b.visitChildren(this)}toStringTree(b,s){return C.toStringTree(this,b,s)}toString(b,s){b=b||null,s=s||null;let f=this,d="[";for(;null!==f&&f!==s;){if(null===b)f.isEmpty()||(d+=f.invokingState);else{const l=f.ruleIndex;d+=l>=0&&l{let te=(()=>{class t{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(C){this._text=C}}return t.INVALID_TYPE=0,t.EPSILON=-2,t.MIN_USER_TOKEN_TYPE=1,t.EOF=-1,t.DEFAULT_CHANNEL=0,t.HIDDEN_CHANNEL=1,t})();De.exports={Token:te,CommonToken:(()=>{class t extends te{constructor(C,E,c,b,s){super(),this.source=void 0!==C?C:t.EMPTY_SOURCE,this.type=void 0!==E?E:null,this.channel=void 0!==c?c:te.DEFAULT_CHANNEL,this.start=void 0!==b?b:-1,this.stop=void 0!==s?s:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=C[0].line,this.column=C[0].column):this.column=-1}clone(){const C=new t(this.source,this.type,this.channel,this.start,this.stop);return C.tokenIndex=this.tokenIndex,C.line=this.line,C.column=this.column,C.text=this.text,C}toString(){let C=this.text;return C=null!==C?C.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+C+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(null!==this._text)return this._text;const C=this.getInputStream();if(null===C)return null;const E=C.size;return this.start"}set text(C){this._text=C}}return t.EMPTY_SOURCE=[null,null],t})()}},1464:De=>{function te(u){return null===u?"null":u}function g(u){return Array.isArray(u)?"["+u.map(te).join(", ")+"]":"null"}function t(u,h){return u?u.equals(h):u==h}function v(u){return u?u.hashCode():-1}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const u=this.toString();let h,p;const _=3&u.length,y=u.length-_;let M=String.prototype.seed;const w=3432918353,k=461845907;let D=0;for(;D>>16)*w&65535)<<16)&4294967295,p=p<<15|p>>>17,p=(65535&p)*k+(((p>>>16)*k&65535)<<16)&4294967295,M^=p,M=M<<13|M>>>19,h=5*(65535&M)+((5*(M>>>16)&65535)<<16)&4294967295,M=27492+(65535&h)+((58964+(h>>>16)&65535)<<16);switch(p=0,_){case 3:p^=(255&u.charCodeAt(D+2))<<16;case 2:p^=(255&u.charCodeAt(D+1))<<8;case 1:p^=255&u.charCodeAt(D),p=(65535&p)*w+(((p>>>16)*w&65535)<<16)&4294967295,p=p<<15|p>>>17,p=(65535&p)*k+(((p>>>16)*k&65535)<<16)&4294967295,M^=p}return M^=u.length,M^=M>>>16,M=2246822507*(65535&M)+((2246822507*(M>>>16)&65535)<<16)&4294967295,M^=M>>>13,M=3266489909*(65535&M)+((3266489909*(M>>>16)&65535)<<16)&4294967295,M^=M>>>16,M>>>0};class E{constructor(){this.data=[]}add(h){this.data[h]=!0}or(h){const p=this;Object.keys(h.data).map(function(_){p.add(_)})}remove(h){delete this.data[h]}contains(h){return!0===this.data[h]}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){const h=new f;return h.update(this.values()),h.finish()}equals(h){return h instanceof E&&this.hashCode()===h.hashCode()}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class c{constructor(h,p){this.data={},this.hashFunction=h||v,this.equalsFunction=p||t}put(h,p){const _="hash_"+this.hashFunction(h);if(_ in this.data){const y=this.data[_];for(let M=0;M>>17,_*=461845907,this.count=this.count+1;let y=this.hash^_;y=y<<13|y>>>19,y=5*y+3864292196,this.hash=y}}}finish(){let h=this.hash^4*this.count;return h^=h>>>16,h*=2246822507,h^=h>>>13,h*=3266489909,h^=h>>>16,h}}De.exports={Hash:f,Set:class C{constructor(h,p){this.data={},this.hashFunction=h||v,this.equalsFunction=p||t}add(h){const _="hash_"+this.hashFunction(h);if(_ in this.data){const y=this.data[_];for(let M=0;M{const t=g(2464),{IntervalSet:v}=g(2344),{Token:C}=g(9300);De.exports=(()=>{class c{constructor(s,f){this.grammarType=s,this.maxTokenType=f,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(s,f){return new t(this).LOOK(s,null,f)}nextTokensNoContext(s){return null!==s.nextTokenWithinRule||(s.nextTokenWithinRule=this.nextTokensInContext(s,null),s.nextTokenWithinRule.readOnly=!0),s.nextTokenWithinRule}nextTokens(s,f){return void 0===f?this.nextTokensNoContext(s):this.nextTokensInContext(s,f)}addState(s){null!==s&&(s.atn=this,s.stateNumber=this.states.length),this.states.push(s)}removeState(s){this.states[s.stateNumber]=null}defineDecisionState(s){return this.decisionToState.push(s),s.decision=this.decisionToState.length-1,s.decision}getDecisionState(s){return 0===this.decisionToState.length?null:this.decisionToState[s]}getExpectedTokens(s,f){if(s<0||s>=this.states.length)throw"Invalid state number.";let l=this.nextTokens(this.states[s]);if(!l.contains(C.EPSILON))return l;const a=new v;for(a.addSet(l),a.removeOne(C.EPSILON);null!==f&&f.invokingState>=0&&l.contains(C.EPSILON);)l=this.nextTokens(this.states[f.invokingState].transitions[0].followState),a.addSet(l),a.removeOne(C.EPSILON),f=f.parentCtx;return l.contains(C.EPSILON)&&a.addOne(C.EOF),a}}return c.INVALID_ALT_NUMBER=0,c})()},4644:(De,te,g)=>{const{DecisionState:t}=g(6968),{SemanticContext:v}=g(8764),{Hash:C}=g(1464);function E(s,f){if(null===s){const d={state:null,alt:null,context:null,semanticContext:null};return f&&(d.reachesIntoOuterContext=0),d}{const d={};return d.state=s.state||null,d.alt=void 0===s.alt?null:s.alt,d.context=s.context||null,d.semanticContext=s.semanticContext||null,f&&(d.reachesIntoOuterContext=s.reachesIntoOuterContext||0,d.precedenceFilterSuppressed=s.precedenceFilterSuppressed||!1),d}}class c{constructor(f,d){this.checkContext(f,d),f=E(f),d=E(d,!0),this.state=null!==f.state?f.state:d.state,this.alt=null!==f.alt?f.alt:d.alt,this.context=null!==f.context?f.context:d.context,this.semanticContext=null!==f.semanticContext?f.semanticContext:null!==d.semanticContext?d.semanticContext:v.NONE,this.reachesIntoOuterContext=d.reachesIntoOuterContext,this.precedenceFilterSuppressed=d.precedenceFilterSuppressed}checkContext(f,d){null==f.context&&(null===d||null==d.context)&&(this.context=null)}hashCode(){const f=new C;return this.updateHashCode(f),f.finish()}updateHashCode(f){f.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(f){return this===f||f instanceof c&&this.state.stateNumber===f.state.stateNumber&&this.alt===f.alt&&(null===this.context?null===f.context:this.context.equals(f.context))&&this.semanticContext.equals(f.semanticContext)&&this.precedenceFilterSuppressed===f.precedenceFilterSuppressed}hashCodeForConfigSet(){const f=new C;return f.update(this.state.stateNumber,this.alt,this.semanticContext),f.finish()}equalsForConfigSet(f){return this===f||f instanceof c&&this.state.stateNumber===f.state.stateNumber&&this.alt===f.alt&&this.semanticContext.equals(f.semanticContext)}toString(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==v.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class b extends c{constructor(f,d){return super(f,d),this.lexerActionExecutor=f.lexerActionExecutor||(null!==d?d.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==d&&this.checkNonGreedyDecision(d,this.state),this.hashCodeForConfigSet=b.prototype.hashCode,this.equalsForConfigSet=b.prototype.equals,this}updateHashCode(f){f.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(f){return this===f||f instanceof b&&this.passedThroughNonGreedyDecision===f.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(f.lexerActionExecutor):!f.lexerActionExecutor)&&super.equals(f)}checkNonGreedyDecision(f,d){return f.passedThroughNonGreedyDecision||d instanceof t&&d.nonGreedy}}De.exports.ATNConfig=c,De.exports.LexerATNConfig=b},8815:(De,te,g)=>{const t=g(512),v=g(1464),{SemanticContext:C}=g(8764),{merge:E}=g(1483);function c(d){return d.hashCodeForConfigSet()}function b(d,l){return d===l||null!==d&&null!==l&&d.equalsForConfigSet(l)}class s{constructor(l){this.configLookup=new v.Set(c,b),this.fullCtx=void 0===l||l,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(l,a){if(void 0===a&&(a=null),this.readOnly)throw"This set is readonly";l.semanticContext!==C.NONE&&(this.hasSemanticContext=!0),l.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const r=this.configLookup.add(l);if(r===l)return this.cachedHashCode=-1,this.configs.push(l),!0;const h=E(r.context,l.context,!this.fullCtx,a);return r.reachesIntoOuterContext=Math.max(r.reachesIntoOuterContext,l.reachesIntoOuterContext),l.precedenceFilterSuppressed&&(r.precedenceFilterSuppressed=!0),r.context=h,!0}getStates(){const l=new v.Set;for(let a=0;a{class te{constructor(t){void 0===t&&(t=null),this.readOnly=!1,this.verifyATN=null===t||t.verifyATN,this.generateRuleBypassTransitions=null!==t&&t.generateRuleBypassTransitions}}te.defaultOptions=new te,te.defaultOptions.readOnly=!0,De.exports=te},8064:(De,te,g)=>{const{Token:t}=g(9300),v=g(512),C=g(1448),{ATNState:E,BasicState:c,DecisionState:b,BlockStartState:s,BlockEndState:f,LoopEndState:d,RuleStartState:l,RuleStopState:a,TokensStartState:r,PlusLoopbackState:u,StarLoopbackState:h,StarLoopEntryState:p,PlusBlockStartState:_,StarBlockStartState:y,BasicBlockStartState:M}=g(6968),{Transition:w,AtomTransition:k,SetTransition:D,NotSetTransition:I,RuleTransition:O,RangeTransition:T,ActionTransition:N,EpsilonTransition:S,WildcardTransition:F,PredicateTransition:L,PrecedencePredicateTransition:A}=g(3568),{IntervalSet:U}=g(2344),K=g(7992),{LexerActionType:ee,LexerSkipAction:ne,LexerChannelAction:B,LexerCustomAction:H,LexerMoreAction:z,LexerTypeAction:X,LexerPushModeAction:G,LexerPopModeAction:j,LexerModeAction:le}=g(9868),ve="59627784-3BE5-417A-B9EB-8131A7286089",Je=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",ve],ct=ve;function Ct(Qe,Be){const Ie=[];return Ie[Qe-1]=Be,Ie.map(function(je){return Be})}const pe=function ke(){const Qe=[];for(let Be=0;Be<256;Be++)Qe[Be]=(Be+256).toString(16).substr(1).toUpperCase();return Qe}();De.exports=class Re{constructor(Be){null==Be&&(Be=K.defaultOptions),this.deserializationOptions=Be,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Be,Ie){const je=Je.indexOf(Be);return!(je<0)&&Je.indexOf(Ie)>=je}deserialize(Be){this.reset(Be),this.checkVersion(),this.checkUUID();const Ie=this.readATN();this.readStates(Ie),this.readRules(Ie),this.readModes(Ie);const je=[];return this.readSets(Ie,je,this.readInt.bind(this)),this.isFeatureSupported(ve,this.uuid)&&this.readSets(Ie,je,this.readInt32.bind(this)),this.readEdges(Ie,je),this.readDecisions(Ie),this.readLexerActions(Ie),this.markPrecedenceDecisions(Ie),this.verifyATN(Ie),this.deserializationOptions.generateRuleBypassTransitions&&Ie.grammarType===C.PARSER&&(this.generateRuleBypassTransitions(Ie),this.verifyATN(Ie)),Ie}reset(Be){const je=Be.split("").map(function(q){const ye=q.charCodeAt(0);return ye>1?ye-2:ye+65534});je[0]=Be.charCodeAt(0),this.data=je,this.pos=0}checkVersion(){const Be=this.readInt();if(3!==Be)throw"Could not deserialize ATN with version "+Be+" (expected 3)."}checkUUID(){const Be=this.readUUID();if(Je.indexOf(Be)<0)throw ct;this.uuid=Be}readATN(){const Be=this.readInt(),Ie=this.readInt();return new v(Be,Ie)}readStates(Be){let Ie,je,q;const ye=[],Oe=[],Xe=this.readInt();for(let ot=0;ot0;)ye.addTransition(Ve.transitions[ot-1]),Ve.transitions=Ve.transitions.slice(-1);Be.ruleToStartState[Ie].addTransition(new S(ye)),Oe.addTransition(new S(ge));const ze=new c;Be.addState(ze),ze.addTransition(new k(Oe,Be.ruleToTokenType[Ie])),ye.addTransition(new S(ze))}stateIsEndStateFor(Be,Ie){if(Be.ruleIndex!==Ie||!(Be instanceof p))return null;const je=Be.transitions[Be.transitions.length-1].target;return je instanceof d&&je.epsilonOnlyTransitions&&je.transitions[0].target instanceof a?Be:null}markPrecedenceDecisions(Be){for(let Ie=0;Ie=0:je.transitions.length<=1||je instanceof a)}}checkCondition(Be,Ie){if(!Be)throw null==Ie&&(Ie="IllegalState"),Ie}readInt(){return this.data[this.pos++]}readInt32(){return this.readInt()|this.readInt()<<16}readLong(){return 4294967295&this.readInt32()|this.readInt32()<<32}readUUID(){const Be=[];for(let Ie=7;Ie>=0;Ie--){const je=this.readInt();Be[2*Ie+1]=255&je,Be[2*Ie]=je>>8&255}return pe[Be[0]]+pe[Be[1]]+pe[Be[2]]+pe[Be[3]]+"-"+pe[Be[4]]+pe[Be[5]]+"-"+pe[Be[6]]+pe[Be[7]]+"-"+pe[Be[8]]+pe[Be[9]]+"-"+pe[Be[10]]+pe[Be[11]]+pe[Be[12]]+pe[Be[13]]+pe[Be[14]]+pe[Be[15]]}edgeFactory(Be,Ie,je,q,ye,Oe,Xe,ge){const Ve=Be.states[q];switch(Ie){case w.EPSILON:return new S(Ve);case w.RANGE:return new T(Ve,0!==Xe?t.EOF:ye,Oe);case w.RULE:return new O(Be.states[ye],Oe,Xe,Ve);case w.PREDICATE:return new L(Ve,ye,Oe,0!==Xe);case w.PRECEDENCE:return new A(Ve,ye);case w.ATOM:return new k(Ve,0!==Xe?t.EOF:ye);case w.ACTION:return new N(Ve,ye,Oe,0!==Xe);case w.SET:return new D(Ve,ge[ye]);case w.NOT_SET:return new I(Ve,ge[ye]);case w.WILDCARD:return new F(Ve);default:throw"The specified transition type: "+Ie+" is not valid."}}stateFactory(Be,Ie){if(null===this.stateFactories){const je=[];je[E.INVALID_TYPE]=null,je[E.BASIC]=()=>new c,je[E.RULE_START]=()=>new l,je[E.BLOCK_START]=()=>new M,je[E.PLUS_BLOCK_START]=()=>new _,je[E.STAR_BLOCK_START]=()=>new y,je[E.TOKEN_START]=()=>new r,je[E.RULE_STOP]=()=>new a,je[E.BLOCK_END]=()=>new f,je[E.STAR_LOOP_BACK]=()=>new h,je[E.STAR_LOOP_ENTRY]=()=>new p,je[E.PLUS_LOOP_BACK]=()=>new u,je[E.LOOP_END]=()=>new d,this.stateFactories=je}if(Be>this.stateFactories.length||null===this.stateFactories[Be])throw"The specified state type "+Be+" is not valid.";{const je=this.stateFactories[Be]();if(null!==je)return je.ruleIndex=Ie,je}}lexerActionFactory(Be,Ie,je){if(null===this.actionFactories){const q=[];q[ee.CHANNEL]=(ye,Oe)=>new B(ye),q[ee.CUSTOM]=(ye,Oe)=>new H(ye,Oe),q[ee.MODE]=(ye,Oe)=>new le(ye),q[ee.MORE]=(ye,Oe)=>z.INSTANCE,q[ee.POP_MODE]=(ye,Oe)=>j.INSTANCE,q[ee.PUSH_MODE]=(ye,Oe)=>new G(ye),q[ee.SKIP]=(ye,Oe)=>ne.INSTANCE,q[ee.TYPE]=(ye,Oe)=>new X(ye),this.actionFactories=q}if(Be>this.actionFactories.length||null===this.actionFactories[Be])throw"The specified lexer action type "+Be+" is not valid.";return this.actionFactories[Be](Ie,je)}}},6216:(De,te,g)=>{const{DFAState:t}=g(2020),{ATNConfigSet:v}=g(8815),{getCachedPredictionContext:C}=g(1483),{Map:E}=g(1464);class c{constructor(s,f){return this.atn=s,this.sharedContextCache=f,this}getCachedContext(s){if(null===this.sharedContextCache)return s;const f=new E;return C(s,this.sharedContextCache,f)}}c.ERROR=new t(2147483647,new v),De.exports=c},6968:De=>{let g=(()=>{class p{constructor(){this.atn=null,this.stateNumber=p.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(y){return y instanceof p&&this.stateNumber===y.stateNumber}isNonGreedyExitState(){return!1}addTransition(y,M){void 0===M&&(M=-1),0===this.transitions.length?this.epsilonOnlyTransitions=y.isEpsilon:this.epsilonOnlyTransitions!==y.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===M?this.transitions.push(y):this.transitions.splice(M,1,y)}}return p.INVALID_TYPE=0,p.BASIC=1,p.RULE_START=2,p.BLOCK_START=3,p.PLUS_BLOCK_START=4,p.STAR_BLOCK_START=5,p.TOKEN_START=6,p.RULE_STOP=7,p.BLOCK_END=8,p.STAR_LOOP_BACK=9,p.STAR_LOOP_ENTRY=10,p.PLUS_LOOP_BACK=11,p.LOOP_END=12,p.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"],p.INVALID_STATE_NUMBER=-1,p})();class v extends g{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class C extends v{constructor(){return super(),this.endState=null,this}}De.exports={ATNState:g,BasicState:class t extends g{constructor(){super(),this.stateType=g.BASIC}},DecisionState:v,BlockStartState:C,BlockEndState:class c extends g{constructor(){return super(),this.stateType=g.BLOCK_END,this.startState=null,this}},LoopEndState:class u extends g{constructor(){return super(),this.stateType=g.LOOP_END,this.loopBackState=null,this}},RuleStartState:class s extends g{constructor(){return super(),this.stateType=g.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class b extends g{constructor(){return super(),this.stateType=g.RULE_STOP,this}},TokensStartState:class h extends v{constructor(){return super(),this.stateType=g.TOKEN_START,this}},PlusLoopbackState:class f extends v{constructor(){return super(),this.stateType=g.PLUS_LOOP_BACK,this}},StarLoopbackState:class a extends g{constructor(){return super(),this.stateType=g.STAR_LOOP_BACK,this}},StarLoopEntryState:class r extends v{constructor(){return super(),this.stateType=g.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}},PlusBlockStartState:class d extends C{constructor(){return super(),this.stateType=g.PLUS_BLOCK_START,this.loopBackState=null,this}},StarBlockStartState:class l extends C{constructor(){return super(),this.stateType=g.STAR_BLOCK_START,this}},BasicBlockStartState:class E extends C{constructor(){return super(),this.stateType=g.BLOCK_START,this}}}},1448:De=>{De.exports={LEXER:0,PARSER:1}},5800:(De,te,g)=>{const{Token:t}=g(9300),v=g(6580),C=g(512),E=g(6216),{DFAState:c}=g(2020),{OrderedATNConfigSet:b}=g(8815),{PredictionContext:s}=g(1483),{SingletonPredictionContext:f}=g(1483),{RuleStopState:d}=g(6968),{LexerATNConfig:l}=g(4644),{Transition:a}=g(3568),r=g(5608),{LexerNoViableAltException:u}=g(7772);function h(y){y.index=-1,y.line=0,y.column=-1,y.dfaState=null}class p{constructor(){h(this)}reset(){h(this)}}De.exports=(()=>{class y extends E{constructor(w,k,D,I){super(k,I),this.decisionToDFA=D,this.recog=w,this.startIndex=-1,this.line=1,this.column=0,this.mode=v.DEFAULT_MODE,this.prevAccept=new p}copyState(w){this.column=w.column,this.line=w.line,this.mode=w.mode,this.startIndex=w.startIndex}match(w,k){this.match_calls+=1,this.mode=k;const D=w.mark();try{this.startIndex=w.index,this.prevAccept.reset();const I=this.decisionToDFA[k];return null===I.s0?this.matchATN(w):this.execATN(w,I.s0)}finally{w.release(D)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=v.DEFAULT_MODE}matchATN(w){const k=this.atn.modeToStartState[this.mode];y.debug&&console.log("matchATN mode "+this.mode+" start: "+k);const D=this.mode,I=this.computeStartState(w,k),O=I.hasSemanticContext;I.hasSemanticContext=!1;const T=this.addDFAState(I);O||(this.decisionToDFA[this.mode].s0=T);const N=this.execATN(w,T);return y.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[D].toLexerString()),N}execATN(w,k){y.debug&&console.log("start state closure="+k.configs),k.isAcceptState&&this.captureSimState(this.prevAccept,w,k);let D=w.LA(1),I=k;for(;;){y.debug&&console.log("execATN loop starting closure: "+I.configs);let O=this.getExistingTargetState(I,D);if(null===O&&(O=this.computeTargetState(w,I,D)),O===E.ERROR||(D!==t.EOF&&this.consume(w),O.isAcceptState&&(this.captureSimState(this.prevAccept,w,O),D===t.EOF)))break;D=w.LA(1),I=O}return this.failOrAccept(this.prevAccept,w,I.configs,D)}getExistingTargetState(w,k){if(null===w.edges||ky.MAX_DFA_EDGE)return null;let D=w.edges[k-y.MIN_DFA_EDGE];return void 0===D&&(D=null),y.debug&&null!==D&&console.log("reuse state "+w.stateNumber+" edge to "+D.stateNumber),D}computeTargetState(w,k,D){const I=new b;return this.getReachableConfigSet(w,k.configs,I,D),0===I.items.length?(I.hasSemanticContext||this.addDFAEdge(k,D,E.ERROR),E.ERROR):this.addDFAEdge(k,D,null,I)}failOrAccept(w,k,D,I){if(null!==this.prevAccept.dfaState)return this.accept(k,w.dfaState.lexerActionExecutor,this.startIndex,w.index,w.line,w.column),w.dfaState.prediction;if(I===t.EOF&&k.index===this.startIndex)return t.EOF;throw new u(this.recog,k,this.startIndex,D)}getReachableConfigSet(w,k,D,I){let O=C.INVALID_ALT_NUMBER;for(let T=0;Ty.MAX_DFA_EDGE||(y.debug&&console.log("EDGE "+w+" -> "+D+" upon "+k),null===w.edges&&(w.edges=[]),w.edges[k-y.MIN_DFA_EDGE]=D),D}addDFAState(w){const k=new c(null,w);let D=null;for(let N=0;N{const te={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class g{constructor(a){this.actionType=a,this.isPositionDependent=!1}hashCode(){const a=new Hash;return this.updateHashCode(a),a.finish()}updateHashCode(a){a.update(this.actionType)}equals(a){return this===a}}class t extends g{constructor(){super(te.SKIP)}execute(a){a.skip()}toString(){return"skip"}}t.INSTANCE=new t;class v extends g{constructor(a){super(te.TYPE),this.type=a}execute(a){a.type=this.type}updateHashCode(a){a.update(this.actionType,this.type)}equals(a){return this===a||a instanceof v&&this.type===a.type}toString(){return"type("+this.type+")"}}class C extends g{constructor(a){super(te.PUSH_MODE),this.mode=a}execute(a){a.pushMode(this.mode)}updateHashCode(a){a.update(this.actionType,this.mode)}equals(a){return this===a||a instanceof C&&this.mode===a.mode}toString(){return"pushMode("+this.mode+")"}}class E extends g{constructor(){super(te.POP_MODE)}execute(a){a.popMode()}toString(){return"popMode"}}E.INSTANCE=new E;class c extends g{constructor(){super(te.MORE)}execute(a){a.more()}toString(){return"more"}}c.INSTANCE=new c;class b extends g{constructor(a){super(te.MODE),this.mode=a}execute(a){a.mode(this.mode)}updateHashCode(a){a.update(this.actionType,this.mode)}equals(a){return this===a||a instanceof b&&this.mode===a.mode}toString(){return"mode("+this.mode+")"}}class s extends g{constructor(a,r){super(te.CUSTOM),this.ruleIndex=a,this.actionIndex=r,this.isPositionDependent=!0}execute(a){a.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(a){a.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(a){return this===a||a instanceof s&&this.ruleIndex===a.ruleIndex&&this.actionIndex===a.actionIndex}}class f extends g{constructor(a){super(te.CHANNEL),this.channel=a}execute(a){a._channel=this.channel}updateHashCode(a){a.update(this.actionType,this.channel)}equals(a){return this===a||a instanceof f&&this.channel===a.channel}toString(){return"channel("+this.channel+")"}}class d extends g{constructor(a,r){super(r.actionType),this.offset=a,this.action=r,this.isPositionDependent=!0}execute(a){this.action.execute(a)}updateHashCode(a){a.update(this.actionType,this.offset,this.action)}equals(a){return this===a||a instanceof d&&this.offset===a.offset&&this.action===a.action}}De.exports={LexerActionType:te,LexerSkipAction:t,LexerChannelAction:f,LexerCustomAction:s,LexerIndexedCustomAction:d,LexerMoreAction:c,LexerTypeAction:v,LexerPushModeAction:C,LexerPopModeAction:E,LexerModeAction:b}},5608:(De,te,g)=>{const{hashStuff:t}=g(1464),{LexerIndexedCustomAction:v}=g(9868);class C{constructor(c){return this.lexerActions=null===c?[]:c,this.cachedHashCode=t(c),this}fixOffsetBeforeMatch(c){let b=null;for(let s=0;s{const t=g(1464),{Set:v,BitSet:C,DoubleDict:E}=t,c=g(512),{ATNState:b,RuleStopState:s}=g(6968),{ATNConfig:f}=g(4644),{ATNConfigSet:d}=g(8815),{Token:l}=g(9300),{DFAState:a,PredPrediction:r}=g(2020),u=g(6216),h=g(7564),p=g(3160),{SemanticContext:y}=(g(4256),g(8764)),{PredictionContext:M}=g(1483),{Interval:w}=g(2344),{Transition:k,SetTransition:D,NotSetTransition:I,RuleTransition:O,ActionTransition:T}=g(3568),{NoViableAltException:N}=g(7772),{SingletonPredictionContext:S,predictionContextFromRuleContext:F}=g(1483);De.exports=class L extends u{constructor(U,K,ee,ne){super(K,ne),this.parser=U,this.decisionToDFA=ee,this.predictionMode=h.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(U,K,ee){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+K+" exec LA(1)=="+this.getLookaheadName(U)+" line "+U.LT(1).line+":"+U.LT(1).column),this._input=U,this._startIndex=U.index,this._outerContext=ee;const ne=this.decisionToDFA[K];this._dfa=ne;const B=U.mark(),H=U.index;try{let z;if(z=ne.precedenceDfa?ne.getPrecedenceStartState(this.parser.getPrecedence()):ne.s0,null===z){null===ee&&(ee=p.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+ne.decision+" exec LA(1)=="+this.getLookaheadName(U)+", outerContext="+ee.toString(this.parser.ruleNames));let j=this.computeStartState(ne.atnStartState,p.EMPTY,!1);ne.precedenceDfa?(ne.s0.configs=j,j=this.applyPrecedenceFilter(j),z=this.addDFAState(ne,new a(null,j)),ne.setPrecedenceStartState(this.parser.getPrecedence(),z)):(z=this.addDFAState(ne,new a(null,j)),ne.s0=z)}const X=this.execATN(ne,z,U,H,ee);return this.debug&&console.log("DFA after predictATN: "+ne.toString(this.parser.literalNames,this.parser.symbolicNames)),X}finally{this._dfa=null,this.mergeCache=null,U.seek(H),U.release(B)}}execATN(U,K,ee,ne,B){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+U.decision+" exec LA(1)=="+this.getLookaheadName(ee)+" line "+ee.LT(1).line+":"+ee.LT(1).column);let H,z=K;this.debug&&console.log("s0 = "+K);let X=ee.LA(1);for(;;){let G=this.getExistingTargetState(z,X);if(null===G&&(G=this.computeTargetState(U,z,X)),G===u.ERROR){const j=this.noViableAlt(ee,B,z.configs,ne);if(ee.seek(ne),H=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(z.configs,B),H!==c.INVALID_ALT_NUMBER)return H;throw j}if(G.requiresFullContext&&this.predictionMode!==h.SLL){let j=null;if(null!==G.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const ve=ee.index;if(ve!==ne&&ee.seek(ne),j=this.evalSemanticContext(G.predicates,B,!0),1===j.length)return this.debug&&console.log("Full LL avoided"),j.minValue();ve!==ne&&ee.seek(ve)}this.dfa_debug&&console.log("ctx sensitive state "+B+" in "+G);const ue=this.computeStartState(U.atnStartState,B,!0);return this.reportAttemptingFullContext(U,j,G.configs,ne,ee.index),H=this.execATNWithFullContext(U,G,ue,ee,ne,B),H}if(G.isAcceptState){if(null===G.predicates)return G.prediction;const j=ee.index;ee.seek(ne);const le=this.evalSemanticContext(G.predicates,B,!0);if(0===le.length)throw this.noViableAlt(ee,B,G.configs,ne);return 1===le.length||this.reportAmbiguity(U,G,ne,j,!1,le,G.configs),le.minValue()}z=G,X!==l.EOF&&(ee.consume(),X=ee.LA(1))}}getExistingTargetState(U,K){const ee=U.edges;return null===ee?null:ee[K+1]||null}computeTargetState(U,K,ee){const ne=this.computeReachSet(K.configs,ee,!1);if(null===ne)return this.addDFAEdge(U,K,ee,u.ERROR),u.ERROR;let B=new a(null,ne);const H=this.getUniqueAlt(ne);if(this.debug){const z=h.getConflictingAltSubsets(ne);console.log("SLL altSubSets="+t.arrayToString(z)+", configs="+ne+", predict="+H+", allSubsetsConflict="+h.allSubsetsConflict(z)+", conflictingAlts="+this.getConflictingAlts(ne))}return H!==c.INVALID_ALT_NUMBER?(B.isAcceptState=!0,B.configs.uniqueAlt=H,B.prediction=H):h.hasSLLConflictTerminatingPrediction(this.predictionMode,ne)&&(B.configs.conflictingAlts=this.getConflictingAlts(ne),B.requiresFullContext=!0,B.isAcceptState=!0,B.prediction=B.configs.conflictingAlts.minValue()),B.isAcceptState&&B.configs.hasSemanticContext&&(this.predicateDFAState(B,this.atn.getDecisionState(U.decision)),null!==B.predicates&&(B.prediction=c.INVALID_ALT_NUMBER)),B=this.addDFAEdge(U,K,ee,B),B}predicateDFAState(U,K){const ee=K.transitions.length,ne=this.getConflictingAltsOrUniqueAlt(U.configs),B=this.getPredsForAmbigAlts(ne,U.configs,ee);null!==B?(U.predicates=this.getPredicatePredictions(ne,B),U.prediction=c.INVALID_ALT_NUMBER):U.prediction=ne.minValue()}execATNWithFullContext(U,K,ee,ne,B,H){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+ee);let G,X=!1,j=ee;ne.seek(B);let le=ne.LA(1),ue=-1;for(;;){if(G=this.computeReachSet(j,le,!0),null===G){const Je=this.noViableAlt(ne,H,j,B);ne.seek(B);const _t=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(j,H);if(_t!==c.INVALID_ALT_NUMBER)return _t;throw Je}const ve=h.getConflictingAltSubsets(G);if(this.debug&&console.log("LL altSubSets="+ve+", predict="+h.getUniqueAlt(ve)+", resolvesToJustOneViableAlt="+h.resolvesToJustOneViableAlt(ve)),G.uniqueAlt=this.getUniqueAlt(G),G.uniqueAlt!==c.INVALID_ALT_NUMBER){ue=G.uniqueAlt;break}if(this.predictionMode!==h.LL_EXACT_AMBIG_DETECTION){if(ue=h.resolvesToJustOneViableAlt(ve),ue!==c.INVALID_ALT_NUMBER)break}else if(h.allSubsetsConflict(ve)&&h.allSubsetsEqual(ve)){X=!0,ue=h.getSingleViableAlt(ve);break}j=G,le!==l.EOF&&(ne.consume(),le=ne.LA(1))}return G.uniqueAlt!==c.INVALID_ALT_NUMBER?(this.reportContextSensitivity(U,ue,G,B,ne.index),ue):(this.reportAmbiguity(U,K,B,ne.index,X,null,G),ue)}computeReachSet(U,K,ee){this.debug&&console.log("in computeReachSet, starting closure: "+U),null===this.mergeCache&&(this.mergeCache=new E);const ne=new d(ee);let B=null;for(let z=0;z0&&(H=this.getAltThatFinishedDecisionEntryRule(B),H!==c.INVALID_ALT_NUMBER)?H:c.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(U){const K=[];for(let ee=0;ee0||ne.state instanceof s&&ne.context.hasEmptyPath())&&K.indexOf(ne.alt)<0&&K.push(ne.alt)}return 0===K.length?c.INVALID_ALT_NUMBER:Math.min.apply(null,K)}splitAccordingToSemanticValidity(U,K){const ee=new d(U.fullCtx),ne=new d(U.fullCtx);for(let B=0;B50))throw"problem";if(U.state instanceof s){if(!U.context.isEmpty()){for(let X=0;X=0&&(ve+=1)}this.closureCheckingStopState(ue,K,ee,le,B,ve,z)}}}canDropLoopEntryEdgeInLeftRecursiveRule(U){const K=U.state;if(K.stateType!==b.STAR_LOOP_ENTRY||K.stateType!==b.STAR_LOOP_ENTRY||!K.isPrecedenceDecision||U.context.isEmpty()||U.context.hasEmptyPath())return!1;const ee=U.context.length;for(let z=0;z=0?this.parser.ruleNames[U]:""}getEpsilonTarget(U,K,ee,ne,B,H){switch(K.serializationType){case k.RULE:return this.ruleTransition(U,K);case k.PRECEDENCE:return this.precedenceTransition(U,K,ee,ne,B);case k.PREDICATE:return this.predTransition(U,K,ee,ne,B);case k.ACTION:return this.actionTransition(U,K);case k.EPSILON:return new f({state:K.target},U);case k.ATOM:case k.RANGE:case k.SET:return H&&K.matches(l.EOF,0,1)?new f({state:K.target},U):null;default:return null}}actionTransition(U,K){return this.debug&&console.log("ACTION edge "+K.ruleIndex+":"+(-1===K.actionIndex?65535:K.actionIndex)),new f({state:K.target},U)}precedenceTransition(U,K,ee,ne,B){this.debug&&(console.log("PRED (collectPredicates="+ee+") "+K.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+t.arrayToString(this.parser.getRuleInvocationStack())));let H=null;if(ee&&ne)if(B){const z=this._input.index;this._input.seek(this._startIndex);const X=K.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(z),X&&(H=new f({state:K.target},U))}else{const z=y.andContext(U.semanticContext,K.getPredicate());H=new f({state:K.target,semanticContext:z},U)}else H=new f({state:K.target},U);return this.debug&&console.log("config from pred transition="+H),H}predTransition(U,K,ee,ne,B){this.debug&&(console.log("PRED (collectPredicates="+ee+") "+K.ruleIndex+":"+K.predIndex+", ctx dependent="+K.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+t.arrayToString(this.parser.getRuleInvocationStack())));let H=null;if(ee&&(K.isCtxDependent&&ne||!K.isCtxDependent))if(B){const z=this._input.index;this._input.seek(this._startIndex);const X=K.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(z),X&&(H=new f({state:K.target},U))}else{const z=y.andContext(U.semanticContext,K.getPredicate());H=new f({state:K.target,semanticContext:z},U)}else H=new f({state:K.target},U);return this.debug&&console.log("config from pred transition="+H),H}ruleTransition(U,K){this.debug&&console.log("CALL rule "+this.getRuleName(K.target.ruleIndex)+", ctx="+U.context);const ne=S.create(U.context,K.followState.stateNumber);return new f({state:K.target,context:ne},U)}getConflictingAlts(U){const K=h.getConflictingAltSubsets(U);return h.getAlts(K)}getConflictingAltsOrUniqueAlt(U){let K=null;return U.uniqueAlt!==c.INVALID_ALT_NUMBER?(K=new C,K.add(U.uniqueAlt)):K=U.conflictingAlts,K}getTokenName(U){if(U===l.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(U>=this.parser.literalNames.length&&U>=this.parser.symbolicNames.length))return(this.parser.literalNames[U]||this.parser.symbolicNames[U])+"<"+U+">";console.log(U+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+U}getLookaheadName(U){return this.getTokenName(U.LA(1))}dumpDeadEndConfigs(U){console.log("dead end configs: ");const K=U.getDeadEndConfigs();for(let ee=0;ee0){const H=ne.state.transitions[0];H instanceof AtomTransition?B="Atom "+this.getTokenName(H.label):H instanceof D&&(B=(H instanceof I?"~":"")+"Set "+H.set)}console.error(ne.toString(this.parser,!0)+":"+B)}}noViableAlt(U,K,ee,ne){return new N(this.parser,U,U.get(ne),U.LT(1),ee,K)}getUniqueAlt(U){let K=c.INVALID_ALT_NUMBER;for(let ee=0;ee "+ne+" upon "+this.getTokenName(ee)),null===ne?null:(ne=this.addDFAState(U,ne),null===K||ee<-1||ee>this.atn.maxTokenType||(null===K.edges&&(K.edges=[]),K.edges[ee+1]=ne,this.debug&&console.log("DFA=\n"+U.toString(null===this.parser?null:this.parser.literalNames,null===this.parser?null:this.parser.symbolicNames))),ne)}addDFAState(U,K){if(K===u.ERROR)return K;const ee=U.states.get(K);return null!==ee?ee:(K.stateNumber=U.states.length,K.configs.readOnly||(K.configs.optimizeConfigs(this),K.configs.setReadonly(!0)),U.states.add(K),this.debug&&console.log("adding new DFA state: "+K),K)}reportAttemptingFullContext(U,K,ee,ne,B){if(this.debug||this.retry_debug){const H=new w(ne,B+1);console.log("reportAttemptingFullContext decision="+U.decision+":"+ee+", input="+this.parser.getTokenStream().getText(H))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,U,ne,B,K,ee)}reportContextSensitivity(U,K,ee,ne,B){if(this.debug||this.retry_debug){const H=new w(ne,B+1);console.log("reportContextSensitivity decision="+U.decision+":"+ee+", input="+this.parser.getTokenStream().getText(H))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,U,ne,B,K,ee)}reportAmbiguity(U,K,ee,ne,B,H,z){if(this.debug||this.retry_debug){const X=new w(ee,ne+1);console.log("reportAmbiguity "+H+":"+z+", input="+this.parser.getTokenStream().getText(X))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,U,ee,ne,B,H,z)}}},7564:(De,te,g)=>{const{Map:t,BitSet:v,AltDict:C,hashStuff:E}=g(1464),c=g(512),{RuleStopState:b}=g(6968),{ATNConfigSet:s}=g(8815),{ATNConfig:f}=g(4644),{SemanticContext:d}=g(8764),l={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(a,r){if(l.allConfigsInRuleStopStates(r))return!0;if(a===l.SLL&&r.hasSemanticContext){const h=new s;for(let p=0;p1)return!0;return!1},allSubsetsEqual:function(a){let r=null;for(let u=0;u{const{Set:t,Hash:v,equalArrays:C}=g(1464);class E{hashCode(){const l=new v;return this.updateHashCode(l),l.finish()}evaluate(l,a){}evalPrecedence(l,a){return this}static andContext(l,a){if(null===l||l===E.NONE)return a;if(null===a||a===E.NONE)return l;const r=new s(l,a);return 1===r.opnds.length?r.opnds[0]:r}static orContext(l,a){if(null===l)return a;if(null===a)return l;if(l===E.NONE||a===E.NONE)return E.NONE;const r=new f(l,a);return 1===r.opnds.length?r.opnds[0]:r}}class c extends E{constructor(l,a,r){super(),this.ruleIndex=void 0===l?-1:l,this.predIndex=void 0===a?-1:a,this.isCtxDependent=void 0!==r&&r}evaluate(l,a){return l.sempred(this.isCtxDependent?a:null,this.ruleIndex,this.predIndex)}updateHashCode(l){l.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(l){return this===l||l instanceof c&&this.ruleIndex===l.ruleIndex&&this.predIndex===l.predIndex&&this.isCtxDependent===l.isCtxDependent}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}E.NONE=new c;class b extends E{constructor(l){super(),this.precedence=void 0===l?0:l}evaluate(l,a){return l.precpred(a,this.precedence)}evalPrecedence(l,a){return l.precpred(a,this.precedence)?E.NONE:null}compareTo(l){return this.precedence-l.precedence}updateHashCode(l){l.update(this.precedence)}equals(l){return this===l||l instanceof b&&this.precedence===l.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(l){const a=[];return l.values().map(function(r){r instanceof b&&a.push(r)}),a}}class s extends E{constructor(l,a){super();const r=new t;l instanceof s?l.opnds.map(function(h){r.add(h)}):r.add(l),a instanceof s?a.opnds.map(function(h){r.add(h)}):r.add(a);const u=b.filterPrecedencePredicates(r);if(u.length>0){let h=null;u.map(function(p){(null===h||p.precedencea.toString());return(l.length>3?l.slice(3):l).join("&&")}}class f extends E{constructor(l,a){super();const r=new t;l instanceof f?l.opnds.map(function(h){r.add(h)}):r.add(l),a instanceof f?a.opnds.map(function(h){r.add(h)}):r.add(a);const u=b.filterPrecedencePredicates(r);if(u.length>0){const h=u.sort(function(_,y){return _.compareTo(y)});r.add(h[h.length-1])}this.opnds=Array.from(r.values())}equals(l){return this===l||l instanceof f&&C(this.opnds,l.opnds)}updateHashCode(l){l.update(this.opnds,"OR")}evaluate(l,a){for(let r=0;ra.toString());return(l.length>3?l.slice(3):l).join("||")}}De.exports={SemanticContext:E,PrecedencePredicate:b,Predicate:c}},3568:(De,te,g)=>{const{Token:t}=g(9300),{IntervalSet:v}=g(2344),{Predicate:C,PrecedencePredicate:E}=g(8764);class c{constructor(M){if(null==M)throw"target cannot be null.";this.target=M,this.isEpsilon=!1,this.label=null}}c.EPSILON=1,c.RANGE=2,c.RULE=3,c.PREDICATE=4,c.ATOM=5,c.ACTION=6,c.SET=7,c.NOT_SET=8,c.WILDCARD=9,c.PRECEDENCE=10,c.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],c.serializationTypes={EpsilonTransition:c.EPSILON,RangeTransition:c.RANGE,RuleTransition:c.RULE,PredicateTransition:c.PREDICATE,AtomTransition:c.ATOM,ActionTransition:c.ACTION,SetTransition:c.SET,NotSetTransition:c.NOT_SET,WildcardTransition:c.WILDCARD,PrecedencePredicateTransition:c.PRECEDENCE};class l extends c{constructor(M){super(M)}}class u extends c{constructor(M,w){super(M),this.serializationType=c.SET,null!=w?this.label=w:(this.label=new v,this.label.addOne(t.INVALID_TYPE))}matches(M,w,k){return this.label.contains(M)}toString(){return this.label.toString()}}De.exports={Transition:c,AtomTransition:class b extends c{constructor(M,w){super(M),this.label_=w,this.label=this.makeLabel(),this.serializationType=c.ATOM}makeLabel(){const M=new v;return M.addOne(this.label_),M}matches(M,w,k){return this.label_===M}toString(){return this.label_}},SetTransition:u,NotSetTransition:class h extends u{constructor(M,w){super(M,w),this.serializationType=c.NOT_SET}matches(M,w,k){return M>=w&&M<=k&&!super.matches(M,w,k)}toString(){return"~"+super.toString()}},RuleTransition:class s extends c{constructor(M,w,k,D){super(M),this.ruleIndex=w,this.precedence=k,this.followState=D,this.serializationType=c.RULE,this.isEpsilon=!0}matches(M,w,k){return!1}},ActionTransition:class r extends c{constructor(M,w,k,D){super(M),this.serializationType=c.ACTION,this.ruleIndex=w,this.actionIndex=void 0===k?-1:k,this.isCtxDependent=void 0!==D&&D,this.isEpsilon=!0}matches(M,w,k){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}},EpsilonTransition:class f extends c{constructor(M,w){super(M),this.serializationType=c.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=w}matches(M,w,k){return!1}toString(){return"epsilon"}},RangeTransition:class d extends c{constructor(M,w,k){super(M),this.serializationType=c.RANGE,this.start=w,this.stop=k,this.label=this.makeLabel()}makeLabel(){const M=new v;return M.addRange(this.start,this.stop),M}matches(M,w,k){return M>=this.start&&M<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}},WildcardTransition:class p extends c{constructor(M){super(M),this.serializationType=c.WILDCARD}matches(M,w,k){return M>=w&&M<=k}toString(){return"."}},PredicateTransition:class a extends l{constructor(M,w,k,D){super(M),this.serializationType=c.PREDICATE,this.ruleIndex=w,this.predIndex=k,this.isCtxDependent=D,this.isEpsilon=!0}matches(M,w,k){return!1}getPredicate(){return new C(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}},PrecedencePredicateTransition:class _ extends l{constructor(M,w){super(M),this.serializationType=c.PRECEDENCE,this.precedence=w,this.isEpsilon=!0}matches(M,w,k){return!1}getPredicate(){return new E(this.precedence)}toString(){return this.precedence+" >= _p"}},AbstractPredicateTransition:l}},64:(De,te,g)=>{te.ATN=g(512),te.ATNDeserializer=g(8064),te.LexerATNSimulator=g(5800),te.ParserATNSimulator=g(1536),te.PredictionMode=g(7564)},5872:(De,te,g)=>{const{Set:t}=g(1464),{DFAState:v}=g(2020),{StarLoopEntryState:C}=g(6968),{ATNConfigSet:E}=g(8815),{DFASerializer:c}=g(1812),{LexerDFASerializer:b}=g(1812);De.exports=class s{constructor(d,l){if(void 0===l&&(l=0),this.atnStartState=d,this.decision=l,this._states=new t,this.s0=null,this.precedenceDfa=!1,d instanceof C&&d.isPrecedenceDecision){this.precedenceDfa=!0;const a=new v(null,new E);a.edges=[],a.isAcceptState=!1,a.requiresFullContext=!1,this.s0=a}}getPrecedenceStartState(d){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return d<0||d>=this.s0.edges.length?null:this.s0.edges[d]||null}setPrecedenceStartState(d,l){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";d<0||(this.s0.edges[d]=l)}setPrecedenceDfa(d){if(this.precedenceDfa!==d){if(this._states=new t,d){const l=new v(null,new E);l.edges=[],l.isAcceptState=!1,l.requiresFullContext=!1,this.s0=l}else this.s0=null;this.precedenceDfa=d}}sortedStates(){return this._states.values().sort(function(l,a){return l.stateNumber-a.stateNumber})}toString(d,l){return d=d||null,l=l||null,null===this.s0?"":new c(this,d,l).toString()}toLexerString(){return null===this.s0?"":new b(this).toString()}get states(){return this._states}}},1812:(De,te,g)=>{const t=g(1464);class v{constructor(c,b,s){this.dfa=c,this.literalNames=b||[],this.symbolicNames=s||[]}toString(){if(null===this.dfa.s0)return null;let c="";const b=this.dfa.sortedStates();for(let s=0;s"),c=c.concat(this.getStateString(a)),c=c.concat("\n"))}}}return 0===c.length?null:c}getEdgeLabel(c){return 0===c?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[c-1]||this.symbolicNames[c-1]:String.fromCharCode(c-1)}getStateString(c){const b=(c.isAcceptState?":":"")+"s"+c.stateNumber+(c.requiresFullContext?"^":"");return c.isAcceptState?null!==c.predicates?b+"=>"+t.arrayToString(c.predicates):b+"=>"+c.prediction.toString():b}}De.exports={DFASerializer:v,LexerDFASerializer:class C extends v{constructor(c){super(c,null)}getEdgeLabel(c){return"'"+String.fromCharCode(c)+"'"}}}},2020:(De,te,g)=>{const{ATNConfigSet:t}=g(8815),{Hash:v,Set:C}=g(1464);class c{constructor(s,f){return null===s&&(s=-1),null===f&&(f=new t),this.stateNumber=s,this.configs=f,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const s=new C;if(null!==this.configs)for(let f=0;f{te.DFA=g(5872),te.DFASerializer=g(1812).DFASerializer,te.LexerDFASerializer=g(1812).LexerDFASerializer,te.PredPrediction=g(2020).PredPrediction},7908:(De,te,g)=>{const{BitSet:t}=g(1464),{ErrorListener:v}=g(3032),{Interval:C}=g(2344);De.exports=class E extends v{constructor(b){super(),this.exactOnly=b=b||!0}reportAmbiguity(b,s,f,d,l,a,r){if(this.exactOnly&&!l)return;const u="reportAmbiguity d="+this.getDecisionDescription(b,s)+": ambigAlts="+this.getConflictingAlts(a,r)+", input='"+b.getTokenStream().getText(new C(f,d))+"'";b.notifyErrorListeners(u)}reportAttemptingFullContext(b,s,f,d,l,a){const r="reportAttemptingFullContext d="+this.getDecisionDescription(b,s)+", input='"+b.getTokenStream().getText(new C(f,d))+"'";b.notifyErrorListeners(r)}reportContextSensitivity(b,s,f,d,l,a){const r="reportContextSensitivity d="+this.getDecisionDescription(b,s)+", input='"+b.getTokenStream().getText(new C(f,d))+"'";b.notifyErrorListeners(r)}getDecisionDescription(b,s){const f=s.decision,d=s.atnStartState.ruleIndex,l=b.ruleNames;if(d<0||d>=l.length)return""+f;const a=l[d]||null;return null===a||0===a.length?""+f:`${f} (${a})`}getConflictingAlts(b,s){if(null!==b)return b;const f=new t;for(let d=0;d{class te{syntaxError(C,E,c,b,s,f){}reportAmbiguity(C,E,c,b,s,f,d){}reportAttemptingFullContext(C,E,c,b,s,f){}reportContextSensitivity(C,E,c,b,s,f){}}class g extends te{constructor(){super()}syntaxError(C,E,c,b,s,f){console.error("line "+c+":"+b+" "+s)}}g.INSTANCE=new g,De.exports={ErrorListener:te,ConsoleErrorListener:g,ProxyErrorListener:class t extends te{constructor(C){if(super(),null===C)throw"delegates";return this.delegates=C,this}syntaxError(C,E,c,b,s,f){this.delegates.map(d=>d.syntaxError(C,E,c,b,s,f))}reportAmbiguity(C,E,c,b,s,f,d){this.delegates.map(l=>l.reportAmbiguity(C,E,c,b,s,f,d))}reportAttemptingFullContext(C,E,c,b,s,f){this.delegates.map(d=>d.reportAttemptingFullContext(C,E,c,b,s,f))}reportContextSensitivity(C,E,c,b,s,f){this.delegates.map(d=>d.reportContextSensitivity(C,E,c,b,s,f))}}}},2079:(De,te,g)=>{const{Token:t}=g(9300),{NoViableAltException:v,InputMismatchException:C,FailedPredicateException:E,ParseCancellationException:c}=g(7772),{ATNState:b}=g(6968),{Interval:s,IntervalSet:f}=g(2344);class d{reset(u){}recoverInline(u){}recover(u,h){}sync(u){}inErrorRecoveryMode(u){}reportError(u){}}class l extends d{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(u){this.endErrorCondition(u)}beginErrorCondition(u){this.errorRecoveryMode=!0}inErrorRecoveryMode(u){return this.errorRecoveryMode}endErrorCondition(u){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(u){this.endErrorCondition(u)}reportError(u,h){this.inErrorRecoveryMode(u)||(this.beginErrorCondition(u),h instanceof v?this.reportNoViableAlternative(u,h):h instanceof C?this.reportInputMismatch(u,h):h instanceof E?this.reportFailedPredicate(u,h):(console.log("unknown recognition error type: "+h.constructor.name),console.log(h.stack),u.notifyErrorListeners(h.getOffendingToken(),h.getMessage(),h)))}recover(u,h){this.lastErrorIndex===u.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(u.state)>=0&&u.consume(),this.lastErrorIndex=u._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(u.state);const p=this.getErrorRecoverySet(u);this.consumeUntil(u,p)}sync(u){if(this.inErrorRecoveryMode(u))return;const h=u._interp.atn.states[u.state],p=u.getTokenStream().LA(1),_=u.atn.nextTokens(h);if(_.contains(p))return this.nextTokensContext=null,void(this.nextTokenState=b.INVALID_STATE_NUMBER);if(_.contains(t.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=u._ctx,this.nextTokensState=u._stateNumber);else switch(h.stateType){case b.BLOCK_START:case b.STAR_BLOCK_START:case b.PLUS_BLOCK_START:case b.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(u))return;throw new C(u);case b.PLUS_LOOP_BACK:case b.STAR_LOOP_BACK:this.reportUnwantedToken(u);const y=new f;y.addSet(u.getExpectedTokens());const M=y.addSet(this.getErrorRecoverySet(u));this.consumeUntil(u,M)}}reportNoViableAlternative(u,h){const p=u.getTokenStream();let _;_=null!==p?h.startToken.type===t.EOF?"":p.getText(new s(h.startToken.tokenIndex,h.offendingToken.tokenIndex)):"";const y="no viable alternative at input "+this.escapeWSAndQuote(_);u.notifyErrorListeners(y,h.offendingToken,h)}reportInputMismatch(u,h){const p="mismatched input "+this.getTokenErrorDisplay(h.offendingToken)+" expecting "+h.getExpectedTokens().toString(u.literalNames,u.symbolicNames);u.notifyErrorListeners(p,h.offendingToken,h)}reportFailedPredicate(u,h){u.notifyErrorListeners("rule "+u.ruleNames[u._ctx.ruleIndex]+" "+h.message,h.offendingToken,h)}reportUnwantedToken(u){if(this.inErrorRecoveryMode(u))return;this.beginErrorCondition(u);const h=u.getCurrentToken(),y="extraneous input "+this.getTokenErrorDisplay(h)+" expecting "+this.getExpectedTokens(u).toString(u.literalNames,u.symbolicNames);u.notifyErrorListeners(y,h,null)}reportMissingToken(u){if(this.inErrorRecoveryMode(u))return;this.beginErrorCondition(u);const h=u.getCurrentToken(),_="missing "+this.getExpectedTokens(u).toString(u.literalNames,u.symbolicNames)+" at "+this.getTokenErrorDisplay(h);u.notifyErrorListeners(_,h,null)}recoverInline(u){const h=this.singleTokenDeletion(u);if(null!==h)return u.consume(),h;if(this.singleTokenInsertion(u))return this.getMissingSymbol(u);throw new C(u)}singleTokenInsertion(u){const h=u.getTokenStream().LA(1),p=u._interp.atn;return!!p.nextTokens(p.states[u.state].transitions[0].target,u._ctx).contains(h)&&(this.reportMissingToken(u),!0)}singleTokenDeletion(u){const h=u.getTokenStream().LA(2);if(this.getExpectedTokens(u).contains(h)){this.reportUnwantedToken(u),u.consume();const _=u.getCurrentToken();return this.reportMatch(u),_}return null}getMissingSymbol(u){const h=u.getCurrentToken(),_=this.getExpectedTokens(u).first();let y;y=_===t.EOF?"":"";let M=h;const w=u.getTokenStream().LT(-1);return M.type===t.EOF&&null!==w&&(M=w),u.getTokenFactory().create(M.source,_,y,t.DEFAULT_CHANNEL,-1,-1,M.line,M.column)}getExpectedTokens(u){return u.getExpectedTokens()}getTokenErrorDisplay(u){if(null===u)return"";let h=u.text;return null===h&&(h=u.type===t.EOF?"":"<"+u.type+">"),this.escapeWSAndQuote(h)}escapeWSAndQuote(u){return"'"+(u=(u=(u=u.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}getErrorRecoverySet(u){const h=u._interp.atn;let p=u._ctx;const _=new f;for(;null!==p&&p.invokingState>=0;){const w=h.nextTokens(h.states[p.invokingState].transitions[0].followState);_.addSet(w),p=p.parentCtx}return _.removeOne(t.EPSILON),_}consumeUntil(u,h){let p=u.getTokenStream().LA(1);for(;p!==t.EOF&&!h.contains(p);)u.consume(),p=u.getTokenStream().LA(1)}}De.exports={BailErrorStrategy:class a extends l{constructor(){super()}recover(u,h){let p=u._ctx;for(;null!==p;)p.exception=h,p=p.parentCtx;throw new c(h)}recoverInline(u){this.recover(u,new C(u))}sync(u){}},DefaultErrorStrategy:l}},7772:(De,te,g)=>{const{PredicateTransition:t}=g(3568),{Interval:v}=g(2344).Interval;class C extends Error{constructor(a){super(a.message),Error.captureStackTrace?Error.captureStackTrace(this,C):new Error,this.message=a.message,this.recognizer=a.recognizer,this.input=a.input,this.ctx=a.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 s(l,a){return null!==a?a:"failed predicate: {"+l+"}?"}class d extends Error{constructor(){super(),Error.captureStackTrace(this,d)}}De.exports={RecognitionException:C,NoViableAltException:class c extends C{constructor(a,r,u,h,p,_){_=_||a._ctx,h=h||a.getCurrentToken(),u=u||a.getCurrentToken(),r=r||a.getInputStream(),super({message:"",recognizer:a,input:r,ctx:_}),this.deadEndConfigs=p,this.startToken=u,this.offendingToken=h}},LexerNoViableAltException:class E extends C{constructor(a,r,u,h){super({message:"",recognizer:a,input:r,ctx:null}),this.startIndex=u,this.deadEndConfigs=h}toString(){let a="";return this.startIndex>=0&&this.startIndex{De.exports.RecognitionException=g(7772).RecognitionException,De.exports.NoViableAltException=g(7772).NoViableAltException,De.exports.LexerNoViableAltException=g(7772).LexerNoViableAltException,De.exports.InputMismatchException=g(7772).InputMismatchException,De.exports.FailedPredicateException=g(7772).FailedPredicateException,De.exports.DiagnosticErrorListener=g(7908),De.exports.BailErrorStrategy=g(2079).BailErrorStrategy,De.exports.DefaultErrorStrategy=g(2079).DefaultErrorStrategy,De.exports.ErrorListener=g(3032).ErrorListener},2388:()=>{String.prototype.codePointAt||function(){"use strict";var De=function(){let g;try{const t={},v=Object.defineProperty;g=v(t,t,t)&&v}catch{}return g}();const te=function(g){if(null==this)throw TypeError();const t=String(this),v=t.length;let C=g?Number(g):0;if(C!=C&&(C=0),C<0||C>=v)return;const E=t.charCodeAt(C);let c;return E>=55296&&E<=56319&&v>C+1&&(c=t.charCodeAt(C+1),c>=56320&&c<=57343)?1024*(E-55296)+c-56320+65536:E};De?De(String.prototype,"codePointAt",{value:te,configurable:!0,writable:!0}):String.prototype.codePointAt=te}()},9700:()=>{String.fromCodePoint||function(){const De=function(){let v;try{const C={},E=Object.defineProperty;v=E(C,C,C)&&E}catch{}return v}(),te=String.fromCharCode,g=Math.floor,t=function(v){const E=[];let c,b,s=-1;const f=arguments.length;if(!f)return"";let d="";for(;++s1114111||g(l)!==l)throw RangeError("Invalid code point: "+l);l<=65535?E.push(l):(l-=65536,c=55296+(l>>10),b=l%1024+56320,E.push(c,b)),(s+1===f||E.length>16384)&&(d+=te.apply(null,E),E.length=0)}return d};De?De(String,"fromCodePoint",{value:t,configurable:!0,writable:!0}):String.fromCodePoint=t}()},7336:(De,te,g)=>{const{Token:t}=g(9300),{Interval:v}=g(2344),C=new v(-1,-2);class E{}class c extends E{constructor(){super()}}class b extends c{constructor(){super()}}class f extends b{constructor(){super()}}class d extends f{constructor(){super()}}class r extends f{constructor(_){super(),this.parentCtx=null,this.symbol=_}getChild(_){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(null===this.symbol)return C;const _=this.symbol.tokenIndex;return new v(_,_)}getChildCount(){return 0}accept(_){return _.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===t.EOF?"":this.symbol.text}}class h{walk(_,y){if(y instanceof d||void 0!==y.isErrorNode&&y.isErrorNode())_.visitErrorNode(y);else if(y instanceof f)_.visitTerminal(y);else{this.enterRule(_,y);for(let w=0;w{const t=g(1464),{Token:v}=g(9300),{ErrorNode:C,TerminalNode:E,RuleNode:c}=g(7336),b={toStringTree:function(s,f,d){f=f||null,null!==(d=d||null)&&(f=d.ruleNames);let l=b.getNodeText(s,f);l=t.escapeWhitespace(l,!1);const a=s.getChildCount();if(0===a)return l;let r="("+l+" ";a>0&&(l=b.toStringTree(s.getChild(0),f),r=r.concat(l));for(let u=1;u{const t=g(7336),v=g(8);De.exports={...t,Trees:v}},5640:function(){var De;De=typeof self<"u"?self:this,function(g){var t_searchParams="URLSearchParams"in De,t_iterable="Symbol"in De&&"iterator"in Symbol,t_blob="FileReader"in De&&"Blob"in De&&function(){try{return new Blob,!0}catch{return!1}}(),t_formData="FormData"in De,t_arrayBuffer="ArrayBuffer"in De;if(t_arrayBuffer)var C=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],E=ArrayBuffer.isView||function(T){return T&&C.indexOf(Object.prototype.toString.call(T))>-1};function c(T){if("string"!=typeof T&&(T=String(T)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(T))throw new TypeError("Invalid character in header field name");return T.toLowerCase()}function b(T){return"string"!=typeof T&&(T=String(T)),T}function s(T){var N={next:function(){var S=T.shift();return{done:void 0===S,value:S}}};return t_iterable&&(N[Symbol.iterator]=function(){return N}),N}function f(T){this.map={},T instanceof f?T.forEach(function(N,S){this.append(S,N)},this):Array.isArray(T)?T.forEach(function(N){this.append(N[0],N[1])},this):T&&Object.getOwnPropertyNames(T).forEach(function(N){this.append(N,T[N])},this)}function d(T){if(T.bodyUsed)return Promise.reject(new TypeError("Already read"));T.bodyUsed=!0}function l(T){return new Promise(function(N,S){T.onload=function(){N(T.result)},T.onerror=function(){S(T.error)}})}function a(T){var N=new FileReader,S=l(N);return N.readAsArrayBuffer(T),S}function h(T){if(T.slice)return T.slice(0);var N=new Uint8Array(T.byteLength);return N.set(new Uint8Array(T)),N.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(T){this._bodyInit=T,T?"string"==typeof T?this._bodyText=T:t_blob&&Blob.prototype.isPrototypeOf(T)?this._bodyBlob=T:t_formData&&FormData.prototype.isPrototypeOf(T)?this._bodyFormData=T:t_searchParams&&URLSearchParams.prototype.isPrototypeOf(T)?this._bodyText=T.toString():t_arrayBuffer&&t_blob&&function v(T){return T&&DataView.prototype.isPrototypeOf(T)}(T)?(this._bodyArrayBuffer=h(T.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):t_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(T)||E(T))?this._bodyArrayBuffer=h(T):this._bodyText=T=Object.prototype.toString.call(T):this._bodyText="",this.headers.get("content-type")||("string"==typeof T?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t_searchParams&&URLSearchParams.prototype.isPrototypeOf(T)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t_blob&&(this.blob=function(){var T=d(this);if(T)return T;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?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(a)}),this.text=function(){var T=d(this);if(T)return T;if(this._bodyBlob)return function r(T){var N=new FileReader,S=l(N);return N.readAsText(T),S}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function u(T){for(var N=new Uint8Array(T),S=new Array(N.length),F=0;F-1?N:T}(N.method||this.method||"GET"),this.mode=N.mode||this.mode||null,this.signal=N.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&S)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(S)}function w(T){var N=new FormData;return T.trim().split("&").forEach(function(S){if(S){var F=S.split("="),L=F.shift().replace(/\+/g," "),A=F.join("=").replace(/\+/g," ");N.append(decodeURIComponent(L),decodeURIComponent(A))}}),N}function k(T){var N=new f;return T.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(F){var L=F.split(":"),A=L.shift().trim();if(A){var U=L.join(":").trim();N.append(A,U)}}),N}function D(T,N){N||(N={}),this.type="default",this.status=void 0===N.status?200:N.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in N?N.statusText:"OK",this.headers=new f(N.headers),this.url=N.url||"",this._initBody(T)}M.prototype.clone=function(){return new M(this,{body:this._bodyInit})},p.call(M.prototype),p.call(D.prototype),D.prototype.clone=function(){return new D(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},D.error=function(){var T=new D(null,{status:0,statusText:""});return T.type="error",T};var I=[301,302,303,307,308];D.redirect=function(T,N){if(-1===I.indexOf(N))throw new RangeError("Invalid status code");return new D(null,{status:N,headers:{location:T}})},g.DOMException=De.DOMException;try{new g.DOMException}catch{g.DOMException=function(N,S){this.message=N,this.name=S;var F=Error(N);this.stack=F.stack},g.DOMException.prototype=Object.create(Error.prototype),g.DOMException.prototype.constructor=g.DOMException}function O(T,N){return new Promise(function(S,F){var L=new M(T,N);if(L.signal&&L.signal.aborted)return F(new g.DOMException("Aborted","AbortError"));var A=new XMLHttpRequest;function U(){A.abort()}A.onload=function(){var K={status:A.status,statusText:A.statusText,headers:k(A.getAllResponseHeaders()||"")};K.url="responseURL"in A?A.responseURL:K.headers.get("X-Request-URL"),S(new D("response"in A?A.response:A.responseText,K))},A.onerror=function(){F(new TypeError("Network request failed"))},A.ontimeout=function(){F(new TypeError("Network request failed"))},A.onabort=function(){F(new g.DOMException("Aborted","AbortError"))},A.open(L.method,L.url,!0),"include"===L.credentials?A.withCredentials=!0:"omit"===L.credentials&&(A.withCredentials=!1),"responseType"in A&&t_blob&&(A.responseType="blob"),L.headers.forEach(function(K,ee){A.setRequestHeader(ee,K)}),L.signal&&(L.signal.addEventListener("abort",U),A.onreadystatechange=function(){4===A.readyState&&L.signal.removeEventListener("abort",U)}),A.send(typeof L._bodyInit>"u"?null:L._bodyInit)})}O.polyfill=!0,De.fetch||(De.fetch=O,De.Headers=f,De.Request=M,De.Response=D),g.Headers=f,g.Request=M,g.Response=D,g.fetch=O,Object.defineProperty(g,"__esModule",{value:!0})}({})},9664:De=>{De.exports=function(t){var v=new Date(t.getTime()),C=v.getTimezoneOffset();return v.setSeconds(0,0),6e4*C+v.getTime()%6e4}},6915:(De,te,g)=>{var t=g(9952);De.exports=function v(C,E){var c=t(C),b=Number(E);return c.setDate(c.getDate()+b),c}},4260:(De,te,g)=>{var t=g(2236);De.exports=function C(E,c){var b=Number(c);return t(E,36e5*b)}},2236:(De,te,g)=>{var t=g(9952);De.exports=function v(C,E){var c=t(C).getTime(),b=Number(E);return new Date(c+b)}},7196:(De,te,g)=>{var t=g(2236);De.exports=function C(E,c){var b=Number(c);return t(E,6e4*b)}},4400:(De,te,g)=>{var t=g(9952),v=g(68);De.exports=function C(E,c){var b=t(E),s=Number(c),f=b.getMonth()+s,d=new Date(0);d.setFullYear(b.getFullYear(),f,1),d.setHours(0,0,0,0);var l=v(d);return b.setMonth(f,Math.min(l,b.getDate())),b}},3792:(De,te,g)=>{var t=g(2236);De.exports=function v(C,E){var c=Number(E);return t(C,1e3*c)}},7784:(De,te,g)=>{var t=g(6915);De.exports=function v(C,E){var c=Number(E);return t(C,7*c)}},4824:(De,te,g)=>{var t=g(4400);De.exports=function v(C,E){var c=Number(E);return t(C,12*c)}},68:(De,te,g)=>{var t=g(9952);De.exports=function v(C){var E=t(C),c=E.getFullYear(),b=E.getMonth(),s=new Date(0);return s.setFullYear(c,b+1,0),s.setHours(0,0,0,0),s.getDate()}},1684:De=>{De.exports=function te(g){return g instanceof Date}},9952:(De,te,g)=>{var t=g(9664),v=g(1684),C=36e5,E=6e4,b=/[T ]/,s=/:/,f=/^(\d{2})$/,d=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],l=/^(\d{4})/,a=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],r=/^-(\d{2})$/,u=/^-?(\d{3})$/,h=/^-?(\d{2})-?(\d{2})$/,p=/^-?W(\d{2})$/,_=/^-?W(\d{2})-?(\d{1})$/,y=/^(\d{2}([.,]\d*)?)$/,M=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,w=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,k=/([Z+-].*)$/,D=/^(Z)$/,I=/^([+-])(\d{2})$/,O=/^([+-])(\d{2}):?(\d{2})$/;function U(K,ee,ne){ee=ee||0,ne=ne||0;var B=new Date(0);B.setUTCFullYear(K,0,4);var z=7*ee+ne+1-(B.getUTCDay()||7);return B.setUTCDate(B.getUTCDate()+z),B}De.exports=function T(K,ee){if(v(K))return new Date(K.getTime());if("string"!=typeof K)return new Date(K);var B=(ee||{}).additionalDigits;B=null==B?2:Number(B);var H=function N(K){var B,ee={},ne=K.split(b);if(s.test(ne[0])?(ee.date=null,B=ne[0]):(ee.date=ne[0],B=ne[1]),B){var H=k.exec(B);H?(ee.time=B.replace(H[1],""),ee.timezone=H[1]):ee.time=B}return ee}(K),z=function S(K,ee){var H,ne=d[ee],B=a[ee];if(H=l.exec(K)||B.exec(K)){var z=H[1];return{year:parseInt(z,10),restDateString:K.slice(z.length)}}if(H=f.exec(K)||ne.exec(K)){var X=H[1];return{year:100*parseInt(X,10),restDateString:K.slice(X.length)}}return{year:null}}(H.date,B),j=function F(K,ee){if(null===ee)return null;var ne,B,H;if(0===K.length)return(B=new Date(0)).setUTCFullYear(ee),B;if(ne=r.exec(K))return B=new Date(0),H=parseInt(ne[1],10)-1,B.setUTCFullYear(ee,H),B;if(ne=u.exec(K)){B=new Date(0);var X=parseInt(ne[1],10);return B.setUTCFullYear(ee,0,X),B}if(ne=h.exec(K)){B=new Date(0),H=parseInt(ne[1],10)-1;var G=parseInt(ne[2],10);return B.setUTCFullYear(ee,H,G),B}return(ne=p.exec(K))?U(ee,parseInt(ne[1],10)-1):(ne=_.exec(K))?U(ee,parseInt(ne[1],10)-1,parseInt(ne[2],10)-1):null}(z.restDateString,z.year);if(j){var ve,le=j.getTime(),ue=0;if(H.time&&(ue=function L(K){var ee,ne,B;if(ee=y.exec(K))return(ne=parseFloat(ee[1].replace(",",".")))%24*C;if(ee=M.exec(K))return ne=parseInt(ee[1],10),B=parseFloat(ee[2].replace(",",".")),ne%24*C+B*E;if(ee=w.exec(K)){ne=parseInt(ee[1],10),B=parseInt(ee[2],10);var H=parseFloat(ee[3].replace(",","."));return ne%24*C+B*E+1e3*H}return null}(H.time)),H.timezone)ve=function A(K){var ee,ne;return(ee=D.exec(K))?0:(ee=I.exec(K))?(ne=60*parseInt(ee[2],10),"+"===ee[1]?-ne:ne):(ee=O.exec(K))?(ne=60*parseInt(ee[2],10)+parseInt(ee[3],10),"+"===ee[1]?-ne:ne):0}(H.timezone)*E;else{var Je=le+ue,_t=new Date(Je);ve=t(_t);var ct=new Date(Je);ct.setDate(_t.getDate()+1);var Ct=t(ct)-t(_t);Ct>0&&(ve+=Ct)}return new Date(le+ue+ve)}return new Date(K)}},7020:(De,te,g)=>{te.formatArgs=function v(s){if(s[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+s[0]+(this.useColors?"%c ":" ")+"+"+De.exports.humanize(this.diff),!this.useColors)return;const f="color: "+this.color;s.splice(1,0,f,"color: inherit");let d=0,l=0;s[0].replace(/%[a-zA-Z%]/g,a=>{"%%"!==a&&(d++,"%c"===a&&(l=d))}),s.splice(l,0,f)},te.save=function C(s){try{s?te.storage.setItem("debug",s):te.storage.removeItem("debug")}catch{}},te.load=function E(){let s;try{s=te.storage.getItem("debug")}catch{}return!s&&typeof process<"u"&&"env"in process&&(s=process.env.DEBUG),s},te.useColors=function t(){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+)/))},te.storage=function c(){try{return localStorage}catch{}}(),te.destroy=(()=>{let s=!1;return()=>{s||(s=!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`."))}})(),te.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"],te.log=console.debug||console.log||(()=>{}),De.exports=g(424)(te);const{formatters:b}=De.exports;b.j=function(s){try{return JSON.stringify(s)}catch(f){return"[UnexpectedJSONParseError]: "+f.message}}},424:(De,te,g)=>{De.exports=function t(v){function E(r){let u,p,_,h=null;function y(...M){if(!y.enabled)return;const w=y,k=Number(new Date);w.diff=k-(u||k),w.prev=u,w.curr=k,u=k,M[0]=E.coerce(M[0]),"string"!=typeof M[0]&&M.unshift("%O");let I=0;M[0]=M[0].replace(/%([a-zA-Z%])/g,(T,N)=>{if("%%"===T)return"%";I++;const S=E.formatters[N];return"function"==typeof S&&(T=S.call(w,M[I]),M.splice(I,1),I--),T}),E.formatArgs.call(w,M),(w.log||E.log).apply(w,M)}return y.namespace=r,y.useColors=E.useColors(),y.color=E.selectColor(r),y.extend=c,y.destroy=E.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==h?h:(p!==E.namespaces&&(p=E.namespaces,_=E.enabled(r)),_),set:M=>{h=M}}),"function"==typeof E.init&&E.init(y),y}function c(r,u){const h=E(this.namespace+(typeof u>"u"?":":u)+r);return h.log=this.log,h}function d(r){return r.toString().substring(2,r.toString().length-2).replace(/\.\*\?$/,"*")}return E.debug=E,E.default=E,E.coerce=function l(r){return r instanceof Error?r.stack||r.message:r},E.disable=function s(){const r=[...E.names.map(d),...E.skips.map(d).map(u=>"-"+u)].join(",");return E.enable(""),r},E.enable=function b(r){let u;E.save(r),E.namespaces=r,E.names=[],E.skips=[];const h=("string"==typeof r?r:"").split(/[\s,]+/),p=h.length;for(u=0;u{E[r]=v[r]}),E.names=[],E.skips=[],E.formatters={},E.selectColor=function C(r){let u=0;for(let h=0;h{"use strict";var te="%[a-f0-9]{2}",g=new RegExp("("+te+")|([^%]+?)","gi"),t=new RegExp("("+te+")+","gi");function v(c,b){try{return[decodeURIComponent(c.join(""))]}catch{}if(1===c.length)return c;var s=c.slice(0,b=b||1),f=c.slice(b);return Array.prototype.concat.call([],v(s),v(f))}function C(c){try{return decodeURIComponent(c)}catch{for(var b=c.match(g)||[],s=1;s"u"&&typeof process<"u"&&"[object process]"==={}.toString.call(process),u=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function M(){var Oe=setTimeout;return function(){return Oe(k,1)}}var w=new Array(1e3);function k(){for(var Oe=0;Oe{De.exports=class te{constructor(t){this.capabilityStatement=t}serverCan(t){return this.supportFor({capabilityType:"interaction",where:{code:t}})}resourceCan(t,v){return this.supportFor({resourceType:t,capabilityType:"interaction",where:{code:v}})}serverSearch(t){return this.supportFor({capabilityType:"searchParam",where:{name:t}})}resourceSearch(t,v){return this.supportFor({resourceType:t,capabilityType:"searchParam",where:{name:v}})}supportFor({resourceType:t,capabilityType:v,where:C}={}){let E;if(E=t?this.resourceCapabilities({resourceType:t}):this.serverCapabilities(),!E)return!1;const c=E[v];if(C&&c){const b=Object.keys(C)[0];return void 0!==c.find(f=>f[b]===C[b])}return void 0!==c}interactionsFor({resourceType:t}={}){const v=this.resourceCapabilities({resourceType:t});return void 0===v?[]:v.interaction.map(C=>C.code)}searchParamsFor({resourceType:t}={}){const v=this.resourceCapabilities({resourceType:t});return void 0===v||void 0===v.searchParam?[]:v.searchParam.map(C=>C.name)}resourceCapabilities({resourceType:t}={}){return this.serverCapabilities().resource.find(E=>E.type===t)}capabilityContents({resourceType:t,capabilityType:v}={}){const C=this.resourceCapabilities({resourceType:t});if(void 0!==C)return C[v]}serverCapabilities(){return this.capabilityStatement.rest.find(t=>"server"===t.mode)}}},1920:(De,te,g)=>{var t=g(1196).default;const v=g(4420),{authFromCapability:C,authFromWellKnown:E}=g(2564),c=g(3440),b=g(9924),s=g(9108),{createQueryString:f,validResourceType:d}=g(6780),{FetchQueue:l}=g(2096),{deprecatePaginationArgs:a,deprecateHeaders:r}=g(2324),u=g(7800);De.exports=class h{constructor({baseUrl:_,customHeaders:y,requestOptions:M,requestSigner:w,bearerToken:k}={}){this.httpClient=new c({baseUrl:_,customHeaders:y,requestOptions:M,requestSigner:w}),k&&(this.httpClient.bearerToken=k),this.resolver=new b(this),this.pagination=new s(this.httpClient)}static httpFor(_){return{request:c.requestFor(_),response:c.responseFor(_)}}get baseUrl(){return this.httpClient&&this.httpClient.baseUrl}set baseUrl(_){this.httpClient&&(this.httpClient.baseUrl=_)}get customHeaders(){return this.httpClient.customHeaders}set customHeaders(_){this.httpClient.customHeaders=_}set bearerToken(_){this.httpClient.bearerToken=_}resolve({reference:_,context:y,headers:M,options:w={}}={}){return this.resolver.resolve({reference:_,context:y,options:r(w,M)})}smartAuthMetadata({headers:_,options:y={}}={}){var M=this;return t(function*(){const w={options:r(y,_)};w.options.headers||(w.options.headers={}),w.options.headers.accept="application/fhir+json,application/json";const k=M.baseUrl.replace(/\/*$/,"/"),D=new l,I=D.buildJob(),O=D.buildJob(),T=D.buildJob(),N=[];return new Promise((S,F)=>{function L(A){N.push(A)===D.numJobs&&F(new Error(N.map(U=>U.message).join("; ")))}M.httpClient.request("GET",`${k}.well-known/smart-configuration`,O.addSignalOption(w)).then(A=>(D.safeAbortOthers(O),S(E(A)))).catch(A=>L(A)),M.capabilityStatement(I.addSignalOption(w)).then(A=>(D.safeAbortOthers(I),S(C(A)))).catch(A=>L(A)),M.httpClient.request("GET",`${k}.well-known/openid-configuration`,T.addSignalOption(w)).then(A=>(D.safeAbortOthers(T),S(E(A)))).catch(A=>L(A))})})()}capabilityStatement({headers:_,options:y={}}={}){return this.metadata||(this.metadata=this.httpClient.get("metadata",r(y,_))),this.metadata}request(_,{method:y="GET",options:M={},body:w}={}){return M.method&&M.method!==y&&console.warn(`WARNING: 'options.method' has been specified: ${M.method} but will be ignored. Use 'method' instead.`),this.httpClient.request(y,_,M,w)}read({resourceType:_,id:y,headers:M,options:w={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);return this.httpClient.get(`${_}/${y}`,r(w,M))}vread({resourceType:_,id:y,version:M,headers:w,options:k={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);return this.httpClient.get(`${_}/${y}/_history/${M}`,r(k,w))}create({resourceType:_,body:y,headers:M,options:w={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);return this.httpClient.post(_,y,r(w,M))}delete({resourceType:_,id:y,headers:M,options:w={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);return this.httpClient.delete(`${_}/${y}`,r(w,M))}update({resourceType:_,id:y,searchParams:M,body:w,headers:k,options:D={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);if(y&&M)throw new Error("Conditional update with search params cannot be with id",_);if(M){const I=f(M);return this.httpClient.put(`${_}?${I}`,w,r(D,k))}return this.httpClient.put(`${_}/${y}`,w,r(D,k))}patch({resourceType:_,id:y,JSONPatch:M,headers:w,options:k={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);const I={...r(k,w).headers||{},"Content-Type":"application/json-patch+json"};return this.httpClient.patch(`${_}/${y}`,M,{...k,headers:I})}batch({body:_,headers:y,options:M={}}={}){return this.httpClient.post("/",_,r(M,y))}transaction({body:_,headers:y,options:M={}}={}){return this.httpClient.post("/",_,r(M,y))}operation({name:_,resourceType:y,id:M,method:w="POST",input:k,options:D={}}={}){const I=["/"];if(y){if(!d(y))throw new Error("Invalid resourceType",y);I.push(`${y}/`)}return M&&I.push(`${M}/`),I.push(`${_.startsWith("$")?_:`$${_}`}`),"POST"===w.toUpperCase()?this.httpClient.post(I.join(""),k,D):"GET"===w.toUpperCase()?(k&&I.push(`?${v.stringify(k)}`),this.httpClient.get(I.join(""),D)):void 0}nextPage(_,y){const{bundle:M,options:w={}}=a(_,y);return this.pagination.nextPage(M,w)}prevPage(_,y){const{bundle:M,options:w={}}=a(_,y);return this.pagination.prevPage(M,w)}search({resourceType:_,compartment:y,searchParams:M,headers:w,options:k={}}={}){if(_&&!d(_))throw new Error("Invalid resourceType",_);if(y&&_)return this.compartmentSearch({resourceType:_,compartment:y,searchParams:M,options:r(k,w)});if(_)return this.resourceSearch({resourceType:_,searchParams:M,options:r(k,w)});if(M instanceof Object&&Object.keys(M).length>0)return this.systemSearch({searchParams:M,options:r(k,w)});throw new Error("search requires either searchParams or a resourceType")}resourceSearch({resourceType:_,searchParams:y,headers:M,options:w={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);let k=_;return w.postSearch&&(k+="/_search"),this.baseSearch({searchPath:k,searchParams:y,headers:M,options:w})}systemSearch({searchParams:_,headers:y,options:M={}}={}){return this.baseSearch({searchPath:"/_search",searchParams:_,headers:y,options:M})}compartmentSearch({resourceType:_,compartment:y,searchParams:M,headers:w,options:k={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);const{resourceType:D,id:I}=y;if(!d(D))throw new Error("Invalid compartmentType",D);let O=`/${D}/${I}/${_}`;return k.postSearch&&(O+="/_search"),this.baseSearch({searchPath:O,searchParams:M,headers:w,options:k})}baseSearch({searchPath:_,searchParams:y,headers:M,options:w}){const k=f(y),D=r(w,M);return this[w.postSearch?"postSearch":"getSearch"](_,k,D)}postSearch(_,y,M){const k={"Content-Type":"application/x-www-form-urlencoded",...M.headers},D={...M,headers:k};return this.httpClient.post(_,y,D)}getSearch(_,y,M){let w=_;return y&&(w+=`?${y}`),this.httpClient.get(w,M)}history({resourceType:_,id:y,headers:M,options:w={}}={}){if(_&&!d(_))throw new Error("Invalid resourceType",_);return y&&_?this.resourceHistory({resourceType:_,id:y,options:r(w,M)}):_?this.typeHistory({resourceType:_,options:r(w,M)}):this.systemHistory({options:r(w,M)})}resourceHistory({resourceType:_,id:y,headers:M,options:w={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);return this.httpClient.get(`${_}/${y}/_history`,r(w,M))}typeHistory({resourceType:_,headers:y,options:M={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);return this.httpClient.get(`${_}/_history`,r(M,y))}systemHistory({headers:_,options:y={}}={}){return this.httpClient.get("_history",r(y,_))}},De.exports.CapabilityTool=u},2324:De=>{De.exports={deprecateHeaders:(t,v)=>v?(console.warn("WARNING: headers is deprecated and will be removed in the next major version. Use options.headers instead."),console.warn(JSON.stringify(v,null," ")),{headers:v,...t}):t,deprecatePaginationArgs:(t,v)=>{if(Object.prototype.hasOwnProperty.call(t,"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 C={bundle:t};return v&&(C.options={headers:v}),C}return t}}},2096:(De,te,g)=>{const{AbortController:t}=g(2948);class v{constructor(){this.controller=new t,this.resolving=!1}addSignalOption(c){return{signal:this.controller.signal,...c}}safeAbort(){this.resolving||this.controller.abort()}}De.exports={FetchQueue:class C{constructor(){this.jobs=[],this.numJobs=0}buildJob(){const c=new v;return this.numJobs=this.jobs.push(c),c}safeAbortOthers(c){c.resolving=!0;for(let b=0,s=this.numJobs;b{De.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})?$/}},3440:(De,te,g)=>{var t=g(1196).default;g(4188).polyfill(),g(5640);const{logRequestError:v,logRequestInfo:C,logResponseInfo:E}=g(8016),c={accept:"application/fhir+json"},b="__response",s="__request";let d,l,f=!1;try{d=g(5368),l=g(5368).HttpsAgent,f=!0}catch{C("HTTP Agent is not available")}const a=new WeakMap;function u({status:p,data:_,method:y,headers:M,url:w}){const k={response:{status:p,data:_},config:{method:y,url:w,headers:M}};return v(k),k}De.exports=class Qu{static lcKeys(_){return _&&Object.keys(_).reduce((y,M)=>(y[M.toLowerCase()]=_[M],y),{})}constructor({baseUrl:_,customHeaders:y={},requestOptions:M={},requestSigner:w}){this.baseUrl=_,this.customHeaders=y,this.baseRequestOptions=M,this.requestSigner=w}set baseUrl(_){if(!_)throw new Error("baseUrl cannot be blank");if("string"!=typeof _)throw new Error("baseUrl must be a string");this.baseUrlValue=_}get baseUrl(){return this.baseUrlValue}static responseFor(_){return _[b]}static requestFor(_){return _[s]}set bearerToken(_){this.authHeader={authorization:`Bearer ${_}`}}requestBuilder(_,y,M,w){const k={...this.baseRequestOptions,...M,method:_,body:(p=w,"string"==typeof p?p:JSON.stringify(p))};var p;let D={};return f||(D={keepalive:!Object.prototype.hasOwnProperty.call(k,"keepalive")||k.keepalive}),Object.assign(k,D,{headers:new Headers(this.mergeHeaders(M.headers))},function r(p,_={}){const y={baseUrl:p,agentOptions:_};return f?(a.get(y)||(p.startsWith("https")?a.set(y,{agent:new l(_)}):a.set(y,{agent:new d(_)})),a.get(y)):{}}(this.baseUrl,k)),this.requestSigner&&this.requestSigner(y,k),new Request(y,k)}request(_,y,M={},w){var k=this;return t(function*(){const D=k.expandUrl(y),I=k.requestBuilder(_,D,M,w);C(_,D,I.headers);const O=yield fetch(I),{status:T,headers:N}=O;E({status:T,response:O});const S=yield O.text();let F={};if(S)try{F=JSON.parse(S)}catch{throw F=S,u({status:T,data:F,method:_,headers:N,url:D})}if(!O.ok)throw u({status:T,data:F,method:_,headers:N,url:D});return Object.defineProperty(F,b,{writable:!1,enumerable:!1,value:O}),Object.defineProperty(F,s,{writable:!1,enumerable:!1,value:I}),F})()}get(_,y){var M=this;return t(function*(){return M.request("GET",_,y)})()}delete(_,y){var M=this;return t(function*(){return M.request("DELETE",_,y)})()}put(_,y,M={}){var w=this;return t(function*(){const k={"content-type":"application/fhir+json",...Qu.lcKeys(M.headers)},D={...M,headers:k};return w.request("PUT",_,D,y)})()}post(_,y,M={}){var w=this;return t(function*(){const k={"content-type":"application/fhir+json",...Qu.lcKeys(M.headers)},D={...M,headers:k};return w.request("POST",_,D,y)})()}patch(_,y,M){var w=this;return t(function*(){return w.request("PATCH",_,M,y)})()}expandUrl(_=""){return _.toLowerCase().startsWith("http")?_:this.baseUrl.endsWith("/")&&_.startsWith("/")?this.baseUrl+_.slice(1):this.baseUrl.endsWith("/")||_.startsWith("/")?this.baseUrl+_:`${this.baseUrl}/${_}`}mergeHeaders(_){const{lcKeys:y}=Qu;return{...y(c),...y(this.authHeader),...y(this.customHeaders),...y(_)}}}},8016:(De,te,g)=>{const t=g(4772),v=g(7020)("fhir-kit-client:error"),C=g(7020)("fhir-kit-client:info");function E(l){return t(l)}function c(l){return E(l.raw&&"function"==typeof l.raw?l.raw():l)}De.exports={logRequestError:function b(l){v.enabled&&(v("!!! Error"),l.response&&v(` Status: ${l.response.status}`),l.config&&(v(` ${l.config.method.toUpperCase()}: ${l.config.url}`),v(` Headers: ${c(l.config.headers)}`)),l.response&&l.response.data&&v(E(l.response.data)),v("!!! Request Error"))},logRequestInfo:function s(l,a,r){C.enabled&&(a&&C(`Request: ${l.toUpperCase()} ${a.toString()}`),C(`Request Headers: ${c(r)}`))},logResponseInfo:function f(l){C.enabled&&(C(`Response: ${l.status}`),l.data&&C(E(l.data)))},logError:function d(l){v.enabled&&v(l)}}},9108:De=>{De.exports=class te{constructor(t){this.httpClient=t}nextPage(t,{headers:v}={}){const C=t.link.find(E=>"next"===E.relation);return C?this.httpClient.get(C.url,{headers:v}):void 0}prevPage(t,{headers:v}={}){const C=t.link.find(E=>E.relation.match(/^prev(ious)?$/));return C?this.httpClient.get(C.url,{headers:v}):void 0}}},9924:(De,te,g)=>{var t=g(1196).default;const{splitReference:v}=g(6780),{deprecateHeaders:C}=g(2324);De.exports=class{constructor(E){this.client=E}resolve({reference:E,context:c,headers:b,options:s={}}={}){var f=this;return t(function*(){return void 0===c?E.startsWith("http")?f.resolveAbsoluteReference(E,C(s,b)):f.client.httpClient.get(E,C(s,b)):E.startsWith("#")?f.resolveContainedReference(E,c):f.resolveBundleReference(E,c,C(s,b))})()}resolveAbsoluteReference(E,c){var b=this;return t(function*(){if(E.startsWith(b.client.baseUrl))return b.client.httpClient.get(E,c);const{baseUrl:s,resourceType:f,id:d}=v(E);return new(g(1920))({baseUrl:s}).read({resourceType:f,id:d,options:c})})()}resolveContainedReference(E,c){if(c.contained){const b=E.slice(1),s=c.contained.find(f=>f.id===b);if(s)return s}throw new Error(`Unable to resolve contained reference: ${E}`)}resolveBundleReference(E,c,b){var s=this;return t(function*(){const f=new RegExp(`(^|/)${E}$`),d=c.entry.find(l=>f.test(l.fullUrl));return d?d.resource:s.resolve({reference:E,options:b})})()}}},2564:(De,te,g)=>{const{logError:v}=g(8016);De.exports={authFromCapability:function C(c){const b={};try{return c.rest.forEach(s=>{s.security.extension.find(d=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===d.url).extension.forEach(d=>{switch(d.url){case"authorize":b.authorizeUrl=new URL(d.valueUri);break;case"token":b.tokenUrl=new URL(d.valueUri);break;case"register":b.registerUrl=new URL(d.valueUri);break;case"manage":b.manageUrl=new URL(d.valueUri)}})}),b}catch(s){return v(s),b}},authFromWellKnown:function E(c){const{authorization_endpoint:b,token_endpoint:s,registration_endpoint:f}=c;return{authorizeUrl:b&&new URL(b),tokenUrl:s&&new URL(s),registerUrl:f&&new URL(f)}}}},6780:(De,te,g)=>{const t=g(4420),{fhirReferenceRegEx:v}=g(8840);De.exports={createQueryString:function c(b){if(b instanceof Object&&Object.keys(b).length>0)return t.stringify(b)},splitReference:function C(b){if(!b.match(v))throw new Error(`${b} is not a recognized FHIR reference`);let s,f=b;b.startsWith("http")&&([,s]=v.exec(b),f=b.slice(s.length),s.endsWith("/")&&(s=s.slice(0,-1)));const[d,l]=f.split("/");return{baseUrl:s,resourceType:d,id:l}},validResourceType:function E(b){return!b.startsWith("/")&&!b.includes(":")&&/\S/.test(b)}}},6933:(De,te,g)=>{let t={};const v=g(2936),C=g(7656),E=g(2360);t.aggregateMacro=function(c,b,s){return c.reduce((f,d,l)=>(this.$index=l,this.$total=b(d)),this.$total=s)},t.countFn=function(c){return c&&c.length?c.length:0},t.sumFn=function(c){return t.aggregateMacro.apply(this,[c.slice(1),b=>v.plus(E.arraify(b),E.arraify(this.$total)),c[0]])},t.minFn=function(c){return t.aggregateMacro.apply(this,[c,b=>{const s=E.arraify(b),f=E.arraify(this.$total);return E.isEmpty(f)||C.lt(s,f)?s:f}])},t.maxFn=function(c){return t.aggregateMacro.apply(this,[c,b=>{const s=E.arraify(b),f=E.arraify(this.$total);return E.isEmpty(f)||C.gt(s,f)?s:f}])},t.avgFn=function(c){return v.div(E.arraify(t.sumFn(c)),E.arraify(t.countFn(c)))},De.exports=t},3736:(De,te,g)=>{const{deepEqual:t}=g(8168),v={};function C(E,c){for(var b=0;b1)throw new Error("Expected singleton on right side of contains, got "+JSON.stringify(c));return C(E,c)},v.in=function(E,c){if(0==E.length)return[];if(0==c.length)return!1;if(E.length>1)throw new Error("Expected singleton on right side of in, got "+JSON.stringify(c));return C(c,E)},De.exports=v},8700:(De,te,g)=>{const t={},{distinctFn:v}=g(4052),C=g(1240),{deepEqual:E,maxCollSizeForDeepEqual:c}=g(8168);t.union=function(b,s){return v(b.concat(s))},t.combineFn=function(b,s){return b.concat(s)},t.intersect=function(b,s){let f=[];const d=b.length;let l=s.length;if(d&&l)if(d+l>c){let a={};s.forEach(r=>{const u=C(r);a[u]?l--:a[u]=!0});for(let r=0;r0;++r){let u=b[r],h=C(u);a[h]&&(f.push(u),a[h]=!1,l--)}}else f=v(b).filter(a=>s.some(r=>E(a,r)));return f},t.exclude=function(b,s){let f=[];const d=b.length,l=s.length;if(!l)return b;if(d)if(d+l>c){let a={};s.forEach(r=>{const u=C(r);a[u]=!0}),f=b.filter(r=>!a[C(r)])}else f=b.filter(a=>!s.some(r=>E(a,r)));return f},De.exports=t},1996:De=>{De.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}},4116:(De,te,g)=>{var t={};const v=g(3044),C=g(1996),E=v.FP_Date,c=v.FP_DateTime,b=v.FP_Time;t.now=function(){if(!C.now){var f=c.isoDateTime(C.nowDate);C.now=new c(f)}return C.now},t.today=function(){if(!C.today){var f=E.isoDate(C.nowDate);C.today=new E(f)}return C.today},t.timeOfDay=function(){if(!C.timeOfDay){const f=c.isoTime(C.nowDate);C.timeOfDay=new b(f)}return C.timeOfDay},De.exports=t},8168:(De,te,g)=>{const{FP_Type:t,FP_Quantity:v}=g(3044);var C=g(2360),E=g(3864),c=Array.prototype.slice,b=Object.keys,s=function(h){return"[object Arguments]"==Object.prototype.toString.call(h)};function f(h){return"string"==typeof h||h instanceof String}function d(h){return!isNaN(parseFloat(h))&&isFinite(h)}function l(h){return h.toUpperCase().replace(/\s+/," ")}function r(h){return null==h}De.exports={deepEqual:function a(h,p,_){if(_||(_={}),(h=C.valDataConverted(h))===(p=C.valDataConverted(p)))return!0;if(_.fuzzy){if(f(h)&&f(p))return l(h)==l(p);if(d(h)&&d(p))return E.isEquivalent(h,p)}else if("number"==typeof h&&"number"==typeof p)return E.isEqual(h,p);if(h instanceof Date&&p instanceof Date)return h.getTime()===p.getTime();if(!h||!p||"object"!=typeof h&&"object"!=typeof p)return h===p;var y=h instanceof t,M=p instanceof t;if(y&&M)return _.fuzzy?h.equivalentTo(p):h.equals(p);if(y||M){let w=!1;return"number"==typeof h&&(h=new v(h,"'1'"),w=!0),"number"==typeof p&&(p=new v(p,"'1'"),w=!0),!!w&&(_.fuzzy?h.equivalentTo(p):h.equals(p))}return function u(h,p,_){var y,M;if(r(h)||r(p)||h.prototype!==p.prototype)return!1;if(s(h)||s(p))return a(h=s(h)?c.call(h):h,p=s(p)?c.call(p):p,_);try{var w=b(h),k=b(p)}catch{return!1}if(w.length!=k.length)return!1;for(w.sort(),k.sort(),y=w.length-1;y>=0;y--)if(w[y]!=k[y])return!1;if(1===w.length)return a(h[M=w[0]],p[M],_);for(y=w.length-1;y>=0;y--)if(!a(h[M=w[y]],p[M],_))return!1;return typeof h==typeof p}(h,p,_)},maxCollSizeForDeepEqual:6}},7656:(De,te,g)=>{const t=g(2360),{deepEqual:v}=g(8168),C=g(3044),E=C.FP_Type,c=C.FP_DateTime;var b={};function s(l,a){return t.isEmpty(l)||t.isEmpty(a)?[]:v(l,a)}function f(l,a){return t.isEmpty(l)&&t.isEmpty(a)?[!0]:t.isEmpty(l)||t.isEmpty(a)?[]:v(l,a,{fuzzy:!0})}function d(l,a){t.assertAtMostOne(l,"Singleton was expected"),t.assertAtMostOne(a,"Singleton was expected"),l=t.valDataConverted(l[0]),a=t.valDataConverted(a[0]);let r=l instanceof c?c:l.constructor,u=a instanceof c?c:a.constructor;return r!==u&&t.raiseError('Type of "'+l+'" ('+r.name+') did not match type of "'+a+'" ('+u.name+")","InequalityExpression"),[l,a]}b.equal=function(l,a){return s(l,a)},b.unequal=function(l,a){var r=s(l,a);return void 0===r?void 0:!r},b.equival=function(l,a){return f(l,a)},b.unequival=function(l,a){return!f(l,a)},b.lt=function(l,a){if(!l.length||!a.length)return[];const[r,u]=d(l,a);if(r instanceof E){const h=r.compare(u);return null===h?[]:h<0}return r0}return r>u},b.lte=function(l,a){if(!l.length||!a.length)return[];const[r,u]=d(l,a);if(r instanceof E){const h=r.compare(u);return null===h?[]:h<=0}return r<=u},b.gte=function(l,a){if(!l.length||!a.length)return[];const[r,u]=d(l,a);if(r instanceof E){const h=r.compare(u);return null===h?[]:h>=0}return r>=u},De.exports=b},6728:(De,te,g)=>{const t=g(2360),{whereMacro:v,distinctFn:C}=g(4052),E=g(4036),c=g(1240),{deepEqual:b,maxCollSizeForDeepEqual:s}=g(8168),f={};function d(l,a){const r=l.length,u=a.length;let h=r<=u;if(h)if(r+u>s){const p=a.reduce((_,y)=>(_[c(y)]=!0,_),{});h=!l.some(_=>!p[c(_)])}else for(let p=0,_=l.length;p<_&&h;++p){let y=t.valData(l[p]);h=a.some(M=>b(y,t.valData(M)))}return h}f.emptyFn=t.isEmpty,f.notFn=function(l){let a=E.singleton(l,"Boolean");return"boolean"==typeof a?!a:[]},f.existsMacro=function(l,a){var r=l;return a?f.existsMacro(v.call(this,l,a)):!t.isEmpty(r)},f.allMacro=function(l,a){for(let r=0,u=l.length;r{const{version:t}=g(8526),v=g(7504),C=g(2360);g(4216);const E=g(1996);let c={},b=g(6728),s=g(4052),f=g(6933),d=g(8700),l=g(4036),a=g(7656),r=g(3736),u=g(2936),h=g(4616),p=g(7424),_=g(4116),y=g(4884);const M=g(3044),{FP_Date:w,FP_DateTime:k,FP_Time:D,FP_Quantity:I,FP_Type:O,ResourceNode:T,TypeInfo:N}=M;let S=T.makeResNode;function F(X,G,j,le){if("Expr"===j)return function(ve){const Je=C.arraify(ve);return c.doEval({...X,$this:Je},Je,le)};if("AnyAtRoot"===j){const ve=X.$this||X.dataRoot;return c.doEval({...X,$this:ve},ve,le)}if("Identifier"===j){if("TermExpression"===le.type)return le.text;throw new Error("Expected identifier node, got "+JSON.stringify(le))}if("TypeSpecifier"===j)return c.TypeSpecifier(X,G,le);const ue=c.doEval(X,G,le);if("Any"===j)return ue;if(Array.isArray(j)){if(0===ue.length)return[];j=j[0]}return l.singleton(ue,j)}function A(X){return null==X||C.isEmpty(X)}function U(X,G,j,le){var ue=c.invocationTable[G];if(ue&&ue.fn){var ve=le?le.length:0;if(2!==ve)throw new Error("Infix invoke should have arity 2");var Je=ue.arity[ve];if(Je){for(var _t=[],ct=0;ctct?.__path__?S(ct,ct?.__path__):ct),Je={context:ve,ucum:"http://unitsofmeasure.org"};j&&(j=Object.keys(j).reduce((ct,Ct)=>(ct[Ct]=Array.isArray(j[Ct])?j[Ct].map(Re=>Re?.__path__?S(Re,Re.__path__):Re):j[Ct]?.__path__?S(j[Ct],j[Ct].__path__):j[Ct],ct),{}));let _t={dataRoot:ve,vars:Object.assign(Je,j),model:le};return ue.traceFn&&(_t.customTraceFn=ue.traceFn),ue.userInvocationTable&&(_t.userInvocationTable=ue.userInvocationTable),c.doEval(_t,ve,G.children[0]).reduce((ct,Ct)=>{let Re=Ct instanceof T?Ct.path:null;return(Ct=C.valData(Ct))instanceof O&&ue.resolveInternalTypes&&(Ct=Ct.toString()),null!=Ct&&(Re&&"object"==typeof Ct&&Object.defineProperty(Ct,"__path__",{value:Re}),ct.push(Ct)),ct},[])}function H(X,G,j){const le=(j={resolveInternalTypes:!0,...j}).userInvocationTable;if(le&&(j.userInvocationTable=Object.keys(le).reduce((ue,ve)=>(ue[ve]=le[ve].internalStructures?le[ve]:{...le[ve],fn:(...Je)=>le[ve].fn.apply(this,Je.map(_t=>Array.isArray(_t)?_t.map(ct=>C.valData(ct)):_t))},ue),{})),"object"==typeof X){const ue=K(X.expression);return function(ve,Je){const _t=X.base?S(ve,X.base):ve;return N.model=G,ee(_t,ue,Je,G,j)}}{const ue=K(X);return function(ve,Je){return N.model=G,ee(ve,ue,Je,G,j)}}}c.invocationTable={empty:{fn:b.emptyFn},not:{fn:b.notFn},exists:{fn:b.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:b.allMacro,arity:{1:["Expr"]}},allTrue:{fn:b.allTrueFn},anyTrue:{fn:b.anyTrueFn},allFalse:{fn:b.allFalseFn},anyFalse:{fn:b.anyFalseFn},subsetOf:{fn:b.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:b.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:b.isDistinctFn},distinct:{fn:s.distinctFn},count:{fn:f.countFn},where:{fn:s.whereMacro,arity:{1:["Expr"]}},extension:{fn:s.extension,arity:{1:["String"]}},select:{fn:s.selectMacro,arity:{1:["Expr"]}},aggregate:{fn:f.aggregateMacro,arity:{1:["Expr"],2:["Expr","Any"]}},sum:{fn:f.sumFn},min:{fn:f.minFn},max:{fn:f.maxFn},avg:{fn:f.avgFn},single:{fn:s.singleFn},first:{fn:s.firstFn},last:{fn:s.lastFn},type:{fn:M.typeFn,arity:{0:[]}},ofType:{fn:s.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:M.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:M.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:s.tailFn},take:{fn:s.takeFn,arity:{1:["Integer"]}},skip:{fn:s.skipFn,arity:{1:["Integer"]}},combine:{fn:d.combineFn,arity:{1:["AnyAtRoot"]}},union:{fn:d.union,arity:{1:["AnyAtRoot"]}},intersect:{fn:d.intersect,arity:{1:["AnyAtRoot"]}},exclude:{fn:d.exclude,arity:{1:["AnyAtRoot"]}},iif:{fn:l.iifMacro,arity:{2:["Expr","Expr"],3:["Expr","Expr","Expr"]}},trace:{fn:l.traceFn,arity:{1:["String"],2:["String","Expr"]}},toInteger:{fn:l.toInteger},toDecimal:{fn:l.toDecimal},toString:{fn:l.toString},toDate:{fn:l.toDate},toDateTime:{fn:l.toDateTime},toTime:{fn:l.toTime},toBoolean:{fn:l.toBoolean},toQuantity:{fn:l.toQuantity,arity:{0:[],1:["String"]}},hasValue:{fn:l.hasValueFn},convertsToBoolean:{fn:l.createConvertsToFn(l.toBoolean,"boolean")},convertsToInteger:{fn:l.createConvertsToFn(l.toInteger,"number")},convertsToDecimal:{fn:l.createConvertsToFn(l.toDecimal,"number")},convertsToString:{fn:l.createConvertsToFn(l.toString,"string")},convertsToDate:{fn:l.createConvertsToFn(l.toDate,w)},convertsToDateTime:{fn:l.createConvertsToFn(l.toDateTime,k)},convertsToTime:{fn:l.createConvertsToFn(l.toTime,D)},convertsToQuantity:{fn:l.createConvertsToFn(l.toQuantity,I)},indexOf:{fn:h.indexOf,arity:{1:["String"]}},substring:{fn:h.substring,arity:{1:["Integer"],2:["Integer","Integer"]}},startsWith:{fn:h.startsWith,arity:{1:["String"]}},endsWith:{fn:h.endsWith,arity:{1:["String"]}},contains:{fn:h.containsFn,arity:{1:["String"]}},upper:{fn:h.upper},lower:{fn:h.lower},replace:{fn:h.replace,arity:{2:["String","String"]}},matches:{fn:h.matches,arity:{1:["String"]}},replaceMatches:{fn:h.replaceMatches,arity:{2:["String","String"]}},length:{fn:h.length},toChars:{fn:h.toChars},join:{fn:h.joinFn,arity:{0:[],1:["String"]}},split:{fn:h.splitFn,arity:{1:["String"]}},trim:{fn:h.trimFn},encode:{fn:h.encodeFn,arity:{1:["String"]}},decode:{fn:h.decodeFn,arity:{1:["String"]}},abs:{fn:u.abs},ceiling:{fn:u.ceiling},exp:{fn:u.exp},floor:{fn:u.floor},ln:{fn:u.ln},log:{fn:u.log,arity:{1:["Number"]},nullable:!0},power:{fn:u.power,arity:{1:["Number"]},nullable:!0},round:{fn:u.round,arity:{1:["Number"]}},sqrt:{fn:u.sqrt},truncate:{fn:u.truncate},now:{fn:_.now},today:{fn:_.today},timeOfDay:{fn:_.timeOfDay},repeat:{fn:s.repeatMacro,arity:{1:["Expr"]}},children:{fn:p.children},descendants:{fn:p.descendants},"|":{fn:d.union,arity:{2:["Any","Any"]}},"=":{fn:a.equal,arity:{2:["Any","Any"]},nullable:!0},"!=":{fn:a.unequal,arity:{2:["Any","Any"]},nullable:!0},"~":{fn:a.equival,arity:{2:["Any","Any"]}},"!~":{fn:a.unequival,arity:{2:["Any","Any"]}},"<":{fn:a.lt,arity:{2:["Any","Any"]},nullable:!0},">":{fn:a.gt,arity:{2:["Any","Any"]},nullable:!0},"<=":{fn:a.lte,arity:{2:["Any","Any"]},nullable:!0},">=":{fn:a.gte,arity:{2:["Any","Any"]},nullable:!0},containsOp:{fn:r.contains,arity:{2:["Any","Any"]}},inOp:{fn:r.in,arity:{2:["Any","Any"]}},isOp:{fn:M.isFn,arity:{2:["Any","TypeSpecifier"]}},asOp:{fn:M.asFn,arity:{2:["Any","TypeSpecifier"]}},"&":{fn:u.amp,arity:{2:["String","String"]}},"+":{fn:u.plus,arity:{2:["Any","Any"]},nullable:!0},"-":{fn:u.minus,arity:{2:["Any","Any"]},nullable:!0},"*":{fn:u.mul,arity:{2:["Any","Any"]},nullable:!0},"/":{fn:u.div,arity:{2:["Any","Any"]},nullable:!0},mod:{fn:u.mod,arity:{2:["Number","Number"]},nullable:!0},div:{fn:u.intdiv,arity:{2:["Number","Number"]},nullable:!0},or:{fn:y.orOp,arity:{2:[["Boolean"],["Boolean"]]}},and:{fn:y.andOp,arity:{2:[["Boolean"],["Boolean"]]}},xor:{fn:y.xorOp,arity:{2:[["Boolean"],["Boolean"]]}},implies:{fn:y.impliesOp,arity:{2:[["Boolean"],["Boolean"]]}}},c.InvocationExpression=function(X,G,j){return j.children.reduce(function(le,ue){return c.doEval(X,le,ue)},G)},c.TermExpression=function(X,G,j){return G&&(G=G.map(le=>le instanceof Object&&le.resourceType?S(le,le.resourceType):le)),c.doEval(X,G,j.children[0])},c.PolarityExpression=function(X,G,j){var le=j.terminalNodeText[0],ue=c.doEval(X,G,j.children[0]);if(1!==ue.length)throw new Error("Unary "+le+" can only be applied to an individual number or Quantity.");if(ue[0]instanceof I)"-"===le&&(ue[0]=new I(-ue[0].value,ue[0].unit));else{if("number"!=typeof ue[0]||isNaN(ue[0]))throw new Error("Unary "+le+" can only be applied to a number or Quantity.");"-"===le&&(ue[0]=-ue[0])}return ue},c.TypeSpecifier=function(X,G,j){let le,ue;const ve=j.text.split(".").map(Je=>Je.replace(/(^`|`$)/g,""));switch(ve.length){case 2:[le,ue]=ve;break;case 1:[ue]=ve;break;default:throw new Error("Expected TypeSpecifier node, got "+JSON.stringify(j))}return new N({namespace:le,name:ue})},c.ExternalConstantTerm=function(X,G,j){var ve=c.Identifier(X,G,j.children[0].children[0])[0],Je=X.vars[ve];if(!(ve in X.vars))throw new Error("Attempting to access an undefined environment variable: "+ve);return null==Je?[]:Je instanceof Array?Je:[Je]},c.LiteralTerm=function(X,G,j){var le=j.children[0];return le?c.doEval(X,G,le):[j.text]},c.StringLiteral=function(X,G,j){var le=j.text.replace(/(^'|'$)/g,"");return[le=le.replace(/\\(u\d{4}|.)/g,function(ue,ve){switch(ue){case"\\r":return"\r";case"\\n":return"\n";case"\\t":return"\t";case"\\f":return"\f";default:return ve.length>1?String.fromCharCode("0x"+ve.slice(1)):ve}})]},c.BooleanLiteral=function(X,G,j){return"true"===j.text?[!0]:[!1]},c.QuantityLiteral=function(X,G,j){var le=j.children[0],ue=Number(le.terminalNodeText[0]),ve=le.children[0],Je=ve.terminalNodeText[0];return!Je&&ve.children&&(Je=ve.children[0].terminalNodeText[0]),[new I(ue,Je)]},c.DateTimeLiteral=function(X,G,j){var le=j.text.slice(1);return[new k(le)]},c.TimeLiteral=function(X,G,j){var le=j.text.slice(1);return[new D(le)]},c.NumberLiteral=function(X,G,j){return[Number(j.text)]},c.Identifier=function(X,G,j){return[j.text.replace(/(^`|`$)/g,"")]},c.InvocationTerm=function(X,G,j){return c.doEval(X,G,j.children[0])},c.MemberInvocation=function(X,G,j){const le=c.doEval(X,G,j.children[0])[0],ue=X.model;if(G){if(C.isCapitalized(le))return G.filter(ve=>ve instanceof T&&ve.path===le);{const ve=G.path||G.__path__;return G.reduce(function(Je,_t){var ct=(_t=S(_t,ve)).path+"."+le;if(ue){let pe=ue.pathsDefinedElsewhere[ct];pe&&(ct=pe)}let Ct,Re,ke=ue&&ue.choiceTypePaths[ct];if(ke)for(let pe of ke){let Qe=le+pe;if(Ct=_t.data?.[Qe],Re=_t.data?.["_"+Qe],void 0!==Ct||void 0!==Re){ct+=pe;break}}else Ct=_t.data?.[le],Re=_t.data?.["_"+le],void 0===Ct&&void 0===Re&&(Ct=_t._data[le]),"extension"===le&&(ct="Extension");if(ct=ue&&ue.path2Type[ct]||ct,C.isSome(Ct)||C.isSome(Re)){if(Array.isArray(Ct)){Je=Je.concat(Ct.map((Qe,Be)=>S(Qe,ct,Re&&Re[Be])));const pe=Re?.length||0;for(let Qe=Ct.length;QeS(null,ct,pe))):Je.push(S(Ct,ct,Re));return Je}return Je},[])}}return[]},c.IndexerExpression=function(X,G,j){const ue=j.children[1];var ve=c.doEval(X,G,j.children[0]),Je=c.doEval(X,G,ue);if(C.isEmpty(Je))return[];var _t=parseInt(Je[0]);return ve&&C.isSome(_t)&&ve.length>_t&&_t>=0?[ve[_t]]:[]},c.Functn=function(X,G,j){return j.children.map(function(le){return c.doEval(X,G,le)})},c.realizeParams=function(X,G,j){return j&&j[0]&&j[0].children?j[0].children.map(function(le){return c.doEval(X,G,le)}):[]},c.FunctionInvocation=function(X,G,j){var le=c.doEval(X,G,j.children[0]);const ue=le[0];return le.shift(),function L(X,G,j,le){var ve,ue=X.userInvocationTable?.[G]??c.invocationTable[G];if(ue){if(ue.arity){var Je=le?le.length:0,_t=ue.arity[Je];if(_t){for(var ct=[],Ct=0;Ct{const j=N.fromValue(G?.__path__?new T(G,G.__path__):G);return`${j.namespace}.${j.name}`})},ucumUtils:g(1724).k1.getInstance(),util:C}},4052:(De,te,g)=>{const t=g(2360),{TypeInfo:v,ResourceNode:C}=g(3044),E=g(1240),{deepEqual:c,maxCollSizeForDeepEqual:b}=g(8168);De.exports={whereMacro:function(f,d){return!1===f||f?t.flatten(f.filter((l,a)=>(this.$index=a,d(l)[0]))):[]},extension:function(f,d){return!1!==f&&!f||!d?[]:t.flatten(f.map((l,a)=>{this.$index=a;const r=l&&(l.data&&l.data.extension||l._data&&l._data.extension);return r?r.filter(u=>u.url===d).map(u=>C.makeResNode(u,"Extension")):[]}))},selectMacro:function(f,d){return!1===f||f?t.flatten(f.map((l,a)=>(this.$index=a,d(l)))):[]},repeatMacro:function(f,d){if(!1!==f&&!f)return[];let l=[];const a={},r=f.length;for(let u=0;u{const _=E(p),y=!a[_];return y&&(a[_]=!0),y})}while(l.lengthv.fromValue(l).is(d))},distinctFn:function(f){let d=[];if(f.length>0)if(f.length>b){let l={};for(let a=0,r=f.length;a!c(l,a))}while(f.length)}return d}}},1240:(De,te,g)=>{const t=g(1724).k1.getInstance(),{roundToMaxPrecision:v}=g(3864),{valDataConverted:C}=g(2360),{FP_Type:E,FP_Quantity:c}=g(3044);function s(f){if(null===(f=C(f)))return null;if("number"==typeof f)return v(f);if(f instanceof Date)return f.toISOString();if(f instanceof c){const d=c._yearMonthConversionFactor[f.unit];if(d)return"_!yearMonth!_:"+d*f.value;{const l=c.toUcumQuantity(f.value,f.unit),a=t.getSpecifiedUnit(l.unit).unit;return"_!"+a.property_+"!_:"+a.magnitude_*l.value}}return f instanceof E?f.toString():"object"==typeof f?Array.isArray(f)?f.map(s):Object.keys(f).sort().reduce((d,l)=>(d[l]=s(f[l]),d),{}):f}De.exports=function b(f){return JSON.stringify(s(f))}},4884:De=>{De.exports={orOp:function(g,t){if(Array.isArray(t)){if(!0===g)return!0;if(!1===g)return[];if(Array.isArray(g))return[]}return Array.isArray(g)?!0===t||[]:g||t},andOp:function(g,t){if(Array.isArray(t)){if(!0===g)return[];if(!1===g)return!1;if(Array.isArray(g))return[]}return Array.isArray(g)?!0===t&&[]:g&&t},xorOp:function(g,t){return Array.isArray(g)||Array.isArray(t)?[]:g&&!t||!g&&t},impliesOp:function(g,t){if(Array.isArray(t)){if(!0===g)return[];if(!1===g)return!0;if(Array.isArray(g))return[]}return Array.isArray(g)?!0===t||[]:!1===g||g&&t}}},2936:(De,te,g)=>{const{FP_Quantity:t,FP_Type:v}=g(3044),C=g(2360),E={};function c(f){let d=C.valData(f);if("number"!=typeof d){if(1===d.length&&"number"==typeof(d=C.valData(d[0])))return d;throw new Error("Expected number, but got "+JSON.stringify(d||f))}return d}function s(f){return"number"!=typeof f&&0===f.length}E.amp=function(f,d){return(f||"")+(d||"")},E.plus=function(f,d){let l;if(1===f.length&&1===d.length){const a=C.valDataConverted(f[0]),r=C.valDataConverted(d[0]);"string"==typeof a&&"string"==typeof r?l=a+r:"number"==typeof a?"number"==typeof r?l=a+r:r instanceof t&&(l=new t(a,"'1'").plus(r)):a instanceof v&&(r instanceof t?l=a.plus(r):r instanceof v?l=r.plus(a):"number"==typeof r&&(l=a.plus(new t(r,"'1'"))))}if(void 0===l)throw new Error("Cannot "+JSON.stringify(f)+" + "+JSON.stringify(d));return l},E.minus=function(f,d){if(1===f.length&&1===d.length){const l=C.valDataConverted(f[0]),a=C.valDataConverted(d[0]);if("number"==typeof l){if("number"==typeof a)return l-a;if(a instanceof t)return new t(l,"'1'").plus(new t(-a.value,a.unit))}if(l instanceof v){if(a instanceof t)return l.plus(new t(-a.value,a.unit));if("number"==typeof a)return l.plus(new t(-a,"'1'"))}}throw new Error("Cannot "+JSON.stringify(f)+" - "+JSON.stringify(d))},E.mul=function(f,d){if(1===f.length&&1===d.length){const l=C.valDataConverted(f[0]),a=C.valDataConverted(d[0]);if("number"==typeof l){if("number"==typeof a)return l*a;if(a instanceof t)return new t(l,"'1'").mul(a)}if(l instanceof v){if(a instanceof t)return l.mul(a);if("number"==typeof a)return l.mul(new t(a,"'1'"))}}throw new Error("Cannot "+JSON.stringify(f)+" * "+JSON.stringify(d))},E.div=function(f,d){if(1===f.length&&1===d.length){const l=C.valDataConverted(f[0]),a=C.valDataConverted(d[0]);if("number"==typeof l){if("number"==typeof a)return 0===a?[]:l/a;if(a instanceof t)return new t(l,"'1'").div(a)}if(l instanceof v){if(a instanceof t)return l.div(a);if("number"==typeof a)return l.div(new t(a,"'1'"))}}throw new Error("Cannot "+JSON.stringify(f)+" / "+JSON.stringify(d))},E.intdiv=function(f,d){return 0===d?[]:Math.floor(f/d)},E.mod=function(f,d){return 0===d?[]:f%d},E.abs=function(f){let d;if(s(f))d=[];else{const l=function b(f){let d=C.valData(f);if("number"==typeof d||d instanceof t)return d;if(1===d.length&&("number"==typeof(d=C.valData(d[0]))||d instanceof t))return d;throw new Error("Expected number or Quantity, but got "+JSON.stringify(d||f))}(f);d=l instanceof t?new t(Math.abs(l.value),l.unit):Math.abs(l)}return d},E.ceiling=function(f){if(s(f))return[];{let d=c(f);return Math.ceil(d)}},E.exp=function(f){if(s(f))return[];{let d=c(f);return Math.exp(d)}},E.floor=function(f){if(s(f))return[];{let d=c(f);return Math.floor(d)}},E.ln=function(f){if(s(f))return[];{let d=c(f);return Math.log(d)}},E.log=function(f,d){if(s(f)||s(d))return[];{let l=c(f),a=c(d);return Math.log(l)/Math.log(a)}},E.power=function(f,d){if(s(f)||s(d))return[];{let l=c(f),a=c(d);return l<0&&Math.floor(a)!==a?[]:Math.pow(l,a)}},E.round=function(f,d){if(s(f))return[];{let l=c(f);if(s(d))return Math.round(l);{let a=c(d),r=Math.pow(10,a);return Math.round(l*r)/r}}},E.sqrt=function(f){if(s(f))return[];{let d=c(f);return d<0?[]:Math.sqrt(d)}},E.truncate=function(f){if(s(f))return[];{let d=c(f);return Math.trunc(d)}},De.exports=E},4036:(De,te,g)=>{var t=g(2360),v=g(3044);const{FP_Quantity:C}=v;var E={iifMacro:function(p,_,y,M){return t.isTrue(_(p))?y(p):M?M(p):[]},traceFn:function(p,_,y){return this.customTraceFn?this.customTraceFn(y?y(p):p,_??""):y?console.log("TRACE:["+(_||"")+"]",JSON.stringify(y(p),null," ")):console.log("TRACE:["+(_||"")+"]",JSON.stringify(p,null," ")),p}},c=/^[+-]?\d+$/;E.toInteger=function(p){if(1!==p.length)return[];var _=t.valData(p[0]);return!1===_?0:!0===_?1:"number"==typeof _?Number.isInteger(_)?_:[]:"string"==typeof _&&c.test(_)?parseInt(_):[]};const b=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;E.toQuantity=function(p,_){let y;if(p.length>1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(1===p.length){if(_){const k=C._calendarDuration2Seconds[this.unit],D=C._calendarDuration2Seconds[_];if(!k!=!D&&(k>1||D>1))return null;C.mapTimeUnitsToUCUMCode[_]||(_=`'${_}'`)}var M=t.valDataConverted(p[0]);let w;if("number"==typeof M)y=new C(M,"'1'");else if(M instanceof C)y=M;else if("boolean"==typeof M)y=new C(M?1:0,"'1'");else if("string"==typeof M&&(w=b.exec(M))){const D=w[5],I=w[6];(!I||C.mapTimeUnitsToUCUMCode[I])&&(y=new C(Number(w[1]),D||I||"'1'"))}y&&_&&y.unit!==_&&(y=C.convUnitTo(y.unit,y.value,_))}return y||[]};var f=/^[+-]?\d+(\.\d+)?$/;function d(p){let _=p.slice(3);E["to"+_]=function(y){var M=[];if(y.length>1)throw Error("to "+_+" called for a collection of length "+y.length);if(1===y.length){var w=v[p].checkString(t.valData(y[0]));w&&(M=w)}return M}}E.toDecimal=function(p){if(1!==p.length)return[];var _=t.valData(p[0]);return!1===_?0:!0===_?1:"number"==typeof _?_:"string"==typeof _&&f.test(_)?parseFloat(_):[]},E.toString=function(p){return 1!==p.length?[]:t.valDataConverted(p[0]).toString()},d("FP_Date"),d("FP_DateTime"),d("FP_Time");const l=["true","t","yes","y","1","1.0"].reduce((p,_)=>(p[_]=!0,p),{}),a=["false","f","no","n","0","0.0"].reduce((p,_)=>(p[_]=!0,p),{});E.toBoolean=function(p){if(1!==p.length)return[];const _=t.valData(p[0]);switch(typeof _){case"boolean":return _;case"number":if(1===_)return!0;if(0===_)return!1;break;case"string":const y=_.toLowerCase();if(l[y])return!0;if(a[y])return!1}return[]},E.createConvertsToFn=function(p,_){return"string"==typeof _?function(y){return 1!==y.length?[]:typeof p(y)===_}:function(y){return 1!==y.length?[]:p(y)instanceof _}};const r={Integer:function(p){const _=t.valData(p[0]);if(Number.isInteger(_))return _},Boolean:function(p){const _=t.valData(p[0]);return!0===_||!1===_?_:1===p.length||void 0},Number:function(p){const _=t.valData(p[0]);if("number"==typeof _)return _},String:function(p){const _=t.valData(p[0]);if("string"==typeof _)return _}};E.singleton=function(p,_){if(p.length>1)throw new Error("Unexpected collection"+JSON.stringify(p)+"; expected singleton of type "+_);if(0===p.length)return[];const y=r[_];if(y){const M=y(p);if(void 0!==M)return M;throw new Error(`Expected ${_.toLowerCase()}, but got: ${JSON.stringify(p)}`)}throw new Error("Not supported type "+_)};const u=new Set(["instant","time","date","dateTime","base64Binary","decimal","integer64","boolean","string","code","markdown","id","integer","unsignedInt","positiveInt","uri","oid","uuid","canonical","url"]);function h(p){switch(typeof p){case"string":case"number":case"boolean":return!0;default:return!1}}E.hasValueFn=function(p){return 1===p.length?this.model?[u.has(p[0].path)]:[h(t.valData(p[0]))]:[!1]},De.exports=E},7424:(De,te,g)=>{const t=g(2360),{ResourceNode:v}=g(3044);let C=v.makeResNode;var E={children:function(c){let b=this.model;return c.reduce(function(s,f){let d=t.valData(f);if(f=C(f),"object"==typeof d){for(var l of Object.keys(d)){var a=d[l],r=f.path+"."+l;if(b){let u=b.pathsDefinedElsewhere[r];u&&(r=u)}Array.isArray(a)?s.push.apply(s,a.map(u=>C(u,r))):s.push(C(a,r))}return s}return s},[])},descendants:function(c){for(var b=E.children.call(this,c),s=[];b.length>0;)s.push.apply(s,b),b=E.children.call(this,b);return s}};De.exports=E},3864:De=>{let te={};function g(E){const b=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +E);if(!b)return 0;const s=b[2];return Math.max(0,("0"===s?0:(s||"").length)-(b[3]||0))}function t(E,c){const b=Math.pow(10,c);return Math.round(E*b)/b}const C=te.roundToMaxPrecision=function(E){return 1e-8*Math.round(E/1e-8)};te.isEquivalent=function(E,c){if(Number.isInteger(E)&&Number.isInteger(c))return E===c;const b=Math.min(g(E),g(c));return 0===b?Math.round(E)===Math.round(c):t(E,b)===t(c,b)},te.isEqual=function(E,c){return C(E)===C(c)},De.exports=te},5352:(De,te,g)=>{te.atn=g(64),te.codepointat=g(2388),te.dfa=g(236),te.fromcodepoint=g(9700),te.tree=g(8668),te.error=g(5784),te.Token=g(9300).Token,te.CommonToken=g(9300).CommonToken,te.InputStream=g(296),te.CommonTokenStream=g(8957),te.Lexer=g(6580),te.Parser=g(5472);var t=g(1483);te.PredictionContextCache=t.PredictionContextCache,te.ParserRuleContext=g(4256),te.Interval=g(2344).Interval,te.IntervalSet=g(2344).IntervalSet,te.Utils=g(1464),te.LL1Analyzer=g(2464).LL1Analyzer},4064:(De,te,g)=>{const t=g(5352),v=["\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(""),C=(new t.atn.ATNDeserializer).deserialize(v),E=C.decisionToState.map((b,s)=>new t.dfa.DFA(b,s));class c extends t.Lexer{static grammarFileName="FHIRPath.g4";static channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"];static modeNames=["DEFAULT_MODE"];static 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'"];static 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"];static 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"];constructor(s){super(s),this._interp=new t.atn.LexerATNSimulator(this,C,E,new t.PredictionContextCache)}get atn(){return C}}c.EOF=t.Token.EOF,c.T__0=1,c.T__1=2,c.T__2=3,c.T__3=4,c.T__4=5,c.T__5=6,c.T__6=7,c.T__7=8,c.T__8=9,c.T__9=10,c.T__10=11,c.T__11=12,c.T__12=13,c.T__13=14,c.T__14=15,c.T__15=16,c.T__16=17,c.T__17=18,c.T__18=19,c.T__19=20,c.T__20=21,c.T__21=22,c.T__22=23,c.T__23=24,c.T__24=25,c.T__25=26,c.T__26=27,c.T__27=28,c.T__28=29,c.T__29=30,c.T__30=31,c.T__31=32,c.T__32=33,c.T__33=34,c.T__34=35,c.T__35=36,c.T__36=37,c.T__37=38,c.T__38=39,c.T__39=40,c.T__40=41,c.T__41=42,c.T__42=43,c.T__43=44,c.T__44=45,c.T__45=46,c.T__46=47,c.T__47=48,c.T__48=49,c.T__49=50,c.T__50=51,c.T__51=52,c.T__52=53,c.T__53=54,c.DATETIME=55,c.TIME=56,c.IDENTIFIER=57,c.DELIMITEDIDENTIFIER=58,c.STRING=59,c.NUMBER=60,c.WS=61,c.COMMENT=62,c.LINE_COMMENT=63,De.exports=c},6304:(De,te,g)=>{const t=g(5352);De.exports=class v extends t.tree.ParseTreeListener{enterEntireExpression(E){}exitEntireExpression(E){}enterIndexerExpression(E){}exitIndexerExpression(E){}enterPolarityExpression(E){}exitPolarityExpression(E){}enterAdditiveExpression(E){}exitAdditiveExpression(E){}enterMultiplicativeExpression(E){}exitMultiplicativeExpression(E){}enterUnionExpression(E){}exitUnionExpression(E){}enterOrExpression(E){}exitOrExpression(E){}enterAndExpression(E){}exitAndExpression(E){}enterMembershipExpression(E){}exitMembershipExpression(E){}enterInequalityExpression(E){}exitInequalityExpression(E){}enterInvocationExpression(E){}exitInvocationExpression(E){}enterEqualityExpression(E){}exitEqualityExpression(E){}enterImpliesExpression(E){}exitImpliesExpression(E){}enterTermExpression(E){}exitTermExpression(E){}enterTypeExpression(E){}exitTypeExpression(E){}enterInvocationTerm(E){}exitInvocationTerm(E){}enterLiteralTerm(E){}exitLiteralTerm(E){}enterExternalConstantTerm(E){}exitExternalConstantTerm(E){}enterParenthesizedTerm(E){}exitParenthesizedTerm(E){}enterNullLiteral(E){}exitNullLiteral(E){}enterBooleanLiteral(E){}exitBooleanLiteral(E){}enterStringLiteral(E){}exitStringLiteral(E){}enterNumberLiteral(E){}exitNumberLiteral(E){}enterDateTimeLiteral(E){}exitDateTimeLiteral(E){}enterTimeLiteral(E){}exitTimeLiteral(E){}enterQuantityLiteral(E){}exitQuantityLiteral(E){}enterExternalConstant(E){}exitExternalConstant(E){}enterMemberInvocation(E){}exitMemberInvocation(E){}enterFunctionInvocation(E){}exitFunctionInvocation(E){}enterThisInvocation(E){}exitThisInvocation(E){}enterIndexInvocation(E){}exitIndexInvocation(E){}enterTotalInvocation(E){}exitTotalInvocation(E){}enterFunctn(E){}exitFunctn(E){}enterParamList(E){}exitParamList(E){}enterQuantity(E){}exitQuantity(E){}enterUnit(E){}exitUnit(E){}enterDateTimePrecision(E){}exitDateTimePrecision(E){}enterPluralDateTimePrecision(E){}exitPluralDateTimePrecision(E){}enterTypeSpecifier(E){}exitTypeSpecifier(E){}enterQualifiedIdentifier(E){}exitQualifiedIdentifier(E){}enterIdentifier(E){}exitIdentifier(E){}}},7139:(De,te,g)=>{const t=g(5352),v=g(6304),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\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(""),E=(new t.atn.ATNDeserializer).deserialize(C),c=E.decisionToState.map((je,q)=>new t.dfa.DFA(je,q)),b=new t.PredictionContextCache;class s extends t.Parser{static grammarFileName="FHIRPath.g4";static 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'"];static 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"];static ruleNames=["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"];constructor(q){super(q),this._interp=new t.atn.ParserATNSimulator(this,E,c,b),this.ruleNames=s.ruleNames,this.literalNames=s.literalNames,this.symbolicNames=s.symbolicNames}get atn(){return E}sempred(q,ye,Oe){if(1===ye)return this.expression_sempred(q,Oe);throw"No predicate with index:"+ye}expression_sempred(q,ye){switch(ye){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:"+ye}}entireExpression(){let q=new f(this,this._ctx,this.state);this.enterRule(q,0,s.RULE_entireExpression);try{this.enterOuterAlt(q,1),this.state=30,this.expression(0),this.state=31,this.match(s.EOF)}catch(ye){if(!(ye instanceof t.error.RecognitionException))throw ye;q.exception=ye,this._errHandler.reportError(this,ye),this._errHandler.recover(this,ye)}finally{this.exitRule()}return q}expression(q){void 0===q&&(q=0);const ye=this._ctx,Oe=this.state;let Xe=new d(this,this._ctx,Oe),ge=Xe;this.enterRecursionRule(Xe,2,s.RULE_expression,q);var ot=0;try{switch(this.enterOuterAlt(Xe,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case s.T__15:case s.T__16:case s.T__21:case s.T__22:case s.T__27:case s.T__29:case s.T__31:case s.T__32:case s.T__33:case s.T__34:case s.T__35:case s.T__36:case s.DATETIME:case s.TIME:case s.IDENTIFIER:case s.DELIMITEDIDENTIFIER:case s.STRING:case s.NUMBER:Xe=new I(this,Xe),this._ctx=Xe,ge=Xe,this.state=34,this.term();break;case s.T__3:case s.T__4:Xe=new a(this,Xe),this._ctx=Xe,ge=Xe,this.state=35,(ot=this._input.LA(1))===s.T__3||ot===s.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new t.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var ze=this._interp.adaptivePredict(this._input,2,this._ctx);2!=ze&&ze!=t.atn.ATN.INVALID_ALT_NUMBER;){if(1===ze)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),ge=Xe,this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(Xe=new u(this,new d(this,ye,Oe)),this.pushNewRecursionContext(Xe,2,s.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new t.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,!(-32&(ot=this._input.LA(1)))&&1<{const t=g(5352),v=g(4064),C=g(7139),E=g(6304);class c extends t.error.ErrorListener{constructor(f){super(),this.errors=f}syntaxError(f,d,l,a,r,u){this.errors.push([f,d,l,a,r,u])}}De.exports={parse:function(s){var f=new t.InputStream(s),d=new v(f),l=new t.CommonTokenStream(d),a=new C(l);a.buildParseTrees=!0;var r=[],u=new c(r);d.removeErrorListeners(),d.addErrorListener(u),a.removeErrorListeners(),a.addErrorListener(u);var h=a.entireExpression();class p extends E{constructor(){super()}}var y,_={},M=[_];for(let D of Object.getOwnPropertyNames(E.prototype))D.startsWith("enter")?p.prototype[D]=function(I){let O=M[M.length-1];(y={type:D.slice(5)}).text=I.getText(),O.children||(O.children=[]),O.children.push(y),M.push(y),y.terminalNodeText=[];for(let N of I.children)N.symbol&&y.terminalNodeText.push(N.getText())}:D.startsWith("exit")&&(p.prototype[D]=function(){M.pop()});var w=new p;if(t.tree.ParseTreeWalker.DEFAULT.walk(w,h),r.length>0){let D=[];for(let I=0,O=r.length;I{const De=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(te){return"number"==typeof te&&isFinite(te)&&Math.floor(te)===te},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(te,g){return this.indexOf(te,g=g||0)===g}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(te,g){var t=this.toString();(void 0===g||g>t.length)&&(g=t.length);var v=t.indexOf(te,g-=te.length);return-1!==v&&v===g}}),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(te){if(null==te)throw new TypeError("Cannot convert undefined or null to object");return De(arguments,1).reduce(function(g,t){return Object.keys(Object(t)).forEach(function(v){g[v]=t[v]}),g},Object(te))}}),typeof btoa>"u"&&(global.btoa=function(te){return new Buffer.from(te,"binary").toString("base64")}),typeof atob>"u"&&(global.atob=function(te){return new Buffer.from(te,"base64").toString("binary")})},4616:(De,te,g)=>{const t=g(2360),v=g(4036),C={},E={};C.indexOf=function(s,f){const d=v.singleton(s,"String");return t.isEmpty(f)||t.isEmpty(d)?[]:d.indexOf(f)},C.substring=function(s,f,d){const l=v.singleton(s,"String");return t.isEmpty(l)||t.isEmpty(f)||f<0||f>=l.length?[]:void 0===d||t.isEmpty(d)?l.substring(f):l.substring(f,f+d)},C.startsWith=function(s,f){const d=v.singleton(s,"String");return t.isEmpty(f)||t.isEmpty(d)?[]:d.startsWith(f)},C.endsWith=function(s,f){const d=v.singleton(s,"String");return t.isEmpty(f)||t.isEmpty(d)?[]:d.endsWith(f)},C.containsFn=function(s,f){const d=v.singleton(s,"String");return t.isEmpty(f)||t.isEmpty(d)?[]:d.includes(f)},C.upper=function(s){const f=v.singleton(s,"String");return t.isEmpty(f)?[]:f.toUpperCase()},C.lower=function(s){const f=v.singleton(s,"String");return t.isEmpty(f)?[]:f.toLowerCase()},C.joinFn=function(s,f){return void 0===f&&(f=""),s.map(l=>{const a=t.valData(l);if("string"==typeof a)return a;throw new Error("Join requires a collection of strings.")}).join(f)},C.splitFn=function(s,f){const d=v.singleton(s,"String");return t.isEmpty(d)?[]:d.split(f)},C.trimFn=function(s){const f=v.singleton(s,"String");return t.isEmpty(f)?[]:f.trim()},C.encodeFn=function(s,f){const d=v.singleton(s,"String");return t.isEmpty(d)?[]:"urlbase64"===f||"base64url"===f?btoa(d).replace(/\+/g,"-").replace(/\//g,"_"):"base64"===f?btoa(d):"hex"===f?Array.from(d).map(l=>l.charCodeAt(0)<128?l.charCodeAt(0).toString(16):encodeURIComponent(l).replace(/%/g,"")).join(""):[]},C.decodeFn=function(s,f){const d=v.singleton(s,"String");if(t.isEmpty(d))return[];if("urlbase64"===f||"base64url"===f)return atob(d.replace(/-/g,"+").replace(/_/g,"/"));if("base64"===f)return atob(d);if("hex"===f){if(d.length%2!=0)throw new Error("Decode 'hex' requires an even number of characters.");return decodeURIComponent("%"+d.match(/.{2}/g).join("%"))}return[]},C.matches=!1===new RegExp("").dotAll?function(s,f){const d=v.singleton(s,"String");return t.isEmpty(f)||t.isEmpty(d)?[]:new RegExp(f,"s").test(d)}:function(s,f){const d=v.singleton(s,"String");return t.isEmpty(f)||t.isEmpty(d)?[]:new RegExp(function c(s){return E[s]||(E[s]=s.replace(/\./g,(f,d,l)=>{const r=l.substr(0,d).replace(/\\\\/g,"").replace(/\\[\][]/g,""),u="\\"===r[r.length-1],h=r.lastIndexOf("["),p=r.lastIndexOf("]");return u||h>p?".":"[^]"})),E[s]}(f)).test(d)},C.replace=function(s,f,d){const l=v.singleton(s,"String");if(t.isEmpty(f)||t.isEmpty(d)||t.isEmpty(l))return[];const a=new RegExp(t.escapeStringForRegExp(f),"g");return l.replace(a,d)},C.replaceMatches=function(s,f,d){const l=v.singleton(s,"String");if(t.isEmpty(f)||t.isEmpty(d)||t.isEmpty(l))return[];const a=new RegExp(f,"g");return l.replace(a,d)},C.length=function(s){const f=v.singleton(s,"String");return t.isEmpty(f)?[]:f.length},C.toChars=function(s){const f=v.singleton(s,"String");return t.isEmpty(f)?[]:f.split("")},De.exports=C},3044:(De,te,g)=>{const t=g(7196),v=g(1724).k1.getInstance(),C=g(3864);let c="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",b=new RegExp("^T?"+c+"$"),s=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+c+")?)?)?Z?$"),f=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9])?)?$"),d=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?))(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9]))))$");class l{equals(){return!1}equivalentTo(){return!1}toString(){return this.asStr?this.asStr:super.toString()}toJSON(){return this.toString()}compare(){throw"Comparison not implemented for "+this.constructor.name}plus(){throw"Addition not implemented for "+this.constructor.name}mul(){throw"Multiplication not implemented for "+this.constructor.name}div(){throw"Division not implemented for "+this.constructor.name}}class a extends l{constructor(N,S){super(),this.asStr=N+" "+S,this.value=N,this.unit=S}equals(N){if(!(N instanceof this.constructor))return!1;const S=a._calendarDuration2Seconds[this.unit],F=a._calendarDuration2Seconds[N.unit];if(!S!=!F&&(S>1||F>1))return null;if(this.unit===N.unit)return C.isEqual(this.value,N.value);const L=this._compareYearsAndMonths(N);if(L)return L.isEqual;const A=a.toUcumQuantity(this.value,this.unit),U=a.toUcumQuantity(N.value,N.unit),K=v.convertUnitTo(U.unit,U.value,A.unit);return"succeeded"===K.status&&C.isEqual(A.value,K.toVal)}equivalentTo(N){if(!(N instanceof this.constructor))return!1;if(this.unit===N.unit)return C.isEquivalent(this.value,N.value);const S=a.getEquivalentUcumUnitCode(this.unit),F=a.getEquivalentUcumUnitCode(N.unit),L=v.convertUnitTo(F,N.value,S);return"succeeded"===L.status&&C.isEquivalent(this.value,L.toVal)}compare(N){if(this.unit===N.unit)return this.value-N.value;const S=a._calendarDuration2Seconds[this.unit],F=a._calendarDuration2Seconds[N.unit];if(!S!=!F&&(S>1||F>1))return null;const L=a.getEquivalentUcumUnitCode(this.unit),A=a.getEquivalentUcumUnitCode(N.unit),U=v.convertUnitTo(A,N.value,L);return"succeeded"!==U.status?null:this.value-U.toVal}plus(N){const S=a._yearMonthConversionFactor[this.unit],F=a._yearMonthConversionFactor[N.unit];if(S&&F)return new a(this.value+N.value*F/S,this.unit);const L=a._calendarDuration2Seconds[this.unit],A=a._calendarDuration2Seconds[N.unit];if(!L!=!A&&(L>1||A>1))return null;const U=L?"s":this.unit.replace(r,""),K=(L||1)*this.value,ee=A?"s":N.unit.replace(r,""),B=v.convertUnitTo(ee,(A||1)*N.value,U);return"succeeded"!==B.status||B.fromUnit.isSpecial_||B.toUnit.isSpecial_?null:new a(K+B.toVal,U)}mul(N){const S=a._calendarDuration2Seconds[this.unit],F=a._calendarDuration2Seconds[N.unit];if(S>1&&"'1'"!==N.unit||F>1&&"'1'"!==this.unit)return null;const L=this.convToUcumUnits(this,S);if(!L)return null;const A=this.convToUcumUnits(N,F);return A?"'1'"===this.unit?new a(this.value*N.value,N.unit):"'1'"===N.unit?new a(this.value*N.value,this.unit):new a(L.value*A.value,`'(${L.unit}).(${A.unit})'`):null}div(N){if(0===N.value)return null;const S=a._calendarDuration2Seconds[this.unit],F=a._calendarDuration2Seconds[N.unit];if(S)if(F){const ee=a._yearMonthConversionFactor[this.unit],ne=a._yearMonthConversionFactor[N.unit];if(ee&&ne)return new a(this.value*ee/(N.value*ne),"'1'")}else{if("'1'"===N.unit)return new a(this.value/N.value,this.unit);if(S>1)return null}else if(F>1)return null;const L=this.convToUcumUnits(this,S);if(!L)return null;const A=this.convToUcumUnits(N,F);if(!A)return null;const K=v.convertToBaseUnits("1"===A.unit?L.unit:`(${L.unit})/(${A.unit})`,L.value/A.value);return"succeeded"!==K.status?null:new a(K.magnitude,`'${Object.keys(K.unitToExp).map(ee=>ee+K.unitToExp[ee]).join(".")||"1"}'`)}convToUcumUnits(N,S){if(S)return{value:S*N.value,unit:"s"};{const F=N.unit.replace(r,""),L=v.convertToBaseUnits(F,N.value);return"succeeded"!==L.status||L.fromUnitIsSpecial?null:{value:L.magnitude,unit:Object.keys(L.unitToExp).map(A=>A+L.unitToExp[A]).join(".")||"1"}}}_compareYearsAndMonths(N){const S=a._yearMonthConversionFactor[this.unit],F=a._yearMonthConversionFactor[N.unit];return S&&F?{isEqual:C.isEqual(this.value*S,N.value*F)}:null}}const r=/^'|'$/g;a.getEquivalentUcumUnitCode=function(T){return a.mapTimeUnitsToUCUMCode[T]||T.replace(r,"")},a.toUcumQuantity=function(T,N){const S=a._calendarDuration2Seconds[N];return S?{value:S*T,unit:"s"}:{value:T,unit:N.replace(r,"")}},a.convUnitTo=function(T,N,S){const F=a._yearMonthConversionFactor[T],L=a._yearMonthConversionFactor[S];if(F&&L)return new a(F*N/L,S);const A=a._calendarDuration2Seconds[T],U=a._calendarDuration2Seconds[S];if(U){if(A)return new a(A*N/U,S);{const K=v.convertUnitTo(T.replace(/^'|'$/g,""),N,"s");if("succeeded"===K.status)return new a(K.toVal/U,S)}}else{const K=A?v.convertUnitTo("s",A*N,S.replace(/^'|'$/g,"")):v.convertUnitTo(T.replace(/^'|'$/g,""),N,S.replace(/^'|'$/g,""));if("succeeded"===K.status)return new a(K.toVal,S)}return null},a._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},a._yearMonthConversionFactor={years:12,months:1,year:12,month:1},a.dateTimeArithmeticDurationUnits={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","'s'":"second","'ms'":"millisecond"},a.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},a.mapTimeUnitsToUCUMCode=Object.keys(a.mapUCUMCodeToTimeUnits).reduce(function(T,N){return T[a.mapUCUMCodeToTimeUnits[N]]=N,T[a.mapUCUMCodeToTimeUnits[N]+"s"]=N,T},{});class u extends l{constructor(N){super(),this.asStr=N}plus(N){let F=a.dateTimeArithmeticDurationUnits[N.unit];if(!F)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(a.dateTimeArithmeticDurationUnits));const L=this.constructor,A=L._timeUnitToDatePrecision[F];if(void 0===A)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(L._timeUnitToDatePrecision).join(", ")+".");let U=N.value;const K=L===p;if((K?A<2:A<5)&&(U=Math.trunc(U)),this._getPrecision()2?new h(U)._getTimeParts():this._getTimeParts(),ne=L>2?new h(K)._getTimeParts():N._getTimeParts(),B=0;B<=A&&!1!==S;++B)S=ee[B]==ne[B];S&&(S=void 0)}}else S=!1;return S}equivalentTo(N){var S=N instanceof this.constructor;return S&&(S=this._getPrecision()==N._getPrecision())&&(S=this._getDateObj().getTime()==N._getDateObj().getTime()),S}compare(N){var S=this._getPrecision(),F=N._getPrecision(),L=S<=F?this._getDateObj().getTime():this._dateAtPrecision(F).getTime(),A=F<=S?N._getDateObj().getTime():N._dateAtPrecision(S).getTime();return S!==F&&L===A?null:L-A}_getPrecision(){return void 0===this.precision&&this._getMatchData(),this.precision}_getMatchData(N,S){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(N),this.timeMatchData))for(let F=S;F>=0&&void 0===this.precision;--F)this.timeMatchData[F]&&(this.precision=F);return this.timeMatchData}_getTimeParts(N){var S=[];S=[N[0]];var F=N[4];if(F){let K=S[0];S[0]=K.slice(0,K.length-F.length)}var L=N[1];if(L){let K=S[0];S[0]=K.slice(0,K.length-L.length),S[1]=L;var A=N[2];if(A){S[1]=L.slice(0,L.length-A.length),S[2]=A;var U=N[3];U&&(S[2]=A.slice(0,A.length-U.length),S[3]=U)}}return S}_getDateObj(){if(!this.dateObj){var N=this._getPrecision();this.dateObj=this._dateAtPrecision(N)}return this.dateObj}_createDate(N,S,F,L,A,U,K,ee){var ne=new Date(N,S,F,L,A,U,K);if(ee){var B=ne.getTimezoneOffset(),H=0;if("Z"!=ee){var z=ee.split(":"),X=parseInt(z[0]);H=parseInt(z[1]),X<0&&(H=-H),H+=60*X}ne=t(ne,-B-H)}return ne}}u.timeUnitToAddFn={year:g(4824),month:g(4400),week:g(7784),day:g(6915),hour:g(4260),minute:g(7196),second:g(3792),millisecond:g(2236)};let h=(()=>{class T extends u{constructor(S){super(S)}compare(S){if(!(S instanceof T))throw"Invalid comparison of a DateTime with something else";return super.compare(S)}_getMatchData(){return super._getMatchData(s,5)}_getTimeParts(){if(!this.timeParts){let F=this._getMatchData(),L=F[0];this.timeParts=[L];var S=F[1];if(S){this.timeParts[0]=L.slice(0,L.length-S.length),this.timeParts[1]=S;let A=F[2];if(A){this.timeParts[1]=S.slice(0,S.length-A.length),this.timeParts[2]=A;let U=F[3];U&&(this.timeParts[2]=A.slice(0,A.length-U.length),"T"===U[0]&&(F[3]=U.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(F.slice(3))))}}}return this.timeParts}_dateAtPrecision(S){var F=this._getTimeParts(),L=this._getMatchData()[7],A=this._getPrecision(),U=parseInt(F[0]),K=A>0?parseInt(F[1].slice(1))-1:0,ee=A>1?parseInt(F[2].slice(1)):1,ne=A>2?parseInt(F[3]):0,B=A>3?parseInt(F[4].slice(1)):0,H=A>4?parseInt(F[5].slice(1)):0,z=F.length>6?parseInt(F[6].slice(1)):0,X=this._createDate(U,K,ee,ne,B,H,z,L);return S0?X.getMonth():0,ee=S>1?X.getDate():1,ne=S>2?X.getHours():0,B=S>3?X.getMinutes():0,X=new Date(U,K,ee,ne,B)),X}}return T.checkString=function(N){let S=new T(N);return S._getMatchData()||(S=null),S},T._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},T._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"],T})(),p=(()=>{class T extends u{constructor(S){"T"==S[0]&&(S=S.slice(1)),super(S)}compare(S){if(!(S instanceof T))throw"Invalid comparison of a time with something else";return super.compare(S)}_dateAtPrecision(S){var F=this._getTimeParts(),L=this._getMatchData()[4],A=this._getPrecision(),U=2010,ne=parseInt(F[0]),B=A>0?parseInt(F[1].slice(1)):0,H=A>1?parseInt(F[2].slice(1)):0,z=F.length>3?parseInt(F[3].slice(1)):0,X=this._createDate(U,0,1,ne,B,H,z,L);return L&&(X.setYear(U),X.setMonth(0),X.setDate(1)),S0?X.getMinutes():0,X=new Date(U,0,1,ne,B)),X}_getMatchData(){return super._getMatchData(b,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}return T.checkString=function(N){let S=new T(N);return S._getMatchData()||(S=null),S},T._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},T._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],T})();function _(T,N){var S=T;return 3===N&&T<100&&(S="0"+T),T<10&&(S="0"+S),S}h.isoDateTime=function(T,N){void 0===N&&(N=5);var S=""+T.getFullYear();if(N>0&&(S+="-"+_(T.getMonth()+1),N>1&&(S+="-"+_(T.getDate()),N>2&&(S+="T"+h.isoTime(T,N-3)))),N>2){var F=T.getTimezoneOffset(),L=F<0?"+":"-",A=(F=Math.abs(F))%60;S+=L+_((F-A)/60)+":"+_(A)}return S},h.isoTime=function(T,N){void 0===N&&(N=2);let S=""+_(T.getHours());return N>0&&(S+=":"+_(T.getMinutes()),N>1&&(S+=":"+_(T.getSeconds()),T.getMilliseconds()&&(S+="."+_(T.getMilliseconds(),3)))),S};let y=(()=>{class T extends h{constructor(S){super(S)}_getMatchData(){return u.prototype._getMatchData.apply(this,[f,2])}}return T.checkString=function(N){let S=new T(N);return S._getMatchData()||(S=null),S},T.isoDate=function(N,S){return(void 0===S||S>2)&&(S=2),h.isoDateTime(N,S)},T})(),M=(()=>{class T extends h{constructor(S){super(S)}_getMatchData(){return u.prototype._getMatchData.apply(this,[d,5])}}return T.checkString=function(N){let S=new T(N);return S._getMatchData()||(S=null),S},T})(),w=(()=>{class T{constructor(S,F,L){S?.resourceType&&(F=S.resourceType),this.path=F,this.data=S,this._data=L||{}}getTypeInfo(){const S=k.FHIR;return/^System\.(.*)$/.test(this.path)?new k({namespace:k.System,name:RegExp.$1}):-1===this.path.indexOf(".")?new k({namespace:S,name:this.path}):k.model?new k({namespace:S,name:"BackboneElement"}):k.createByValueInNamespace({namespace:S,value:this.data})}toJSON(){return JSON.stringify(this.data)}convertData(){var S=this.data;const F=k.typeToClassWithCheckString[this.path];if(F)S=F.checkString(S)||S;else if(k.isType(this.path,"Quantity")&&"http://unitsofmeasure.org"===S?.system&&"number"==typeof S.value&&"string"==typeof S.code){if(void 0!==S.comparator)throw new Error("Cannot convert a FHIR.Quantity that has a comparator");S=new a(S.value,a.mapUCUMCodeToTimeUnits[S.code]||"'"+S.code+"'")}return S}}return T.makeResNode=function(N,S,F){return N instanceof T?N:new T(N,S,F)},T})(),k=(()=>{class T{constructor({name:S,namespace:F}){this.name=S,this.namespace=F}static model=null;is(S){return S instanceof T&&(!this.namespace||!S.namespace||this.namespace===S.namespace)&&(!T.model||this.namespace&&this.namespace!==T.FHIR?this.name===S.name:T.isType(this.name,S.name))}}return T.typeToClassWithCheckString={date:y,dateTime:h,instant:M,time:p},T.isType=function(N,S){do{if(N===S)return!0}while(N=T.model?.type2Parent[N]);return!1},T.System="System",T.FHIR="FHIR",T.createByValueInNamespace=function({namespace:N,value:S}){let F=typeof S;return Number.isInteger(S)?F="integer":"number"===F?F="decimal":S instanceof y?F="date":S instanceof h?F="dateTime":S instanceof p?F="time":S instanceof a&&(F="Quantity"),N===T.System&&(F=F.replace(/^\w/,L=>L.toUpperCase())),new T({namespace:N,name:F})},T.fromValue=function(N){return N instanceof w?N.getTypeInfo():T.createByValueInNamespace({namespace:T.System,value:N})},T})();De.exports={FP_Type:l,FP_TimeBase:u,FP_Date:y,FP_DateTime:h,FP_Instant:M,FP_Time:p,FP_Quantity:a,timeRE:b,dateTimeRE:s,ResourceNode:w,TypeInfo:k,typeFn:function D(T){return T.map(N=>k.fromValue(N))},isFn:function I(T,N){if(0===T.length)return[];if(T.length>1)throw new Error("Expected singleton on left side of 'is', got "+JSON.stringify(T));return k.fromValue(T[0]).is(N)},asFn:function O(T,N){if(0===T.length)return[];if(T.length>1)throw new Error("Expected singleton on left side of 'as', got "+JSON.stringify(T));return k.fromValue(T[0]).is(N)?T:[]}}},2360:(De,te,g)=>{const t={},v=g(3044);let{ResourceNode:C}=v;t.raiseError=function(E,c){throw(c=c?c+": ":"")+E},t.assertAtMostOne=function(E,c){E.length>1&&t.raiseError("Was expecting no more than one element but got "+JSON.stringify(E),c)},t.assertType=function(E,c,b){let s=this.valData(E);if(c.indexOf(typeof s)<0){let f=c.length>1?"one of "+c.join(", "):c[0];t.raiseError("Found type '"+typeof E+"' but was expecting "+f,b)}return s},t.isEmpty=function(E){return Array.isArray(E)&&0==E.length},t.isSome=function(E){return null!=E&&!t.isEmpty(E)},t.isTrue=function(E){return null!=E&&(!0===E||1==E.length&&!0===E[0])},t.isFalse=function(E){return null!=E&&(!1===E||1==E.length&&!1===E[0])},t.isCapitalized=function(E){return E&&E[0]===E[0].toUpperCase()},t.flatten=function(E){return E.reduce(function(c,b){return Array.isArray(b)?c=c.concat(b):c.push(b),c},[])},t.arraify=function(E){return Array.isArray(E)?E:t.isSome(E)?[E]:[]},t.valData=function(E){return E instanceof C?E.data:E},t.valDataConverted=function(E){return E instanceof C&&(E=E.convertData()),E},t.escapeStringForRegExp=function(E){return E.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},De.exports=t},6472:De=>{"use strict";De.exports=function(te,g){for(var t={},v=Object.keys(te),C=Array.isArray(g),E=0;E{!function(De,te){"use strict";var g="hljs-ln",t="hljs-ln-line",v="hljs-ln-code",C="hljs-ln-numbers",E="hljs-ln-n",c="data-line-number",b=/\r\n|\r|\n/g;function r(A){try{var U=te.querySelectorAll("code.hljs,code.nohighlight");for(var K in U)U.hasOwnProperty(K)&&(u(U[K])||h(U[K],A))}catch(ee){De.console.error("LineNumbers error: ",ee)}}function u(A){return A.classList.contains("nohljsln")}function h(A,U){"object"==typeof A&&function N(A){De.setTimeout(A,0)}(function(){A.innerHTML=_(A,U)})}function _(A,U){var K=function M(A,U){return{singleLine:w(U=U||{}),startFrom:k(A,U)}}(A,U);return D(A),function y(A,U){var K=O(A);if(""===K[K.length-1].trim()&&K.pop(),K.length>1||U.singleLine){for(var ee="",ne=0,B=K.length;ne
{6}',[t,C,E,c,v,ne+U.startFrom,K[ne].length>0?K[ne]:" "]);return S('{1}
',[g,ee])}return A}(A.innerHTML,K)}function w(A){return!!A.singleLine&&A.singleLine}function k(A,U){var ee=1;isFinite(U.startFrom)&&(ee=U.startFrom);var ne=function F(A,U){return A.hasAttribute(U)?A.getAttribute(U):null}(A,"data-ln-start-from");return null!==ne&&(ee=function L(A,U){if(!A)return U;var K=Number(A);return isFinite(K)?K:U}(ne,1)),ee}function D(A){var U=A.childNodes;for(var K in U)if(U.hasOwnProperty(K)){var ee=U[K];T(ee.textContent)>0&&(ee.childNodes.length>0?D(ee):I(ee.parentNode))}}function I(A){var U=A.className;if(/hljs-/.test(U)){for(var K=O(A.innerHTML),ee=0,ne="";ee{1}\n',[U,K[ee].length>0?K[ee]:" "]);A.innerHTML=ne.trim()}}function O(A){return 0===A.length?[]:A.split(b)}function T(A){return(A.trim().match(b)||[]).length}function S(A,U){return A.replace(/\{(\d+)\}/g,function(K,ee){return void 0!==U[ee]?U[ee]:K})}De.hljs?(De.hljs.initLineNumbersOnLoad=function a(A){"interactive"===te.readyState||"complete"===te.readyState?r(A):De.addEventListener("DOMContentLoaded",function(){r(A)})},De.hljs.lineNumbersBlock=h,De.hljs.lineNumbersValue=function p(A,U){if("string"==typeof A){var K=document.createElement("code");return K.innerHTML=A,_(K,U)}},function l(){var A=te.createElement("style");A.type="text/css",A.innerHTML=S(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[g,E,c]),te.getElementsByTagName("head")[0].appendChild(A)}()):De.console.error("highlight.js not detected!"),document.addEventListener("copy",function(A){var K,U=window.getSelection();(function s(A){for(var U=A;U;){if(U.className&&-1!==U.className.indexOf("hljs-ln-code"))return!0;U=U.parentNode}return!1})(U.anchorNode)&&(K=-1!==window.navigator.userAgent.indexOf("Edge")?function d(A){for(var U=A.toString(),K=A.anchorNode;"TD"!==K.nodeName;)K=K.parentNode;for(var ee=A.focusNode;"TD"!==ee.nodeName;)ee=ee.parentNode;var ne=parseInt(K.dataset.lineNumber),B=parseInt(ee.dataset.lineNumber);if(ne!=B){var H=K.textContent,z=ee.textContent;if(ne>B){var X=ne;ne=B,B=X,X=H,H=z,z=X}for(;0!==U.indexOf(H);)H=H.slice(1);for(;-1===U.lastIndexOf(z);)z=z.slice(0,-1);for(var G=H,j=function f(A){for(var U=A;"TABLE"!==U.nodeName;)U=U.parentNode;return U}(K),le=ne+1;le{"use strict";De.exports=Number.isFinite||function(te){return!("number"!=typeof te||te!=te||te===1/0||te===-1/0)}},3716:(De,te,g)=>{var t=g(7176);De.exports=Number.isInteger||function(v){return"number"==typeof v&&t(v)&&Math.floor(v)===v}},9472:function(De,te){var g,v;void 0!==(v="function"==typeof(g=function(){"use strict";function C(l){function a(_){for(var y=0,M=r.length;y127){if(a>191&&a<224){if(t>=e.length)throw"UTF-8 decode: incomplete 2-byte sequence";a=(31&a)<<6|63&e[t]}else if(a>223&&a<240){if(t+1>=e.length)throw"UTF-8 decode: incomplete 3-byte sequence";a=(15&a)<<12|(63&e[t])<<6|63&e[++t]}else{if(!(a>239&&a<248))throw"UTF-8 decode: unknown multibyte start 0x"+a.toString(16)+" at index "+(t-1);if(t+2>=e.length)throw"UTF-8 decode: incomplete 4-byte sequence";a=(7&a)<<18|(63&e[t])<<12|(63&e[++t])<<6|63&e[++t]}++t}if(a<=65535)r+=String.fromCharCode(a);else{if(!(a<=1114111))throw"UTF-8 decode: code point 0x"+a.toString(16)+" exceeds UTF-16 reach";a-=65536,r+=String.fromCharCode(a>>10|55296),r+=String.fromCharCode(1023&a|56320)}}return r}function PaxHeader(e){this._fields=e}function TarFile(){}function UntarStream(e){this._bufferView=new DataView(e),this._position=0}function UntarFileStream(e){this._stream=new UntarStream(e),this._globalPaxHeader=null}if(UntarWorker.prototype={onmessage:function(e){try{if("extract"!==e.data.type)throw new Error("Unknown message type: "+e.data.type);this.untarBuffer(e.data.buffer)}catch(r){this.postError(r)}},postError:function(e){this.postMessage({type:"error",data:{message:e.message}})},postLog:function(e,r){this.postMessage({type:"log",data:{level:e,msg:r}})},untarBuffer:function(e){try{for(var r=new UntarFileStream(e);r.hasNext();){var t=r.next();this.postMessage({type:"extract",data:t},[t.buffer])}this.postMessage({type:"complete"})}catch(a){this.postError(a)}},postMessage:function(e,r){self.postMessage(e,r)}},"undefined"!=typeof self){var worker=new UntarWorker;self.onmessage=function(e){worker.onmessage(e)}}PaxHeader.parse=function(e){for(var r=new Uint8Array(e),t=[];r.length>0;){var a=parseInt(decodeUTF8(r.subarray(0,r.indexOf(32)))),n=decodeUTF8(r.subarray(0,a)),i=n.match(/^\\d+ ([^=]+)=(.*)\\n$/);if(null===i)throw new Error("Invalid PAX header data format.");var s=i[1],o=i[2];0===o.length?o=null:null!==o.match(/^\\d+$/)&&(o=parseInt(o));var f={name:s,value:o};t.push(f),r=r.subarray(a)}return new PaxHeader(t)},PaxHeader.prototype={applyHeader:function(e){this._fields.forEach(function(r){var t=r.name,a=r.value;"path"===t?(t="name",void 0!==e.prefix&&delete e.prefix):"linkpath"===t&&(t="linkname"),null===a?delete e[t]:e[t]=a})}},UntarStream.prototype={readString:function(e){for(var r=1,t=e*r,a=[],n=0;n-1&&(r.version=e.readString(2),r.uname=e.readString(32),r.gname=e.readString(32),r.devmajor=parseInt(e.readString(8)),r.devminor=parseInt(e.readString(8)),r.namePrefix=e.readString(155),r.namePrefix.length>0&&(r.name=r.namePrefix+"/"+r.name)),e.position(i),r.type){case"0":case"":r.buffer=e.readBuffer(r.size);break;case"1":break;case"2":break;case"3":break;case"4":break;case"5":break;case"6":break;case"7":break;case"g":t=!0,this._globalPaxHeader=PaxHeader.parse(e.readBuffer(r.size));break;case"x":t=!0,a=PaxHeader.parse(e.readBuffer(r.size))}void 0===r.buffer&&(r.buffer=new ArrayBuffer(0));var s=i+r.size;return r.size%512!==0&&(s+=512-r.size%512),e.position(s),t&&(r=this._readNextFile()),null!==this._globalPaxHeader&&this._globalPaxHeader.applyHeader(r),null!==a&&a.applyHeader(r),r}};'])),function E(l){if(!(l instanceof ArrayBuffer))throw new TypeError("arrayBuffer is not an instance of ArrayBuffer.");if(!s.Worker)throw new Error("Worker implementation is not available in this environment.");return new C(function(a,r,u){var h=new Worker(b),p=[];h.onerror=function(_){r(_)},h.onmessage=function(_){switch((_=_.data).type){case"log":console[_.data.level]("Worker: "+_.data.msg);break;case"extract":var y=function c(l){return Object.defineProperties(l,d),l}(_.data);p.push(y),u(y);break;case"complete":h.terminate(),a(p);break;case"error":h.terminate(),r(new Error(_.data.message));break;default:h.terminate(),r(new Error("Unknown message from worker: "+_.type))}},h.postMessage({type:"extract",buffer:l},[l])})}})?g.apply(te,[]):g)&&(De.exports=v)},4772:(De,te)=>{function t(v,C){var E=[],c=[];return null==C&&(C=function(b,s){return E[0]===s?"[Circular ~]":"[Circular ~."+c.slice(0,E.indexOf(s)).join(".")+"]"}),function(b,s){if(E.length>0){var f=E.indexOf(this);~f?E.splice(f+1):E.push(this),~f?c.splice(f,1/0,b):c.push(b),~E.indexOf(s)&&(s=C.call(this,b,s))}else E.push(s);return null==v?s:v.call(this,b,s)}}(De.exports=function g(v,C,E,c){return JSON.stringify(v,t(C,c),E)}).getSerialize=t},6168:De=>{var te=1e3,g=6e4,t=60*g,v=24*t;function f(d,l,a,r){var u=l>=1.5*a;return Math.round(d/a)+" "+r+(u?"s":"")}De.exports=function(d,l){l=l||{};var a=typeof d;if("string"===a&&d.length>0)return function c(d){if(!((d=String(d)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if(l){var a=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*v;case"hours":case"hour":case"hrs":case"hr":case"h":return a*t;case"minutes":case"minute":case"mins":case"min":case"m":return a*g;case"seconds":case"second":case"secs":case"sec":case"s":return a*te;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(d);if("number"===a&&isFinite(d))return l.long?function s(d){var l=Math.abs(d);return l>=v?f(d,l,v,"day"):l>=t?f(d,l,t,"hour"):l>=g?f(d,l,g,"minute"):l>=te?f(d,l,te,"second"):d+" ms"}(d):function b(d){var l=Math.abs(d);return l>=v?Math.round(d/v)+"d":l>=t?Math.round(d/t)+"h":l>=g?Math.round(d/g)+"m":l>=te?Math.round(d/te)+"s":d+"ms"}(d);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(d))}},2948:De=>{"use strict";const te=typeof self<"u"?self:typeof window<"u"?window:void 0;if(!te)throw new Error("Unable to find global scope. Are you sure this is running in the browser?");if(!te.AbortController)throw new Error('Could not find "AbortController" in the global scope. You need to polyfill it first');De.exports.AbortController=te.AbortController},4420:(De,te,g)=>{"use strict";const t=g(3896),v=g(1844),C=g(4104),E=g(6472),b=Symbol("encodeFragmentIdentifier");function d(M){if("string"!=typeof M||1!==M.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(M,w){return w.encode?w.strict?t(M):encodeURIComponent(M):M}function a(M,w){return w.decode?v(M):M}function r(M){return Array.isArray(M)?M.sort():"object"==typeof M?r(Object.keys(M)).sort((w,k)=>Number(w)-Number(k)).map(w=>M[w]):M}function u(M){const w=M.indexOf("#");return-1!==w&&(M=M.slice(0,w)),M}function p(M){const w=(M=u(M)).indexOf("?");return-1===w?"":M.slice(w+1)}function _(M,w){return w.parseNumbers&&!Number.isNaN(Number(M))&&"string"==typeof M&&""!==M.trim()?M=Number(M):w.parseBooleans&&null!==M&&("true"===M.toLowerCase()||"false"===M.toLowerCase())&&(M="true"===M.toLowerCase()),M}function y(M,w){d((w=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},w)).arrayFormatSeparator);const k=function f(M){let w;switch(M.arrayFormat){case"index":return(k,D,I)=>{w=/\[(\d*)\]$/.exec(k),k=k.replace(/\[\d*\]$/,""),w?(void 0===I[k]&&(I[k]={}),I[k][w[1]]=D):I[k]=D};case"bracket":return(k,D,I)=>{w=/(\[\])$/.exec(k),I[k=k.replace(/\[\]$/,"")]=w?void 0!==I[k]?[].concat(I[k],D):[D]:D};case"colon-list-separator":return(k,D,I)=>{w=/(:list)$/.exec(k),I[k=k.replace(/:list$/,"")]=w?void 0!==I[k]?[].concat(I[k],D):[D]:D};case"comma":case"separator":return(k,D,I)=>{const O="string"==typeof D&&D.includes(M.arrayFormatSeparator),T="string"==typeof D&&!O&&a(D,M).includes(M.arrayFormatSeparator);D=T?a(D,M):D;const N=O||T?D.split(M.arrayFormatSeparator).map(S=>a(S,M)):null===D?D:a(D,M);I[k]=N};case"bracket-separator":return(k,D,I)=>{const O=/(\[\])$/.test(k);if(k=k.replace(/\[\]$/,""),!O)return void(I[k]=D&&a(D,M));const T=null===D?[]:D.split(M.arrayFormatSeparator).map(N=>a(N,M));I[k]=void 0!==I[k]?[].concat(I[k],T):T};default:return(k,D,I)=>{I[k]=void 0!==I[k]?[].concat(I[k],D):D}}}(w),D=Object.create(null);if("string"!=typeof M||!(M=M.trim().replace(/^[?#&]/,"")))return D;for(const I of M.split("&")){if(""===I)continue;let[O,T]=C(w.decode?I.replace(/\+/g," "):I,"=");T=void 0===T?null:["comma","separator","bracket-separator"].includes(w.arrayFormat)?T:a(T,w),k(a(O,w),T,D)}for(const I of Object.keys(D)){const O=D[I];if("object"==typeof O&&null!==O)for(const T of Object.keys(O))O[T]=_(O[T],w);else D[I]=_(O,w)}return!1===w.sort?D:(!0===w.sort?Object.keys(D).sort():Object.keys(D).sort(w.sort)).reduce((I,O)=>{const T=D[O];return I[O]=T&&"object"==typeof T&&!Array.isArray(T)?r(T):T,I},Object.create(null))}te.extract=p,te.parse=y,te.stringify=(M,w)=>{if(!M)return"";d((w=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},w)).arrayFormatSeparator);const k=T=>w.skipNull&&(M=>null==M)(M[T])||w.skipEmptyString&&""===M[T],D=function s(M){switch(M.arrayFormat){case"index":return w=>(k,D)=>{const I=k.length;return void 0===D||M.skipNull&&null===D||M.skipEmptyString&&""===D?k:null===D?[...k,[l(w,M),"[",I,"]"].join("")]:[...k,[l(w,M),"[",l(I,M),"]=",l(D,M)].join("")]};case"bracket":return w=>(k,D)=>void 0===D||M.skipNull&&null===D||M.skipEmptyString&&""===D?k:null===D?[...k,[l(w,M),"[]"].join("")]:[...k,[l(w,M),"[]=",l(D,M)].join("")];case"colon-list-separator":return w=>(k,D)=>void 0===D||M.skipNull&&null===D||M.skipEmptyString&&""===D?k:null===D?[...k,[l(w,M),":list="].join("")]:[...k,[l(w,M),":list=",l(D,M)].join("")];case"comma":case"separator":case"bracket-separator":{const w="bracket-separator"===M.arrayFormat?"[]=":"=";return k=>(D,I)=>void 0===I||M.skipNull&&null===I||M.skipEmptyString&&""===I?D:(I=null===I?"":I,0===D.length?[[l(k,M),w,l(I,M)].join("")]:[[D,l(I,M)].join(M.arrayFormatSeparator)])}default:return w=>(k,D)=>void 0===D||M.skipNull&&null===D||M.skipEmptyString&&""===D?k:null===D?[...k,l(w,M)]:[...k,[l(w,M),"=",l(D,M)].join("")]}}(w),I={};for(const T of Object.keys(M))k(T)||(I[T]=M[T]);const O=Object.keys(I);return!1!==w.sort&&O.sort(w.sort),O.map(T=>{const N=M[T];return void 0===N?"":null===N?l(T,w):Array.isArray(N)?0===N.length&&"bracket-separator"===w.arrayFormat?l(T,w)+"[]":N.reduce(D(T),[]).join("&"):l(T,w)+"="+l(N,w)}).filter(T=>T.length>0).join("&")},te.parseUrl=(M,w)=>{w=Object.assign({decode:!0},w);const[k,D]=C(M,"#");return Object.assign({url:k.split("?")[0]||"",query:y(p(M),w)},w&&w.parseFragmentIdentifier&&D?{fragmentIdentifier:a(D,w)}:{})},te.stringifyUrl=(M,w)=>{w=Object.assign({encode:!0,strict:!0,[b]:!0},w);const k=u(M.url).split("?")[0]||"",D=te.extract(M.url),I=te.parse(D,{sort:!1}),O=Object.assign(I,M.query);let T=te.stringify(O,w);T&&(T=`?${T}`);let N=function h(M){let w="";const k=M.indexOf("#");return-1!==k&&(w=M.slice(k)),w}(M.url);return M.fragmentIdentifier&&(N=`#${w[b]?l(M.fragmentIdentifier,w):M.fragmentIdentifier}`),`${k}${T}${N}`},te.pick=(M,w,k)=>{k=Object.assign({parseFragmentIdentifier:!0,[b]:!1},k);const{url:D,query:I,fragmentIdentifier:O}=te.parseUrl(M,k);return te.stringifyUrl({url:D,query:E(I,w),fragmentIdentifier:O},k)},te.exclude=(M,w,k)=>{const D=Array.isArray(w)?I=>!w.includes(I):(I,O)=>!w(I,O);return te.pick(M,D,k)}},6700:(De,te,g)=>{"use strict";g.d(te,{g:()=>v});var t=g(5657);class v extends t.E{constructor(E){super(),this._value=E}get value(){return this.getValue()}_subscribe(E){const c=super._subscribe(E);return!c.closed&&E.next(this._value),c}getValue(){const{hasError:E,thrownError:c,_value:b}=this;if(E)throw c;return this._throwIfClosed(),b}next(E){super.next(this._value=E)}}},3252:(De,te,g)=>{"use strict";g.d(te,{_:()=>f});var t=g(1760),v=g(6928),C=g(472),E=g(3928),c=g(4491),b=g(8880),s=g(2075);let f=(()=>{class r{constructor(h){h&&(this._subscribe=h)}lift(h){const p=new r;return p.source=this,p.operator=h,p}subscribe(h,p,_){const y=function a(r){return r&&r instanceof t.yR||function l(r){return r&&(0,b.m)(r.next)&&(0,b.m)(r.error)&&(0,b.m)(r.complete)}(r)&&(0,v.GI)(r)}(h)?h:new t.ot(h,p,_);return(0,s.c)(()=>{const{operator:M,source:w}=this;y.add(M?M.call(y,w):w?this._subscribe(y):this._trySubscribe(y))}),y}_trySubscribe(h){try{return this._subscribe(h)}catch(p){h.error(p)}}forEach(h,p){return new(p=d(p))((_,y)=>{const M=new t.ot({next:w=>{try{h(w)}catch(k){y(k),M.unsubscribe()}},error:y,complete:_});this.subscribe(M)})}_subscribe(h){var p;return null===(p=this.source)||void 0===p?void 0:p.subscribe(h)}[C.a](){return this}pipe(...h){return(0,E.Y)(h)(this)}toPromise(h){return new(h=d(h))((p,_)=>{let y;this.subscribe(M=>y=M,M=>_(M),()=>p(y))})}}return r.create=u=>new r(u),r})();function d(r){var u;return null!==(u=r??c.config.Promise)&&void 0!==u?u:Promise}},2540:(De,te,g)=>{"use strict";g.d(te,{o:()=>C});var t=g(5657),v=g(5960);class C extends t.E{constructor(c=1/0,b=1/0,s=v.K){super(),this._bufferSize=c,this._windowTime=b,this._timestampProvider=s,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=b===1/0,this._bufferSize=Math.max(1,c),this._windowTime=Math.max(1,b)}next(c){const{isStopped:b,_buffer:s,_infiniteTimeWindow:f,_timestampProvider:d,_windowTime:l}=this;b||(s.push(c),!f&&s.push(d.now()+l)),this._trimBuffer(),super.next(c)}_subscribe(c){this._throwIfClosed(),this._trimBuffer();const b=this._innerSubscribe(c),{_infiniteTimeWindow:s,_buffer:f}=this,d=f.slice();for(let l=0;l{"use strict";g.d(te,{E:()=>s});var t=g(3252),v=g(6928);const E=(0,g(4912).w)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var c=g(1248),b=g(2075);let s=(()=>{class d extends t._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(a){const r=new f(this,this);return r.operator=a,r}_throwIfClosed(){if(this.closed)throw new E}next(a){(0,b.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(a)}})}error(a){(0,b.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=a;const{observers:r}=this;for(;r.length;)r.shift().error(a)}})}complete(){(0,b.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:a}=this;for(;a.length;)a.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var a;return(null===(a=this.observers)||void 0===a?void 0:a.length)>0}_trySubscribe(a){return this._throwIfClosed(),super._trySubscribe(a)}_subscribe(a){return this._throwIfClosed(),this._checkFinalizedStatuses(a),this._innerSubscribe(a)}_innerSubscribe(a){const{hasError:r,isStopped:u,observers:h}=this;return r||u?v.au:(this.currentObservers=null,h.push(a),new v.wH(()=>{this.currentObservers=null,(0,c.k)(h,a)}))}_checkFinalizedStatuses(a){const{hasError:r,thrownError:u,isStopped:h}=this;r?a.error(u):h&&a.complete()}asObservable(){const a=new t._;return a.source=this,a}}return d.create=(l,a)=>new f(l,a),d})();class f extends s{constructor(l,a){super(),this.destination=l,this.source=a}next(l){var a,r;null===(r=null===(a=this.destination)||void 0===a?void 0:a.next)||void 0===r||r.call(a,l)}error(l){var a,r;null===(r=null===(a=this.destination)||void 0===a?void 0:a.error)||void 0===r||r.call(a,l)}complete(){var l,a;null===(a=null===(l=this.destination)||void 0===l?void 0:l.complete)||void 0===a||a.call(l)}_subscribe(l){var a,r;return null!==(r=null===(a=this.source)||void 0===a?void 0:a.subscribe(l))&&void 0!==r?r:v.au}}},1760:(De,te,g)=>{"use strict";g.d(te,{ot:()=>_,yR:()=>r});var t=g(8880),v=g(6928),C=g(4491),E=g(1984),c=g(308);const b=d("C",void 0,void 0);function d(D,I,O){return{kind:D,value:I,error:O}}var l=g(3376),a=g(2075);class r extends v.wH{constructor(I){super(),this.isStopped=!1,I?(this.destination=I,(0,v.GI)(I)&&I.add(this)):this.destination=k}static create(I,O,T){return new _(I,O,T)}next(I){this.isStopped?w(function f(D){return d("N",D,void 0)}(I),this):this._next(I)}error(I){this.isStopped?w(function s(D){return d("E",void 0,D)}(I),this):(this.isStopped=!0,this._error(I))}complete(){this.isStopped?w(b,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(I){this.destination.next(I)}_error(I){try{this.destination.error(I)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const u=Function.prototype.bind;function h(D,I){return u.call(D,I)}class p{constructor(I){this.partialObserver=I}next(I){const{partialObserver:O}=this;if(O.next)try{O.next(I)}catch(T){y(T)}}error(I){const{partialObserver:O}=this;if(O.error)try{O.error(I)}catch(T){y(T)}else y(I)}complete(){const{partialObserver:I}=this;if(I.complete)try{I.complete()}catch(O){y(O)}}}class _ extends r{constructor(I,O,T){let N;if(super(),(0,t.m)(I)||!I)N={next:I??void 0,error:O??void 0,complete:T??void 0};else{let S;this&&C.config.useDeprecatedNextContext?(S=Object.create(I),S.unsubscribe=()=>this.unsubscribe(),N={next:I.next&&h(I.next,S),error:I.error&&h(I.error,S),complete:I.complete&&h(I.complete,S)}):N=I}this.destination=new p(N)}}function y(D){C.config.useDeprecatedSynchronousErrorHandling?(0,a.q)(D):(0,E.U)(D)}function w(D,I){const{onStoppedNotification:O}=C.config;O&&l.u.setTimeout(()=>O(D,I))}const k={closed:!0,next:c.K,error:function M(D){throw D},complete:c.K}},6928:(De,te,g)=>{"use strict";g.d(te,{au:()=>b,wH:()=>c,GI:()=>s});var t=g(8880);const C=(0,g(4912).w)(d=>function(a){d(this),this.message=a?`${a.length} errors occurred during unsubscription:\n${a.map((r,u)=>`${u+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=a});var E=g(1248);class c{constructor(l){this.initialTeardown=l,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let l;if(!this.closed){this.closed=!0;const{_parentage:a}=this;if(a)if(this._parentage=null,Array.isArray(a))for(const h of a)h.remove(this);else a.remove(this);const{initialTeardown:r}=this;if((0,t.m)(r))try{r()}catch(h){l=h instanceof C?h.errors:[h]}const{_finalizers:u}=this;if(u){this._finalizers=null;for(const h of u)try{f(h)}catch(p){l=l??[],p instanceof C?l=[...l,...p.errors]:l.push(p)}}if(l)throw new C(l)}}add(l){var a;if(l&&l!==this)if(this.closed)f(l);else{if(l instanceof c){if(l.closed||l._hasParent(this))return;l._addParent(this)}(this._finalizers=null!==(a=this._finalizers)&&void 0!==a?a:[]).push(l)}}_hasParent(l){const{_parentage:a}=this;return a===l||Array.isArray(a)&&a.includes(l)}_addParent(l){const{_parentage:a}=this;this._parentage=Array.isArray(a)?(a.push(l),a):a?[a,l]:l}_removeParent(l){const{_parentage:a}=this;a===l?this._parentage=null:Array.isArray(a)&&(0,E.k)(a,l)}remove(l){const{_finalizers:a}=this;a&&(0,E.k)(a,l),l instanceof c&&l._removeParent(this)}}c.EMPTY=(()=>{const d=new c;return d.closed=!0,d})();const b=c.EMPTY;function s(d){return d instanceof c||d&&"closed"in d&&(0,t.m)(d.remove)&&(0,t.m)(d.add)&&(0,t.m)(d.unsubscribe)}function f(d){(0,t.m)(d)?d():d.unsubscribe()}},4491:(De,te,g)=>{"use strict";g.d(te,{config:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2376:(De,te,g)=>{"use strict";g.d(te,{C:()=>b});var t=g(3252),v=g(6928),C=g(8084),E=g(7773),c=g(5448);class b extends t._{constructor(f,d){super(),this.source=f,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,c.e)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,f?.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new v.wH;const d=this.getSubject();f.add(this.source.subscribe((0,E.e)(d,void 0,()=>{this._teardown(),d.complete()},l=>{this._teardown(),d.error(l)},()=>this._teardown()))),f.closed&&(this._connection=null,f=v.wH.EMPTY)}return f}refCount(){return(0,C.O)()(this)}}},6040:(De,te,g)=>{"use strict";g.d(te,{E:()=>l,I:()=>a});var t=g(3252),v=g(4300),C=g(9900),E=g(528),c=g(4187),b=g(6624),s=g(7904),f=g(7773),d=g(9399);function l(...u){const h=(0,b.e_)(u),p=(0,b.yu)(u),{args:_,keys:y}=(0,v.Q)(u);if(0===_.length)return(0,C.Q)([],h);const M=new t._(a(_,h,y?w=>(0,s.q)(y,w):E.Z));return p?M.pipe((0,c.j)(p)):M}function a(u,h,p=E.Z){return _=>{r(h,()=>{const{length:y}=u,M=new Array(y);let w=y,k=y;for(let D=0;D{const I=(0,C.Q)(u[D],h);let O=!1;I.subscribe((0,f.e)(_,T=>{M[D]=T,O||(O=!0,k--),k||_.next(p(M.slice()))},()=>{--w||_.complete()}))},_)},_)}}function r(u,h,p){u?(0,d._)(p,u,h):h()}},8344:(De,te,g)=>{"use strict";g.d(te,{W:()=>E});var t=g(2943),v=g(6624),C=g(9900);function E(...c){return(0,t.Y)()((0,C.Q)(c,(0,v.e_)(c)))}},1424:(De,te,g)=>{"use strict";g.d(te,{Q:()=>C});var t=g(3252),v=g(560);function C(E){return new t._(c=>{(0,v.Uv)(E()).subscribe(c)})}},8960:(De,te,g)=>{"use strict";g.d(te,{k:()=>v});const v=new(g(3252)._)(c=>c.complete())},9336:(De,te,g)=>{"use strict";g.d(te,{y:()=>f});var t=g(3252),v=g(4300),C=g(560),E=g(6624),c=g(7773),b=g(4187),s=g(7904);function f(...d){const l=(0,E.yu)(d),{args:a,keys:r}=(0,v.Q)(d),u=new t._(h=>{const{length:p}=a;if(!p)return void h.complete();const _=new Array(p);let y=p,M=p;for(let w=0;w{k||(k=!0,M--),_[w]=D},()=>y--,void 0,()=>{(!y||!k)&&(M||h.next(r?(0,s.q)(r,_):_),h.complete())}))}});return l?u.pipe((0,b.j)(l)):u}},9900:(De,te,g)=>{"use strict";g.d(te,{Q:()=>I});var t=g(560),v=g(3920),C=g(2924),b=g(3252),f=g(3835),d=g(8880),l=g(9399);function r(O,T){if(!O)throw new Error("Iterable cannot be null");return new b._(N=>{(0,l._)(N,T,()=>{const S=O[Symbol.asyncIterator]();(0,l._)(N,T,()=>{S.next().then(F=>{F.done?N.complete():N.next(F.value)})},0,!0)})})}var u=g(5099),h=g(5432),p=g(5428),_=g(1688),y=g(376),M=g(8272),w=g(5832);function I(O,T){return T?function D(O,T){if(null!=O){if((0,u.O)(O))return function E(O,T){return(0,t.Uv)(O).pipe((0,C.y)(T),(0,v.y)(T))}(O,T);if((0,p.G)(O))return function s(O,T){return new b._(N=>{let S=0;return T.schedule(function(){S===O.length?N.complete():(N.next(O[S++]),N.closed||this.schedule())})})}(O,T);if((0,h.u)(O))return function c(O,T){return(0,t.Uv)(O).pipe((0,C.y)(T),(0,v.y)(T))}(O,T);if((0,y.E)(O))return r(O,T);if((0,_.i)(O))return function a(O,T){return new b._(N=>{let S;return(0,l._)(N,T,()=>{S=O[f.w](),(0,l._)(N,T,()=>{let F,L;try{({value:F,done:L}=S.next())}catch(A){return void N.error(A)}L?N.complete():N.next(F)},0,!0)}),()=>(0,d.m)(S?.return)&&S.return()})}(O,T);if((0,w.K)(O))return function k(O,T){return r((0,w._)(O),T)}(O,T)}throw(0,M.W)(O)}(O,T):(0,t.Uv)(O)}},800:(De,te,g)=>{"use strict";g.d(te,{w:()=>l});var t=g(560),v=g(3252),C=g(8152),E=g(5428),c=g(8880),b=g(4187);const s=["addListener","removeListener"],f=["addEventListener","removeEventListener"],d=["on","off"];function l(p,_,y,M){if((0,c.m)(y)&&(M=y,y=void 0),M)return l(p,_,y).pipe((0,b.j)(M));const[w,k]=function h(p){return(0,c.m)(p.addEventListener)&&(0,c.m)(p.removeEventListener)}(p)?f.map(D=>I=>p[D](_,I,y)):function r(p){return(0,c.m)(p.addListener)&&(0,c.m)(p.removeListener)}(p)?s.map(a(p,_)):function u(p){return(0,c.m)(p.on)&&(0,c.m)(p.off)}(p)?d.map(a(p,_)):[];if(!w&&(0,E.G)(p))return(0,C.O)(D=>l(D,_,y))((0,t.Uv)(p));if(!w)throw new TypeError("Invalid event target");return new v._(D=>{const I=(...O)=>D.next(1k(I)})}function a(p,_){return y=>M=>p[y](_,M)}},560:(De,te,g)=>{"use strict";g.d(te,{Uv:()=>u});var t=g(5052),v=g(5428),C=g(5432),E=g(3252),c=g(5099),b=g(376),s=g(8272),f=g(1688),d=g(5832),l=g(8880),a=g(1984),r=g(472);function u(D){if(D instanceof E._)return D;if(null!=D){if((0,c.O)(D))return function h(D){return new E._(I=>{const O=D[r.a]();if((0,l.m)(O.subscribe))return O.subscribe(I);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(D);if((0,v.G)(D))return function p(D){return new E._(I=>{for(let O=0;O{D.then(O=>{I.closed||(I.next(O),I.complete())},O=>I.error(O)).then(null,a.U)})}(D);if((0,b.E)(D))return M(D);if((0,f.i)(D))return function y(D){return new E._(I=>{for(const O of D)if(I.next(O),I.closed)return;I.complete()})}(D);if((0,d.K)(D))return function w(D){return M((0,d._)(D))}(D)}throw(0,s.W)(D)}function M(D){return new E._(I=>{(function k(D,I){var O,T,N,S;return(0,t.__awaiter)(this,void 0,void 0,function*(){try{for(O=(0,t.__asyncValues)(D);!(T=yield O.next()).done;)if(I.next(T.value),I.closed)return}catch(F){N={error:F}}finally{try{T&&!T.done&&(S=O.return)&&(yield S.call(O))}finally{if(N)throw N.error}}I.complete()})})(D,I).catch(O=>I.error(O))})}},3412:(De,te,g)=>{"use strict";g.d(te,{U:()=>b});var t=g(267),v=g(560),C=g(8960),E=g(6624),c=g(9900);function b(...s){const f=(0,E.e_)(s),d=(0,E._8)(s,1/0),l=s;return l.length?1===l.length?(0,v.Uv)(l[0]):(0,t.u)(d)((0,c.Q)(l,f)):C.k}},2700:(De,te,g)=>{"use strict";g.d(te,{of:()=>C});var t=g(6624),v=g(9900);function C(...E){const c=(0,t.e_)(E);return(0,v.Q)(E,c)}},7536:(De,te,g)=>{"use strict";g.d(te,{o:()=>b,u:()=>c});var t=g(3252),v=g(560),C=g(2368),E=g(7773);function c(...s){return 1===(s=(0,C.S)(s)).length?(0,v.Uv)(s[0]):new t._(b(s))}function b(s){return f=>{let d=[];for(let l=0;d&&!f.closed&&l{if(d){for(let r=0;r{"use strict";g.d(te,{c:()=>C});var t=g(3252),v=g(8880);function C(E,c){const b=(0,v.m)(E)?E:()=>E,s=f=>f.error(b());return new t._(c?f=>c.schedule(s,0,f):s)}},3120:(De,te,g)=>{"use strict";g.d(te,{k:()=>c});var t=g(3252),v=g(112),C=g(3048),E=g(1252);function c(b=0,s,f=v.a){let d=-1;return null!=s&&((0,C.G)(s)?f=s:d=s),new t._(l=>{let a=(0,E.e)(b)?+b-f.now():b;a<0&&(a=0);let r=0;return f.schedule(function(){l.closed||(l.next(r++),0<=d?this.schedule(void 0,d):l.complete())},a)})}},736:(De,te,g)=>{"use strict";g.d(te,{E:()=>s});var t=g(3252),v=g(560),C=g(2368),E=g(8960),c=g(7773),b=g(6624);function s(...f){const d=(0,b.yu)(f),l=(0,C.S)(f);return l.length?new t._(a=>{let r=l.map(()=>[]),u=l.map(()=>!1);a.add(()=>{r=u=null});for(let h=0;!a.closed&&h{if(r[h].push(p),r.every(_=>_.length)){const _=r.map(y=>y.shift());a.next(d?d(..._):_),r.some((y,M)=>!y.length&&u[M])&&a.complete()}},()=>{u[h]=!0,!r[h].length&&a.complete()}));return()=>{r=u=null}}):E.k}},7773:(De,te,g)=>{"use strict";g.d(te,{I:()=>C,e:()=>v});var t=g(1760);function v(E,c,b,s,f){return new C(E,c,b,s,f)}class C extends t.yR{constructor(c,b,s,f,d,l){super(c),this.onFinalize=d,this.shouldUnsubscribe=l,this._next=b?function(a){try{b(a)}catch(r){c.error(r)}}:super._next,this._error=f?function(a){try{f(a)}catch(r){c.error(r)}finally{this.unsubscribe()}}:super._error,this._complete=s?function(){try{s()}catch(a){c.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var c;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:b}=this;super.unsubscribe(),!b&&(null===(c=this.onFinalize)||void 0===c||c.call(this))}}}},8920:(De,te,g)=>{"use strict";g.d(te,{C:()=>E});var t=g(5448),v=g(560),C=g(7773);function E(c){return(0,t.i)((b,s)=>{let f=!1,d=null,l=null,a=!1;const r=()=>{if(l?.unsubscribe(),l=null,f){f=!1;const h=d;d=null,s.next(h)}a&&s.complete()},u=()=>{l=null,a&&s.complete()};b.subscribe((0,C.e)(s,h=>{f=!0,d=h,l||(0,v.Uv)(c(h)).subscribe(l=(0,C.e)(s,r,u))},()=>{a=!0,(!f||!l||l.closed)&&s.complete()}))})}},5524:(De,te,g)=>{"use strict";g.d(te,{P:()=>E});var t=g(112),v=g(8920),C=g(3120);function E(c,b=t.M){return(0,v.C)(()=>(0,C.k)(c,b))}},9144:(De,te,g)=>{"use strict";g.d(te,{a:()=>E});var t=g(560),v=g(7773),C=g(5448);function E(c){return(0,C.i)((b,s)=>{let l,f=null,d=!1;f=b.subscribe((0,v.e)(s,void 0,void 0,a=>{l=(0,t.Uv)(c(a,E(c)(b))),f?(f.unsubscribe(),f=null,l.subscribe(s)):d=!0})),d&&(f.unsubscribe(),f=null,l.subscribe(s))})}},2943:(De,te,g)=>{"use strict";g.d(te,{Y:()=>v});var t=g(267);function v(){return(0,t.u)(1)}},6020:(De,te,g)=>{"use strict";g.d(te,{m:()=>C});var t=g(8152),v=g(8880);function C(E,c){return(0,v.m)(c)?(0,t.O)(E,c,1):(0,t.O)(E,1)}},4680:(De,te,g)=>{"use strict";g.d(te,{o:()=>E});var t=g(112),v=g(5448),C=g(7773);function E(c,b=t.M){return(0,v.i)((s,f)=>{let d=null,l=null,a=null;const r=()=>{if(d){d.unsubscribe(),d=null;const h=l;l=null,f.next(h)}};function u(){const h=a+c,p=b.now();if(p{l=h,a=b.now(),d||(d=b.schedule(u,c),f.add(d))},()=>{r(),f.complete()},void 0,()=>{l=d=null}))})}},2156:(De,te,g)=>{"use strict";g.d(te,{G:()=>C});var t=g(5448),v=g(7773);function C(E){return(0,t.i)((c,b)=>{let s=!1;c.subscribe((0,v.e)(b,f=>{s=!0,b.next(f)},()=>{s||b.next(E),b.complete()}))})}},1224:(De,te,g)=>{"use strict";g.d(te,{o:()=>E});var t=g(112),v=g(7240),C=g(3120);function E(c,b=t.M){const s=(0,C.k)(c,b);return(0,v.e)(()=>s)}},7240:(De,te,g)=>{"use strict";g.d(te,{e:()=>s});var t=g(8344),v=g(3992),C=g(2248),E=g(320),c=g(8152),b=g(560);function s(f,d){return d?l=>(0,t.W)(d.pipe((0,v.U)(1),(0,C.E)()),l.pipe(s(f))):(0,c.O)((l,a)=>(0,b.Uv)(f(l,a)).pipe((0,v.U)(1),(0,E.e)(l)))}},4e3:(De,te,g)=>{"use strict";g.d(te,{a:()=>E});var t=g(528),v=g(5448),C=g(7773);function E(b,s=t.Z){return b=b??c,(0,v.i)((f,d)=>{let l,a=!0;f.subscribe((0,C.e)(d,r=>{const u=s(r);(a||!b(l,u))&&(a=!1,l=u,d.next(r))}))})}function c(b,s){return b===s}},6684:(De,te,g)=>{"use strict";g.d(te,{I:()=>C});var t=g(5448),v=g(7773);function C(E,c){return(0,t.i)((b,s)=>{let f=0;b.subscribe((0,v.e)(s,d=>E.call(c,d,f++)&&s.next(d)))})}},8824:(De,te,g)=>{"use strict";g.d(te,{U:()=>v});var t=g(5448);function v(C){return(0,t.i)((E,c)=>{try{E.subscribe(c)}finally{c.add(C)}})}},5084:(De,te,g)=>{"use strict";g.d(te,{K:()=>s});var t=g(7696),v=g(6684),C=g(3992),E=g(2156),c=g(8124),b=g(528);function s(f,d){const l=arguments.length>=2;return a=>a.pipe(f?(0,v.I)((r,u)=>f(r,u,a)):b.Z,(0,C.U)(1),l?(0,E.G)(d):(0,c._)(()=>new t.G))}},2248:(De,te,g)=>{"use strict";g.d(te,{E:()=>E});var t=g(5448),v=g(7773),C=g(308);function E(){return(0,t.i)((c,b)=>{c.subscribe((0,v.e)(b,C.K))})}},6764:(De,te,g)=>{"use strict";g.d(te,{G:()=>s});var t=g(7696),v=g(6684),C=g(3492),E=g(8124),c=g(2156),b=g(528);function s(f,d){const l=arguments.length>=2;return a=>a.pipe(f?(0,v.I)((r,u)=>f(r,u,a)):b.Z,(0,C.s)(1),l?(0,c.G)(d):(0,E._)(()=>new t.G))}},4704:(De,te,g)=>{"use strict";g.d(te,{k:()=>C});var t=g(5448),v=g(7773);function C(E,c){return(0,t.i)((b,s)=>{let f=0;b.subscribe((0,v.e)(s,d=>{s.next(E.call(c,d,f++))}))})}},320:(De,te,g)=>{"use strict";g.d(te,{e:()=>v});var t=g(4704);function v(C){return(0,t.k)(()=>C)}},267:(De,te,g)=>{"use strict";g.d(te,{u:()=>C});var t=g(8152),v=g(528);function C(E=1/0){return(0,t.O)(v.Z,E)}},1968:(De,te,g)=>{"use strict";g.d(te,{u:()=>E});var t=g(560),v=g(9399),C=g(7773);function E(c,b,s,f,d,l,a,r){const u=[];let h=0,p=0,_=!1;const y=()=>{_&&!u.length&&!h&&b.complete()},M=k=>h{l&&b.next(k),h++;let D=!1;(0,t.Uv)(s(k,p++)).subscribe((0,C.e)(b,I=>{d?.(I),l?M(I):b.next(I)},()=>{D=!0},void 0,()=>{if(D)try{for(h--;u.length&&hw(I)):w(I)}y()}catch(I){b.error(I)}}))};return c.subscribe((0,C.e)(b,M,()=>{_=!0,y()})),()=>{r?.()}}},8152:(De,te,g)=>{"use strict";g.d(te,{O:()=>b});var t=g(4704),v=g(560),C=g(5448),E=g(1968),c=g(8880);function b(s,f,d=1/0){return(0,c.m)(f)?b((l,a)=>(0,t.k)((r,u)=>f(l,r,a,u))((0,v.Uv)(s(l,a))),d):("number"==typeof f&&(d=f),(0,C.i)((l,a)=>(0,E.u)(l,a,s,d)))}},3920:(De,te,g)=>{"use strict";g.d(te,{y:()=>E});var t=g(9399),v=g(5448),C=g(7773);function E(c,b=0){return(0,v.i)((s,f)=>{s.subscribe((0,C.e)(f,d=>(0,t._)(f,c,()=>f.next(d),b),()=>(0,t._)(f,c,()=>f.complete(),b),d=>(0,t._)(f,c,()=>f.error(d),b)))})}},8084:(De,te,g)=>{"use strict";g.d(te,{O:()=>C});var t=g(5448),v=g(7773);function C(){return(0,t.i)((E,c)=>{let b=null;E._refCount++;const s=(0,v.e)(c,void 0,void 0,void 0,()=>{if(!E||E._refCount<=0||0<--E._refCount)return void(b=null);const f=E._connection,d=b;b=null,f&&(!d||f===d)&&f.unsubscribe(),c.unsubscribe()});E.subscribe(s),s.closed||(b=E.connect())})}},1112:(De,te,g)=>{"use strict";g.d(te,{K:()=>C});var t=g(5448),v=g(8904);function C(E,c){return(0,t.i)((0,v.g)(E,c,arguments.length>=2,!0))}},8904:(De,te,g)=>{"use strict";g.d(te,{g:()=>v});var t=g(7773);function v(C,E,c,b,s){return(f,d)=>{let l=c,a=E,r=0;f.subscribe((0,t.e)(d,u=>{const h=r++;a=l?C(a,u,h):(l=!0,u),b&&d.next(a)},s&&(()=>{l&&d.next(a),d.complete()})))}}},7648:(De,te,g)=>{"use strict";g.d(te,{o:()=>c});var t=g(560),v=g(5657),C=g(1760),E=g(5448);function c(s={}){const{connector:f=(()=>new v.E),resetOnError:d=!0,resetOnComplete:l=!0,resetOnRefCountZero:a=!0}=s;return r=>{let u,h,p,_=0,y=!1,M=!1;const w=()=>{h?.unsubscribe(),h=void 0},k=()=>{w(),u=p=void 0,y=M=!1},D=()=>{const I=u;k(),I?.unsubscribe()};return(0,E.i)((I,O)=>{_++,!M&&!y&&w();const T=p=p??f();O.add(()=>{_--,0===_&&!M&&!y&&(h=b(D,a))}),T.subscribe(O),!u&&_>0&&(u=new C.ot({next:N=>T.next(N),error:N=>{M=!0,w(),h=b(k,d,N),T.error(N)},complete:()=>{y=!0,w(),h=b(k,l),T.complete()}}),(0,t.Uv)(I).subscribe(u))})(r)}}function b(s,f,...d){if(!0===f)return void s();if(!1===f)return;const l=new C.ot({next:()=>{l.unsubscribe(),s()}});return(0,t.Uv)(f(...d)).subscribe(l)}},8716:(De,te,g)=>{"use strict";g.d(te,{C:()=>C});var t=g(2540),v=g(7648);function C(E,c,b){let s,f=!1;return E&&"object"==typeof E?({bufferSize:s=1/0,windowTime:c=1/0,refCount:f=!1,scheduler:b}=E):s=E??1/0,(0,v.o)({connector:()=>new t.o(s,c,b),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:f})}},2644:(De,te,g)=>{"use strict";g.d(te,{s:()=>v});var t=g(6684);function v(C){return(0,t.I)((E,c)=>C<=c)}},5568:(De,te,g)=>{"use strict";g.d(te,{W:()=>E});var t=g(8344),v=g(6624),C=g(5448);function E(...c){const b=(0,v.e_)(c);return(0,C.i)((s,f)=>{(b?(0,t.W)(c,s,b):(0,t.W)(c,s)).subscribe(f)})}},2924:(De,te,g)=>{"use strict";g.d(te,{y:()=>v});var t=g(5448);function v(C,E=0){return(0,t.i)((c,b)=>{b.add(C.schedule(()=>c.subscribe(b),E))})}},7368:(De,te,g)=>{"use strict";g.d(te,{G:()=>E});var t=g(560),v=g(5448),C=g(7773);function E(c,b){return(0,v.i)((s,f)=>{let d=null,l=0,a=!1;const r=()=>a&&!d&&f.complete();s.subscribe((0,C.e)(f,u=>{d?.unsubscribe();let h=0;const p=l++;(0,t.Uv)(c(u,p)).subscribe(d=(0,C.e)(f,_=>f.next(b?b(u,_,p,h++):_),()=>{d=null,r()}))},()=>{a=!0,r()}))})}},3992:(De,te,g)=>{"use strict";g.d(te,{U:()=>E});var t=g(8960),v=g(5448),C=g(7773);function E(c){return c<=0?()=>t.k:(0,v.i)((b,s)=>{let f=0;b.subscribe((0,C.e)(s,d=>{++f<=c&&(s.next(d),c<=f&&s.complete())}))})}},3492:(De,te,g)=>{"use strict";g.d(te,{s:()=>E});var t=g(8960),v=g(5448),C=g(7773);function E(c){return c<=0?()=>t.k:(0,v.i)((b,s)=>{let f=[];b.subscribe((0,C.e)(s,d=>{f.push(d),c{for(const d of f)s.next(d);s.complete()},void 0,()=>{f=null}))})}},3616:(De,te,g)=>{"use strict";g.d(te,{a:()=>c});var t=g(5448),v=g(7773),C=g(560),E=g(308);function c(b){return(0,t.i)((s,f)=>{(0,C.Uv)(b).subscribe((0,v.e)(f,()=>f.complete(),E.K)),!f.closed&&s.subscribe(f)})}},8796:(De,te,g)=>{"use strict";g.d(te,{w:()=>C});var t=g(5448),v=g(7773);function C(E,c=!1){return(0,t.i)((b,s)=>{let f=0;b.subscribe((0,v.e)(s,d=>{const l=E(d,f++);(l||c)&&s.next(d),!l&&s.complete()}))})}},9212:(De,te,g)=>{"use strict";g.d(te,{y:()=>c});var t=g(8880),v=g(5448),C=g(7773),E=g(528);function c(b,s,f){const d=(0,t.m)(b)||s||f?{next:b,error:s,complete:f}:b;return d?(0,v.i)((l,a)=>{var r;null===(r=d.subscribe)||void 0===r||r.call(d);let u=!0;l.subscribe((0,C.e)(a,h=>{var p;null===(p=d.next)||void 0===p||p.call(d,h),a.next(h)},()=>{var h;u=!1,null===(h=d.complete)||void 0===h||h.call(d),a.complete()},h=>{var p;u=!1,null===(p=d.error)||void 0===p||p.call(d,h),a.error(h)},()=>{var h,p;u&&(null===(h=d.unsubscribe)||void 0===h||h.call(d)),null===(p=d.finalize)||void 0===p||p.call(d)}))}):E.Z}},8124:(De,te,g)=>{"use strict";g.d(te,{_:()=>E});var t=g(7696),v=g(5448),C=g(7773);function E(b=c){return(0,v.i)((s,f)=>{let d=!1;s.subscribe((0,C.e)(f,l=>{d=!0,f.next(l)},()=>d?f.complete():f.error(b())))})}function c(){return new t.G}},2820:(De,te,g)=>{"use strict";g.d(te,{m:()=>d});var t=g(112),v=g(1252),C=g(5448),E=g(560),c=g(4912),b=g(7773),s=g(9399);const f=(0,c.w)(a=>function(u=null){a(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=u});function d(a,r){const{first:u,each:h,with:p=l,scheduler:_=r??t.M,meta:y=null}=(0,v.e)(a)?{first:a}:"number"==typeof a?{each:a}:a;if(null==u&&null==h)throw new TypeError("No timeout provided.");return(0,C.i)((M,w)=>{let k,D,I=null,O=0;const T=N=>{D=(0,s._)(w,_,()=>{try{k.unsubscribe(),(0,E.Uv)(p({meta:y,lastValue:I,seen:O})).subscribe(w)}catch(S){w.error(S)}},N)};k=M.subscribe((0,b.e)(w,N=>{D?.unsubscribe(),O++,w.next(I=N),h>0&&T(h)},void 0,void 0,()=>{D?.closed||D?.unsubscribe(),I=null})),!O&&T(null!=u?"number"==typeof u?u:+u-_.now():h)})}function l(a){throw new f(a)}},1364:(De,te,g)=>{"use strict";g.d(te,{m:()=>c});var t=g(6928);class v extends t.wH{constructor(s,f){super()}schedule(s,f=0){return this}}const C={setInterval(b,s,...f){const{delegate:d}=C;return d?.setInterval?d.setInterval(b,s,...f):setInterval(b,s,...f)},clearInterval(b){const{delegate:s}=C;return(s?.clearInterval||clearInterval)(b)},delegate:void 0};var E=g(1248);class c extends v{constructor(s,f){super(s,f),this.scheduler=s,this.work=f,this.pending=!1}schedule(s,f=0){var d;if(this.closed)return this;this.state=s;const l=this.id,a=this.scheduler;return null!=l&&(this.id=this.recycleAsyncId(a,l,f)),this.pending=!0,this.delay=f,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(a,this.id,f),this}requestAsyncId(s,f,d=0){return C.setInterval(s.flush.bind(s,this),d)}recycleAsyncId(s,f,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return f;null!=f&&C.clearInterval(f)}execute(s,f){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(s,f);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(s,f){let l,d=!1;try{this.work(s)}catch(a){d=!0,l=a||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),l}unsubscribe(){if(!this.closed){const{id:s,scheduler:f}=this,{actions:d}=f;this.work=this.state=this.scheduler=null,this.pending=!1,(0,E.k)(d,this),null!=s&&(this.id=this.recycleAsyncId(f,s,null)),this.delay=null,super.unsubscribe()}}}},9816:(De,te,g)=>{"use strict";g.d(te,{k:()=>C});var t=g(5960);class v{constructor(c,b=v.now){this.schedulerActionCtor=c,this.now=b}schedule(c,b=0,s){return new this.schedulerActionCtor(this,c).schedule(s,b)}}v.now=t.K.now;class C extends v{constructor(c,b=v.now){super(c,b),this.actions=[],this._active=!1}flush(c){const{actions:b}=this;if(this._active)return void b.push(c);let s;this._active=!0;do{if(s=c.execute(c.state,c.delay))break}while(c=b.shift());if(this._active=!1,s){for(;c=b.shift();)c.unsubscribe();throw s}}}},4096:(De,te,g)=>{"use strict";g.d(te,{A:()=>s});var t=g(1364),v=g(6928);const C={schedule(d){let l=requestAnimationFrame,a=cancelAnimationFrame;const{delegate:r}=C;r&&(l=r.requestAnimationFrame,a=r.cancelAnimationFrame);const u=l(h=>{a=void 0,d(h)});return new v.wH(()=>a?.(u))},requestAnimationFrame(...d){const{delegate:l}=C;return(l?.requestAnimationFrame||requestAnimationFrame)(...d)},cancelAnimationFrame(...d){const{delegate:l}=C;return(l?.cancelAnimationFrame||cancelAnimationFrame)(...d)},delegate:void 0};var c=g(9816);const s=new class b extends c.k{flush(l){this._active=!0;const a=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let u;l=l||r.shift();do{if(u=l.execute(l.state,l.delay))break}while((l=r[0])&&l.id===a&&r.shift());if(this._active=!1,u){for(;(l=r[0])&&l.id===a&&r.shift();)l.unsubscribe();throw u}}}(class E extends t.m{constructor(l,a){super(l,a),this.scheduler=l,this.work=a}requestAsyncId(l,a,r=0){return null!==r&&r>0?super.requestAsyncId(l,a,r):(l.actions.push(this),l._scheduled||(l._scheduled=C.requestAnimationFrame(()=>l.flush(void 0))))}recycleAsyncId(l,a,r=0){var u;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(l,a,r);const{actions:h}=l;null!=a&&(null===(u=h[h.length-1])||void 0===u?void 0:u.id)!==a&&(C.cancelAnimationFrame(a),l._scheduled=void 0)}})},1472:(De,te,g)=>{"use strict";g.d(te,{u:()=>h});var t=g(1364);let C,v=1;const E={};function c(_){return _ in E&&(delete E[_],!0)}const b={setImmediate(_){const y=v++;return E[y]=!0,C||(C=Promise.resolve()),C.then(()=>c(y)&&_()),y},clearImmediate(_){c(_)}},{setImmediate:f,clearImmediate:d}=b,l={setImmediate(..._){const{delegate:y}=l;return(y?.setImmediate||f)(..._)},clearImmediate(_){const{delegate:y}=l;return(y?.clearImmediate||d)(_)},delegate:void 0};var r=g(9816);const h=new class u extends r.k{flush(y){this._active=!0;const M=this._scheduled;this._scheduled=void 0;const{actions:w}=this;let k;y=y||w.shift();do{if(k=y.execute(y.state,y.delay))break}while((y=w[0])&&y.id===M&&w.shift());if(this._active=!1,k){for(;(y=w[0])&&y.id===M&&w.shift();)y.unsubscribe();throw k}}}(class a extends t.m{constructor(y,M){super(y,M),this.scheduler=y,this.work=M}requestAsyncId(y,M,w=0){return null!==w&&w>0?super.requestAsyncId(y,M,w):(y.actions.push(this),y._scheduled||(y._scheduled=l.setImmediate(y.flush.bind(y,void 0))))}recycleAsyncId(y,M,w=0){var k;if(null!=w?w>0:this.delay>0)return super.recycleAsyncId(y,M,w);const{actions:D}=y;null!=M&&(null===(k=D[D.length-1])||void 0===k?void 0:k.id)!==M&&(l.clearImmediate(M),y._scheduled===M&&(y._scheduled=void 0))}})},112:(De,te,g)=>{"use strict";g.d(te,{M:()=>C,a:()=>E});var t=g(1364);const C=new(g(9816).k)(t.m),E=C},5960:(De,te,g)=>{"use strict";g.d(te,{K:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},3376:(De,te,g)=>{"use strict";g.d(te,{u:()=>t});const t={setTimeout(v,C,...E){const{delegate:c}=t;return c?.setTimeout?c.setTimeout(v,C,...E):setTimeout(v,C,...E)},clearTimeout(v){const{delegate:C}=t;return(C?.clearTimeout||clearTimeout)(v)},delegate:void 0}},3835:(De,te,g)=>{"use strict";g.d(te,{w:()=>v});const v=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},472:(De,te,g)=>{"use strict";g.d(te,{a:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},7696:(De,te,g)=>{"use strict";g.d(te,{G:()=>v});const v=(0,g(4912).w)(C=>function(){C(this),this.name="EmptyError",this.message="no elements in sequence"})},6624:(De,te,g)=>{"use strict";g.d(te,{_8:()=>b,e_:()=>c,yu:()=>E});var t=g(8880),v=g(3048);function C(s){return s[s.length-1]}function E(s){return(0,t.m)(C(s))?s.pop():void 0}function c(s){return(0,v.G)(C(s))?s.pop():void 0}function b(s,f){return"number"==typeof C(s)?s.pop():f}},4300:(De,te,g)=>{"use strict";g.d(te,{Q:()=>c});const{isArray:t}=Array,{getPrototypeOf:v,prototype:C,keys:E}=Object;function c(s){if(1===s.length){const f=s[0];if(t(f))return{args:f,keys:null};if(function b(s){return s&&"object"==typeof s&&v(s)===C}(f)){const d=E(f);return{args:d.map(l=>f[l]),keys:d}}}return{args:s,keys:null}}},2368:(De,te,g)=>{"use strict";g.d(te,{S:()=>v});const{isArray:t}=Array;function v(C){return 1===C.length&&t(C[0])?C[0]:C}},1248:(De,te,g)=>{"use strict";function t(v,C){if(v){const E=v.indexOf(C);0<=E&&v.splice(E,1)}}g.d(te,{k:()=>t})},4912:(De,te,g)=>{"use strict";function t(v){const E=v(c=>{Error.call(c),c.stack=(new Error).stack});return E.prototype=Object.create(Error.prototype),E.prototype.constructor=E,E}g.d(te,{w:()=>t})},7904:(De,te,g)=>{"use strict";function t(v,C){return v.reduce((E,c,b)=>(E[c]=C[b],E),{})}g.d(te,{q:()=>t})},2075:(De,te,g)=>{"use strict";g.d(te,{c:()=>C,q:()=>E});var t=g(4491);let v=null;function C(c){if(t.config.useDeprecatedSynchronousErrorHandling){const b=!v;if(b&&(v={errorThrown:!1,error:null}),c(),b){const{errorThrown:s,error:f}=v;if(v=null,s)throw f}}else c()}function E(c){t.config.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=c)}},9399:(De,te,g)=>{"use strict";function t(v,C,E,c=0,b=!1){const s=C.schedule(function(){E(),b?v.add(this.schedule(null,c)):this.unsubscribe()},c);if(v.add(s),!b)return s}g.d(te,{_:()=>t})},528:(De,te,g)=>{"use strict";function t(v){return v}g.d(te,{Z:()=>t})},5428:(De,te,g)=>{"use strict";g.d(te,{G:()=>t});const t=v=>v&&"number"==typeof v.length&&"function"!=typeof v},376:(De,te,g)=>{"use strict";g.d(te,{E:()=>v});var t=g(8880);function v(C){return Symbol.asyncIterator&&(0,t.m)(C?.[Symbol.asyncIterator])}},1252:(De,te,g)=>{"use strict";function t(v){return v instanceof Date&&!isNaN(v)}g.d(te,{e:()=>t})},8880:(De,te,g)=>{"use strict";function t(v){return"function"==typeof v}g.d(te,{m:()=>t})},5099:(De,te,g)=>{"use strict";g.d(te,{O:()=>C});var t=g(472),v=g(8880);function C(E){return(0,v.m)(E[t.a])}},1688:(De,te,g)=>{"use strict";g.d(te,{i:()=>C});var t=g(3835),v=g(8880);function C(E){return(0,v.m)(E?.[t.w])}},1116:(De,te,g)=>{"use strict";g.d(te,{X:()=>C});var t=g(3252),v=g(8880);function C(E){return!!E&&(E instanceof t._||(0,v.m)(E.lift)&&(0,v.m)(E.subscribe))}},5432:(De,te,g)=>{"use strict";g.d(te,{u:()=>v});var t=g(8880);function v(C){return(0,t.m)(C?.then)}},5832:(De,te,g)=>{"use strict";g.d(te,{K:()=>E,_:()=>C});var t=g(5052),v=g(8880);function C(c){return(0,t.__asyncGenerator)(this,arguments,function*(){const s=c.getReader();try{for(;;){const{value:f,done:d}=yield(0,t.__await)(s.read());if(d)return yield(0,t.__await)(void 0);yield yield(0,t.__await)(f)}}finally{s.releaseLock()}})}function E(c){return(0,v.m)(c?.getReader)}},3048:(De,te,g)=>{"use strict";g.d(te,{G:()=>v});var t=g(8880);function v(C){return C&&(0,t.m)(C.schedule)}},5448:(De,te,g)=>{"use strict";g.d(te,{e:()=>v,i:()=>C});var t=g(8880);function v(E){return(0,t.m)(E?.lift)}function C(E){return c=>{if(v(c))return c.lift(function(b){try{return E(b,this)}catch(s){this.error(s)}});throw new TypeError("Unable to lift unknown Observable type")}}},4187:(De,te,g)=>{"use strict";g.d(te,{j:()=>E});var t=g(4704);const{isArray:v}=Array;function E(c){return(0,t.k)(b=>function C(c,b){return v(b)?c(...b):c(b)}(c,b))}},308:(De,te,g)=>{"use strict";function t(){}g.d(te,{K:()=>t})},3928:(De,te,g)=>{"use strict";g.d(te,{W:()=>v,Y:()=>C});var t=g(528);function v(...E){return C(E)}function C(E){return 0===E.length?t.Z:1===E.length?E[0]:function(b){return E.reduce((s,f)=>f(s),b)}}},1984:(De,te,g)=>{"use strict";g.d(te,{U:()=>C});var t=g(4491),v=g(3376);function C(E){v.u.setTimeout(()=>{const{onUnhandledError:c}=t.config;if(!c)throw E;c(E)})}},8272:(De,te,g)=>{"use strict";function t(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(te,{W:()=>t})},6156:(De,te,g)=>{"use strict";g.r(te),g.d(te,{audit:()=>t.C,auditTime:()=>v.P,buffer:()=>s,bufferCount:()=>d,bufferTime:()=>h,bufferToggle:()=>p,bufferWhen:()=>_,catchError:()=>y.a,combineAll:()=>A,combineLatest:()=>K,combineLatestAll:()=>L,combineLatestWith:()=>ee,concat:()=>H,concatAll:()=>ne.Y,concatMap:()=>z.m,concatMapTo:()=>G,concatWith:()=>j,connect:()=>_t,count:()=>ct,debounce:()=>Ct,debounceTime:()=>Re.o,defaultIfEmpty:()=>ke.G,delay:()=>pe.o,delayWhen:()=>Qe.e,dematerialize:()=>Xe,distinct:()=>ge,distinctUntilChanged:()=>Ve.a,distinctUntilKeyChanged:()=>ot,elementAt:()=>on,endWith:()=>gn,every:()=>Jt,exhaust:()=>xe,exhaustAll:()=>Ut,exhaustMap:()=>Ot,expand:()=>lt,filter:()=>Pt.I,finalize:()=>At.U,find:()=>nt,findIndex:()=>Le,first:()=>He.K,flatMap:()=>xt,groupBy:()=>st,ignoreElements:()=>Te.E,isEmpty:()=>Pe,last:()=>bt.G,map:()=>an.k,mapTo:()=>Me.e,materialize:()=>$e,max:()=>Ge,merge:()=>dt,mergeAll:()=>kt.u,mergeMap:()=>I.O,mergeMapTo:()=>qe,mergeScan:()=>Fe,mergeWith:()=>et,min:()=>Ke,multicast:()=>Bt,observeOn:()=>qt.y,onErrorResumeNext:()=>An,pairwise:()=>fi,partition:()=>Fi,pluck:()=>si,publish:()=>Ji,publishBehavior:()=>ji,publishLast:()=>se,publishReplay:()=>ae,race:()=>_e,raceWith:()=>Ae,reduce:()=>T,refCount:()=>wt.O,repeat:()=>V,repeatWhen:()=>he,retry:()=>de,retryWhen:()=>We,sample:()=>Yt,sampleTime:()=>Pn,scan:()=>Tn.K,sequenceEqual:()=>vn,share:()=>tr.o,shareReplay:()=>pi.C,single:()=>Gi,skip:()=>or.s,skipLast:()=>Vn,skipUntil:()=>ki,skipWhile:()=>Yn,startWith:()=>Wn.W,subscribeOn:()=>Zn.y,switchAll:()=>Qn,switchMap:()=>Dn.G,switchMapTo:()=>ui,switchScan:()=>cn,take:()=>rn.U,takeLast:()=>pn.s,takeUntil:()=>Nn.a,takeWhile:()=>Fn.w,tap:()=>Oi.y,throttle:()=>Ki,throttleTime:()=>nr,throwIfEmpty:()=>Gt._,timeInterval:()=>ni,timeout:()=>En.m,timeoutWith:()=>ar,timestamp:()=>dr,toArray:()=>S,window:()=>hr,windowCount:()=>di,windowTime:()=>Hi,windowToggle:()=>qi,windowWhen:()=>Rn,withLatestFrom:()=>Sr,zip:()=>Ar,zipAll:()=>hi,zipWith:()=>kr});var t=g(8920),v=g(5524),C=g(5448),E=g(308),c=g(7773),b=g(560);function s(Mt){return(0,C.i)((yt,It)=>{let St=[];return yt.subscribe((0,c.e)(It,Ft=>St.push(Ft),()=>{It.next(St),It.complete()})),(0,b.Uv)(Mt).subscribe((0,c.e)(It,()=>{const Ft=St;St=[],It.next(Ft)},E.K)),()=>{St=null}})}var f=g(1248);function d(Mt,yt=null){return yt=yt??Mt,(0,C.i)((It,St)=>{let Ft=[],jt=0;It.subscribe((0,c.e)(St,en=>{let Zt=null;jt++%yt==0&&Ft.push([]);for(const hn of Ft)hn.push(en),Mt<=hn.length&&(Zt=Zt??[],Zt.push(hn));if(Zt)for(const hn of Zt)(0,f.k)(Ft,hn),St.next(hn)},()=>{for(const en of Ft)St.next(en);St.complete()},void 0,()=>{Ft=null}))})}var l=g(6928),a=g(112),r=g(6624),u=g(9399);function h(Mt,...yt){var It,St;const Ft=null!==(It=(0,r.e_)(yt))&&void 0!==It?It:a.M,jt=null!==(St=yt[0])&&void 0!==St?St:null,en=yt[1]||1/0;return(0,C.i)((Zt,hn)=>{let Sn=[],On=!1;const gi=Bn=>{const{buffer:kn,subs:Ln}=Bn;Ln.unsubscribe(),(0,f.k)(Sn,Bn),hn.next(kn),On&&jn()},jn=()=>{if(Sn){const Bn=new l.wH;hn.add(Bn);const Ln={buffer:[],subs:Bn};Sn.push(Ln),(0,u._)(Bn,Ft,()=>gi(Ln),Mt)}};null!==jt&&jt>=0?(0,u._)(hn,Ft,jn,jt,!0):On=!0,jn();const Gn=(0,c.e)(hn,Bn=>{const kn=Sn.slice();for(const Ln of kn){const{buffer:ir}=Ln;ir.push(Bn),en<=ir.length&&gi(Ln)}},()=>{for(;Sn?.length;)hn.next(Sn.shift().buffer);Gn?.unsubscribe(),hn.complete(),hn.unsubscribe()},void 0,()=>Sn=null);Zt.subscribe(Gn)})}function p(Mt,yt){return(0,C.i)((It,St)=>{const Ft=[];(0,b.Uv)(Mt).subscribe((0,c.e)(St,jt=>{const en=[];Ft.push(en);const Zt=new l.wH;Zt.add((0,b.Uv)(yt(jt)).subscribe((0,c.e)(St,()=>{(0,f.k)(Ft,en),St.next(en),Zt.unsubscribe()},E.K)))},E.K)),It.subscribe((0,c.e)(St,jt=>{for(const en of Ft)en.push(jt)},()=>{for(;Ft.length>0;)St.next(Ft.shift());St.complete()}))})}function _(Mt){return(0,C.i)((yt,It)=>{let St=null,Ft=null;const jt=()=>{Ft?.unsubscribe();const en=St;St=[],en&&It.next(en),(0,b.Uv)(Mt()).subscribe(Ft=(0,c.e)(It,jt,E.K))};jt(),yt.subscribe((0,c.e)(It,en=>St?.push(en),()=>{St&&It.next(St),It.complete()},void 0,()=>St=Ft=null))})}var y=g(9144),M=g(6040),w=g(528),k=g(4187),D=g(3928),I=g(8152),O=g(8904);function T(Mt,yt){return(0,C.i)((0,O.g)(Mt,yt,arguments.length>=2,!1,!0))}const N=(Mt,yt)=>(Mt.push(yt),Mt);function S(){return(0,C.i)((Mt,yt)=>{T(N,[])(Mt).subscribe(yt)})}function F(Mt,yt){return(0,D.W)(S(),(0,I.O)(It=>Mt(It)),yt?(0,k.j)(yt):w.Z)}function L(Mt){return F(M.E,Mt)}const A=L;var U=g(2368);function K(...Mt){const yt=(0,r.yu)(Mt);return yt?(0,D.W)(K(...Mt),(0,k.j)(yt)):(0,C.i)((It,St)=>{(0,M.I)([It,...(0,U.S)(Mt)])(St)})}function ee(...Mt){return K(...Mt)}var ne=g(2943),B=g(9900);function H(...Mt){const yt=(0,r.e_)(Mt);return(0,C.i)((It,St)=>{(0,ne.Y)()((0,B.Q)([It,...Mt],yt)).subscribe(St)})}var z=g(6020),X=g(8880);function G(Mt,yt){return(0,X.m)(yt)?(0,z.m)(()=>Mt,yt):(0,z.m)(()=>Mt)}function j(...Mt){return H(...Mt)}var le=g(5657),ue=g(3252);const Je={connector:()=>new le.E};function _t(Mt,yt=Je){const{connector:It}=yt;return(0,C.i)((St,Ft)=>{const jt=It();(0,b.Uv)(Mt(function ve(Mt){return new ue._(yt=>Mt.subscribe(yt))}(jt))).subscribe(Ft),Ft.add(St.subscribe(jt))})}function ct(Mt){return T((yt,It,St)=>!Mt||Mt(It,St)?yt+1:yt,0)}function Ct(Mt){return(0,C.i)((yt,It)=>{let St=!1,Ft=null,jt=null;const en=()=>{if(jt?.unsubscribe(),jt=null,St){St=!1;const Zt=Ft;Ft=null,It.next(Zt)}};yt.subscribe((0,c.e)(It,Zt=>{jt?.unsubscribe(),St=!0,Ft=Zt,jt=(0,c.e)(It,en,E.K),(0,b.Uv)(Mt(Zt)).subscribe(jt)},()=>{en(),It.complete()},void 0,()=>{Ft=jt=null}))})}var Re=g(4680),ke=g(2156),pe=g(1224),Qe=g(7240),Be=g(8960),Ie=g(2700),je=g(3800);class ye{constructor(yt,It,St){this.kind=yt,this.value=It,this.error=St,this.hasValue="N"===yt}observe(yt){return Oe(this,yt)}do(yt,It,St){const{kind:Ft,value:jt,error:en}=this;return"N"===Ft?yt?.(jt):"E"===Ft?It?.(en):St?.()}accept(yt,It,St){var Ft;return(0,X.m)(null===(Ft=yt)||void 0===Ft?void 0:Ft.next)?this.observe(yt):this.do(yt,It,St)}toObservable(){const{kind:yt,value:It,error:St}=this,Ft="N"===yt?(0,Ie.of)(It):"E"===yt?(0,je.c)(()=>St):"C"===yt?Be.k:0;if(!Ft)throw new TypeError(`Unexpected notification kind ${yt}`);return Ft}static createNext(yt){return new ye("N",yt)}static createError(yt){return new ye("E",void 0,yt)}static createComplete(){return ye.completeNotification}}function Oe(Mt,yt){var It,St,Ft;const{kind:jt,value:en,error:Zt}=Mt;if("string"!=typeof jt)throw new TypeError('Invalid notification, missing "kind"');"N"===jt?null===(It=yt.next)||void 0===It||It.call(yt,en):"E"===jt?null===(St=yt.error)||void 0===St||St.call(yt,Zt):null===(Ft=yt.complete)||void 0===Ft||Ft.call(yt)}function Xe(){return(0,C.i)((Mt,yt)=>{Mt.subscribe((0,c.e)(yt,It=>Oe(It,yt)))})}function ge(Mt,yt){return(0,C.i)((It,St)=>{const Ft=new Set;It.subscribe((0,c.e)(St,jt=>{const en=Mt?Mt(jt):jt;Ft.has(en)||(Ft.add(en),St.next(jt))})),yt&&(0,b.Uv)(yt).subscribe((0,c.e)(St,()=>Ft.clear(),E.K))})}ye.completeNotification=new ye("C");var Ve=g(4e3);function ot(Mt,yt){return(0,Ve.a)((It,St)=>yt?yt(It[Mt],St[Mt]):It[Mt]===St[Mt])}var ze=g(4912);const pt=(0,ze.w)(Mt=>function(){Mt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Pt=g(6684),Gt=g(8124),rn=g(3992);function on(Mt,yt){if(Mt<0)throw new pt;const It=arguments.length>=2;return St=>St.pipe((0,Pt.I)((Ft,jt)=>jt===Mt),(0,rn.U)(1),It?(0,ke.G)(yt):(0,Gt._)(()=>new pt))}var tn=g(8344);function gn(...Mt){return yt=>(0,tn.W)(yt,(0,Ie.of)(...Mt))}function Jt(Mt,yt){return(0,C.i)((It,St)=>{let Ft=0;It.subscribe((0,c.e)(St,jt=>{Mt.call(yt,jt,Ft++,It)||(St.next(!1),St.complete())},()=>{St.next(!0),St.complete()}))})}var an=g(4704);function Ot(Mt,yt){return yt?It=>It.pipe(Ot((St,Ft)=>(0,b.Uv)(Mt(St,Ft)).pipe((0,an.k)((jt,en)=>yt(St,jt,Ft,en))))):(0,C.i)((It,St)=>{let Ft=0,jt=null,en=!1;It.subscribe((0,c.e)(St,Zt=>{jt||(jt=(0,c.e)(St,void 0,()=>{jt=null,en&&St.complete()}),(0,b.Uv)(Mt(Zt,Ft++)).subscribe(jt))},()=>{en=!0,!jt&&St.complete()}))})}function Ut(){return Ot(w.Z)}const xe=Ut;var rt=g(1968);function lt(Mt,yt=1/0,It){return yt=(yt||0)<1?1/0:yt,(0,C.i)((St,Ft)=>(0,rt.u)(St,Ft,Mt,yt,void 0,!0,It))}var At=g(8824);function nt(Mt,yt){return(0,C.i)(vt(Mt,yt,"value"))}function vt(Mt,yt,It){const St="index"===It;return(Ft,jt)=>{let en=0;Ft.subscribe((0,c.e)(jt,Zt=>{const hn=en++;Mt.call(yt,Zt,hn,Ft)&&(jt.next(St?hn:Zt),jt.complete())},()=>{jt.next(St?-1:void 0),jt.complete()}))}}function Le(Mt,yt){return(0,C.i)(vt(Mt,yt,"index"))}var He=g(5084);function st(Mt,yt,It,St){return(0,C.i)((Ft,jt)=>{let en;yt&&"function"!=typeof yt?({duration:It,element:en,connector:St}=yt):en=yt;const Zt=new Map,hn=Bn=>{Zt.forEach(Bn),Bn(jt)},Sn=Bn=>hn(kn=>kn.error(Bn));let On=0,gi=!1;const jn=new c.I(jt,Bn=>{try{const kn=Mt(Bn);let Ln=Zt.get(kn);if(!Ln){Zt.set(kn,Ln=St?St():new le.E);const ir=function Gn(Bn,kn){const Ln=new ue._(ir=>{On++;const $i=kn.subscribe(ir);return()=>{$i.unsubscribe(),0==--On&&gi&&jn.unsubscribe()}});return Ln.key=Bn,Ln}(kn,Ln);if(jt.next(ir),It){const $i=(0,c.e)(Ln,()=>{Ln.complete(),$i?.unsubscribe()},void 0,void 0,()=>Zt.delete(kn));jn.add((0,b.Uv)(It(ir)).subscribe($i))}}Ln.next(en?en(Bn):Bn)}catch(kn){Sn(kn)}},()=>hn(Bn=>Bn.complete()),Sn,()=>Zt.clear(),()=>(gi=!0,0===On));Ft.subscribe(jn)})}var Te=g(2248);function Pe(){return(0,C.i)((Mt,yt)=>{Mt.subscribe((0,c.e)(yt,()=>{yt.next(!1),yt.complete()},()=>{yt.next(!0),yt.complete()}))})}var bt=g(6764),Me=g(320);function $e(){return(0,C.i)((Mt,yt)=>{Mt.subscribe((0,c.e)(yt,It=>{yt.next(ye.createNext(It))},()=>{yt.next(ye.createComplete()),yt.complete()},It=>{yt.next(ye.createError(It)),yt.complete()}))})}function Ge(Mt){return T((0,X.m)(Mt)?(yt,It)=>Mt(yt,It)>0?yt:It:(yt,It)=>yt>It?yt:It)}var kt=g(267);function dt(...Mt){const yt=(0,r.e_)(Mt),It=(0,r._8)(Mt,1/0);return Mt=(0,U.S)(Mt),(0,C.i)((St,Ft)=>{(0,kt.u)(It)((0,B.Q)([St,...Mt],yt)).subscribe(Ft)})}const xt=I.O;function qe(Mt,yt,It=1/0){return(0,X.m)(yt)?(0,I.O)(()=>Mt,yt,It):("number"==typeof yt&&(It=yt),(0,I.O)(()=>Mt,It))}function Fe(Mt,yt,It=1/0){return(0,C.i)((St,Ft)=>{let jt=yt;return(0,rt.u)(St,Ft,(en,Zt)=>Mt(jt,en,Zt),It,en=>{jt=en},!1,void 0,()=>jt=null)})}function et(...Mt){return dt(...Mt)}function Ke(Mt){return T((0,X.m)(Mt)?(yt,It)=>Mt(yt,It)<0?yt:It:(yt,It)=>ytMt;return(0,X.m)(yt)?_t(yt,{connector:It}):St=>new ft.C(St,It)}var qt=g(3920);const An=function ln(...Mt){const yt=(0,U.S)(Mt);return It=>function fn(...Mt){const yt=(0,U.S)(Mt);return new ue._(It=>{let St=0;const Ft=()=>{if(St{let It,St=!1;Mt.subscribe((0,c.e)(yt,Ft=>{const jt=It;It=Ft,St&&yt.next([jt,Ft]),St=!0}))})}function Si(Mt,yt){return(It,St)=>!Mt.call(yt,It,St)}function Fi(Mt,yt){return It=>[(0,Pt.I)(Mt,yt)(It),(0,Pt.I)(Si(Mt,yt))(It)]}function si(...Mt){const yt=Mt.length;if(0===yt)throw new Error("list of properties cannot be empty.");return(0,an.k)(It=>{let St=It;for(let Ft=0;Ft_t(Mt)(yt):yt=>Bt(new le.E)(yt)}var mi=g(6700);function ji(Mt){return yt=>{const It=new mi.g(Mt);return new ft.C(yt,()=>It)}}class rr extends le.E{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(yt){const{hasError:It,_hasValue:St,_value:Ft,thrownError:jt,isStopped:en,_isComplete:Zt}=this;It?yt.error(jt):(en||Zt)&&(St&&yt.next(Ft),yt.complete())}next(yt){this.isStopped||(this._value=yt,this._hasValue=!0)}complete(){const{_hasValue:yt,_value:It,_isComplete:St}=this;St||(this._isComplete=!0,yt&&super.next(It),super.complete())}}function se(){return Mt=>{const yt=new rr;return new ft.C(Mt,()=>yt)}}var at=g(2540);function ae(Mt,yt,It,St){It&&!(0,X.m)(It)&&(St=It);const Ft=(0,X.m)(It)?It:void 0;return jt=>Bt(new at.o(Mt,yt,St),Ft)(jt)}var fe=g(7536);function Ae(...Mt){return Mt.length?(0,C.i)((yt,It)=>{(0,fe.o)([yt,...Mt])(It)}):w.Z}function _e(...Mt){return Ae(...(0,U.S)(Mt))}var mt=g(3120);function V(Mt){let It,yt=1/0;return null!=Mt&&("object"==typeof Mt?({count:yt=1/0,delay:It}=Mt):yt=Mt),yt<=0?()=>Be.k:(0,C.i)((St,Ft)=>{let en,jt=0;const Zt=()=>{if(en?.unsubscribe(),en=null,null!=It){const Sn="number"==typeof It?(0,mt.k)(It):(0,b.Uv)(It(jt)),On=(0,c.e)(Ft,()=>{On.unsubscribe(),hn()});Sn.subscribe(On)}else hn()},hn=()=>{let Sn=!1;en=St.subscribe((0,c.e)(Ft,void 0,()=>{++jt{let St,jt,Ft=!1,en=!1,Zt=!1;const hn=()=>Zt&&en&&(It.complete(),!0),On=()=>{Zt=!1,St=yt.subscribe((0,c.e)(It,void 0,()=>{Zt=!0,!hn()&&(jt||(jt=new le.E,(0,b.Uv)(Mt(jt)).subscribe((0,c.e)(It,()=>{St?On():Ft=!0},()=>{en=!0,hn()}))),jt).next()})),Ft&&(St.unsubscribe(),St=null,Ft=!1,On())};On()})}function de(Mt=1/0){let yt;yt=Mt&&"object"==typeof Mt?Mt:{count:Mt};const{count:It=1/0,delay:St,resetOnSuccess:Ft=!1}=yt;return It<=0?w.Z:(0,C.i)((jt,en)=>{let hn,Zt=0;const Sn=()=>{let On=!1;hn=jt.subscribe((0,c.e)(en,gi=>{Ft&&(Zt=0),en.next(gi)},void 0,gi=>{if(Zt++{hn?(hn.unsubscribe(),hn=null,Sn()):On=!0};if(null!=St){const Gn="number"==typeof St?(0,mt.k)(St):(0,b.Uv)(St(gi,Zt)),Bn=(0,c.e)(en,()=>{Bn.unsubscribe(),jn()},()=>{en.complete()});Gn.subscribe(Bn)}else jn()}else en.error(gi)})),On&&(hn.unsubscribe(),hn=null,Sn())};Sn()})}function We(Mt){return(0,C.i)((yt,It)=>{let St,jt,Ft=!1;const en=()=>{St=yt.subscribe((0,c.e)(It,void 0,void 0,Zt=>{jt||(jt=new le.E,(0,b.Uv)(Mt(jt)).subscribe((0,c.e)(It,()=>St?en():Ft=!0))),jt&&jt.next(Zt)})),Ft&&(St.unsubscribe(),St=null,Ft=!1,en())};en()})}var wt=g(8084);function Yt(Mt){return(0,C.i)((yt,It)=>{let St=!1,Ft=null;yt.subscribe((0,c.e)(It,jt=>{St=!0,Ft=jt})),(0,b.Uv)(Mt).subscribe((0,c.e)(It,()=>{if(St){St=!1;const jt=Ft;Ft=null,It.next(jt)}},E.K))})}function Pn(Mt,yt=a.M){return Yt(function Kn(Mt=0,yt=a.M){return Mt<0&&(Mt=0),(0,mt.k)(Mt,Mt,yt)}(Mt,yt))}var Tn=g(1112);function vn(Mt,yt=((It,St)=>It===St)){return(0,C.i)((It,St)=>{const Ft={buffer:[],complete:!1},jt={buffer:[],complete:!1},en=hn=>{St.next(hn),St.complete()},Zt=(hn,Sn)=>{const On=(0,c.e)(St,gi=>{const{buffer:jn,complete:Gn}=Sn;0===jn.length?Gn?en(!1):hn.buffer.push(gi):!yt(gi,jn.shift())&&en(!1)},()=>{hn.complete=!0;const{complete:gi,buffer:jn}=Sn;gi&&en(0===jn.length),On?.unsubscribe()});return On};It.subscribe(Zt(Ft,jt)),(0,b.Uv)(Mt).subscribe(Zt(jt,Ft))})}var tr=g(7648),pi=g(8716),sr=g(7696);const Wi=(0,ze.w)(Mt=>function(It){Mt(this),this.name="SequenceError",this.message=It}),Ai=(0,ze.w)(Mt=>function(It){Mt(this),this.name="NotFoundError",this.message=It});function Gi(Mt){return(0,C.i)((yt,It)=>{let Ft,St=!1,jt=!1,en=0;yt.subscribe((0,c.e)(It,Zt=>{jt=!0,(!Mt||Mt(Zt,en++,yt))&&(St&&It.error(new Wi("Too many matching values")),St=!0,Ft=Zt)},()=>{St?(It.next(Ft),It.complete()):It.error(jt?new Ai("No matching values"):new sr.G)}))})}var or=g(2644);function Vn(Mt){return Mt<=0?w.Z:(0,C.i)((yt,It)=>{let St=new Array(Mt),Ft=0;return yt.subscribe((0,c.e)(It,jt=>{const en=Ft++;if(en{St=null}})}function ki(Mt){return(0,C.i)((yt,It)=>{let St=!1;const Ft=(0,c.e)(It,()=>{Ft?.unsubscribe(),St=!0},E.K);(0,b.Uv)(Mt).subscribe(Ft),yt.subscribe((0,c.e)(It,jt=>St&&It.next(jt)))})}function Yn(Mt){return(0,C.i)((yt,It)=>{let St=!1,Ft=0;yt.subscribe((0,c.e)(It,jt=>(St||(St=!Mt(jt,Ft++)))&&It.next(jt)))})}var Wn=g(5568),Zn=g(2924),Dn=g(7368);function Qn(){return(0,Dn.G)(w.Z)}function ui(Mt,yt){return(0,X.m)(yt)?(0,Dn.G)(()=>Mt,yt):(0,Dn.G)(()=>Mt)}function cn(Mt,yt){return(0,C.i)((It,St)=>{let Ft=yt;return(0,Dn.G)((jt,en)=>Mt(Ft,jt,en),(jt,en)=>(Ft=en,en))(It).subscribe(St),()=>{Ft=null}})}var pn=g(3492),Nn=g(3616),Fn=g(8796),Oi=g(9212);function Ki(Mt,yt){return(0,C.i)((It,St)=>{const{leading:Ft=!0,trailing:jt=!1}=yt??{};let en=!1,Zt=null,hn=null,Sn=!1;const On=()=>{hn?.unsubscribe(),hn=null,jt&&(Gn(),Sn&&St.complete())},gi=()=>{hn=null,Sn&&St.complete()},jn=Bn=>hn=(0,b.Uv)(Mt(Bn)).subscribe((0,c.e)(St,On,gi)),Gn=()=>{if(en){en=!1;const Bn=Zt;Zt=null,St.next(Bn),!Sn&&jn(Bn)}};It.subscribe((0,c.e)(St,Bn=>{en=!0,Zt=Bn,(!hn||hn.closed)&&(Ft?Gn():jn(Bn))},()=>{Sn=!0,(!(jt&&en&&hn)||hn.closed)&&St.complete()}))})}function nr(Mt,yt=a.M,It){const St=(0,mt.k)(Mt,yt);return Ki(()=>St,It)}function ni(Mt=a.M){return(0,C.i)((yt,It)=>{let St=Mt.now();yt.subscribe((0,c.e)(It,Ft=>{const jt=Mt.now(),en=jt-St;St=jt,It.next(new un(Ft,en))}))})}class un{constructor(yt,It){this.value=yt,this.interval=It}}var En=g(2820),ci=g(1252);function ar(Mt,yt,It){let St,Ft,jt;if(It=It??a.a,(0,ci.e)(Mt)?St=Mt:"number"==typeof Mt&&(Ft=Mt),!yt)throw new TypeError("No observable provided to switch to");if(jt=()=>yt,null==St&&null==Ft)throw new TypeError("No timeout provided.");return(0,En.m)({first:St,each:Ft,scheduler:It,with:jt})}var Ui=g(5960);function dr(Mt=Ui.K){return(0,an.k)(yt=>({value:yt,timestamp:Mt.now()}))}function hr(Mt){return(0,C.i)((yt,It)=>{let St=new le.E;It.next(St.asObservable());const Ft=jt=>{St.error(jt),It.error(jt)};return yt.subscribe((0,c.e)(It,jt=>St?.next(jt),()=>{St.complete(),It.complete()},Ft)),(0,b.Uv)(Mt).subscribe((0,c.e)(It,()=>{St.complete(),It.next(St=new le.E)},E.K,Ft)),()=>{St?.unsubscribe(),St=null}})}function di(Mt,yt=0){const It=yt>0?yt:Mt;return(0,C.i)((St,Ft)=>{let jt=[new le.E],en=[],Zt=0;Ft.next(jt[0].asObservable()),St.subscribe((0,c.e)(Ft,hn=>{for(const On of jt)On.next(hn);const Sn=Zt-Mt+1;if(Sn>=0&&Sn%It==0&&jt.shift().complete(),++Zt%It==0){const On=new le.E;jt.push(On),Ft.next(On.asObservable())}},()=>{for(;jt.length>0;)jt.shift().complete();Ft.complete()},hn=>{for(;jt.length>0;)jt.shift().error(hn);Ft.error(hn)},()=>{en=null,jt=null}))})}function Hi(Mt,...yt){var It,St;const Ft=null!==(It=(0,r.e_)(yt))&&void 0!==It?It:a.M,jt=null!==(St=yt[0])&&void 0!==St?St:null,en=yt[1]||1/0;return(0,C.i)((Zt,hn)=>{let Sn=[],On=!1;const gi=kn=>{const{window:Ln,subs:ir}=kn;Ln.complete(),ir.unsubscribe(),(0,f.k)(Sn,kn),On&&jn()},jn=()=>{if(Sn){const kn=new l.wH;hn.add(kn);const Ln=new le.E,ir={window:Ln,subs:kn,seen:0};Sn.push(ir),hn.next(Ln.asObservable()),(0,u._)(kn,Ft,()=>gi(ir),Mt)}};null!==jt&&jt>=0?(0,u._)(hn,Ft,jn,jt,!0):On=!0,jn();const Gn=kn=>Sn.slice().forEach(kn),Bn=kn=>{Gn(({window:Ln})=>kn(Ln)),kn(hn),hn.unsubscribe()};return Zt.subscribe((0,c.e)(hn,kn=>{Gn(Ln=>{Ln.window.next(kn),en<=++Ln.seen&&gi(Ln)})},()=>Bn(kn=>kn.complete()),kn=>Bn(Ln=>Ln.error(kn)))),()=>{Sn=null}})}function qi(Mt,yt){return(0,C.i)((It,St)=>{const Ft=[],jt=en=>{for(;0{const Zt=new le.E;Ft.push(Zt);const hn=new l.wH;let On;try{On=(0,b.Uv)(yt(en))}catch(gi){return void jt(gi)}St.next(Zt.asObservable()),hn.add(On.subscribe((0,c.e)(St,()=>{(0,f.k)(Ft,Zt),Zt.complete(),hn.unsubscribe()},E.K,jt)))},E.K)),It.subscribe((0,c.e)(St,en=>{const Zt=Ft.slice();for(const hn of Zt)hn.next(en)},()=>{for(;0{for(;0{let St,Ft;const jt=Zt=>{St.error(Zt),It.error(Zt)},en=()=>{let Zt;Ft?.unsubscribe(),St?.complete(),St=new le.E,It.next(St.asObservable());try{Zt=(0,b.Uv)(Mt())}catch(hn){return void jt(hn)}Zt.subscribe(Ft=(0,c.e)(It,en,en,jt))};en(),yt.subscribe((0,c.e)(It,Zt=>St.next(Zt),()=>{St.complete(),It.complete()},jt,()=>{Ft?.unsubscribe(),St=null}))})}function Sr(...Mt){const yt=(0,r.yu)(Mt);return(0,C.i)((It,St)=>{const Ft=Mt.length,jt=new Array(Ft);let en=Mt.map(()=>!1),Zt=!1;for(let hn=0;hn{jt[hn]=Sn,!Zt&&!en[hn]&&(en[hn]=!0,(Zt=en.every(w.Z))&&(en=null))},E.K));It.subscribe((0,c.e)(St,hn=>{if(Zt){const Sn=[hn,...jt];St.next(yt?yt(...Sn):Sn)}}))})}var rs=g(736);function Ar(...Mt){return(0,C.i)((yt,It)=>{(0,rs.E)(yt,...Mt).subscribe(It)})}function hi(Mt){return F(rs.E,Mt)}function kr(...Mt){return Ar(...Mt)}},4104:De=>{"use strict";De.exports=(te,g)=>{if("string"!=typeof te||"string"!=typeof g)throw new TypeError("Expected the arguments to be of type `string`");if(""===g)return[te];const t=te.indexOf(g);return-1===t?[te]:[te.slice(0,t),te.slice(t+g.length)]}},3896:De=>{"use strict";De.exports=te=>encodeURIComponent(te).replace(/[!'()*]/g,g=>`%${g.charCodeAt(0).toString(16).toUpperCase()}`)},5052:(De,te,g)=>{"use strict";g.r(te),g.d(te,{__addDisposableResource:()=>ee,__assign:()=>C,__asyncDelegator:()=>O,__asyncGenerator:()=>I,__asyncValues:()=>T,__await:()=>D,__awaiter:()=>r,__classPrivateFieldGet:()=>A,__classPrivateFieldIn:()=>K,__classPrivateFieldSet:()=>U,__createBinding:()=>h,__decorate:()=>c,__disposeResources:()=>B,__esDecorate:()=>s,__exportStar:()=>p,__extends:()=>v,__generator:()=>u,__importDefault:()=>L,__importStar:()=>F,__makeTemplateObject:()=>N,__metadata:()=>a,__param:()=>b,__propKey:()=>d,__read:()=>y,__rest:()=>E,__runInitializers:()=>f,__setFunctionName:()=>l,__spread:()=>M,__spreadArray:()=>k,__spreadArrays:()=>w,__values:()=>_,default:()=>H});var t=function(z,X){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,j){G.__proto__=j}||function(G,j){for(var le in j)Object.prototype.hasOwnProperty.call(j,le)&&(G[le]=j[le])})(z,X)};function v(z,X){if("function"!=typeof X&&null!==X)throw new TypeError("Class extends value "+String(X)+" is not a constructor or null");function G(){this.constructor=z}t(z,X),z.prototype=null===X?Object.create(X):(G.prototype=X.prototype,new G)}var C=function(){return C=Object.assign||function(X){for(var G,j=1,le=arguments.length;j=0;Je--)(ve=z[Je])&&(ue=(le<3?ve(ue):le>3?ve(X,G,ue):ve(X,G))||ue);return le>3&&ue&&Object.defineProperty(X,G,ue),ue}function b(z,X){return function(G,j){X(G,j,z)}}function s(z,X,G,j,le,ue){function ve(je){if(void 0!==je&&"function"!=typeof je)throw new TypeError("Function expected");return je}for(var Re,Je=j.kind,_t="getter"===Je?"get":"setter"===Je?"set":"value",ct=!X&&z?j.static?z:z.prototype:null,Ct=X||(ct?Object.getOwnPropertyDescriptor(ct,j.name):{}),ke=!1,pe=G.length-1;pe>=0;pe--){var Qe={};for(var Be in j)Qe[Be]="access"===Be?{}:j[Be];for(var Be in j.access)Qe.access[Be]=j.access[Be];Qe.addInitializer=function(je){if(ke)throw new TypeError("Cannot add initializers after decoration has completed");ue.push(ve(je||null))};var Ie=(0,G[pe])("accessor"===Je?{get:Ct.get,set:Ct.set}:Ct[_t],Qe);if("accessor"===Je){if(void 0===Ie)continue;if(null===Ie||"object"!=typeof Ie)throw new TypeError("Object expected");(Re=ve(Ie.get))&&(Ct.get=Re),(Re=ve(Ie.set))&&(Ct.set=Re),(Re=ve(Ie.init))&&le.unshift(Re)}else(Re=ve(Ie))&&("field"===Je?le.unshift(Re):Ct[_t]=Re)}ct&&Object.defineProperty(ct,j.name,Ct),ke=!0}function f(z,X,G){for(var j=arguments.length>2,le=0;le0&&ue[ue.length-1])&&(6===ct[0]||2===ct[0])){G=0;continue}if(3===ct[0]&&(!ue||ct[1]>ue[0]&&ct[1]=z.length&&(z=void 0),{value:z&&z[j++],done:!z}}};throw new TypeError(X?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(z,X){var G="function"==typeof Symbol&&z[Symbol.iterator];if(!G)return z;var le,ve,j=G.call(z),ue=[];try{for(;(void 0===X||X-- >0)&&!(le=j.next()).done;)ue.push(le.value)}catch(Je){ve={error:Je}}finally{try{le&&!le.done&&(G=j.return)&&G.call(j)}finally{if(ve)throw ve.error}}return ue}function M(){for(var z=[],X=0;X1||Je(ke,pe)})})}function Je(ke,pe){try{!function _t(ke){ke.value instanceof D?Promise.resolve(ke.value.v).then(ct,Ct):Re(ue[0][2],ke)}(j[ke](pe))}catch(Qe){Re(ue[0][3],Qe)}}function ct(ke){Je("next",ke)}function Ct(ke){Je("throw",ke)}function Re(ke,pe){ke(pe),ue.shift(),ue.length&&Je(ue[0][0],ue[0][1])}}function O(z){var X,G;return X={},j("next"),j("throw",function(le){throw le}),j("return"),X[Symbol.iterator]=function(){return this},X;function j(le,ue){X[le]=z[le]?function(ve){return(G=!G)?{value:D(z[le](ve)),done:!1}:ue?ue(ve):ve}:ue}}function T(z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var G,X=z[Symbol.asyncIterator];return X?X.call(z):(z=_(z),G={},j("next"),j("throw"),j("return"),G[Symbol.asyncIterator]=function(){return this},G);function j(ue){G[ue]=z[ue]&&function(ve){return new Promise(function(Je,_t){!function le(ue,ve,Je,_t){Promise.resolve(_t).then(function(ct){ue({value:ct,done:Je})},ve)}(Je,_t,(ve=z[ue](ve)).done,ve.value)})}}}function N(z,X){return Object.defineProperty?Object.defineProperty(z,"raw",{value:X}):z.raw=X,z}var S=Object.create?function(z,X){Object.defineProperty(z,"default",{enumerable:!0,value:X})}:function(z,X){z.default=X};function F(z){if(z&&z.__esModule)return z;var X={};if(null!=z)for(var G in z)"default"!==G&&Object.prototype.hasOwnProperty.call(z,G)&&h(X,z,G);return S(X,z),X}function L(z){return z&&z.__esModule?z:{default:z}}function A(z,X,G,j){if("a"===G&&!j)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof X?z!==X||!j:!X.has(z))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===G?j:"a"===G?j.call(z):j?j.value:X.get(z)}function U(z,X,G,j,le){if("m"===j)throw new TypeError("Private method is not writable");if("a"===j&&!le)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof X?z!==X||!le:!X.has(z))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===j?le.call(z,G):le?le.value=G:X.set(z,G),G}function K(z,X){if(null===X||"object"!=typeof X&&"function"!=typeof X)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof z?X===z:z.has(X)}function ee(z,X,G){if(null!=X){if("object"!=typeof X&&"function"!=typeof X)throw new TypeError("Object expected.");var j;if(G){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");j=X[Symbol.asyncDispose]}if(void 0===j){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");j=X[Symbol.dispose]}if("function"!=typeof j)throw new TypeError("Object not disposable.");z.stack.push({value:X,dispose:j,async:G})}else G&&z.stack.push({async:!0});return X}var ne="function"==typeof SuppressedError?SuppressedError:function(z,X,G){var j=new Error(G);return j.name="SuppressedError",j.error=z,j.suppressed=X,j};function B(z){function X(j){z.error=z.hasError?new ne(j,z.error,"An error was suppressed during disposal."):j,z.hasError=!0}return function G(){for(;z.stack.length;){var j=z.stack.pop();try{var le=j.dispose&&j.dispose.call(j.value);if(j.async)return Promise.resolve(le).then(G,function(ue){return X(ue),G()})}catch(ue){X(ue)}}if(z.hasError)throw z.error}()}const H={__extends:v,__assign:C,__rest:E,__decorate:c,__param:b,__metadata:a,__awaiter:r,__generator:u,__createBinding:h,__exportStar:p,__values:_,__read:y,__spread:M,__spreadArrays:w,__spreadArray:k,__await:D,__asyncGenerator:I,__asyncDelegator:O,__asyncValues:T,__makeTemplateObject:N,__importStar:F,__importDefault:L,__classPrivateFieldGet:A,__classPrivateFieldSet:U,__classPrivateFieldIn:K,__addDisposableResource:ee,__disposeResources:B}},1160:De=>{function te(Le){return Le instanceof Map?Le.clear=Le.delete=Le.set=function(){throw new Error("map is read-only")}:Le instanceof Set&&(Le.add=Le.clear=Le.delete=function(){throw new Error("set is read-only")}),Object.freeze(Le),Object.getOwnPropertyNames(Le).forEach(He=>{const st=Le[He],Te=typeof st;("object"===Te||"function"===Te)&&!Object.isFrozen(st)&&te(st)}),Le}class g{constructor(He){void 0===He.data&&(He.data={}),this.data=He.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function t(Le){return Le.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function v(Le,...He){const st=Object.create(null);for(const Te in Le)st[Te]=Le[Te];return He.forEach(function(Te){for(const Pe in Te)st[Pe]=Te[Pe]}),st}const E=Le=>!!Le.scope;class b{constructor(He,st){this.buffer="",this.classPrefix=st.classPrefix,He.walk(this)}addText(He){this.buffer+=t(He)}openNode(He){if(!E(He))return;const st=((Le,{prefix:He})=>{if(Le.startsWith("language:"))return Le.replace("language:","language-");if(Le.includes(".")){const st=Le.split(".");return[`${He}${st.shift()}`,...st.map((Te,Pe)=>`${Te}${"_".repeat(Pe+1)}`)].join(" ")}return`${He}${Le}`})(He.scope,{prefix:this.classPrefix});this.span(st)}closeNode(He){E(He)&&(this.buffer+="")}value(){return this.buffer}span(He){this.buffer+=``}}const s=(Le={})=>{const He={children:[]};return Object.assign(He,Le),He};class f{constructor(){this.rootNode=s(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(He){this.top.children.push(He)}openNode(He){const st=s({scope:He});this.add(st),this.stack.push(st)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(He){return this.constructor._walk(He,this.rootNode)}static _walk(He,st){return"string"==typeof st?He.addText(st):st.children&&(He.openNode(st),st.children.forEach(Te=>this._walk(He,Te)),He.closeNode(st)),He}static _collapse(He){"string"!=typeof He&&He.children&&(He.children.every(st=>"string"==typeof st)?He.children=[He.children.join("")]:He.children.forEach(st=>{f._collapse(st)}))}}class d extends f{constructor(He){super(),this.options=He}addText(He){""!==He&&this.add(He)}startScope(He){this.openNode(He)}endScope(){this.closeNode()}__addSublanguage(He,st){const Te=He.root;st&&(Te.scope=`language:${st}`),this.add(Te)}toHTML(){return new b(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function l(Le){return Le?"string"==typeof Le?Le:Le.source:null}function a(Le){return h("(?=",Le,")")}function r(Le){return h("(?:",Le,")*")}function u(Le){return h("(?:",Le,")?")}function h(...Le){return Le.map(st=>l(st)).join("")}function _(...Le){return"("+(function p(Le){const He=Le[Le.length-1];return"object"==typeof He&&He.constructor===Object?(Le.splice(Le.length-1,1),He):{}}(Le).capture?"":"?:")+Le.map(Te=>l(Te)).join("|")+")"}function y(Le){return new RegExp(Le.toString()+"|").exec("").length-1}const w=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function k(Le,{joinWith:He}){let st=0;return Le.map(Te=>{st+=1;const Pe=st;let bt=l(Te),Me="";for(;bt.length>0;){const $e=w.exec(bt);if(!$e){Me+=bt;break}Me+=bt.substring(0,$e.index),bt=bt.substring($e.index+$e[0].length),"\\"===$e[0][0]&&$e[1]?Me+="\\"+String(Number($e[1])+Pe):(Me+=$e[0],"("===$e[0]&&st++)}return Me}).map(Te=>`(${Te})`).join(He)}const I="[a-zA-Z]\\w*",O="[a-zA-Z_]\\w*",T="\\b\\d+(\\.\\d+)?",N="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",S="\\b(0b[01]+)",A={begin:"\\\\[\\s\\S]",relevance:0},U={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[A]},K={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[A]},ne=function(Le,He,st={}){const Te=v({scope:"comment",begin:Le,end:He,contains:[]},st);Te.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 Pe=_("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 Te.contains.push({begin:h(/[ ]+/,"(",Pe,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Te},B=ne("//","$"),H=ne("/\\*","\\*/"),z=ne("#","$");var ct=Object.freeze({__proto__:null,APOS_STRING_MODE:U,BACKSLASH_ESCAPE:A,BINARY_NUMBER_MODE:{scope:"number",begin:S,relevance:0},BINARY_NUMBER_RE:S,COMMENT:ne,C_BLOCK_COMMENT_MODE:H,C_LINE_COMMENT_MODE:B,C_NUMBER_MODE:{scope:"number",begin:N,relevance:0},C_NUMBER_RE:N,END_SAME_AS_BEGIN:function(Le){return Object.assign(Le,{"on:begin":(He,st)=>{st.data._beginMatch=He[1]},"on:end":(He,st)=>{st.data._beginMatch!==He[1]&&st.ignoreMatch()}})},HASH_COMMENT_MODE:z,IDENT_RE:I,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+O,relevance:0},NUMBER_MODE:{scope:"number",begin:T,relevance:0},NUMBER_RE:T,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/},QUOTE_STRING_MODE:K,REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[A,{begin:/\[/,end:/\]/,relevance:0,contains:[A]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(Le={})=>{const He=/^#![ ]*\//;return Le.binary&&(Le.begin=h(He,/.*\b/,Le.binary,/\b.*/)),v({scope:"meta",begin:He,end:/$/,relevance:0,"on:begin":(st,Te)=>{0!==st.index&&Te.ignoreMatch()}},Le)},TITLE_MODE:{scope:"title",begin:I,relevance:0},UNDERSCORE_IDENT_RE:O,UNDERSCORE_TITLE_MODE:{scope:"title",begin:O,relevance:0}});function Ct(Le,He){"."===Le.input[Le.index-1]&&He.ignoreMatch()}function Re(Le,He){void 0!==Le.className&&(Le.scope=Le.className,delete Le.className)}function ke(Le,He){He&&Le.beginKeywords&&(Le.begin="\\b("+Le.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Le.__beforeBegin=Ct,Le.keywords=Le.keywords||Le.beginKeywords,delete Le.beginKeywords,void 0===Le.relevance&&(Le.relevance=0))}function pe(Le,He){Array.isArray(Le.illegal)&&(Le.illegal=_(...Le.illegal))}function Qe(Le,He){if(Le.match){if(Le.begin||Le.end)throw new Error("begin & end are not supported with match");Le.begin=Le.match,delete Le.match}}function Be(Le,He){void 0===Le.relevance&&(Le.relevance=1)}const Ie=(Le,He)=>{if(!Le.beforeMatch)return;if(Le.starts)throw new Error("beforeMatch cannot be used with starts");const st=Object.assign({},Le);Object.keys(Le).forEach(Te=>{delete Le[Te]}),Le.keywords=st.keywords,Le.begin=h(st.beforeMatch,a(st.begin)),Le.starts={relevance:0,contains:[Object.assign(st,{endsParent:!0})]},Le.relevance=0,delete st.beforeMatch},je=["of","and","for","in","not","or","if","then","parent","list","value"],q="keyword";function ye(Le,He,st=q){const Te=Object.create(null);return"string"==typeof Le?Pe(st,Le.split(" ")):Array.isArray(Le)?Pe(st,Le):Object.keys(Le).forEach(function(bt){Object.assign(Te,ye(Le[bt],He,bt))}),Te;function Pe(bt,Me){He&&(Me=Me.map($e=>$e.toLowerCase())),Me.forEach(function($e){const Ge=$e.split("|");Te[Ge[0]]=[bt,Oe(Ge[0],Ge[1])]})}}function Oe(Le,He){return He?Number(He):function Xe(Le){return je.includes(Le.toLowerCase())}(Le)?0:1}const ge={},Ve=Le=>{console.error(Le)},ot=(Le,...He)=>{console.log(`WARN: ${Le}`,...He)},ze=(Le,He)=>{ge[`${Le}/${He}`]||(console.log(`Deprecated as of ${Le}. ${He}`),ge[`${Le}/${He}`]=!0)},pt=new Error;function Pt(Le,He,{key:st}){let Te=0;const Pe=Le[st],bt={},Me={};for(let $e=1;$e<=He.length;$e++)Me[$e+Te]=Pe[$e],bt[$e+Te]=!0,Te+=y(He[$e-1]);Le[st]=Me,Le[st]._emit=bt,Le[st]._multi=!0}function tn(Le){(function on(Le){Le.scope&&"object"==typeof Le.scope&&null!==Le.scope&&(Le.beginScope=Le.scope,delete Le.scope)})(Le),"string"==typeof Le.beginScope&&(Le.beginScope={_wrap:Le.beginScope}),"string"==typeof Le.endScope&&(Le.endScope={_wrap:Le.endScope}),function Gt(Le){if(Array.isArray(Le.begin)){if(Le.skip||Le.excludeBegin||Le.returnBegin)throw Ve("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),pt;if("object"!=typeof Le.beginScope||null===Le.beginScope)throw Ve("beginScope must be object"),pt;Pt(Le,Le.begin,{key:"beginScope"}),Le.begin=k(Le.begin,{joinWith:""})}}(Le),function rn(Le){if(Array.isArray(Le.end)){if(Le.skip||Le.excludeEnd||Le.returnEnd)throw Ve("skip, excludeEnd, returnEnd not compatible with endScope: {}"),pt;if("object"!=typeof Le.endScope||null===Le.endScope)throw Ve("endScope must be object"),pt;Pt(Le,Le.end,{key:"endScope"}),Le.end=k(Le.end,{joinWith:""})}}(Le)}function gn(Le){function He(Me,$e){return new RegExp(l(Me),"m"+(Le.case_insensitive?"i":"")+(Le.unicodeRegex?"u":"")+($e?"g":""))}class st{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule($e,Ge){Ge.position=this.position++,this.matchIndexes[this.matchAt]=Ge,this.regexes.push([Ge,$e]),this.matchAt+=y($e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const $e=this.regexes.map(Ge=>Ge[1]);this.matcherRe=He(k($e,{joinWith:"|"}),!0),this.lastIndex=0}exec($e){this.matcherRe.lastIndex=this.lastIndex;const Ge=this.matcherRe.exec($e);if(!Ge)return null;const kt=Ge.findIndex((xt,qe)=>qe>0&&void 0!==xt),dt=this.matchIndexes[kt];return Ge.splice(0,kt),Object.assign(Ge,dt)}}class Te{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher($e){if(this.multiRegexes[$e])return this.multiRegexes[$e];const Ge=new st;return this.rules.slice($e).forEach(([kt,dt])=>Ge.addRule(kt,dt)),Ge.compile(),this.multiRegexes[$e]=Ge,Ge}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule($e,Ge){this.rules.push([$e,Ge]),"begin"===Ge.type&&this.count++}exec($e){const Ge=this.getMatcher(this.regexIndex);Ge.lastIndex=this.lastIndex;let kt=Ge.exec($e);if(this.resumingScanAtSamePosition()&&(!kt||kt.index!==this.lastIndex)){const dt=this.getMatcher(0);dt.lastIndex=this.lastIndex+1,kt=dt.exec($e)}return kt&&(this.regexIndex+=kt.position+1,this.regexIndex===this.count&&this.considerAll()),kt}}if(Le.compilerExtensions||(Le.compilerExtensions=[]),Le.contains&&Le.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Le.classNameAliases=v(Le.classNameAliases||{}),function bt(Me,$e){const Ge=Me;if(Me.isCompiled)return Ge;[Re,Qe,tn,Ie].forEach(dt=>dt(Me,$e)),Le.compilerExtensions.forEach(dt=>dt(Me,$e)),Me.__beforeBegin=null,[ke,pe,Be].forEach(dt=>dt(Me,$e)),Me.isCompiled=!0;let kt=null;return"object"==typeof Me.keywords&&Me.keywords.$pattern&&(Me.keywords=Object.assign({},Me.keywords),kt=Me.keywords.$pattern,delete Me.keywords.$pattern),kt=kt||/\w+/,Me.keywords&&(Me.keywords=ye(Me.keywords,Le.case_insensitive)),Ge.keywordPatternRe=He(kt,!0),$e&&(Me.begin||(Me.begin=/\B|\b/),Ge.beginRe=He(Ge.begin),!Me.end&&!Me.endsWithParent&&(Me.end=/\B|\b/),Me.end&&(Ge.endRe=He(Ge.end)),Ge.terminatorEnd=l(Ge.end)||"",Me.endsWithParent&&$e.terminatorEnd&&(Ge.terminatorEnd+=(Me.end?"|":"")+$e.terminatorEnd)),Me.illegal&&(Ge.illegalRe=He(Me.illegal)),Me.contains||(Me.contains=[]),Me.contains=[].concat(...Me.contains.map(function(dt){return function an(Le){return Le.variants&&!Le.cachedVariants&&(Le.cachedVariants=Le.variants.map(function(He){return v(Le,{variants:null},He)})),Le.cachedVariants?Le.cachedVariants:Jt(Le)?v(Le,{starts:Le.starts?v(Le.starts):null}):Object.isFrozen(Le)?v(Le):Le}("self"===dt?Me:dt)})),Me.contains.forEach(function(dt){bt(dt,Ge)}),Me.starts&&bt(Me.starts,$e),Ge.matcher=function Pe(Me){const $e=new Te;return Me.contains.forEach(Ge=>$e.addRule(Ge.begin,{rule:Ge,type:"begin"})),Me.terminatorEnd&&$e.addRule(Me.terminatorEnd,{type:"end"}),Me.illegal&&$e.addRule(Me.illegal,{type:"illegal"}),$e}(Ge),Ge}(Le)}function Jt(Le){return!!Le&&(Le.endsWithParent||Jt(Le.starts))}class Ut extends Error{constructor(He,st){super(He),this.name="HTMLInjectionError",this.html=st}}const xe=t,rt=v,lt=Symbol("nomatch"),nt=function(Le){const He=Object.create(null),st=Object.create(null),Te=[];let Pe=!0;const bt="Could not find the language '{}', did you forget to load/include a language module?",Me={disableAutodetect:!0,name:"Plain text",contains:[]};let $e={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:d};function Ge(fe){return $e.noHighlightRe.test(fe)}function dt(fe,Ae,_e){let mt="",V="";"object"==typeof Ae?(mt=fe,_e=Ae.ignoreIllegals,V=Ae.language):(ze("10.7.0","highlight(lang, code, ...args) has been deprecated."),ze("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),V=fe,mt=Ae),void 0===_e&&(_e=!0);const he={code:mt,language:V};at("before:highlight",he);const de=he.result?he.result:xt(he.language,he.code,_e);return de.code=he.code,at("after:highlight",de),de}function xt(fe,Ae,_e,mt){const V=Object.create(null);function he(cn,pn){return cn.keywords[pn]}function de(){if(!Vn.keywords)return void Yn.addText(Wn);let cn=0;Vn.keywordPatternRe.lastIndex=0;let pn=Vn.keywordPatternRe.exec(Wn),Nn="";for(;pn;){Nn+=Wn.substring(cn,pn.index);const Fn=Ai.case_insensitive?pn[0].toLowerCase():pn[0],Oi=he(Vn,Fn);if(Oi){const[Ki,nr]=Oi;Yn.addText(Nn),Nn="",V[Fn]=(V[Fn]||0)+1,V[Fn]<=7&&(Zn+=nr),Ki.startsWith("_")?Nn+=pn[0]:Yt(pn[0],Ai.classNameAliases[Ki]||Ki)}else Nn+=pn[0];cn=Vn.keywordPatternRe.lastIndex,pn=Vn.keywordPatternRe.exec(Wn)}Nn+=Wn.substring(cn),Yn.addText(Nn)}function wt(){null!=Vn.subLanguage?function We(){if(""===Wn)return;let cn=null;if("string"==typeof Vn.subLanguage){if(!He[Vn.subLanguage])return void Yn.addText(Wn);cn=xt(Vn.subLanguage,Wn,!0,ki[Vn.subLanguage]),ki[Vn.subLanguage]=cn._top}else cn=Fe(Wn,Vn.subLanguage.length?Vn.subLanguage:null);Vn.relevance>0&&(Zn+=cn.relevance),Yn.__addSublanguage(cn._emitter,cn.language)}():de(),Wn=""}function Yt(cn,pn){""!==cn&&(Yn.startScope(pn),Yn.addText(cn),Yn.endScope())}function Kn(cn,pn){let Nn=1;const Fn=pn.length-1;for(;Nn<=Fn;){if(!cn._emit[Nn]){Nn++;continue}const Oi=Ai.classNameAliases[cn[Nn]]||cn[Nn],Ki=pn[Nn];Oi?Yt(Ki,Oi):(Wn=Ki,de(),Wn=""),Nn++}}function Pn(cn,pn){return cn.scope&&"string"==typeof cn.scope&&Yn.openNode(Ai.classNameAliases[cn.scope]||cn.scope),cn.beginScope&&(cn.beginScope._wrap?(Yt(Wn,Ai.classNameAliases[cn.beginScope._wrap]||cn.beginScope._wrap),Wn=""):cn.beginScope._multi&&(Kn(cn.beginScope,pn),Wn="")),Vn=Object.create(cn,{parent:{value:Vn}}),Vn}function Tn(cn,pn,Nn){let Fn=function M(Le,He){const st=Le&&Le.exec(He);return st&&0===st.index}(cn.endRe,Nn);if(Fn){if(cn["on:end"]){const Oi=new g(cn);cn["on:end"](pn,Oi),Oi.isMatchIgnored&&(Fn=!1)}if(Fn){for(;cn.endsParent&&cn.parent;)cn=cn.parent;return cn}}if(cn.endsWithParent)return Tn(cn.parent,pn,Nn)}function vn(cn){return 0===Vn.matcher.regexIndex?(Wn+=cn[0],1):(ui=!0,0)}function tr(cn){const pn=cn[0],Nn=Ae.substring(cn.index),Fn=Tn(Vn,cn,Nn);if(!Fn)return lt;const Oi=Vn;Vn.endScope&&Vn.endScope._wrap?(wt(),Yt(pn,Vn.endScope._wrap)):Vn.endScope&&Vn.endScope._multi?(wt(),Kn(Vn.endScope,cn)):Oi.skip?Wn+=pn:(Oi.returnEnd||Oi.excludeEnd||(Wn+=pn),wt(),Oi.excludeEnd&&(Wn=pn));do{Vn.scope&&Yn.closeNode(),!Vn.skip&&!Vn.subLanguage&&(Zn+=Vn.relevance),Vn=Vn.parent}while(Vn!==Fn.parent);return Fn.starts&&Pn(Fn.starts,cn),Oi.returnEnd?0:pn.length}let sr={};function Wi(cn,pn){const Nn=pn&&pn[0];if(Wn+=cn,null==Nn)return wt(),0;if("begin"===sr.type&&"end"===pn.type&&sr.index===pn.index&&""===Nn){if(Wn+=Ae.slice(pn.index,pn.index+1),!Pe){const Fn=new Error(`0 width match regex (${fe})`);throw Fn.languageName=fe,Fn.badRule=sr.rule,Fn}return 1}if(sr=pn,"begin"===pn.type)return function oi(cn){const pn=cn[0],Nn=cn.rule,Fn=new g(Nn),Oi=[Nn.__beforeBegin,Nn["on:begin"]];for(const Ki of Oi)if(Ki&&(Ki(cn,Fn),Fn.isMatchIgnored))return vn(pn);return Nn.skip?Wn+=pn:(Nn.excludeBegin&&(Wn+=pn),wt(),!Nn.returnBegin&&!Nn.excludeBegin&&(Wn=pn)),Pn(Nn,cn),Nn.returnBegin?0:pn.length}(pn);if("illegal"===pn.type&&!_e){const Fn=new Error('Illegal lexeme "'+Nn+'" for mode "'+(Vn.scope||"")+'"');throw Fn.mode=Vn,Fn}if("end"===pn.type){const Fn=tr(pn);if(Fn!==lt)return Fn}if("illegal"===pn.type&&""===Nn)return 1;if(Qn>1e5&&Qn>3*pn.index)throw new Error("potential infinite loop, way more iterations than matches");return Wn+=Nn,Nn.length}const Ai=si(fe);if(!Ai)throw Ve(bt.replace("{}",fe)),new Error('Unknown language: "'+fe+'"');const Gi=gn(Ai);let or="",Vn=mt||Gi;const ki={},Yn=new $e.__emitter($e);!function pi(){const cn=[];for(let pn=Vn;pn!==Ai;pn=pn.parent)pn.scope&&cn.unshift(pn.scope);cn.forEach(pn=>Yn.openNode(pn))}();let Wn="",Zn=0,Dn=0,Qn=0,ui=!1;try{if(Ai.__emitTokens)Ai.__emitTokens(Ae,Yn);else{for(Vn.matcher.considerAll();;){Qn++,ui?ui=!1:Vn.matcher.considerAll(),Vn.matcher.lastIndex=Dn;const cn=Vn.matcher.exec(Ae);if(!cn)break;const Nn=Wi(Ae.substring(Dn,cn.index),cn);Dn=cn.index+Nn}Wi(Ae.substring(Dn))}return Yn.finalize(),or=Yn.toHTML(),{language:fe,value:or,relevance:Zn,illegal:!1,_emitter:Yn,_top:Vn}}catch(cn){if(cn.message&&cn.message.includes("Illegal"))return{language:fe,value:xe(Ae),illegal:!0,relevance:0,_illegalBy:{message:cn.message,index:Dn,context:Ae.slice(Dn-100,Dn+100),mode:cn.mode,resultSoFar:or},_emitter:Yn};if(Pe)return{language:fe,value:xe(Ae),illegal:!1,relevance:0,errorRaised:cn,_emitter:Yn,_top:Vn};throw cn}}function Fe(fe,Ae){Ae=Ae||$e.languages||Object.keys(He);const _e=function qe(fe){const Ae={value:xe(fe),illegal:!1,relevance:0,_top:Me,_emitter:new $e.__emitter($e)};return Ae._emitter.addText(fe),Ae}(fe),mt=Ae.filter(si).filter(mi).map(wt=>xt(wt,fe,!1));mt.unshift(_e);const V=mt.sort((wt,Yt)=>{if(wt.relevance!==Yt.relevance)return Yt.relevance-wt.relevance;if(wt.language&&Yt.language){if(si(wt.language).supersetOf===Yt.language)return 1;if(si(Yt.language).supersetOf===wt.language)return-1}return 0}),[he,de]=V,We=he;return We.secondBest=de,We}function Ke(fe){let Ae=null;const _e=function kt(fe){let Ae=fe.className+" ";Ae+=fe.parentNode?fe.parentNode.className:"";const _e=$e.languageDetectRe.exec(Ae);if(_e){const mt=si(_e[1]);return mt||(ot(bt.replace("{}",_e[1])),ot("Falling back to no-highlight mode for this block.",fe)),mt?_e[1]:"no-highlight"}return Ae.split(/\s+/).find(mt=>Ge(mt)||si(mt))}(fe);if(Ge(_e))return;if(at("before:highlightElement",{el:fe,language:_e}),fe.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",fe);if(fe.children.length>0&&($e.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(fe)),$e.throwUnescapedHTML))throw new Ut("One of your code blocks includes unescaped HTML.",fe.innerHTML);Ae=fe;const mt=Ae.textContent,V=_e?dt(mt,{language:_e,ignoreIllegals:!0}):Fe(mt);fe.innerHTML=V.value,fe.dataset.highlighted="yes",function et(fe,Ae,_e){const mt=Ae&&st[Ae]||_e;fe.classList.add("hljs"),fe.classList.add(`language-${mt}`)}(fe,_e,V.language),fe.result={language:V.language,re:V.relevance,relevance:V.relevance},V.secondBest&&(fe.secondBest={language:V.secondBest.language,relevance:V.secondBest.relevance}),at("after:highlightElement",{el:fe,result:V,text:mt})}let fn=!1;function ln(){"loading"!==document.readyState?document.querySelectorAll($e.cssSelector).forEach(Ke):fn=!0}function si(fe){return fe=(fe||"").toLowerCase(),He[fe]||He[st[fe]]}function Ji(fe,{languageName:Ae}){"string"==typeof fe&&(fe=[fe]),fe.forEach(_e=>{st[_e.toLowerCase()]=Ae})}function mi(fe){const Ae=si(fe);return Ae&&!Ae.disableAutodetect}function at(fe,Ae){const _e=fe;Te.forEach(function(mt){mt[_e]&&mt[_e](Ae)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function An(){fn&&ln()},!1),Object.assign(Le,{highlight:dt,highlightAuto:Fe,highlightAll:ln,highlightElement:Ke,highlightBlock:function ae(fe){return ze("10.7.0","highlightBlock will be removed entirely in v12.0"),ze("10.7.0","Please use highlightElement now."),Ke(fe)},configure:function ft(fe){$e=rt($e,fe)},initHighlighting:()=>{ln(),ze("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function qt(){ln(),ze("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function fi(fe,Ae){let _e=null;try{_e=Ae(Le)}catch(mt){if(Ve("Language definition for '{}' could not be registered.".replace("{}",fe)),!Pe)throw mt;Ve(mt),_e=Me}_e.name||(_e.name=fe),He[fe]=_e,_e.rawDefinition=Ae.bind(null,Le),_e.aliases&&Ji(_e.aliases,{languageName:fe})},unregisterLanguage:function Si(fe){delete He[fe];for(const Ae of Object.keys(st))st[Ae]===fe&&delete st[Ae]},listLanguages:function Fi(){return Object.keys(He)},getLanguage:si,registerAliases:Ji,autoDetection:mi,inherit:rt,addPlugin:function rr(fe){(function ji(fe){fe["before:highlightBlock"]&&!fe["before:highlightElement"]&&(fe["before:highlightElement"]=Ae=>{fe["before:highlightBlock"](Object.assign({block:Ae.el},Ae))}),fe["after:highlightBlock"]&&!fe["after:highlightElement"]&&(fe["after:highlightElement"]=Ae=>{fe["after:highlightBlock"](Object.assign({block:Ae.el},Ae))})})(fe),Te.push(fe)},removePlugin:function se(fe){const Ae=Te.indexOf(fe);-1!==Ae&&Te.splice(Ae,1)}}),Le.debugMode=function(){Pe=!1},Le.safeMode=function(){Pe=!0},Le.versionString="11.9.0",Le.regex={concat:h,lookahead:a,either:_,optional:u,anyNumberOfTimes:r};for(const fe in ct)"object"==typeof ct[fe]&&te(ct[fe]);return Object.assign(Le,ct),Le},vt=nt({});vt.newInstance=()=>nt({}),De.exports=vt,vt.HighlightJS=vt,vt.default=vt},568:De=>{De.exports=function te(g){const C=["true","false","null"],E={scope:"literal",beginKeywords:C.join(" ")};return{name:"JSON",keywords:{literal:C},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},g.QUOTE_STRING_MODE,E,g.C_NUMBER_MODE,g.C_LINE_COMMENT_MODE,g.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}},2872:De=>{De.exports=function te(g){const t=g.regex,v=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),E={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},c={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},b=g.inherit(c,{begin:/\(/,end:/\)/}),s=g.inherit(g.APOS_STRING_MODE,{className:"string"}),f=g.inherit(g.QUOTE_STRING_MODE,{className:"string"}),d={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:[c,f,s,b,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[c,b,f,s]}]}]},g.COMMENT(//,{relevance:10}),{begin://,relevance:10},E,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[f]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[d],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[d],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:v,relevance:0,starts:d}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(v,/>/))),contains:[{className:"name",begin:v,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},1196:De=>{function te(t,v,C,E,c,b,s){try{var f=t[b](s),d=f.value}catch(l){return void C(l)}f.done?v(d):Promise.resolve(d).then(E,c)}De.exports=function g(t){return function(){var v=this,C=arguments;return new Promise(function(E,c){var b=t.apply(v,C);function s(d){te(b,E,c,s,f,"next",d)}function f(d){te(b,E,c,s,f,"throw",d)}s(void 0)})}},De.exports.__esModule=!0,De.exports.default=De.exports},9684:(De,te,g)=>{"use strict";g.d(te,{Cs:()=>E,K2:()=>f,Ql:()=>r,aK:()=>l,gV:()=>C,kt:()=>h,wb:()=>s,xZ:()=>d,yA:()=>c});var t=function(F){return F[F.State=0]="State",F[F.Transition=1]="Transition",F[F.Sequence=2]="Sequence",F[F.Group=3]="Group",F[F.Animate=4]="Animate",F[F.Keyframes=5]="Keyframes",F[F.Style=6]="Style",F[F.Trigger=7]="Trigger",F[F.Reference=8]="Reference",F[F.AnimateChild=9]="AnimateChild",F[F.AnimateRef=10]="AnimateRef",F[F.Query=11]="Query",F[F.Stagger=12]="Stagger",F}(t||{});function C(F,L){return{type:t.Trigger,name:F,definitions:L,options:{}}}function E(F,L=null){return{type:t.Animate,styles:L,timings:F}}function c(F,L=null){return{type:t.Group,steps:F,options:L}}function s(F){return{type:t.Style,styles:F,offset:null}}function f(F,L,A){return{type:t.State,name:F,styles:L,options:A}}function d(F){return{type:t.Keyframes,steps:F}}function l(F,L,A=null){return{type:t.Transition,expr:F,animation:L,options:A}}function r(F=null){return{type:t.AnimateChild,options:F}}function h(F,L,A=null){return{type:t.Query,selector:F,animation:L,options:A}}},1336:(De,te,g)=>{"use strict";g.d(te,{Ux:()=>qe,mJ:()=>_t,o9:()=>le,Si:()=>Me,Eh:()=>pt,IH:()=>ct,Kk:()=>bt,MM:()=>xt,mE:()=>Le,AZ:()=>ne,G3:()=>gn,q0:()=>Jt,Cs:()=>B});var t=g(1368),v=g(4496),C=g(5792),E=g(5657),c=g(6928),b=g(6700),s=g(2700),f=g(5420),d=g(9212),l=g(4680),a=g(6684),r=g(4704),u=g(3992),h=g(2644),p=g(4e3),_=g(3616),y=g(6640),M=g(7712),w=g(6040),k=g(8344),D=g(3252),I=g(5568);const T=new Set;let N,S=(()=>{class Fe{constructor(Ke,ft){this._platform=Ke,this._nonce=ft,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):L}matchMedia(Ke){return(this._platform.WEBKIT||this._platform.BLINK)&&function F(Fe,et){if(!T.has(Fe))try{N||(N=document.createElement("style"),et&&(N.nonce=et),N.setAttribute("type","text/css"),document.head.appendChild(N)),N.sheet&&(N.sheet.insertRule(`@media ${Fe} {body{ }}`,0),T.add(Fe))}catch(Ke){console.error(Ke)}}(Ke,this._nonce),this._matchMedia(Ke)}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(C.WU),v.\u0275\u0275inject(v.CSP_NONCE,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})();function L(Fe){return{matches:"all"===Fe||""===Fe,media:Fe,addListener:()=>{},removeListener:()=>{}}}let A=(()=>{class Fe{constructor(Ke,ft){this._mediaMatcher=Ke,this._zone=ft,this._queries=new Map,this._destroySubject=new E.E}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Ke){return U((0,M.Mt)(Ke)).some(Bt=>this._registerQuery(Bt).mql.matches)}observe(Ke){const Bt=U((0,M.Mt)(Ke)).map(fn=>this._registerQuery(fn).observable);let qt=(0,w.E)(Bt);return qt=(0,k.W)(qt.pipe((0,u.U)(1)),qt.pipe((0,h.s)(1),(0,l.o)(0))),qt.pipe((0,r.k)(fn=>{const ln={matches:!1,breakpoints:{}};return fn.forEach(({matches:An,query:fi})=>{ln.matches=ln.matches||An,ln.breakpoints[fi]=An}),ln}))}_registerQuery(Ke){if(this._queries.has(Ke))return this._queries.get(Ke);const ft=this._mediaMatcher.matchMedia(Ke),qt={observable:new D._(fn=>{const ln=An=>this._zone.run(()=>fn.next(An));return ft.addListener(ln),()=>{ft.removeListener(ln)}}).pipe((0,I.W)(ft),(0,r.k)(({matches:fn})=>({query:Ke,matches:fn})),(0,_.a)(this._destroySubject)),mql:ft};return this._queries.set(Ke,qt),qt}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(S),v.\u0275\u0275inject(v.NgZone))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})();function U(Fe){return Fe.map(et=>et.split(",")).reduce((et,Ke)=>et.concat(Ke)).map(et=>et.trim())}const ee=" ";function ne(Fe,et,Ke){const ft=H(Fe,et);Ke=Ke.trim(),!ft.some(Bt=>Bt.trim()===Ke)&&(ft.push(Ke),Fe.setAttribute(et,ft.join(ee)))}function B(Fe,et,Ke){const ft=H(Fe,et);Ke=Ke.trim();const Bt=ft.filter(qt=>qt!==Ke);Bt.length?Fe.setAttribute(et,Bt.join(ee)):Fe.removeAttribute(et)}function H(Fe,et){return Fe.getAttribute(et)?.match(/\S+/g)??[]}const X="cdk-describedby-message",G="cdk-describedby-host";let j=0,le=(()=>{class Fe{constructor(Ke,ft){this._platform=ft,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+j++,this._document=Ke,this._id=(0,v.inject)(v.APP_ID)+"-"+j++}describe(Ke,ft,Bt){if(!this._canBeDescribed(Ke,ft))return;const qt=ue(ft,Bt);"string"!=typeof ft?(ve(ft,this._id),this._messageRegistry.set(qt,{messageElement:ft,referenceCount:0})):this._messageRegistry.has(qt)||this._createMessageElement(ft,Bt),this._isElementDescribedByMessage(Ke,qt)||this._addMessageReference(Ke,qt)}removeDescription(Ke,ft,Bt){if(!ft||!this._isElementNode(Ke))return;const qt=ue(ft,Bt);if(this._isElementDescribedByMessage(Ke,qt)&&this._removeMessageReference(Ke,qt),"string"==typeof ft){const fn=this._messageRegistry.get(qt);fn&&0===fn.referenceCount&&this._deleteMessageElement(qt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Ke=this._document.querySelectorAll(`[${G}="${this._id}"]`);for(let ft=0;ft0!=Bt.indexOf(X));Ke.setAttribute("aria-describedby",ft.join(" "))}_addMessageReference(Ke,ft){const Bt=this._messageRegistry.get(ft);ne(Ke,"aria-describedby",Bt.messageElement.id),Ke.setAttribute(G,this._id),Bt.referenceCount++}_removeMessageReference(Ke,ft){const Bt=this._messageRegistry.get(ft);Bt.referenceCount--,B(Ke,"aria-describedby",Bt.messageElement.id),Ke.removeAttribute(G)}_isElementDescribedByMessage(Ke,ft){const Bt=H(Ke,"aria-describedby"),qt=this._messageRegistry.get(ft),fn=qt&&qt.messageElement.id;return!!fn&&-1!=Bt.indexOf(fn)}_canBeDescribed(Ke,ft){if(!this._isElementNode(Ke))return!1;if(ft&&"object"==typeof ft)return!0;const Bt=null==ft?"":`${ft}`.trim(),qt=Ke.getAttribute("aria-label");return!(!Bt||qt&&qt.trim()===Bt)}_isElementNode(Ke){return Ke.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(t.DOCUMENT),v.\u0275\u0275inject(C.WU))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})();function ue(Fe,et){return"string"==typeof Fe?`${et||""}/${Fe}`:Fe}function ve(Fe,et){Fe.id||(Fe.id=`${X}-${et}-${j++}`)}class Je{constructor(et){this._items=et,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new E.E,this._typeaheadSubscription=c.wH.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=Ke=>Ke.disabled,this._pressedLetters=[],this.tabOut=new E.E,this.change=new E.E,et instanceof v.QueryList&&(this._itemChangesSubscription=et.changes.subscribe(Ke=>{if(this._activeItem){const Bt=Ke.toArray().indexOf(this._activeItem);Bt>-1&&Bt!==this._activeItemIndex&&(this._activeItemIndex=Bt)}}))}skipPredicate(et){return this._skipPredicateFn=et,this}withWrap(et=!0){return this._wrap=et,this}withVerticalOrientation(et=!0){return this._vertical=et,this}withHorizontalOrientation(et){return this._horizontal=et,this}withAllowedModifierKeys(et){return this._allowedModifierKeys=et,this}withTypeAhead(et=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.y)(Ke=>this._pressedLetters.push(Ke)),(0,l.o)(et),(0,a.I)(()=>this._pressedLetters.length>0),(0,r.k)(()=>this._pressedLetters.join(""))).subscribe(Ke=>{const ft=this._getItemsArray();for(let Bt=1;Bt!et[qt]||this._allowedModifierKeys.indexOf(qt)>-1);switch(Ke){case f.k0:return void this.tabOut.next();case f.Oq:if(this._vertical&&Bt){this.setNextItemActive();break}return;case f.qI:if(this._vertical&&Bt){this.setPreviousItemActive();break}return;case f.a4:if(this._horizontal&&Bt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case f.Mx:if(this._horizontal&&Bt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case f.qU:if(this._homeAndEnd&&Bt){this.setFirstItemActive();break}return;case f.Mp:if(this._homeAndEnd&&Bt){this.setLastItemActive();break}return;case f.u_:if(this._pageUpAndDown.enabled&&Bt){const qt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(qt>0?qt:0,1);break}return;case f.yI:if(this._pageUpAndDown.enabled&&Bt){const qt=this._activeItemIndex+this._pageUpAndDown.delta,fn=this._getItemsArray().length;this._setActiveItemByIndex(qt=f.A&&Ke<=f.Z||Ke>=f._I&&Ke<=f.SQ)&&this._letterKeyStream.next(String.fromCharCode(Ke))))}this._pressedLetters=[],et.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(et){const Ke=this._getItemsArray(),ft="number"==typeof et?et:Ke.indexOf(et);this._activeItem=Ke[ft]??null,this._activeItemIndex=ft}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(et){this._wrap?this._setActiveInWrapMode(et):this._setActiveInDefaultMode(et)}_setActiveInWrapMode(et){const Ke=this._getItemsArray();for(let ft=1;ft<=Ke.length;ft++){const Bt=(this._activeItemIndex+et*ft+Ke.length)%Ke.length;if(!this._skipPredicateFn(Ke[Bt]))return void this.setActiveItem(Bt)}}_setActiveInDefaultMode(et){this._setActiveItemByIndex(this._activeItemIndex+et,et)}_setActiveItemByIndex(et,Ke){const ft=this._getItemsArray();if(ft[et]){for(;this._skipPredicateFn(ft[et]);)if(!ft[et+=Ke])return;this.setActiveItem(et)}}_getItemsArray(){return this._items instanceof v.QueryList?this._items.toArray():this._items}}class _t extends Je{setActiveItem(et){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(et),this.activeItem&&this.activeItem.setActiveStyles()}}class ct extends Je{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(et){return this._origin=et,this}setActiveItem(et){super.setActiveItem(et),this.activeItem&&this.activeItem.focus(this._origin)}}let Re=(()=>{class Fe{constructor(Ke){this._platform=Ke}isDisabled(Ke){return Ke.hasAttribute("disabled")}isVisible(Ke){return function pe(Fe){return!!(Fe.offsetWidth||Fe.offsetHeight||"function"==typeof Fe.getClientRects&&Fe.getClientRects().length)}(Ke)&&"visible"===getComputedStyle(Ke).visibility}isTabbable(Ke){if(!this._platform.isBrowser)return!1;const ft=function ke(Fe){try{return Fe.frameElement}catch{return null}}(function Ve(Fe){return Fe.ownerDocument&&Fe.ownerDocument.defaultView||window}(Ke));if(ft&&(-1===Oe(ft)||!this.isVisible(ft)))return!1;let Bt=Ke.nodeName.toLowerCase(),qt=Oe(Ke);return Ke.hasAttribute("contenteditable")?-1!==qt:!("iframe"===Bt||"object"===Bt||this._platform.WEBKIT&&this._platform.IOS&&!function Xe(Fe){let et=Fe.nodeName.toLowerCase(),Ke="input"===et&&Fe.type;return"text"===Ke||"password"===Ke||"select"===et||"textarea"===et}(Ke))&&("audio"===Bt?!!Ke.hasAttribute("controls")&&-1!==qt:"video"===Bt?-1!==qt&&(null!==qt||this._platform.FIREFOX||Ke.hasAttribute("controls")):Ke.tabIndex>=0)}isFocusable(Ke,ft){return function ge(Fe){return!function Be(Fe){return function je(Fe){return"input"==Fe.nodeName.toLowerCase()}(Fe)&&"hidden"==Fe.type}(Fe)&&(function Qe(Fe){let et=Fe.nodeName.toLowerCase();return"input"===et||"select"===et||"button"===et||"textarea"===et}(Fe)||function Ie(Fe){return function q(Fe){return"a"==Fe.nodeName.toLowerCase()}(Fe)&&Fe.hasAttribute("href")}(Fe)||Fe.hasAttribute("contenteditable")||ye(Fe))}(Ke)&&!this.isDisabled(Ke)&&(ft?.ignoreVisibility||this.isVisible(Ke))}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(C.WU))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})();function ye(Fe){if(!Fe.hasAttribute("tabindex")||void 0===Fe.tabIndex)return!1;let et=Fe.getAttribute("tabindex");return!(!et||isNaN(parseInt(et,10)))}function Oe(Fe){if(!ye(Fe))return null;const et=parseInt(Fe.getAttribute("tabindex")||"",10);return isNaN(et)?-1:et}class ot{get enabled(){return this._enabled}set enabled(et){this._enabled=et,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(et,this._startAnchor),this._toggleAnchorTabIndex(et,this._endAnchor))}constructor(et,Ke,ft,Bt,qt=!1){this._element=et,this._checker=Ke,this._ngZone=ft,this._document=Bt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,qt||this.attachAnchors()}destroy(){const et=this._startAnchor,Ke=this._endAnchor;et&&(et.removeEventListener("focus",this.startAnchorListener),et.remove()),Ke&&(Ke.removeEventListener("focus",this.endAnchorListener),Ke.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(et){return new Promise(Ke=>{this._executeOnStable(()=>Ke(this.focusInitialElement(et)))})}focusFirstTabbableElementWhenReady(et){return new Promise(Ke=>{this._executeOnStable(()=>Ke(this.focusFirstTabbableElement(et)))})}focusLastTabbableElementWhenReady(et){return new Promise(Ke=>{this._executeOnStable(()=>Ke(this.focusLastTabbableElement(et)))})}_getRegionBoundary(et){const Ke=this._element.querySelectorAll(`[cdk-focus-region-${et}], [cdkFocusRegion${et}], [cdk-focus-${et}]`);return"start"==et?Ke.length?Ke[0]:this._getFirstTabbableElement(this._element):Ke.length?Ke[Ke.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(et){const Ke=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Ke){if(!this._checker.isFocusable(Ke)){const ft=this._getFirstTabbableElement(Ke);return ft?.focus(et),!!ft}return Ke.focus(et),!0}return this.focusFirstTabbableElement(et)}focusFirstTabbableElement(et){const Ke=this._getRegionBoundary("start");return Ke&&Ke.focus(et),!!Ke}focusLastTabbableElement(et){const Ke=this._getRegionBoundary("end");return Ke&&Ke.focus(et),!!Ke}hasAttached(){return this._hasAttached}_getFirstTabbableElement(et){if(this._checker.isFocusable(et)&&this._checker.isTabbable(et))return et;const Ke=et.children;for(let ft=0;ft=0;ft--){const Bt=Ke[ft].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Ke[ft]):null;if(Bt)return Bt}return null}_createAnchor(){const et=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,et),et.classList.add("cdk-visually-hidden"),et.classList.add("cdk-focus-trap-anchor"),et.setAttribute("aria-hidden","true"),et}_toggleAnchorTabIndex(et,Ke){et?Ke.setAttribute("tabindex","0"):Ke.removeAttribute("tabindex")}toggleAnchors(et){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(et,this._startAnchor),this._toggleAnchorTabIndex(et,this._endAnchor))}_executeOnStable(et){this._ngZone.isStable?et():this._ngZone.onStable.pipe((0,u.U)(1)).subscribe(et)}}let ze=(()=>{class Fe{constructor(Ke,ft,Bt){this._checker=Ke,this._ngZone=ft,this._document=Bt}create(Ke,ft=!1){return new ot(Ke,this._checker,this._ngZone,this._document,ft)}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(Re),v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(t.DOCUMENT))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})(),pt=(()=>{class Fe{get enabled(){return this.focusTrap?.enabled||!1}set enabled(Ke){this.focusTrap&&(this.focusTrap.enabled=Ke)}constructor(Ke,ft,Bt){this._elementRef=Ke,this._focusTrapFactory=ft,this._previouslyFocusedElement=null,(0,v.inject)(C.WU).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(Ke){const ft=Ke.autoCapture;ft&&!ft.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,C.Yx)(),this.focusTrap?.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(ze),v.\u0275\u0275directiveInject(t.DOCUMENT))};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:Fe,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkTrapFocus","enabled",v.booleanAttribute],autoCapture:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkTrapFocusAutoCapture","autoCapture",v.booleanAttribute]},exportAs:["cdkTrapFocus"],standalone:!0,features:[v.\u0275\u0275InputTransformsFeature,v.\u0275\u0275NgOnChangesFeature]})}return Fe})();function gn(Fe){return 0===Fe.buttons||0===Fe.detail}function Jt(Fe){const et=Fe.touches&&Fe.touches[0]||Fe.changedTouches&&Fe.changedTouches[0];return!(!et||-1!==et.identifier||null!=et.radiusX&&1!==et.radiusX||null!=et.radiusY&&1!==et.radiusY)}const an=new v.InjectionToken("cdk-input-modality-detector-options"),Ot={ignoreKeys:[f.A$,f.s9,f.GW,f._Y,f._u]},xe=(0,C.W4)({passive:!0,capture:!0});let rt=(()=>{class Fe{get mostRecentModality(){return this._modality.value}constructor(Ke,ft,Bt,qt){this._platform=Ke,this._mostRecentTarget=null,this._modality=new b.g(null),this._lastTouchMs=0,this._onKeydown=fn=>{this._options?.ignoreKeys?.some(ln=>ln===fn.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,C.oZ)(fn))},this._onMousedown=fn=>{Date.now()-this._lastTouchMs<650||(this._modality.next(gn(fn)?"keyboard":"mouse"),this._mostRecentTarget=(0,C.oZ)(fn))},this._onTouchstart=fn=>{Jt(fn)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,C.oZ)(fn))},this._options={...Ot,...qt},this.modalityDetected=this._modality.pipe((0,h.s)(1)),this.modalityChanged=this.modalityDetected.pipe((0,p.a)()),Ke.isBrowser&&ft.runOutsideAngular(()=>{Bt.addEventListener("keydown",this._onKeydown,xe),Bt.addEventListener("mousedown",this._onMousedown,xe),Bt.addEventListener("touchstart",this._onTouchstart,xe)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,xe),document.removeEventListener("mousedown",this._onMousedown,xe),document.removeEventListener("touchstart",this._onTouchstart,xe))}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(C.WU),v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(t.DOCUMENT),v.\u0275\u0275inject(an,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})();const lt=new v.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function At(){return null}}),nt=new v.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let vt=0,Le=(()=>{class Fe{constructor(Ke,ft,Bt,qt){this._ngZone=ft,this._defaultOptions=qt,this._document=Bt,this._liveElement=Ke||this._createLiveElement()}announce(Ke,...ft){const Bt=this._defaultOptions;let qt,fn;return 1===ft.length&&"number"==typeof ft[0]?fn=ft[0]:[qt,fn]=ft,this.clear(),clearTimeout(this._previousTimeout),qt||(qt=Bt&&Bt.politeness?Bt.politeness:"polite"),null==fn&&Bt&&(fn=Bt.duration),this._liveElement.setAttribute("aria-live",qt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ln=>this._currentResolve=ln)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Ke,"number"==typeof fn&&(this._previousTimeout=setTimeout(()=>this.clear(),fn)),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 Ke="cdk-live-announcer-element",ft=this._document.getElementsByClassName(Ke),Bt=this._document.createElement("div");for(let qt=0;qt .cdk-overlay-container [aria-modal="true"]');for(let Bt=0;Bt{class Fe{constructor(Ke,ft,Bt,qt,fn){this._ngZone=Ke,this._platform=ft,this._inputModalityDetector=Bt,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 E.E,this._rootNodeFocusAndBlurListener=ln=>{for(let fi=(0,C.oZ)(ln);fi;fi=fi.parentElement)"focus"===ln.type?this._onFocus(ln,fi):this._onBlur(ln,fi)},this._document=qt,this._detectionMode=fn?.detectionMode||st.IMMEDIATE}monitor(Ke,ft=!1){const Bt=(0,M.mk)(Ke);if(!this._platform.isBrowser||1!==Bt.nodeType)return(0,s.of)();const qt=(0,C.C8)(Bt)||this._getDocument(),fn=this._elementInfo.get(Bt);if(fn)return ft&&(fn.checkChildren=!0),fn.subject;const ln={checkChildren:ft,subject:new E.E,rootNode:qt};return this._elementInfo.set(Bt,ln),this._registerGlobalListeners(ln),ln.subject}stopMonitoring(Ke){const ft=(0,M.mk)(Ke),Bt=this._elementInfo.get(ft);Bt&&(Bt.subject.complete(),this._setClasses(ft),this._elementInfo.delete(ft),this._removeGlobalListeners(Bt))}focusVia(Ke,ft,Bt){const qt=(0,M.mk)(Ke);qt===this._getDocument().activeElement?this._getClosestElementsInfo(qt).forEach(([ln,An])=>this._originChanged(ln,ft,An)):(this._setOrigin(ft),"function"==typeof qt.focus&&qt.focus(Bt))}ngOnDestroy(){this._elementInfo.forEach((Ke,ft)=>this.stopMonitoring(ft))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Ke){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Ke)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Ke&&this._isLastInteractionFromInputLabel(Ke)?"mouse":"program"}_shouldBeAttributedToTouch(Ke){return this._detectionMode===st.EVENTUAL||!!Ke?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Ke,ft){Ke.classList.toggle("cdk-focused",!!ft),Ke.classList.toggle("cdk-touch-focused","touch"===ft),Ke.classList.toggle("cdk-keyboard-focused","keyboard"===ft),Ke.classList.toggle("cdk-mouse-focused","mouse"===ft),Ke.classList.toggle("cdk-program-focused","program"===ft)}_setOrigin(Ke,ft=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Ke,this._originFromTouchInteraction="touch"===Ke&&ft,this._detectionMode===st.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Ke,ft){const Bt=this._elementInfo.get(ft),qt=(0,C.oZ)(Ke);!Bt||!Bt.checkChildren&&ft!==qt||this._originChanged(ft,this._getFocusOrigin(qt),Bt)}_onBlur(Ke,ft){const Bt=this._elementInfo.get(ft);!Bt||Bt.checkChildren&&Ke.relatedTarget instanceof Node&&ft.contains(Ke.relatedTarget)||(this._setClasses(ft),this._emitOrigin(Bt,null))}_emitOrigin(Ke,ft){Ke.subject.observers.length&&this._ngZone.run(()=>Ke.subject.next(ft))}_registerGlobalListeners(Ke){if(!this._platform.isBrowser)return;const ft=Ke.rootNode,Bt=this._rootNodeFocusListenerCount.get(ft)||0;Bt||this._ngZone.runOutsideAngular(()=>{ft.addEventListener("focus",this._rootNodeFocusAndBlurListener,Pe),ft.addEventListener("blur",this._rootNodeFocusAndBlurListener,Pe)}),this._rootNodeFocusListenerCount.set(ft,Bt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,_.a)(this._stopInputModalityDetector)).subscribe(qt=>{this._setOrigin(qt,!0)}))}_removeGlobalListeners(Ke){const ft=Ke.rootNode;if(this._rootNodeFocusListenerCount.has(ft)){const Bt=this._rootNodeFocusListenerCount.get(ft);Bt>1?this._rootNodeFocusListenerCount.set(ft,Bt-1):(ft.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Pe),ft.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Pe),this._rootNodeFocusListenerCount.delete(ft))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Ke,ft,Bt){this._setClasses(Ke,ft),this._emitOrigin(Bt,ft),this._lastFocusOrigin=ft}_getClosestElementsInfo(Ke){const ft=[];return this._elementInfo.forEach((Bt,qt)=>{(qt===Ke||Bt.checkChildren&&qt.contains(Ke))&&ft.push([qt,Bt])}),ft}_isLastInteractionFromInputLabel(Ke){const{_mostRecentTarget:ft,mostRecentModality:Bt}=this._inputModalityDetector;if("mouse"!==Bt||!ft||ft===Ke||"INPUT"!==Ke.nodeName&&"TEXTAREA"!==Ke.nodeName||Ke.disabled)return!1;const qt=Ke.labels;if(qt)for(let fn=0;fn{class Fe{constructor(Ke,ft){this._elementRef=Ke,this._focusMonitor=ft,this._focusOrigin=null,this.cdkFocusChange=new v.EventEmitter}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Ke=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Ke,1===Ke.nodeType&&Ke.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(ft=>{this._focusOrigin=ft,this.cdkFocusChange.emit(ft)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(bt))};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:Fe,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}return Fe})();var $e=function(Fe){return Fe[Fe.NONE=0]="NONE",Fe[Fe.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",Fe[Fe.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",Fe}($e||{});const Ge="cdk-high-contrast-black-on-white",kt="cdk-high-contrast-white-on-black",dt="cdk-high-contrast-active";let xt=(()=>{class Fe{constructor(Ke,ft){this._platform=Ke,this._document=ft,this._breakpointSubscription=(0,v.inject)(A).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return $e.NONE;const Ke=this._document.createElement("div");Ke.style.backgroundColor="rgb(1,2,3)",Ke.style.position="absolute",this._document.body.appendChild(Ke);const ft=this._document.defaultView||window,Bt=ft&&ft.getComputedStyle?ft.getComputedStyle(Ke):null,qt=(Bt&&Bt.backgroundColor||"").replace(/ /g,"");switch(Ke.remove(),qt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return $e.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return $e.BLACK_ON_WHITE}return $e.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Ke=this._document.body.classList;Ke.remove(dt,Ge,kt),this._hasCheckedHighContrastMode=!0;const ft=this.getHighContrastMode();ft===$e.BLACK_ON_WHITE?Ke.add(dt,Ge):ft===$e.WHITE_ON_BLACK&&Ke.add(dt,kt)}}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(C.WU),v.\u0275\u0275inject(t.DOCUMENT))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})(),qe=(()=>{class Fe{constructor(Ke){Ke._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(xt))};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:Fe});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({imports:[y.IT]})}return Fe})()},1900:(De,te,g)=>{"use strict";g.d(te,{gN:()=>d,yG:()=>s});var t=g(4496),v=g(1368);const C=new t.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function E(){return(0,t.inject)(v.DOCUMENT)}}),c=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let s=(()=>{class l{constructor(r){this.value="ltr",this.change=new t.EventEmitter,r&&(this.value=function b(l){const a=l?.toLowerCase()||"";return"auto"===a&&typeof navigator<"u"&&navigator?.language?c.test(navigator.language)?"rtl":"ltr":"rtl"===a?"rtl":"ltr"}((r.body?r.body.dir:null)||(r.documentElement?r.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(u){return new(u||l)(t.\u0275\u0275inject(C,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),d=(()=>{class l{static#e=this.\u0275fac=function(u){return new(u||l)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:l});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return l})()},7712:(De,te,g)=>{"use strict";g.d(te,{Mt:()=>c,W6:()=>v,_s:()=>f,mk:()=>s,ph:()=>b,s3:()=>E,wZ:()=>C});var t=g(4496);function v(d){return null!=d&&"false"!=`${d}`}function C(d,l=0){return E(d)?Number(d):l}function E(d){return!isNaN(parseFloat(d))&&!isNaN(Number(d))}function c(d){return Array.isArray(d)?d:[d]}function b(d){return null==d?"":"string"==typeof d?d:`${d}px`}function s(d){return d instanceof t.ElementRef?d.nativeElement:d}function f(d,l=/\s+/){const a=[];if(null!=d){const r=Array.isArray(d)?d:`${d}`.split(l);for(const u of r){const h=`${u}`.trim();h&&a.push(h)}}return a}},1032:(De,te,g)=>{"use strict";g.d(te,{Cc:()=>b,Yx:()=>r,cz:()=>s,e2:()=>u,eo:()=>a,kT:()=>p,mj:()=>d,ys:()=>l});var t=g(2376),E=(g(1116),g(2700),g(5657)),c=g(4496);class b{}function s(_){return _&&"function"==typeof _.connect&&!(_ instanceof t.C)}var d=function(_){return _[_.REPLACED=0]="REPLACED",_[_.INSERTED=1]="INSERTED",_[_.MOVED=2]="MOVED",_[_.REMOVED=3]="REMOVED",_}(d||{});const l=new c.InjectionToken("_ViewRepeater");class a{applyChanges(y,M,w,k,D){y.forEachOperation((I,O,T)=>{let N,S;if(null==I.previousIndex){const F=w(I,O,T);N=M.createEmbeddedView(F.templateRef,F.context,F.index),S=d.INSERTED}else null==T?(M.remove(O),S=d.REMOVED):(N=M.get(O),M.move(N,T),S=d.MOVED);D&&D({context:N?.context,operation:S,record:I})})}detach(){}}class r{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(y,M,w,k,D){y.forEachOperation((I,O,T)=>{let N,S;null==I.previousIndex?(N=this._insertView(()=>w(I,O,T),T,M,k(I)),S=N?d.INSERTED:d.REPLACED):null==T?(this._detachAndCacheView(O,M),S=d.REMOVED):(N=this._moveView(O,T,M,k(I)),S=d.MOVED),D&&D({context:N?.context,operation:S,record:I})})}detach(){for(const y of this._viewCache)y.destroy();this._viewCache=[]}_insertView(y,M,w,k){const D=this._insertViewFromCache(M,w);if(D)return void(D.context.$implicit=k);const I=y();return w.createEmbeddedView(I.templateRef,I.context,I.index)}_detachAndCacheView(y,M){const w=M.detach(y);this._maybeCacheView(w,M)}_moveView(y,M,w,k){const D=w.get(y);return w.move(D,M),D.context.$implicit=k,D}_maybeCacheView(y,M){if(this._viewCache.lengththis._markSelected(D)):this._markSelected(M[0]),this._selectedToEmit.length=0)}select(...y){this._verifyValueAssignment(y),y.forEach(w=>this._markSelected(w));const M=this._hasQueuedChanges();return this._emitChangeEvent(),M}deselect(...y){this._verifyValueAssignment(y),y.forEach(w=>this._unmarkSelected(w));const M=this._hasQueuedChanges();return this._emitChangeEvent(),M}setSelection(...y){this._verifyValueAssignment(y);const M=this.selected,w=new Set(y);y.forEach(D=>this._markSelected(D)),M.filter(D=>!w.has(this._getConcreteValue(D,w))).forEach(D=>this._unmarkSelected(D));const k=this._hasQueuedChanges();return this._emitChangeEvent(),k}toggle(y){return this.isSelected(y)?this.deselect(y):this.select(y)}clear(y=!0){this._unmarkAll();const M=this._hasQueuedChanges();return y&&this._emitChangeEvent(),M}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,M){if(this.compareWith){M=M??this._selection;for(let w of M)if(this.compareWith(y,w))return w;return y}return y}}let p=(()=>{class _{constructor(){this._listeners=[]}notify(M,w){for(let k of this._listeners)k(M,w)}listen(M){return this._listeners.push(M),()=>{this._listeners=this._listeners.filter(w=>M!==w)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(w){return new(w||_)};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},5420:(De,te,g)=>{"use strict";g.d(te,{A:()=>j,A$:()=>f,GW:()=>We,Gi:()=>r,Mp:()=>p,Mx:()=>y,Oq:()=>k,SQ:()=>B,UX:()=>a,Yp:()=>wt,Z:()=>Gt,_I:()=>N,_Y:()=>rn,_u:()=>b,a4:()=>w,k0:()=>C,qI:()=>M,qU:()=>_,s9:()=>s,u_:()=>u,wJ:()=>c,yI:()=>h,y_:()=>v});const v=8,C=9,c=13,b=16,s=17,f=18,a=27,r=32,u=33,h=34,p=35,_=36,y=37,M=38,w=39,k=40,N=48,B=57,j=65,Gt=90,rn=91,We=224;function wt(Yt,...Kn){return Kn.length?Kn.some(Pn=>Yt[Pn]):Yt.altKey||Yt.shiftKey||Yt.ctrlKey||Yt.metaKey}},6640:(De,te,g)=>{"use strict";g.d(te,{IT:()=>d,Wk:()=>f});var t=g(7712),v=g(4496),C=g(3252),E=g(5657),c=g(4680);let b=(()=>{class l{create(r){return typeof MutationObserver>"u"?null:new MutationObserver(r)}static#e=this.\u0275fac=function(u){return new(u||l)};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),s=(()=>{class l{constructor(r){this._mutationObserverFactory=r,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((r,u)=>this._cleanupObserver(u))}observe(r){const u=(0,t.mk)(r);return new C._(h=>{const _=this._observeElement(u).subscribe(h);return()=>{_.unsubscribe(),this._unobserveElement(u)}})}_observeElement(r){if(this._observedElements.has(r))this._observedElements.get(r).count++;else{const u=new E.E,h=this._mutationObserverFactory.create(p=>u.next(p));h&&h.observe(r,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(r,{observer:h,stream:u,count:1})}return this._observedElements.get(r).stream}_unobserveElement(r){this._observedElements.has(r)&&(this._observedElements.get(r).count--,this._observedElements.get(r).count||this._cleanupObserver(r))}_cleanupObserver(r){if(this._observedElements.has(r)){const{observer:u,stream:h}=this._observedElements.get(r);u&&u.disconnect(),h.complete(),this._observedElements.delete(r)}}static#e=this.\u0275fac=function(u){return new(u||l)(v.\u0275\u0275inject(b))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),f=(()=>{class l{get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(r){this._debounce=(0,t.wZ)(r),this._subscribe()}constructor(r,u,h){this._contentObserver=r,this._elementRef=u,this._ngZone=h,this.event=new v.EventEmitter,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const r=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?r.pipe((0,c.o)(this.debounce)):r).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(u){return new(u||l)(v.\u0275\u0275directiveInject(s),v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(v.NgZone))};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:l,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkObserveContentDisabled","disabled",v.booleanAttribute],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[v.\u0275\u0275InputTransformsFeature]})}return l})(),d=(()=>{class l{static#e=this.\u0275fac=function(u){return new(u||l)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:l});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({providers:[b]})}return l})()},7556:(De,te,g)=>{"use strict";g.d(te,{Y1:()=>ye,eC:()=>Ie,g$:()=>G,mc:()=>ke,o9:()=>N,wW:()=>Be});var t=g(1904),v=g(1368),C=g(4496),E=g(7712),c=g(5792),b=g(6684),s=g(3992),f=g(3616),d=g(8796),l=g(1900),a=g(2488),r=g(5657),u=g(6928),h=g(3412),p=g(5420);const _=(0,c.kk)();class y{constructor(ge,Ve){this._viewportRuler=ge,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ve}attach(){}enable(){if(this._canBeEnabled()){const ge=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ge.style.left||"",this._previousHTMLStyles.top=ge.style.top||"",ge.style.left=(0,E.ph)(-this._previousScrollPosition.left),ge.style.top=(0,E.ph)(-this._previousScrollPosition.top),ge.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ge=this._document.documentElement,ot=ge.style,ze=this._document.body.style,pt=ot.scrollBehavior||"",Pt=ze.scrollBehavior||"";this._isEnabled=!1,ot.left=this._previousHTMLStyles.left,ot.top=this._previousHTMLStyles.top,ge.classList.remove("cdk-global-scrollblock"),_&&(ot.scrollBehavior=ze.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_&&(ot.scrollBehavior=pt,ze.scrollBehavior=Pt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ve=this._document.body,ot=this._viewportRuler.getViewportSize();return Ve.scrollHeight>ot.height||Ve.scrollWidth>ot.width}}class w{constructor(ge,Ve,ot,ze){this._scrollDispatcher=ge,this._ngZone=Ve,this._viewportRuler=ot,this._config=ze,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ge){this._overlayRef=ge}enable(){if(this._scrollSubscription)return;const ge=this._scrollDispatcher.scrolled(0).pipe((0,b.I)(Ve=>!Ve||!this._overlayRef.overlayElement.contains(Ve.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ge.subscribe(()=>{const Ve=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ve-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ge.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class k{enable(){}disable(){}attach(){}}function D(Xe,ge){return ge.some(Ve=>Xe.bottomVe.bottom||Xe.rightVe.right)}function I(Xe,ge){return ge.some(Ve=>Xe.topVe.bottom||Xe.leftVe.right)}class O{constructor(ge,Ve,ot,ze){this._scrollDispatcher=ge,this._viewportRuler=Ve,this._ngZone=ot,this._config=ze,this._scrollSubscription=null}attach(ge){this._overlayRef=ge}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 Ve=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ot,height:ze}=this._viewportRuler.getViewportSize();D(Ve,[{width:ot,height:ze,bottom:ze,right:ot,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 T=(()=>{class Xe{constructor(Ve,ot,ze,pt){this._scrollDispatcher=Ve,this._viewportRuler=ot,this._ngZone=ze,this.noop=()=>new k,this.close=Pt=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,Pt),this.block=()=>new y(this._viewportRuler,this._document),this.reposition=Pt=>new O(this._scrollDispatcher,this._viewportRuler,this._ngZone,Pt),this._document=pt}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275inject(t.Yn),C.\u0275\u0275inject(t.S8),C.\u0275\u0275inject(C.NgZone),C.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();class N{constructor(ge){if(this.scrollStrategy=new k,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ge){const Ve=Object.keys(ge);for(const ot of Ve)void 0!==ge[ot]&&(this[ot]=ge[ot])}}}class L{constructor(ge,Ve){this.connectionPair=ge,this.scrollableViewProperties=Ve}}let K=(()=>{class Xe{constructor(Ve){this._attachedOverlays=[],this._document=Ve}ngOnDestroy(){this.detach()}add(Ve){this.remove(Ve),this._attachedOverlays.push(Ve)}remove(Ve){const ot=this._attachedOverlays.indexOf(Ve);ot>-1&&this._attachedOverlays.splice(ot,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),ee=(()=>{class Xe extends K{constructor(Ve,ot){super(Ve),this._ngZone=ot,this._keydownListener=ze=>{const pt=this._attachedOverlays;for(let Pt=pt.length-1;Pt>-1;Pt--)if(pt[Pt]._keydownEvents.observers.length>0){const Gt=pt[Pt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Gt.next(ze)):Gt.next(ze);break}}}add(Ve){super.add(Ve),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)}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275inject(v.DOCUMENT),C.\u0275\u0275inject(C.NgZone,8))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),ne=(()=>{class Xe extends K{constructor(Ve,ot,ze){super(Ve),this._platform=ot,this._ngZone=ze,this._cursorStyleIsSet=!1,this._pointerDownListener=pt=>{this._pointerDownEventTarget=(0,c.oZ)(pt)},this._clickListener=pt=>{const Pt=(0,c.oZ)(pt),Gt="click"===pt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Pt;this._pointerDownEventTarget=null;const rn=this._attachedOverlays.slice();for(let on=rn.length-1;on>-1;on--){const tn=rn[on];if(tn._outsidePointerEvents.observers.length<1||!tn.hasAttached())continue;if(tn.overlayElement.contains(Pt)||tn.overlayElement.contains(Gt))break;const gn=tn._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>gn.next(pt)):gn.next(pt)}}}add(Ve){if(super.add(Ve),!this._isAttached){const ot=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ot)):this._addEventListeners(ot),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ot.style.cursor,ot.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Ve=this._document.body;Ve.removeEventListener("pointerdown",this._pointerDownListener,!0),Ve.removeEventListener("click",this._clickListener,!0),Ve.removeEventListener("auxclick",this._clickListener,!0),Ve.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Ve.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Ve){Ve.addEventListener("pointerdown",this._pointerDownListener,!0),Ve.addEventListener("click",this._clickListener,!0),Ve.addEventListener("auxclick",this._clickListener,!0),Ve.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275inject(v.DOCUMENT),C.\u0275\u0275inject(c.WU),C.\u0275\u0275inject(C.NgZone,8))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),B=(()=>{class Xe{constructor(Ve,ot){this._platform=ot,this._document=Ve}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ve="cdk-overlay-container";if(this._platform.isBrowser||(0,c.mW)()){const ze=this._document.querySelectorAll(`.${Ve}[platform="server"], .${Ve}[platform="test"]`);for(let pt=0;ptthis._backdropClick.next(gn),this._backdropTransitionendHandler=gn=>{this._disposeBackdrop(gn.target)},this._keydownEvents=new r.E,this._outsidePointerEvents=new r.E,ze.scrollStrategy&&(this._scrollStrategy=ze.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ze.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ge){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ve=this._portalOutlet.attach(ge);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,s.U)(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 Ve?.onDestroy&&Ve.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ve}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ge=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ge}dispose(){const ge=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,ge&&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(ge){ge!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ge,this.hasAttached()&&(ge.attach(this),this.updatePosition()))}updateSize(ge){this._config={...this._config,...ge},this._updateElementSize()}setDirection(ge){this._config={...this._config,direction:ge},this._updateElementDirection()}addPanelClass(ge){this._pane&&this._toggleClasses(this._pane,ge,!0)}removePanelClass(ge){this._pane&&this._toggleClasses(this._pane,ge,!1)}getDirection(){const ge=this._config.direction;return ge?"string"==typeof ge?ge:ge.value:"ltr"}updateScrollStrategy(ge){ge!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ge,this.hasAttached()&&(ge.attach(this),ge.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ge=this._pane.style;ge.width=(0,E.ph)(this._config.width),ge.height=(0,E.ph)(this._config.height),ge.minWidth=(0,E.ph)(this._config.minWidth),ge.minHeight=(0,E.ph)(this._config.minHeight),ge.maxWidth=(0,E.ph)(this._config.maxWidth),ge.maxHeight=(0,E.ph)(this._config.maxHeight)}_togglePointerEvents(ge){this._pane.style.pointerEvents=ge?"":"none"}_attachBackdrop(){const ge="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(ge)})}):this._backdropElement.classList.add(ge)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ge=this._backdropElement;if(ge){if(this._animationsDisabled)return void this._disposeBackdrop(ge);ge.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ge.addEventListener("transitionend",this._backdropTransitionendHandler)}),ge.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ge)},500))}}_toggleClasses(ge,Ve,ot){const ze=(0,E.Mt)(Ve||[]).filter(pt=>!!pt);ze.length&&(ot?ge.classList.add(...ze):ge.classList.remove(...ze))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ge=this._ngZone.onStable.pipe((0,f.a)((0,h.U)(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()),ge.unsubscribe())})})}_disposeScrollStrategy(){const ge=this._scrollStrategy;ge&&(ge.disable(),ge.detach&&ge.detach())}_disposeBackdrop(ge){ge&&(ge.removeEventListener("click",this._backdropClickHandler),ge.removeEventListener("transitionend",this._backdropTransitionendHandler),ge.remove(),this._backdropElement===ge&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const z="cdk-overlay-connected-position-bounding-box",X=/([A-Za-z%]+)$/;class G{get positions(){return this._preferredPositions}constructor(ge,Ve,ot,ze,pt){this._viewportRuler=Ve,this._document=ot,this._platform=ze,this._overlayContainer=pt,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 r.E,this._resizeSubscription=u.wH.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ge)}attach(ge){this._validatePositions(),ge.hostElement.classList.add(z),this._overlayRef=ge,this._boundingBox=ge.hostElement,this._pane=ge.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 ge=this._originRect,Ve=this._overlayRect,ot=this._viewportRect,ze=this._containerRect,pt=[];let Pt;for(let Gt of this._preferredPositions){let rn=this._getOriginPoint(ge,ze,Gt),on=this._getOverlayPoint(rn,Ve,Gt),tn=this._getOverlayFit(on,Ve,ot,Gt);if(tn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Gt,rn);this._canFitWithFlexibleDimensions(tn,on,ot)?pt.push({position:Gt,origin:rn,overlayRect:Ve,boundingBoxRect:this._calculateBoundingBoxRect(rn,Gt)}):(!Pt||Pt.overlayFit.visibleArearn&&(rn=tn,Gt=on)}return this._isPushed=!1,void this._applyPosition(Gt.position,Gt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Pt.position,Pt.originPoint);this._applyPosition(Pt.position,Pt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&j(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(z),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ge=this._lastPosition;if(ge){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ve=this._getOriginPoint(this._originRect,this._containerRect,ge);this._applyPosition(ge,Ve)}else this.apply()}withScrollableContainers(ge){return this._scrollables=ge,this}withPositions(ge){return this._preferredPositions=ge,-1===ge.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ge){return this._viewportMargin=ge,this}withFlexibleDimensions(ge=!0){return this._hasFlexibleDimensions=ge,this}withGrowAfterOpen(ge=!0){return this._growAfterOpen=ge,this}withPush(ge=!0){return this._canPush=ge,this}withLockedPosition(ge=!0){return this._positionLocked=ge,this}setOrigin(ge){return this._origin=ge,this}withDefaultOffsetX(ge){return this._offsetX=ge,this}withDefaultOffsetY(ge){return this._offsetY=ge,this}withTransformOriginOn(ge){return this._transformOriginSelector=ge,this}_getOriginPoint(ge,Ve,ot){let ze,pt;if("center"==ot.originX)ze=ge.left+ge.width/2;else{const Pt=this._isRtl()?ge.right:ge.left,Gt=this._isRtl()?ge.left:ge.right;ze="start"==ot.originX?Pt:Gt}return Ve.left<0&&(ze-=Ve.left),pt="center"==ot.originY?ge.top+ge.height/2:"top"==ot.originY?ge.top:ge.bottom,Ve.top<0&&(pt-=Ve.top),{x:ze,y:pt}}_getOverlayPoint(ge,Ve,ot){let ze,pt;return ze="center"==ot.overlayX?-Ve.width/2:"start"===ot.overlayX?this._isRtl()?-Ve.width:0:this._isRtl()?0:-Ve.width,pt="center"==ot.overlayY?-Ve.height/2:"top"==ot.overlayY?0:-Ve.height,{x:ge.x+ze,y:ge.y+pt}}_getOverlayFit(ge,Ve,ot,ze){const pt=ue(Ve);let{x:Pt,y:Gt}=ge,rn=this._getOffset(ze,"x"),on=this._getOffset(ze,"y");rn&&(Pt+=rn),on&&(Gt+=on);let Jt=0-Gt,an=Gt+pt.height-ot.height,Ot=this._subtractOverflows(pt.width,0-Pt,Pt+pt.width-ot.width),Ut=this._subtractOverflows(pt.height,Jt,an),xe=Ot*Ut;return{visibleArea:xe,isCompletelyWithinViewport:pt.width*pt.height===xe,fitsInViewportVertically:Ut===pt.height,fitsInViewportHorizontally:Ot==pt.width}}_canFitWithFlexibleDimensions(ge,Ve,ot){if(this._hasFlexibleDimensions){const ze=ot.bottom-Ve.y,pt=ot.right-Ve.x,Pt=le(this._overlayRef.getConfig().minHeight),Gt=le(this._overlayRef.getConfig().minWidth);return(ge.fitsInViewportVertically||null!=Pt&&Pt<=ze)&&(ge.fitsInViewportHorizontally||null!=Gt&&Gt<=pt)}return!1}_pushOverlayOnScreen(ge,Ve,ot){if(this._previousPushAmount&&this._positionLocked)return{x:ge.x+this._previousPushAmount.x,y:ge.y+this._previousPushAmount.y};const ze=ue(Ve),pt=this._viewportRect,Pt=Math.max(ge.x+ze.width-pt.width,0),Gt=Math.max(ge.y+ze.height-pt.height,0),rn=Math.max(pt.top-ot.top-ge.y,0),on=Math.max(pt.left-ot.left-ge.x,0);let tn=0,gn=0;return tn=ze.width<=pt.width?on||-Pt:ge.xOt&&!this._isInitialRender&&!this._growAfterOpen&&(Pt=ge.y-Ot/2)}if("end"===Ve.overlayX&&!ze||"start"===Ve.overlayX&&ze)Jt=ot.width-ge.x+this._viewportMargin,tn=ge.x-this._viewportMargin;else if("start"===Ve.overlayX&&!ze||"end"===Ve.overlayX&&ze)gn=ge.x,tn=ot.right-ge.x;else{const an=Math.min(ot.right-ge.x+ot.left,ge.x),Ot=this._lastBoundingBoxSize.width;tn=2*an,gn=ge.x-an,tn>Ot&&!this._isInitialRender&&!this._growAfterOpen&&(gn=ge.x-Ot/2)}return{top:Pt,left:gn,bottom:Gt,right:Jt,width:tn,height:pt}}_setBoundingBoxStyles(ge,Ve){const ot=this._calculateBoundingBoxRect(ge,Ve);!this._isInitialRender&&!this._growAfterOpen&&(ot.height=Math.min(ot.height,this._lastBoundingBoxSize.height),ot.width=Math.min(ot.width,this._lastBoundingBoxSize.width));const ze={};if(this._hasExactPosition())ze.top=ze.left="0",ze.bottom=ze.right=ze.maxHeight=ze.maxWidth="",ze.width=ze.height="100%";else{const pt=this._overlayRef.getConfig().maxHeight,Pt=this._overlayRef.getConfig().maxWidth;ze.height=(0,E.ph)(ot.height),ze.top=(0,E.ph)(ot.top),ze.bottom=(0,E.ph)(ot.bottom),ze.width=(0,E.ph)(ot.width),ze.left=(0,E.ph)(ot.left),ze.right=(0,E.ph)(ot.right),ze.alignItems="center"===Ve.overlayX?"center":"end"===Ve.overlayX?"flex-end":"flex-start",ze.justifyContent="center"===Ve.overlayY?"center":"bottom"===Ve.overlayY?"flex-end":"flex-start",pt&&(ze.maxHeight=(0,E.ph)(pt)),Pt&&(ze.maxWidth=(0,E.ph)(Pt))}this._lastBoundingBoxSize=ot,j(this._boundingBox.style,ze)}_resetBoundingBoxStyles(){j(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){j(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ge,Ve){const ot={},ze=this._hasExactPosition(),pt=this._hasFlexibleDimensions,Pt=this._overlayRef.getConfig();if(ze){const tn=this._viewportRuler.getViewportScrollPosition();j(ot,this._getExactOverlayY(Ve,ge,tn)),j(ot,this._getExactOverlayX(Ve,ge,tn))}else ot.position="static";let Gt="",rn=this._getOffset(Ve,"x"),on=this._getOffset(Ve,"y");rn&&(Gt+=`translateX(${rn}px) `),on&&(Gt+=`translateY(${on}px)`),ot.transform=Gt.trim(),Pt.maxHeight&&(ze?ot.maxHeight=(0,E.ph)(Pt.maxHeight):pt&&(ot.maxHeight="")),Pt.maxWidth&&(ze?ot.maxWidth=(0,E.ph)(Pt.maxWidth):pt&&(ot.maxWidth="")),j(this._pane.style,ot)}_getExactOverlayY(ge,Ve,ot){let ze={top:"",bottom:""},pt=this._getOverlayPoint(Ve,this._overlayRect,ge);return this._isPushed&&(pt=this._pushOverlayOnScreen(pt,this._overlayRect,ot)),"bottom"===ge.overlayY?ze.bottom=this._document.documentElement.clientHeight-(pt.y+this._overlayRect.height)+"px":ze.top=(0,E.ph)(pt.y),ze}_getExactOverlayX(ge,Ve,ot){let Pt,ze={left:"",right:""},pt=this._getOverlayPoint(Ve,this._overlayRect,ge);return this._isPushed&&(pt=this._pushOverlayOnScreen(pt,this._overlayRect,ot)),Pt=this._isRtl()?"end"===ge.overlayX?"left":"right":"end"===ge.overlayX?"right":"left","right"===Pt?ze.right=this._document.documentElement.clientWidth-(pt.x+this._overlayRect.width)+"px":ze.left=(0,E.ph)(pt.x),ze}_getScrollVisibility(){const ge=this._getOriginRect(),Ve=this._pane.getBoundingClientRect(),ot=this._scrollables.map(ze=>ze.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:I(ge,ot),isOriginOutsideView:D(ge,ot),isOverlayClipped:I(Ve,ot),isOverlayOutsideView:D(Ve,ot)}}_subtractOverflows(ge,...Ve){return Ve.reduce((ot,ze)=>ot-Math.max(ze,0),ge)}_getNarrowedViewportRect(){const ge=this._document.documentElement.clientWidth,Ve=this._document.documentElement.clientHeight,ot=this._viewportRuler.getViewportScrollPosition();return{top:ot.top+this._viewportMargin,left:ot.left+this._viewportMargin,right:ot.left+ge-this._viewportMargin,bottom:ot.top+Ve-this._viewportMargin,width:ge-2*this._viewportMargin,height:Ve-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ge,Ve){return"x"===Ve?null==ge.offsetX?this._offsetX:ge.offsetX:null==ge.offsetY?this._offsetY:ge.offsetY}_validatePositions(){}_addPanelClasses(ge){this._pane&&(0,E.Mt)(ge).forEach(Ve=>{""!==Ve&&-1===this._appliedPanelClasses.indexOf(Ve)&&(this._appliedPanelClasses.push(Ve),this._pane.classList.add(Ve))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ge=>{this._pane.classList.remove(ge)}),this._appliedPanelClasses=[])}_getOriginRect(){const ge=this._origin;if(ge instanceof C.ElementRef)return ge.nativeElement.getBoundingClientRect();if(ge instanceof Element)return ge.getBoundingClientRect();const Ve=ge.width||0,ot=ge.height||0;return{top:ge.y,bottom:ge.y+ot,left:ge.x,right:ge.x+Ve,height:ot,width:Ve}}}function j(Xe,ge){for(let Ve in ge)ge.hasOwnProperty(Ve)&&(Xe[Ve]=ge[Ve]);return Xe}function le(Xe){if("number"!=typeof Xe&&null!=Xe){const[ge,Ve]=Xe.split(X);return Ve&&"px"!==Ve?null:parseFloat(ge)}return Xe||null}function ue(Xe){return{top:Math.floor(Xe.top),right:Math.floor(Xe.right),bottom:Math.floor(Xe.bottom),left:Math.floor(Xe.left),width:Math.floor(Xe.width),height:Math.floor(Xe.height)}}const _t="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(ge){const Ve=ge.getConfig();this._overlayRef=ge,this._width&&!Ve.width&&ge.updateSize({width:this._width}),this._height&&!Ve.height&&ge.updateSize({height:this._height}),ge.hostElement.classList.add(_t),this._isDisposed=!1}top(ge=""){return this._bottomOffset="",this._topOffset=ge,this._alignItems="flex-start",this}left(ge=""){return this._xOffset=ge,this._xPosition="left",this}bottom(ge=""){return this._topOffset="",this._bottomOffset=ge,this._alignItems="flex-end",this}right(ge=""){return this._xOffset=ge,this._xPosition="right",this}start(ge=""){return this._xOffset=ge,this._xPosition="start",this}end(ge=""){return this._xOffset=ge,this._xPosition="end",this}width(ge=""){return this._overlayRef?this._overlayRef.updateSize({width:ge}):this._width=ge,this}height(ge=""){return this._overlayRef?this._overlayRef.updateSize({height:ge}):this._height=ge,this}centerHorizontally(ge=""){return this.left(ge),this._xPosition="center",this}centerVertically(ge=""){return this.top(ge),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ge=this._overlayRef.overlayElement.style,Ve=this._overlayRef.hostElement.style,ot=this._overlayRef.getConfig(),{width:ze,height:pt,maxWidth:Pt,maxHeight:Gt}=ot,rn=!("100%"!==ze&&"100vw"!==ze||Pt&&"100%"!==Pt&&"100vw"!==Pt),on=!("100%"!==pt&&"100vh"!==pt||Gt&&"100%"!==Gt&&"100vh"!==Gt),tn=this._xPosition,gn=this._xOffset,Jt="rtl"===this._overlayRef.getConfig().direction;let an="",Ot="",Ut="";rn?Ut="flex-start":"center"===tn?(Ut="center",Jt?Ot=gn:an=gn):Jt?"left"===tn||"end"===tn?(Ut="flex-end",an=gn):("right"===tn||"start"===tn)&&(Ut="flex-start",Ot=gn):"left"===tn||"start"===tn?(Ut="flex-start",an=gn):("right"===tn||"end"===tn)&&(Ut="flex-end",Ot=gn),ge.position=this._cssPosition,ge.marginLeft=rn?"0":an,ge.marginTop=on?"0":this._topOffset,ge.marginBottom=this._bottomOffset,ge.marginRight=rn?"0":Ot,Ve.justifyContent=Ut,Ve.alignItems=on?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ge=this._overlayRef.overlayElement.style,Ve=this._overlayRef.hostElement,ot=Ve.style;Ve.classList.remove(_t),ot.justifyContent=ot.alignItems=ge.marginTop=ge.marginBottom=ge.marginLeft=ge.marginRight=ge.position="",this._overlayRef=null,this._isDisposed=!0}}let Ct=(()=>{class Xe{constructor(Ve,ot,ze,pt){this._viewportRuler=Ve,this._document=ot,this._platform=ze,this._overlayContainer=pt}global(){return new ct}flexibleConnectedTo(Ve){return new G(Ve,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275inject(t.S8),C.\u0275\u0275inject(v.DOCUMENT),C.\u0275\u0275inject(c.WU),C.\u0275\u0275inject(B))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),Re=0,ke=(()=>{class Xe{constructor(Ve,ot,ze,pt,Pt,Gt,rn,on,tn,gn,Jt,an){this.scrollStrategies=Ve,this._overlayContainer=ot,this._componentFactoryResolver=ze,this._positionBuilder=pt,this._keyboardDispatcher=Pt,this._injector=Gt,this._ngZone=rn,this._document=on,this._directionality=tn,this._location=gn,this._outsideClickDispatcher=Jt,this._animationsModuleType=an}create(Ve){const ot=this._createHostElement(),ze=this._createPaneElement(ot),pt=this._createPortalOutlet(ze),Pt=new N(Ve);return Pt.direction=Pt.direction||this._directionality.value,new H(pt,ot,ze,Pt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Ve){const ot=this._document.createElement("div");return ot.id="cdk-overlay-"+Re++,ot.classList.add("cdk-overlay-pane"),Ve.appendChild(ot),ot}_createHostElement(){const Ve=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Ve),Ve}_createPortalOutlet(Ve){return this._appRef||(this._appRef=this._injector.get(C.ApplicationRef)),new a.S4(Ve,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275inject(T),C.\u0275\u0275inject(B),C.\u0275\u0275inject(C.ComponentFactoryResolver),C.\u0275\u0275inject(Ct),C.\u0275\u0275inject(ee),C.\u0275\u0275inject(C.Injector),C.\u0275\u0275inject(C.NgZone),C.\u0275\u0275inject(v.DOCUMENT),C.\u0275\u0275inject(l.yG),C.\u0275\u0275inject(v.Location),C.\u0275\u0275inject(ne),C.\u0275\u0275inject(C.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();const pe=[{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"}],Qe=new C.InjectionToken("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const Xe=(0,C.inject)(ke);return()=>Xe.scrollStrategies.reposition()}});let Be=(()=>{class Xe{constructor(Ve){this.elementRef=Ve}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275directiveInject(C.ElementRef))};static#t=this.\u0275dir=C.\u0275\u0275defineDirective({type:Xe,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return Xe})(),Ie=(()=>{class Xe{get offsetX(){return this._offsetX}set offsetX(Ve){this._offsetX=Ve,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Ve){this._offsetY=Ve,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Ve){this._disposeOnNavigation=Ve}constructor(Ve,ot,ze,pt,Pt){this._overlay=Ve,this._dir=Pt,this._backdropSubscription=u.wH.EMPTY,this._attachSubscription=u.wH.EMPTY,this._detachSubscription=u.wH.EMPTY,this._positionSubscription=u.wH.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new C.EventEmitter,this.positionChange=new C.EventEmitter,this.attach=new C.EventEmitter,this.detach=new C.EventEmitter,this.overlayKeydown=new C.EventEmitter,this.overlayOutsideClick=new C.EventEmitter,this._templatePortal=new a.CC(ot,ze),this._scrollStrategyFactory=pt,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(Ve){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Ve.origin&&this.open&&this._position.apply()),Ve.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=pe);const Ve=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Ve.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Ve.detachments().subscribe(()=>this.detach.emit()),Ve.keydownEvents().subscribe(ot=>{this.overlayKeydown.next(ot),ot.keyCode===p.UX&&!this.disableClose&&!(0,p.Yp)(ot)&&(ot.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ot=>{this.overlayOutsideClick.next(ot)})}_buildConfig(){const Ve=this._position=this.positionStrategy||this._createPositionStrategy(),ot=new N({direction:this._dir,positionStrategy:Ve,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(ot.width=this.width),(this.height||0===this.height)&&(ot.height=this.height),(this.minWidth||0===this.minWidth)&&(ot.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ot.minHeight=this.minHeight),this.backdropClass&&(ot.backdropClass=this.backdropClass),this.panelClass&&(ot.panelClass=this.panelClass),ot}_updatePositionStrategy(Ve){const ot=this.positions.map(ze=>({originX:ze.originX,originY:ze.originY,overlayX:ze.overlayX,overlayY:ze.overlayY,offsetX:ze.offsetX||this.offsetX,offsetY:ze.offsetY||this.offsetY,panelClass:ze.panelClass||void 0}));return Ve.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ot).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Ve=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Ve),Ve}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Be?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(Ve=>{this.backdropClick.emit(Ve)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,d.w)(()=>this.positionChange.observers.length>0)).subscribe(Ve=>{this.positionChange.emit(Ve),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275directiveInject(ke),C.\u0275\u0275directiveInject(C.TemplateRef),C.\u0275\u0275directiveInject(C.ViewContainerRef),C.\u0275\u0275directiveInject(Qe),C.\u0275\u0275directiveInject(l.yG,8))};static#t=this.\u0275dir=C.\u0275\u0275defineDirective({type:Xe,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayOrigin","origin"],positions:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayWidth","width"],height:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayHeight","height"],minWidth:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayOpen","open"],disableClose:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",C.booleanAttribute],lockPosition:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",C.booleanAttribute],flexibleDimensions:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",C.booleanAttribute],growAfterOpen:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",C.booleanAttribute],push:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",C.booleanAttribute],disposeOnNavigation:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",C.booleanAttribute]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[C.\u0275\u0275InputTransformsFeature,C.\u0275\u0275NgOnChangesFeature]})}return Xe})();const q={provide:Qe,deps:[ke],useFactory:function je(Xe){return()=>Xe.scrollStrategies.reposition()}};let ye=(()=>{class Xe{static#e=this.\u0275fac=function(ot){return new(ot||Xe)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:Xe});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({providers:[ke,q],imports:[l.gN,a.g$,t.c$,t.c$]})}return Xe})()},5792:(De,te,g)=>{"use strict";g.d(te,{Av:()=>r,C8:()=>w,Ml:()=>_,W4:()=>a,WU:()=>E,Yx:()=>k,kk:()=>p,mU:()=>f,mW:()=>I,oZ:()=>D});var t=g(4496),v=g(1368);let C;try{C=typeof Intl<"u"&&Intl.v8BreakIterator}catch{C=!1}let b,E=(()=>{class O{constructor(N){this._platformId=N,this.isBrowser=this._platformId?(0,v.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&&!C)&&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}static#e=this.\u0275fac=function(S){return new(S||O)(t.\u0275\u0275inject(t.PLATFORM_ID))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})();const s=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function f(){if(b)return b;if("object"!=typeof document||!document)return b=new Set(s),b;let O=document.createElement("input");return b=new Set(s.filter(T=>(O.setAttribute("type",T),O.type===T))),b}let d;function a(O){return function l(){if(null==d&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?O:!!O.capture}var r=function(O){return O[O.NORMAL=0]="NORMAL",O[O.NEGATED=1]="NEGATED",O[O.INVERTED=2]="INVERTED",O}(r||{});let u,h,y;function p(){if(null==h){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return h=!1,h;if("scrollBehavior"in document.documentElement.style)h=!0;else{const O=Element.prototype.scrollTo;h=!!O&&!/\{\s*\[native code\]\s*\}/.test(O.toString())}}return h}function _(){if("object"!=typeof document||!document)return r.NORMAL;if(null==u){const O=document.createElement("div"),T=O.style;O.dir="rtl",T.width="1px",T.overflow="auto",T.visibility="hidden",T.pointerEvents="none",T.position="absolute";const N=document.createElement("div"),S=N.style;S.width="2px",S.height="1px",O.appendChild(N),document.body.appendChild(O),u=r.NORMAL,0===O.scrollLeft&&(O.scrollLeft=1,u=0===O.scrollLeft?r.NEGATED:r.INVERTED),O.remove()}return u}function w(O){if(function M(){if(null==y){const O=typeof document<"u"?document.head:null;y=!(!O||!O.createShadowRoot&&!O.attachShadow)}return y}()){const T=O.getRootNode?O.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&T instanceof ShadowRoot)return T}return null}function k(){let O=typeof document<"u"&&document?document.activeElement:null;for(;O&&O.shadowRoot;){const T=O.shadowRoot.activeElement;if(T===O)break;O=T}return O}function D(O){return O.composedPath?O.composedPath()[0]:O.target}function I(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},2488:(De,te,g)=>{"use strict";g.d(te,{CC:()=>a,IP:()=>w,KC:()=>l,S4:()=>p,YT:()=>y,g$:()=>D});var t=g(4496),v=g(1368);class d{attach(T){return this._attachedHost=T,T.attach(this)}detach(){let T=this._attachedHost;null!=T&&(this._attachedHost=null,T.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(T){this._attachedHost=T}}class l extends d{constructor(T,N,S,F,L){super(),this.component=T,this.viewContainerRef=N,this.injector=S,this.componentFactoryResolver=F,this.projectableNodes=L}}class a extends d{constructor(T,N,S,F){super(),this.templateRef=T,this.viewContainerRef=N,this.context=S,this.injector=F}get origin(){return this.templateRef.elementRef}attach(T,N=this.context){return this.context=N,super.attach(T)}detach(){return this.context=void 0,super.detach()}}class r extends d{constructor(T){super(),this.element=T instanceof t.ElementRef?T.nativeElement:T}}class u{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(T){return T instanceof l?(this._attachedPortal=T,this.attachComponentPortal(T)):T instanceof a?(this._attachedPortal=T,this.attachTemplatePortal(T)):this.attachDomPortal&&T instanceof r?(this._attachedPortal=T,this.attachDomPortal(T)):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(T){this._disposeFn=T}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class p extends u{constructor(T,N,S,F,L){super(),this.outletElement=T,this._componentFactoryResolver=N,this._appRef=S,this._defaultInjector=F,this.attachDomPortal=A=>{const U=A.element,K=this._document.createComment("dom-portal");U.parentNode.insertBefore(K,U),this.outletElement.appendChild(U),this._attachedPortal=A,super.setDisposeFn(()=>{K.parentNode&&K.parentNode.replaceChild(U,K)})},this._document=L}attachComponentPortal(T){const S=(T.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(T.component);let F;return T.viewContainerRef?(F=T.viewContainerRef.createComponent(S,T.viewContainerRef.length,T.injector||T.viewContainerRef.injector,T.projectableNodes||void 0),this.setDisposeFn(()=>F.destroy())):(F=S.create(T.injector||this._defaultInjector||t.Injector.NULL),this._appRef.attachView(F.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(F.hostView),F.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(F)),this._attachedPortal=T,F}attachTemplatePortal(T){let N=T.viewContainerRef,S=N.createEmbeddedView(T.templateRef,T.context,{injector:T.injector});return S.rootNodes.forEach(F=>this.outletElement.appendChild(F)),S.detectChanges(),this.setDisposeFn(()=>{let F=N.indexOf(S);-1!==F&&N.remove(F)}),this._attachedPortal=T,S}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(T){return T.hostView.rootNodes[0]}}let y=(()=>{class O extends a{constructor(N,S){super(N,S)}static#e=this.\u0275fac=function(S){return new(S||O)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.ViewContainerRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:O,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return O})(),w=(()=>{class O extends u{constructor(N,S,F){super(),this._componentFactoryResolver=N,this._viewContainerRef=S,this._isInitialized=!1,this.attached=new t.EventEmitter,this.attachDomPortal=L=>{const A=L.element,U=this._document.createComment("dom-portal");L.setAttachedHost(this),A.parentNode.insertBefore(U,A),this._getRootNode().appendChild(A),this._attachedPortal=L,super.setDisposeFn(()=>{U.parentNode&&U.parentNode.replaceChild(A,U)})},this._document=F}get portal(){return this._attachedPortal}set portal(N){this.hasAttached()&&!N&&!this._isInitialized||(this.hasAttached()&&super.detach(),N&&super.attach(N),this._attachedPortal=N||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(N){N.setAttachedHost(this);const S=null!=N.viewContainerRef?N.viewContainerRef:this._viewContainerRef,L=(N.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(N.component),A=S.createComponent(L,S.length,N.injector||S.injector,N.projectableNodes||void 0);return S!==this._viewContainerRef&&this._getRootNode().appendChild(A.hostView.rootNodes[0]),super.setDisposeFn(()=>A.destroy()),this._attachedPortal=N,this._attachedRef=A,this.attached.emit(A),A}attachTemplatePortal(N){N.setAttachedHost(this);const S=this._viewContainerRef.createEmbeddedView(N.templateRef,N.context,{injector:N.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=N,this._attachedRef=S,this.attached.emit(S),S}_getRootNode(){const N=this._viewContainerRef.element.nativeElement;return N.nodeType===N.ELEMENT_NODE?N:N.parentNode}static#e=this.\u0275fac=function(S){return new(S||O)(t.\u0275\u0275directiveInject(t.ComponentFactoryResolver),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(v.DOCUMENT))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:O,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[t.\u0275\u0275InputFlags.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return O})(),D=(()=>{class O{static#e=this.\u0275fac=function(S){return new(S||O)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:O});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return O})()},1904:(De,te,g)=>{"use strict";g.d(te,{Ci:()=>O,S8:()=>N,Yn:()=>I,c$:()=>z,uU:()=>H});var t=g(7712),v=g(4496),C=g(5657),E=g(2700),c=g(3252),b=g(800),d=(g(4096),g(1472),g(5524)),l=g(6684),a=g(3616),r=g(5792),u=g(1368),h=g(1900);let I=(()=>{class X{constructor(j,le,ue){this._ngZone=j,this._platform=le,this._scrolled=new C.E,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ue}register(j){this.scrollContainers.has(j)||this.scrollContainers.set(j,j.elementScrolled().subscribe(()=>this._scrolled.next(j)))}deregister(j){const le=this.scrollContainers.get(j);le&&(le.unsubscribe(),this.scrollContainers.delete(j))}scrolled(j=20){return this._platform.isBrowser?new c._(le=>{this._globalSubscription||this._addGlobalListener();const ue=j>0?this._scrolled.pipe((0,d.P)(j)).subscribe(le):this._scrolled.subscribe(le);return this._scrolledCount++,()=>{ue.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,E.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((j,le)=>this.deregister(le)),this._scrolled.complete()}ancestorScrolled(j,le){const ue=this.getAncestorScrollContainers(j);return this.scrolled(le).pipe((0,l.I)(ve=>!ve||ue.indexOf(ve)>-1))}getAncestorScrollContainers(j){const le=[];return this.scrollContainers.forEach((ue,ve)=>{this._scrollableContainsElement(ve,j)&&le.push(ve)}),le}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(j,le){let ue=(0,t.mk)(le),ve=j.getElementRef().nativeElement;do{if(ue==ve)return!0}while(ue=ue.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const j=this._getWindow();return(0,b.w)(j.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(le){return new(le||X)(v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(r.WU),v.\u0275\u0275inject(u.DOCUMENT,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})(),O=(()=>{class X{constructor(j,le,ue,ve){this.elementRef=j,this.scrollDispatcher=le,this.ngZone=ue,this.dir=ve,this._destroyed=new C.E,this._elementScrolled=new c._(Je=>this.ngZone.runOutsideAngular(()=>(0,b.w)(this.elementRef.nativeElement,"scroll").pipe((0,a.a)(this._destroyed)).subscribe(Je)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(j){const le=this.elementRef.nativeElement,ue=this.dir&&"rtl"==this.dir.value;null==j.left&&(j.left=ue?j.end:j.start),null==j.right&&(j.right=ue?j.start:j.end),null!=j.bottom&&(j.top=le.scrollHeight-le.clientHeight-j.bottom),ue&&(0,r.Ml)()!=r.Av.NORMAL?(null!=j.left&&(j.right=le.scrollWidth-le.clientWidth-j.left),(0,r.Ml)()==r.Av.INVERTED?j.left=j.right:(0,r.Ml)()==r.Av.NEGATED&&(j.left=j.right?-j.right:j.right)):null!=j.right&&(j.left=le.scrollWidth-le.clientWidth-j.right),this._applyScrollToOptions(j)}_applyScrollToOptions(j){const le=this.elementRef.nativeElement;(0,r.kk)()?le.scrollTo(j):(null!=j.top&&(le.scrollTop=j.top),null!=j.left&&(le.scrollLeft=j.left))}measureScrollOffset(j){const le="left",ve=this.elementRef.nativeElement;if("top"==j)return ve.scrollTop;if("bottom"==j)return ve.scrollHeight-ve.clientHeight-ve.scrollTop;const Je=this.dir&&"rtl"==this.dir.value;return"start"==j?j=Je?"right":le:"end"==j&&(j=Je?le:"right"),Je&&(0,r.Ml)()==r.Av.INVERTED?j==le?ve.scrollWidth-ve.clientWidth-ve.scrollLeft:ve.scrollLeft:Je&&(0,r.Ml)()==r.Av.NEGATED?j==le?ve.scrollLeft+ve.scrollWidth-ve.clientWidth:-ve.scrollLeft:j==le?ve.scrollLeft:ve.scrollWidth-ve.clientWidth-ve.scrollLeft}static#e=this.\u0275fac=function(le){return new(le||X)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(I),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(h.yG,8))};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:X,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return X})(),N=(()=>{class X{constructor(j,le,ue){this._platform=j,this._change=new C.E,this._changeListener=ve=>{this._change.next(ve)},this._document=ue,le.runOutsideAngular(()=>{if(j.isBrowser){const ve=this._getWindow();ve.addEventListener("resize",this._changeListener),ve.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const j=this._getWindow();j.removeEventListener("resize",this._changeListener),j.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const j={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),j}getViewportRect(){const j=this.getViewportScrollPosition(),{width:le,height:ue}=this.getViewportSize();return{top:j.top,left:j.left,bottom:j.top+ue,right:j.left+le,height:ue,width:le}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const j=this._document,le=this._getWindow(),ue=j.documentElement,ve=ue.getBoundingClientRect();return{top:-ve.top||j.body.scrollTop||le.scrollY||ue.scrollTop||0,left:-ve.left||j.body.scrollLeft||le.scrollX||ue.scrollLeft||0}}change(j=20){return j>0?this._change.pipe((0,d.P)(j)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const j=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:j.innerWidth,height:j.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(le){return new(le||X)(v.\u0275\u0275inject(r.WU),v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(u.DOCUMENT,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})(),H=(()=>{class X{static#e=this.\u0275fac=function(le){return new(le||X)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:X});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({})}return X})(),z=(()=>{class X{static#e=this.\u0275fac=function(le){return new(le||X)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:X});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({imports:[h.gN,H,h.gN,H]})}return X})()},1368:(De,te,g)=>{"use strict";g.r(te),g.d(te,{APP_BASE_HREF:()=>p,AsyncPipe:()=>Qn,BrowserPlatformLocation:()=>l,CommonModule:()=>Ar,CurrencyPipe:()=>Hi,DATE_PIPE_DEFAULT_OPTIONS:()=>Ki,DATE_PIPE_DEFAULT_TIMEZONE:()=>Oi,DOCUMENT:()=>s,DatePipe:()=>nr,DecimalPipe:()=>hr,FormStyle:()=>S,FormatWidth:()=>L,HashLocationStrategy:()=>y,I18nPluralPipe:()=>un,I18nSelectPipe:()=>En,IMAGE_CONFIG:()=>t.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>Or,JsonPipe:()=>ci,KeyValuePipe:()=>Ui,LOCATION_INITIALIZED:()=>d,Location:()=>M,LocationStrategy:()=>h,LowerCasePipe:()=>ui,NgClass:()=>Ae,NgComponentOutlet:()=>_e,NgFor:()=>he,NgForOf:()=>he,NgForOfContext:()=>V,NgIf:()=>wt,NgIfContext:()=>Yt,NgLocaleLocalization:()=>rr,NgLocalization:()=>mi,NgOptimizedImage:()=>Ls,NgPlural:()=>Wi,NgPluralCase:()=>Ai,NgStyle:()=>Gi,NgSwitch:()=>vn,NgSwitchCase:()=>oi,NgSwitchDefault:()=>tr,NgTemplateOutlet:()=>or,NumberFormatStyle:()=>T,NumberSymbol:()=>A,PRECONNECT_CHECK_BLOCKLIST:()=>Xr,PathLocationStrategy:()=>_,PercentPipe:()=>di,PlatformLocation:()=>f,Plural:()=>N,SlicePipe:()=>Sr,TitleCasePipe:()=>pn,TranslationWidth:()=>F,UpperCasePipe:()=>Nn,VERSION:()=>en,ViewportScroller:()=>Zt,WeekDay:()=>U,XhrFactory:()=>gi,formatCurrency:()=>fn,formatDate:()=>Pt,formatNumber:()=>An,formatPercent:()=>ln,getCurrencySymbol:()=>q,getLocaleCurrencyCode:()=>ct,getLocaleCurrencyName:()=>_t,getLocaleCurrencySymbol:()=>Je,getLocaleDateFormat:()=>G,getLocaleDateTimeFormat:()=>le,getLocaleDayNames:()=>ne,getLocaleDayPeriods:()=>ee,getLocaleDirection:()=>Be,getLocaleEraNames:()=>H,getLocaleExtraDayPeriodRules:()=>pe,getLocaleExtraDayPeriods:()=>Qe,getLocaleFirstDayOfWeek:()=>z,getLocaleId:()=>K,getLocaleMonthNames:()=>B,getLocaleNumberFormat:()=>ve,getLocaleNumberSymbol:()=>ue,getLocalePluralCase:()=>Re,getLocaleTimeFormat:()=>j,getLocaleWeekEndRange:()=>X,getNumberOfCurrencyDigits:()=>Oe,isPlatformBrowser:()=>It,isPlatformServer:()=>St,isPlatformWorkerApp:()=>Ft,isPlatformWorkerUi:()=>jt,provideCloudflareLoader:()=>Cr,provideCloudinaryLoader:()=>os,provideImageKitLoader:()=>we,provideImgixLoader:()=>wn,provideNetlifyLoader:()=>Uo,registerLocaleData:()=>se,\u0275DomAdapter:()=>c,\u0275NullViewportScroller:()=>On,\u0275PLATFORM_BROWSER_ID:()=>hi,\u0275PLATFORM_SERVER_ID:()=>kr,\u0275PLATFORM_WORKER_APP_ID:()=>Mt,\u0275PLATFORM_WORKER_UI_ID:()=>yt,\u0275PlatformNavigation:()=>b,\u0275getDOM:()=>C,\u0275normalizeQueryParams:()=>u,\u0275parseCookieValue:()=>at,\u0275setRootDomAdapter:()=>E});var t=g(4496);let v=null;function C(){return v}function E(Q){v??=Q}class c{}let b=(()=>{class Q{static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:()=>window.navigation,providedIn:"platform"})}return Q})();const s=new t.InjectionToken("");let f=(()=>{class Q{historyGo(oe){throw new Error("")}static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:()=>(0,t.inject)(l),providedIn:"platform"})}return Q})();const d=new t.InjectionToken("");let l=(()=>{class Q extends f{constructor(){super(),this._doc=(0,t.inject)(s),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return C().getBaseHref(this._doc)}onPopState(oe){const be=C().getGlobalEventTarget(this._doc,"window");return be.addEventListener("popstate",oe,!1),()=>be.removeEventListener("popstate",oe)}onHashChange(oe){const be=C().getGlobalEventTarget(this._doc,"window");return be.addEventListener("hashchange",oe,!1),()=>be.removeEventListener("hashchange",oe)}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(oe){this._location.pathname=oe}pushState(oe,be,ut){this._history.pushState(oe,be,ut)}replaceState(oe,be,ut){this._history.replaceState(oe,be,ut)}forward(){this._history.forward()}back(){this._history.back()}historyGo(oe=0){this._history.go(oe)}getState(){return this._history.state}static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:()=>new Q,providedIn:"platform"})}return Q})();function a(Q,Ue){if(0==Q.length)return Ue;if(0==Ue.length)return Q;let oe=0;return Q.endsWith("/")&&oe++,Ue.startsWith("/")&&oe++,2==oe?Q+Ue.substring(1):1==oe?Q+Ue:Q+"/"+Ue}function r(Q){const Ue=Q.match(/#|\?|$/),oe=Ue&&Ue.index||Q.length;return Q.slice(0,oe-("/"===Q[oe-1]?1:0))+Q.slice(oe)}function u(Q){return Q&&"?"!==Q[0]?"?"+Q:Q}let h=(()=>{class Q{historyGo(oe){throw new Error("")}static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:()=>(0,t.inject)(_),providedIn:"root"})}return Q})();const p=new t.InjectionToken("");let _=(()=>{class Q extends h{constructor(oe,be){super(),this._platformLocation=oe,this._removeListenerFns=[],this._baseHref=be??this._platformLocation.getBaseHrefFromDOM()??(0,t.inject)(s).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(oe){this._removeListenerFns.push(this._platformLocation.onPopState(oe),this._platformLocation.onHashChange(oe))}getBaseHref(){return this._baseHref}prepareExternalUrl(oe){return a(this._baseHref,oe)}path(oe=!1){const be=this._platformLocation.pathname+u(this._platformLocation.search),ut=this._platformLocation.hash;return ut&&oe?`${be}${ut}`:be}pushState(oe,be,ut,$t){const Qt=this.prepareExternalUrl(ut+u($t));this._platformLocation.pushState(oe,be,Qt)}replaceState(oe,be,ut,$t){const Qt=this.prepareExternalUrl(ut+u($t));this._platformLocation.replaceState(oe,be,Qt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(oe=0){this._platformLocation.historyGo?.(oe)}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275inject(f),t.\u0275\u0275inject(p,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})(),y=(()=>{class Q extends h{constructor(oe,be){super(),this._platformLocation=oe,this._baseHref="",this._removeListenerFns=[],null!=be&&(this._baseHref=be)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(oe){this._removeListenerFns.push(this._platformLocation.onPopState(oe),this._platformLocation.onHashChange(oe))}getBaseHref(){return this._baseHref}path(oe=!1){const be=this._platformLocation.hash??"#";return be.length>0?be.substring(1):be}prepareExternalUrl(oe){const be=a(this._baseHref,oe);return be.length>0?"#"+be:be}pushState(oe,be,ut,$t){let Qt=this.prepareExternalUrl(ut+u($t));0==Qt.length&&(Qt=this._platformLocation.pathname),this._platformLocation.pushState(oe,be,Qt)}replaceState(oe,be,ut,$t){let Qt=this.prepareExternalUrl(ut+u($t));0==Qt.length&&(Qt=this._platformLocation.pathname),this._platformLocation.replaceState(oe,be,Qt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(oe=0){this._platformLocation.historyGo?.(oe)}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275inject(f),t.\u0275\u0275inject(p,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac})}return Q})(),M=(()=>{class Q{constructor(oe){this._subject=new t.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=oe;const be=this._locationStrategy.getBaseHref();this._basePath=function I(Q){if(new RegExp("^(https?:)?//").test(Q)){const[,oe]=Q.split(/\/\/[^\/]+/);return oe}return Q}(r(D(be))),this._locationStrategy.onPopState(ut=>{this._subject.emit({url:this.path(!0),pop:!0,state:ut.state,type:ut.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(oe=!1){return this.normalize(this._locationStrategy.path(oe))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(oe,be=""){return this.path()==this.normalize(oe+u(be))}normalize(oe){return Q.stripTrailingSlash(function k(Q,Ue){if(!Q||!Ue.startsWith(Q))return Ue;const oe=Ue.substring(Q.length);return""===oe||["/",";","?","#"].includes(oe[0])?oe:Ue}(this._basePath,D(oe)))}prepareExternalUrl(oe){return oe&&"/"!==oe[0]&&(oe="/"+oe),this._locationStrategy.prepareExternalUrl(oe)}go(oe,be="",ut=null){this._locationStrategy.pushState(ut,"",oe,be),this._notifyUrlChangeListeners(this.prepareExternalUrl(oe+u(be)),ut)}replaceState(oe,be="",ut=null){this._locationStrategy.replaceState(ut,"",oe,be),this._notifyUrlChangeListeners(this.prepareExternalUrl(oe+u(be)),ut)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(oe=0){this._locationStrategy.historyGo?.(oe)}onUrlChange(oe){return this._urlChangeListeners.push(oe),this._urlChangeSubscription??=this.subscribe(be=>{this._notifyUrlChangeListeners(be.url,be.state)}),()=>{const be=this._urlChangeListeners.indexOf(oe);this._urlChangeListeners.splice(be,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(oe="",be){this._urlChangeListeners.forEach(ut=>ut(oe,be))}subscribe(oe,be,ut){return this._subject.subscribe({next:oe,error:be,complete:ut})}static#e=this.normalizeQueryParams=u;static#t=this.joinWithSlash=a;static#n=this.stripTrailingSlash=r;static#i=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275inject(h))};static#r=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:()=>function w(){return new M((0,t.\u0275\u0275inject)(h))}(),providedIn:"root"})}return Q})();function D(Q){return Q.replace(/\/index.html$/,"")}const O={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 T=function(Q){return Q[Q.Decimal=0]="Decimal",Q[Q.Percent=1]="Percent",Q[Q.Currency=2]="Currency",Q[Q.Scientific=3]="Scientific",Q}(T||{}),N=function(Q){return Q[Q.Zero=0]="Zero",Q[Q.One=1]="One",Q[Q.Two=2]="Two",Q[Q.Few=3]="Few",Q[Q.Many=4]="Many",Q[Q.Other=5]="Other",Q}(N||{}),S=function(Q){return Q[Q.Format=0]="Format",Q[Q.Standalone=1]="Standalone",Q}(S||{}),F=function(Q){return Q[Q.Narrow=0]="Narrow",Q[Q.Abbreviated=1]="Abbreviated",Q[Q.Wide=2]="Wide",Q[Q.Short=3]="Short",Q}(F||{}),L=function(Q){return Q[Q.Short=0]="Short",Q[Q.Medium=1]="Medium",Q[Q.Long=2]="Long",Q[Q.Full=3]="Full",Q}(L||{}),A=function(Q){return Q[Q.Decimal=0]="Decimal",Q[Q.Group=1]="Group",Q[Q.List=2]="List",Q[Q.PercentSign=3]="PercentSign",Q[Q.PlusSign=4]="PlusSign",Q[Q.MinusSign=5]="MinusSign",Q[Q.Exponential=6]="Exponential",Q[Q.SuperscriptingExponent=7]="SuperscriptingExponent",Q[Q.PerMille=8]="PerMille",Q[Q.Infinity=9]="Infinity",Q[Q.NaN=10]="NaN",Q[Q.TimeSeparator=11]="TimeSeparator",Q[Q.CurrencyDecimal=12]="CurrencyDecimal",Q[Q.CurrencyGroup=13]="CurrencyGroup",Q}(A||{}),U=function(Q){return Q[Q.Sunday=0]="Sunday",Q[Q.Monday=1]="Monday",Q[Q.Tuesday=2]="Tuesday",Q[Q.Wednesday=3]="Wednesday",Q[Q.Thursday=4]="Thursday",Q[Q.Friday=5]="Friday",Q[Q.Saturday=6]="Saturday",Q}(U||{});function K(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.LocaleId]}function ee(Q,Ue,oe){const be=(0,t.\u0275findLocaleData)(Q),$t=Ie([be[t.\u0275LocaleDataIndex.DayPeriodsFormat],be[t.\u0275LocaleDataIndex.DayPeriodsStandalone]],Ue);return Ie($t,oe)}function ne(Q,Ue,oe){const be=(0,t.\u0275findLocaleData)(Q),$t=Ie([be[t.\u0275LocaleDataIndex.DaysFormat],be[t.\u0275LocaleDataIndex.DaysStandalone]],Ue);return Ie($t,oe)}function B(Q,Ue,oe){const be=(0,t.\u0275findLocaleData)(Q),$t=Ie([be[t.\u0275LocaleDataIndex.MonthsFormat],be[t.\u0275LocaleDataIndex.MonthsStandalone]],Ue);return Ie($t,oe)}function H(Q,Ue){return Ie((0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.Eras],Ue)}function z(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.FirstDayOfWeek]}function X(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.WeekendRange]}function G(Q,Ue){return Ie((0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.DateFormat],Ue)}function j(Q,Ue){return Ie((0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.TimeFormat],Ue)}function le(Q,Ue){return Ie((0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.DateTimeFormat],Ue)}function ue(Q,Ue){const oe=(0,t.\u0275findLocaleData)(Q),be=oe[t.\u0275LocaleDataIndex.NumberSymbols][Ue];if(typeof be>"u"){if(Ue===A.CurrencyDecimal)return oe[t.\u0275LocaleDataIndex.NumberSymbols][A.Decimal];if(Ue===A.CurrencyGroup)return oe[t.\u0275LocaleDataIndex.NumberSymbols][A.Group]}return be}function ve(Q,Ue){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.NumberFormats][Ue]}function Je(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.CurrencySymbol]||null}function _t(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.CurrencyName]||null}function ct(Q){return(0,t.\u0275getLocaleCurrencyCode)(Q)}const Re=t.\u0275getLocalePluralCase;function ke(Q){if(!Q[t.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${Q[t.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function pe(Q){const Ue=(0,t.\u0275findLocaleData)(Q);return ke(Ue),(Ue[t.\u0275LocaleDataIndex.ExtraData][2]||[]).map(be=>"string"==typeof be?je(be):[je(be[0]),je(be[1])])}function Qe(Q,Ue,oe){const be=(0,t.\u0275findLocaleData)(Q);ke(be);const $t=Ie([be[t.\u0275LocaleDataIndex.ExtraData][0],be[t.\u0275LocaleDataIndex.ExtraData][1]],Ue)||[];return Ie($t,oe)||[]}function Be(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.Directionality]}function Ie(Q,Ue){for(let oe=Ue;oe>-1;oe--)if(typeof Q[oe]<"u")return Q[oe];throw new Error("Locale data API: locale data undefined")}function je(Q){const[Ue,oe]=Q.split(":");return{hours:+Ue,minutes:+oe}}function q(Q,Ue,oe="en"){const be=function Ct(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.Currencies]}(oe)[Q]||O[Q]||[],ut=be[1];return"narrow"===Ue&&"string"==typeof ut?ut:be[0]||Q}const ye=2;function Oe(Q){let Ue;const oe=O[Q];return oe&&(Ue=oe[2]),"number"==typeof Ue?Ue:ye}const Xe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ge={},Ve=/((?:[^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 ot=function(Q){return Q[Q.Short=0]="Short",Q[Q.ShortGMT=1]="ShortGMT",Q[Q.Long=2]="Long",Q[Q.Extended=3]="Extended",Q}(ot||{}),ze=function(Q){return Q[Q.FullYear=0]="FullYear",Q[Q.Month=1]="Month",Q[Q.Date=2]="Date",Q[Q.Hours=3]="Hours",Q[Q.Minutes=4]="Minutes",Q[Q.Seconds=5]="Seconds",Q[Q.FractionalSeconds=6]="FractionalSeconds",Q[Q.Day=7]="Day",Q}(ze||{}),pt=function(Q){return Q[Q.DayPeriods=0]="DayPeriods",Q[Q.Days=1]="Days",Q[Q.Months=2]="Months",Q[Q.Eras=3]="Eras",Q}(pt||{});function Pt(Q,Ue,oe,be){let ut=function Me(Q){if(Ge(Q))return Q;if("number"==typeof Q&&!isNaN(Q))return new Date(Q);if("string"==typeof Q){if(Q=Q.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Q)){const[ut,$t=1,Qt=1]=Q.split("-").map(bn=>+bn);return Gt(ut,$t-1,Qt)}const oe=parseFloat(Q);if(!isNaN(Q-oe))return new Date(oe);let be;if(be=Q.match(Xe))return function $e(Q){const Ue=new Date(0);let oe=0,be=0;const ut=Q[8]?Ue.setUTCFullYear:Ue.setFullYear,$t=Q[8]?Ue.setUTCHours:Ue.setHours;Q[9]&&(oe=Number(Q[9]+Q[10]),be=Number(Q[9]+Q[11])),ut.call(Ue,Number(Q[1]),Number(Q[2])-1,Number(Q[3]));const Qt=Number(Q[4]||0)-oe,bn=Number(Q[5]||0)-be,Ri=Number(Q[6]||0),Jn=Math.floor(1e3*parseFloat("0."+(Q[7]||0)));return $t.call(Ue,Qt,bn,Ri,Jn),Ue}(be)}const Ue=new Date(Q);if(!Ge(Ue))throw new Error(`Unable to convert "${Q}" into a date`);return Ue}(Q);Ue=rn(oe,Ue)||Ue;let bn,Qt=[];for(;Ue;){if(bn=Ve.exec(Ue),!bn){Qt.push(Ue);break}{Qt=Qt.concat(bn.slice(1));const Li=Qt.pop();if(!Li)break;Ue=Li}}let Ri=ut.getTimezoneOffset();be&&(Ri=Te(be,Ri),ut=function bt(Q,Ue,oe){const be=oe?-1:1,ut=Q.getTimezoneOffset();return function Pe(Q,Ue){return(Q=new Date(Q.getTime())).setMinutes(Q.getMinutes()+Ue),Q}(Q,be*(Te(Ue,ut)-ut))}(ut,be,!0));let Jn="";return Qt.forEach(Li=>{const qn=function st(Q){if(He[Q])return He[Q];let Ue;switch(Q){case"G":case"GG":case"GGG":Ue=Ot(pt.Eras,F.Abbreviated);break;case"GGGG":Ue=Ot(pt.Eras,F.Wide);break;case"GGGGG":Ue=Ot(pt.Eras,F.Narrow);break;case"y":Ue=Jt(ze.FullYear,1,0,!1,!0);break;case"yy":Ue=Jt(ze.FullYear,2,0,!0,!0);break;case"yyy":Ue=Jt(ze.FullYear,3,0,!1,!0);break;case"yyyy":Ue=Jt(ze.FullYear,4,0,!1,!0);break;case"Y":Ue=Le(1);break;case"YY":Ue=Le(2,!0);break;case"YYY":Ue=Le(3);break;case"YYYY":Ue=Le(4);break;case"M":case"L":Ue=Jt(ze.Month,1,1);break;case"MM":case"LL":Ue=Jt(ze.Month,2,1);break;case"MMM":Ue=Ot(pt.Months,F.Abbreviated);break;case"MMMM":Ue=Ot(pt.Months,F.Wide);break;case"MMMMM":Ue=Ot(pt.Months,F.Narrow);break;case"LLL":Ue=Ot(pt.Months,F.Abbreviated,S.Standalone);break;case"LLLL":Ue=Ot(pt.Months,F.Wide,S.Standalone);break;case"LLLLL":Ue=Ot(pt.Months,F.Narrow,S.Standalone);break;case"w":Ue=vt(1);break;case"ww":Ue=vt(2);break;case"W":Ue=vt(1,!0);break;case"d":Ue=Jt(ze.Date,1);break;case"dd":Ue=Jt(ze.Date,2);break;case"c":case"cc":Ue=Jt(ze.Day,1);break;case"ccc":Ue=Ot(pt.Days,F.Abbreviated,S.Standalone);break;case"cccc":Ue=Ot(pt.Days,F.Wide,S.Standalone);break;case"ccccc":Ue=Ot(pt.Days,F.Narrow,S.Standalone);break;case"cccccc":Ue=Ot(pt.Days,F.Short,S.Standalone);break;case"E":case"EE":case"EEE":Ue=Ot(pt.Days,F.Abbreviated);break;case"EEEE":Ue=Ot(pt.Days,F.Wide);break;case"EEEEE":Ue=Ot(pt.Days,F.Narrow);break;case"EEEEEE":Ue=Ot(pt.Days,F.Short);break;case"a":case"aa":case"aaa":Ue=Ot(pt.DayPeriods,F.Abbreviated);break;case"aaaa":Ue=Ot(pt.DayPeriods,F.Wide);break;case"aaaaa":Ue=Ot(pt.DayPeriods,F.Narrow);break;case"b":case"bb":case"bbb":Ue=Ot(pt.DayPeriods,F.Abbreviated,S.Standalone,!0);break;case"bbbb":Ue=Ot(pt.DayPeriods,F.Wide,S.Standalone,!0);break;case"bbbbb":Ue=Ot(pt.DayPeriods,F.Narrow,S.Standalone,!0);break;case"B":case"BB":case"BBB":Ue=Ot(pt.DayPeriods,F.Abbreviated,S.Format,!0);break;case"BBBB":Ue=Ot(pt.DayPeriods,F.Wide,S.Format,!0);break;case"BBBBB":Ue=Ot(pt.DayPeriods,F.Narrow,S.Format,!0);break;case"h":Ue=Jt(ze.Hours,1,-12);break;case"hh":Ue=Jt(ze.Hours,2,-12);break;case"H":Ue=Jt(ze.Hours,1);break;case"HH":Ue=Jt(ze.Hours,2);break;case"m":Ue=Jt(ze.Minutes,1);break;case"mm":Ue=Jt(ze.Minutes,2);break;case"s":Ue=Jt(ze.Seconds,1);break;case"ss":Ue=Jt(ze.Seconds,2);break;case"S":Ue=Jt(ze.FractionalSeconds,1);break;case"SS":Ue=Jt(ze.FractionalSeconds,2);break;case"SSS":Ue=Jt(ze.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ue=xe(ot.Short);break;case"ZZZZZ":Ue=xe(ot.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ue=xe(ot.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ue=xe(ot.Long);break;default:return null}return He[Q]=Ue,Ue}(Li);Jn+=qn?qn(ut,oe,Ri):"''"===Li?"'":Li.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Jn}function Gt(Q,Ue,oe){const be=new Date(0);return be.setFullYear(Q,Ue,oe),be.setHours(0,0,0),be}function rn(Q,Ue){const oe=K(Q);if(ge[oe]??={},ge[oe][Ue])return ge[oe][Ue];let be="";switch(Ue){case"shortDate":be=G(Q,L.Short);break;case"mediumDate":be=G(Q,L.Medium);break;case"longDate":be=G(Q,L.Long);break;case"fullDate":be=G(Q,L.Full);break;case"shortTime":be=j(Q,L.Short);break;case"mediumTime":be=j(Q,L.Medium);break;case"longTime":be=j(Q,L.Long);break;case"fullTime":be=j(Q,L.Full);break;case"short":const ut=rn(Q,"shortTime"),$t=rn(Q,"shortDate");be=on(le(Q,L.Short),[ut,$t]);break;case"medium":const Qt=rn(Q,"mediumTime"),bn=rn(Q,"mediumDate");be=on(le(Q,L.Medium),[Qt,bn]);break;case"long":const Ri=rn(Q,"longTime"),Jn=rn(Q,"longDate");be=on(le(Q,L.Long),[Ri,Jn]);break;case"full":const Li=rn(Q,"fullTime"),qn=rn(Q,"fullDate");be=on(le(Q,L.Full),[Li,qn])}return be&&(ge[oe][Ue]=be),be}function on(Q,Ue){return Ue&&(Q=Q.replace(/\{([^}]+)}/g,function(oe,be){return null!=Ue&&be in Ue?Ue[be]:oe})),Q}function tn(Q,Ue,oe="-",be,ut){let $t="";(Q<0||ut&&Q<=0)&&(ut?Q=1-Q:(Q=-Q,$t=oe));let Qt=String(Q);for(;Qt.length0||bn>-oe)&&(bn+=oe),Q===ze.Hours)0===bn&&-12===oe&&(bn=12);else if(Q===ze.FractionalSeconds)return function gn(Q,Ue){return tn(Q,3).substring(0,Ue)}(bn,Ue);const Ri=ue(Qt,A.MinusSign);return tn(bn,Ue,Ri,be,ut)}}function Ot(Q,Ue,oe=S.Format,be=!1){return function(ut,$t){return function Ut(Q,Ue,oe,be,ut,$t){switch(oe){case pt.Months:return B(Ue,ut,be)[Q.getMonth()];case pt.Days:return ne(Ue,ut,be)[Q.getDay()];case pt.DayPeriods:const Qt=Q.getHours(),bn=Q.getMinutes();if($t){const Jn=pe(Ue),Li=Qe(Ue,ut,be),qn=Jn.findIndex(Ci=>{if(Array.isArray(Ci)){const[wi,er]=Ci,Pr=Qt>=wi.hours&&bn>=wi.minutes,Nr=Qt0?Math.floor(ut/60):Math.ceil(ut/60);switch(Q){case ot.Short:return(ut>=0?"+":"")+tn(Qt,2,$t)+tn(Math.abs(ut%60),2,$t);case ot.ShortGMT:return"GMT"+(ut>=0?"+":"")+tn(Qt,1,$t);case ot.Long:return"GMT"+(ut>=0?"+":"")+tn(Qt,2,$t)+":"+tn(Math.abs(ut%60),2,$t);case ot.Extended:return 0===be?"Z":(ut>=0?"+":"")+tn(Qt,2,$t)+":"+tn(Math.abs(ut%60),2,$t);default:throw new Error(`Unknown zone width "${Q}"`)}}}const rt=0,lt=4;function nt(Q){const Ue=Q.getDay(),oe=0===Ue?-3:lt-Ue;return Gt(Q.getFullYear(),Q.getMonth(),Q.getDate()+oe)}function vt(Q,Ue=!1){return function(oe,be){let ut;if(Ue){const $t=new Date(oe.getFullYear(),oe.getMonth(),1).getDay()-1,Qt=oe.getDate();ut=1+Math.floor((Qt+$t)/7)}else{const $t=nt(oe),Qt=function At(Q){const Ue=Gt(Q,rt,1).getDay();return Gt(Q,0,1+(Ue<=lt?lt:lt+7)-Ue)}($t.getFullYear()),bn=$t.getTime()-Qt.getTime();ut=1+Math.round(bn/6048e5)}return tn(ut,Q,ue(be,A.MinusSign))}}function Le(Q,Ue=!1){return function(oe,be){return tn(nt(oe).getFullYear(),Q,ue(be,A.MinusSign),Ue)}}const He={};function Te(Q,Ue){Q=Q.replace(/:/g,"");const oe=Date.parse("Jan 01, 1970 00:00:00 "+Q)/6e4;return isNaN(oe)?Ue:oe}function Ge(Q){return Q instanceof Date&&!isNaN(Q.valueOf())}const kt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,dt=22,xt=".",qe="0",Fe=";",et=",",Ke="#",ft="\xa4",Bt="%";function qt(Q,Ue,oe,be,ut,$t,Qt=!1){let bn="",Ri=!1;if(isFinite(Q)){let Jn=function Fi(Q){let be,ut,$t,Qt,bn,Ue=Math.abs(Q)+"",oe=0;for((ut=Ue.indexOf(xt))>-1&&(Ue=Ue.replace(xt,"")),($t=Ue.search(/e/i))>0?(ut<0&&(ut=$t),ut+=+Ue.slice($t+1),Ue=Ue.substring(0,$t)):ut<0&&(ut=Ue.length),$t=0;Ue.charAt($t)===qe;$t++);if($t===(bn=Ue.length))be=[0],ut=1;else{for(bn--;Ue.charAt(bn)===qe;)bn--;for(ut-=$t,be=[],Qt=0;$t<=bn;$t++,Qt++)be[Qt]=Number(Ue.charAt($t))}return ut>dt&&(be=be.splice(0,dt-1),oe=ut-1,ut=1),{digits:be,exponent:oe,integerLen:ut}}(Q);Qt&&(Jn=function Si(Q){if(0===Q.digits[0])return Q;const Ue=Q.digits.length-Q.integerLen;return Q.exponent?Q.exponent+=2:(0===Ue?Q.digits.push(0,0):1===Ue&&Q.digits.push(0),Q.integerLen+=2),Q}(Jn));let Li=Ue.minInt,qn=Ue.minFrac,Ci=Ue.maxFrac;if($t){const Gr=$t.match(kt);if(null===Gr)throw new Error(`${$t} is not a valid digit info`);const zi=Gr[1],mr=Gr[3],_i=Gr[5];null!=zi&&(Li=Ji(zi)),null!=mr&&(qn=Ji(mr)),null!=_i?Ci=Ji(_i):null!=mr&&qn>Ci&&(Ci=qn)}!function si(Q,Ue,oe){if(Ue>oe)throw new Error(`The minimum number of digits after fraction (${Ue}) is higher than the maximum (${oe}).`);let be=Q.digits,ut=be.length-Q.integerLen;const $t=Math.min(Math.max(Ue,ut),oe);let Qt=$t+Q.integerLen,bn=be[Qt];if(Qt>0){be.splice(Math.max(Q.integerLen,Qt));for(let qn=Qt;qn=5)if(Qt-1<0){for(let qn=0;qn>Qt;qn--)be.unshift(0),Q.integerLen++;be.unshift(1),Q.integerLen++}else be[Qt-1]++;for(;ut=Jn?er.pop():Ri=!1),Ci>=10?1:0},0);Li&&(be.unshift(Li),Q.integerLen++)}(Jn,qn,Ci);let wi=Jn.digits,er=Jn.integerLen;const Pr=Jn.exponent;let Nr=[];for(Ri=wi.every(Gr=>!Gr);er0?Nr=wi.splice(er,wi.length):(Nr=wi,wi=[0]);const es=[];for(wi.length>=Ue.lgSize&&es.unshift(wi.splice(-Ue.lgSize,wi.length).join(""));wi.length>Ue.gSize;)es.unshift(wi.splice(-Ue.gSize,wi.length).join(""));wi.length&&es.unshift(wi.join("")),bn=es.join(ue(oe,be)),Nr.length&&(bn+=ue(oe,ut)+Nr.join("")),Pr&&(bn+=ue(oe,A.Exponential)+"+"+Pr)}else bn=ue(oe,A.Infinity);return bn=Q<0&&!Ri?Ue.negPre+bn+Ue.negSuf:Ue.posPre+bn+Ue.posSuf,bn}function fn(Q,Ue,oe,be,ut){const Qt=fi(ve(Ue,T.Currency),ue(Ue,A.MinusSign));return Qt.minFrac=Oe(be),Qt.maxFrac=Qt.minFrac,qt(Q,Qt,Ue,A.CurrencyGroup,A.CurrencyDecimal,ut).replace(ft,oe).replace(ft,"").trim()}function ln(Q,Ue,oe){return qt(Q,fi(ve(Ue,T.Percent),ue(Ue,A.MinusSign)),Ue,A.Group,A.Decimal,oe,!0).replace(new RegExp(Bt,"g"),ue(Ue,A.PercentSign))}function An(Q,Ue,oe){return qt(Q,fi(ve(Ue,T.Decimal),ue(Ue,A.MinusSign)),Ue,A.Group,A.Decimal,oe)}function fi(Q,Ue="-"){const oe={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},be=Q.split(Fe),ut=be[0],$t=be[1],Qt=-1!==ut.indexOf(xt)?ut.split(xt):[ut.substring(0,ut.lastIndexOf(qe)+1),ut.substring(ut.lastIndexOf(qe)+1)],bn=Qt[0],Ri=Qt[1]||"";oe.posPre=bn.substring(0,bn.indexOf(Ke));for(let Li=0;Li{class Q{static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:function(be){let ut=null;return be?ut=new be:($t=t.\u0275\u0275inject(t.LOCALE_ID),ut=new rr($t)),ut;var $t},providedIn:"root"})}return Q})();function ji(Q,Ue,oe,be){let ut=`=${Q}`;if(Ue.indexOf(ut)>-1||(ut=oe.getPluralCategory(Q,be),Ue.indexOf(ut)>-1))return ut;if(Ue.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${Q}"`)}let rr=(()=>{class Q extends mi{constructor(oe){super(),this.locale=oe}getPluralCategory(oe,be){switch(Re(be||this.locale)(oe)){case N.Zero:return"zero";case N.One:return"one";case N.Two:return"two";case N.Few:return"few";case N.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275inject(t.LOCALE_ID))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac})}return Q})();function se(Q,Ue,oe){return(0,t.\u0275registerLocaleData)(Q,Ue,oe)}function at(Q,Ue){Ue=encodeURIComponent(Ue);for(const oe of Q.split(";")){const be=oe.indexOf("="),[ut,$t]=-1==be?[oe,""]:[oe.slice(0,be),oe.slice(be+1)];if(ut.trim()===Ue)return decodeURIComponent($t)}return null}const ae=/\s+/,fe=[];let Ae=(()=>{class Q{constructor(oe,be){this._ngEl=oe,this._renderer=be,this.initialClasses=fe,this.stateMap=new Map}set klass(oe){this.initialClasses=null!=oe?oe.trim().split(ae):fe}set ngClass(oe){this.rawClass="string"==typeof oe?oe.trim().split(ae):oe}ngDoCheck(){for(const be of this.initialClasses)this._updateState(be,!0);const oe=this.rawClass;if(Array.isArray(oe)||oe instanceof Set)for(const be of oe)this._updateState(be,!0);else if(null!=oe)for(const be of Object.keys(oe))this._updateState(be,!!oe[be]);this._applyStateDiff()}_updateState(oe,be){const ut=this.stateMap.get(oe);void 0!==ut?(ut.enabled!==be&&(ut.changed=!0,ut.enabled=be),ut.touched=!0):this.stateMap.set(oe,{enabled:be,changed:!0,touched:!0})}_applyStateDiff(){for(const oe of this.stateMap){const be=oe[0],ut=oe[1];ut.changed?(this._toggleClass(be,ut.enabled),ut.changed=!1):ut.touched||(ut.enabled&&this._toggleClass(be,!1),this.stateMap.delete(be)),ut.touched=!1}}_toggleClass(oe,be){(oe=oe.trim()).length>0&&oe.split(ae).forEach(ut=>{be?this._renderer.addClass(this._ngEl.nativeElement,ut):this._renderer.removeClass(this._ngEl.nativeElement,ut)})}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.Renderer2))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngClass",""]],inputs:{klass:[t.\u0275\u0275InputFlags.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return Q})(),_e=(()=>{class Q{constructor(oe){this._viewContainerRef=oe,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(oe){return void 0!==oe.ngComponentOutletNgModule||void 0!==oe.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(oe){return void 0!==oe.ngComponentOutlet||void 0!==oe.ngComponentOutletContent||void 0!==oe.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(oe)}ngOnChanges(oe){if(this._needToReCreateComponentInstance(oe)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const be=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(oe)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,t.createNgModule)(this.ngComponentOutletNgModule,mt(be)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(mt(be)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:be,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const oe of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(oe,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(oe){for(const[be,ut]of this._inputsUsed)ut?(oe.setInput(be,this.ngComponentOutletInputs[be]),this._inputsUsed.set(be,!1)):(oe.setInput(be,void 0),this._inputsUsed.delete(be))}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.ViewContainerRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return Q})();function mt(Q){return Q.get(t.NgModuleRef).injector}class V{constructor(Ue,oe,be,ut){this.$implicit=Ue,this.ngForOf=oe,this.index=be,this.count=ut}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 he=(()=>{class Q{set ngForOf(oe){this._ngForOf=oe,this._ngForOfDirty=!0}set ngForTrackBy(oe){this._trackByFn=oe}get ngForTrackBy(){return this._trackByFn}constructor(oe,be,ut){this._viewContainer=oe,this._template=be,this._differs=ut,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(oe){oe&&(this._template=oe)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const oe=this._ngForOf;!this._differ&&oe&&(this._differ=this._differs.find(oe).create(this.ngForTrackBy))}if(this._differ){const oe=this._differ.diff(this._ngForOf);oe&&this._applyChanges(oe)}}_applyChanges(oe){const be=this._viewContainer;oe.forEachOperation((ut,$t,Qt)=>{if(null==ut.previousIndex)be.createEmbeddedView(this._template,new V(ut.item,this._ngForOf,-1,-1),null===Qt?void 0:Qt);else if(null==Qt)be.remove(null===$t?void 0:$t);else if(null!==$t){const bn=be.get($t);be.move(bn,Qt),de(bn,ut)}});for(let ut=0,$t=be.length;ut<$t;ut++){const bn=be.get(ut).context;bn.index=ut,bn.count=$t,bn.ngForOf=this._ngForOf}oe.forEachIdentityChange(ut=>{de(be.get(ut.currentIndex),ut)})}static ngTemplateContextGuard(oe,be){return!0}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return Q})();function de(Q,Ue){Q.context.$implicit=Ue.item}let wt=(()=>{class Q{constructor(oe,be){this._viewContainer=oe,this._context=new Yt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=be}set ngIf(oe){this._context.$implicit=this._context.ngIf=oe,this._updateView()}set ngIfThen(oe){Kn("ngIfThen",oe),this._thenTemplateRef=oe,this._thenViewRef=null,this._updateView()}set ngIfElse(oe){Kn("ngIfElse",oe),this._elseTemplateRef=oe,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(oe,be){return!0}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return Q})();class Yt{constructor(){this.$implicit=null,this.ngIf=null}}function Kn(Q,Ue){if(Ue&&!Ue.createEmbeddedView)throw new Error(`${Q} must be a TemplateRef, but received '${(0,t.\u0275stringify)(Ue)}'.`)}class Tn{constructor(Ue,oe){this._viewContainerRef=Ue,this._templateRef=oe,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ue){Ue&&!this._created?this.create():!Ue&&this._created&&this.destroy()}}let vn=(()=>{class Q{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(oe){this._ngSwitch=oe,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(oe){this._defaultViews.push(oe)}_matchCase(oe){const be=oe===this._ngSwitch;return this._lastCasesMatched||=be,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),be}_updateDefaultCases(oe){if(this._defaultViews.length>0&&oe!==this._defaultUsed){this._defaultUsed=oe;for(const be of this._defaultViews)be.enforceState(oe)}}static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return Q})(),oi=(()=>{class Q{constructor(oe,be,ut){this.ngSwitch=ut,ut._addCase(),this._view=new Tn(oe,be)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(vn,9))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return Q})(),tr=(()=>{class Q{constructor(oe,be,ut){ut._addDefault(new Tn(oe,be))}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(vn,9))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return Q})(),Wi=(()=>{class Q{constructor(oe){this._localization=oe,this._caseViews={}}set ngPlural(oe){this._updateView(oe)}addCase(oe,be){this._caseViews[oe]=be}_updateView(oe){this._clearViews();const ut=ji(oe,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[ut])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(oe){oe&&(this._activeView=oe,this._activeView.create())}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(mi))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return Q})(),Ai=(()=>{class Q{constructor(oe,be,ut,$t){this.value=oe;const Qt=!isNaN(Number(oe));$t.addCase(Qt?`=${oe}`:oe,new Tn(ut,be))}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275injectAttribute("ngPluralCase"),t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(Wi,1))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngPluralCase",""]],standalone:!0})}return Q})(),Gi=(()=>{class Q{constructor(oe,be,ut){this._ngEl=oe,this._differs=be,this._renderer=ut,this._ngStyle=null,this._differ=null}set ngStyle(oe){this._ngStyle=oe,!this._differ&&oe&&(this._differ=this._differs.find(oe).create())}ngDoCheck(){if(this._differ){const oe=this._differ.diff(this._ngStyle);oe&&this._applyChanges(oe)}}_setStyle(oe,be){const[ut,$t]=oe.split("."),Qt=-1===ut.indexOf("-")?void 0:t.RendererStyleFlags2.DashCase;null!=be?this._renderer.setStyle(this._ngEl.nativeElement,ut,$t?`${be}${$t}`:be,Qt):this._renderer.removeStyle(this._ngEl.nativeElement,ut,Qt)}_applyChanges(oe){oe.forEachRemovedItem(be=>this._setStyle(be.key,null)),oe.forEachAddedItem(be=>this._setStyle(be.key,be.currentValue)),oe.forEachChangedItem(be=>this._setStyle(be.key,be.currentValue))}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.KeyValueDiffers),t.\u0275\u0275directiveInject(t.Renderer2))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return Q})(),or=(()=>{class Q{constructor(oe){this._viewContainerRef=oe,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(oe){if(this._shouldRecreateView(oe)){const be=this._viewContainerRef;if(this._viewRef&&be.remove(be.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const ut=this._createContextForwardProxy();this._viewRef=be.createEmbeddedView(this.ngTemplateOutlet,ut,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(oe){return!!oe.ngTemplateOutlet||!!oe.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(oe,be,ut)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,be,ut),get:(oe,be,ut)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,be,ut)}})}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.ViewContainerRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return Q})();function ki(Q,Ue){return new t.\u0275RuntimeError(2100,!1)}class Yn{createSubscription(Ue,oe){return(0,t.untracked)(()=>Ue.subscribe({next:oe,error:be=>{throw be}}))}dispose(Ue){(0,t.untracked)(()=>Ue.unsubscribe())}}class Wn{createSubscription(Ue,oe){return Ue.then(oe,be=>{throw be})}dispose(Ue){}}const Zn=new Wn,Dn=new Yn;let Qn=(()=>{class Q{constructor(oe){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=oe}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(oe){return this._obj?oe!==this._obj?(this._dispose(),this.transform(oe)):this._latestValue:(oe&&this._subscribe(oe),this._latestValue)}_subscribe(oe){this._obj=oe,this._strategy=this._selectStrategy(oe),this._subscription=this._strategy.createSubscription(oe,be=>this._updateLatestValue(oe,be))}_selectStrategy(oe){if((0,t.\u0275isPromise)(oe))return Zn;if((0,t.\u0275isSubscribable)(oe))return Dn;throw ki()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(oe,be){oe===this._obj&&(this._latestValue=be,this._ref.markForCheck())}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"async",type:Q,pure:!1,standalone:!0})}return Q})(),ui=(()=>{class Q{transform(oe){if(null==oe)return null;if("string"!=typeof oe)throw ki();return oe.toLowerCase()}static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"lowercase",type:Q,pure:!0,standalone:!0})}return Q})();const cn=/(?:[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 pn=(()=>{class Q{transform(oe){if(null==oe)return null;if("string"!=typeof oe)throw ki();return oe.replace(cn,be=>be[0].toUpperCase()+be.slice(1).toLowerCase())}static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"titlecase",type:Q,pure:!0,standalone:!0})}return Q})(),Nn=(()=>{class Q{transform(oe){if(null==oe)return null;if("string"!=typeof oe)throw ki();return oe.toUpperCase()}static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"uppercase",type:Q,pure:!0,standalone:!0})}return Q})();const Oi=new t.InjectionToken(""),Ki=new t.InjectionToken("");let nr=(()=>{class Q{constructor(oe,be,ut){this.locale=oe,this.defaultTimezone=be,this.defaultOptions=ut}transform(oe,be,ut,$t){if(null==oe||""===oe||oe!=oe)return null;try{return Pt(oe,be??this.defaultOptions?.dateFormat??"mediumDate",$t||this.locale,ut??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Qt){throw ki()}}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.LOCALE_ID,16),t.\u0275\u0275directiveInject(Oi,24),t.\u0275\u0275directiveInject(Ki,24))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"date",type:Q,pure:!0,standalone:!0})}return Q})();const ni=/#/g;let un=(()=>{class Q{constructor(oe){this._localization=oe}transform(oe,be,ut){if(null==oe)return"";if("object"!=typeof be||null===be)throw ki();return be[ji(oe,Object.keys(be),this._localization,ut)].replace(ni,oe.toString())}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(mi,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"i18nPlural",type:Q,pure:!0,standalone:!0})}return Q})(),En=(()=>{class Q{transform(oe,be){if(null==oe)return"";if("object"!=typeof be||"string"!=typeof oe)throw ki();return be.hasOwnProperty(oe)?be[oe]:be.hasOwnProperty("other")?be.other:""}static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"i18nSelect",type:Q,pure:!0,standalone:!0})}return Q})(),ci=(()=>{class Q{transform(oe){return JSON.stringify(oe,null,2)}static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"json",type:Q,pure:!1,standalone:!0})}return Q})(),Ui=(()=>{class Q{constructor(oe){this.differs=oe,this.keyValues=[],this.compareFn=dr}transform(oe,be=dr){if(!oe||!(oe instanceof Map)&&"object"!=typeof oe)return null;this.differ??=this.differs.find(oe).create();const ut=this.differ.diff(oe),$t=be!==this.compareFn;return ut&&(this.keyValues=[],ut.forEachItem(Qt=>{this.keyValues.push(function ar(Q,Ue){return{key:Q,value:Ue}}(Qt.key,Qt.currentValue))})),(ut||$t)&&(this.keyValues.sort(be),this.compareFn=be),this.keyValues}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.KeyValueDiffers,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"keyvalue",type:Q,pure:!1,standalone:!0})}return Q})();function dr(Q,Ue){const oe=Q.key,be=Ue.key;if(oe===be)return 0;if(void 0===oe)return 1;if(void 0===be)return-1;if(null===oe)return 1;if(null===be)return-1;if("string"==typeof oe&&"string"==typeof be)return oe{class Q{constructor(oe){this._locale=oe}transform(oe,be,ut){if(!qi(oe))return null;ut||=this._locale;try{return An(Rn(oe),ut,be)}catch($t){throw ki()}}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.LOCALE_ID,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"number",type:Q,pure:!0,standalone:!0})}return Q})(),di=(()=>{class Q{constructor(oe){this._locale=oe}transform(oe,be,ut){if(!qi(oe))return null;ut||=this._locale;try{return ln(Rn(oe),ut,be)}catch($t){throw ki()}}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.LOCALE_ID,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"percent",type:Q,pure:!0,standalone:!0})}return Q})(),Hi=(()=>{class Q{constructor(oe,be="USD"){this._locale=oe,this._defaultCurrencyCode=be}transform(oe,be=this._defaultCurrencyCode,ut="symbol",$t,Qt){if(!qi(oe))return null;Qt||=this._locale,"boolean"==typeof ut&&(ut=ut?"symbol":"code");let bn=be||this._defaultCurrencyCode;"code"!==ut&&(bn="symbol"===ut||"symbol-narrow"===ut?q(bn,"symbol"===ut?"wide":"narrow",Qt):ut);try{return fn(Rn(oe),Qt,bn,be,$t)}catch(Ri){throw ki()}}static#e=this.\u0275fac=function(be){return new(be||Q)(t.\u0275\u0275directiveInject(t.LOCALE_ID,16),t.\u0275\u0275directiveInject(t.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"currency",type:Q,pure:!0,standalone:!0})}return Q})();function qi(Q){return!(null==Q||""===Q||Q!=Q)}function Rn(Q){if("string"==typeof Q&&!isNaN(Number(Q)-parseFloat(Q)))return Number(Q);if("number"!=typeof Q)throw new Error(`${Q} is not a number`);return Q}let Sr=(()=>{class Q{transform(oe,be,ut){if(null==oe)return null;if(!this.supports(oe))throw ki();return oe.slice(be,ut)}supports(oe){return"string"==typeof oe||Array.isArray(oe)}static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"slice",type:Q,pure:!1,standalone:!0})}return Q})(),Ar=(()=>{class Q{static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:Q});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return Q})();const hi="browser",kr="server",Mt="browserWorkerApp",yt="browserWorkerUi";function It(Q){return Q===hi}function St(Q){return Q===kr}function Ft(Q){return Q===Mt}function jt(Q){return Q===yt}const en=new t.Version("17.2.1");let Zt=(()=>{class Q{static#e=this.\u0275prov=(0,t.\u0275\u0275defineInjectable)({token:Q,providedIn:"root",factory:()=>It((0,t.inject)(t.PLATFORM_ID))?new hn((0,t.inject)(s),window):new On})}return Q})();class hn{constructor(Ue,oe){this.document=Ue,this.window=oe,this.offset=()=>[0,0]}setOffset(Ue){this.offset=Array.isArray(Ue)?()=>Ue:Ue}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ue){this.window.scrollTo(Ue[0],Ue[1])}scrollToAnchor(Ue){const oe=function Sn(Q,Ue){const oe=Q.getElementById(Ue)||Q.getElementsByName(Ue)[0];if(oe)return oe;if("function"==typeof Q.createTreeWalker&&Q.body&&"function"==typeof Q.body.attachShadow){const be=Q.createTreeWalker(Q.body,NodeFilter.SHOW_ELEMENT);let ut=be.currentNode;for(;ut;){const $t=ut.shadowRoot;if($t){const Qt=$t.getElementById(Ue)||$t.querySelector(`[name="${Ue}"]`);if(Qt)return Qt}ut=be.nextNode()}}return null}(this.document,Ue);oe&&(this.scrollToElement(oe),oe.focus())}setHistoryScrollRestoration(Ue){this.window.history.scrollRestoration=Ue}scrollToElement(Ue){const oe=Ue.getBoundingClientRect(),be=oe.left+this.window.pageXOffset,ut=oe.top+this.window.pageYOffset,$t=this.offset();this.window.scrollTo(be-$t[0],ut-$t[1])}}class On{setOffset(Ue){}getScrollPosition(){return[0,0]}scrollToPosition(Ue){}scrollToAnchor(Ue){}setHistoryScrollRestoration(Ue){}}class gi{}function Gn(Q){return/^https?:\/\//.test(Q)}function kn(Q){if("string"!=typeof Q||""===Q.trim())return!1;try{return new URL(Q),!0}catch{return!1}}function ir(Q){return Q.startsWith("/")?Q.slice(1):Q}const $i=Q=>Q.src,Or=new t.InjectionToken("",{providedIn:"root",factory:()=>$i});function fr(Q,Ue){return function(be){return kn(be)||function Ts(Q,Ue){throw new t.\u0275RuntimeError(2959,!1)}(),be=function Ln(Q){return Q.endsWith("/")?Q.slice(0,-1):Q}(be),[{provide:Or,useValue:Qt=>(Gn(Qt.src)&&function Br(Q,Ue){throw new t.\u0275RuntimeError(2959,!1)}(),Q(be,{...Qt,src:ir(Qt.src)}))}]}}const Cr=fr(_s);function _s(Q,Ue){let oe="format=auto";return Ue.width&&(oe+=`,width=${Ue.width}`),`${Q}/cdn-cgi/image/${oe}/${Ue.src}`}const os=fr(As);function As(Q,Ue){let oe="f_auto,q_auto";return Ue.width&&(oe+=`,w_${Ue.width}`),`${Q}/image/upload/${oe}/${Ue.src}`}const we=fr(Se);function Se(Q,Ue){const{src:oe,width:be}=Ue;let ut;return ut=be?[Q,`tr:w-${be}`,oe]:[Q,oe],ut.join("/")}const wn=fr(ei);function ei(Q,Ue){const oe=new URL(`${Q}/${Ue.src}`);return oe.searchParams.set("auto","format"),Ue.width&&oe.searchParams.set("w",Ue.width.toString()),oe.href}function Uo(Q){if(Q&&!kn(Q))throw new t.\u0275RuntimeError(2959,!1);return Q&&(Q=new URL(Q).origin),[{provide:Or,useValue:be=>function vo(Q,Ue){const oe=new URL(Ue??"https://a/");oe.pathname="/.netlify/images",!Gn(Q.src)&&!Q.src.startsWith("/")&&(Q.src="/"+Q.src),oe.searchParams.set("url",Q.src),Q.width&&oe.searchParams.set("w",Q.width.toString());for(const[be,ut]of Object.entries(Q.loaderParams??{}))_o.has(be)&&oe.searchParams.set(_o.get(be),ut.toString());return"a"===oe.hostname?oe.href.replace(oe.origin,""):oe.href}(be,Q)}]}const _o=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]),Xr=new t.InjectionToken(""),ls=new t.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let Jr=(()=>{class Q{constructor(){this.preloadedImages=(0,t.inject)(ls),this.document=(0,t.inject)(s)}createPreloadLinkTag(oe,be,ut,$t){if(this.preloadedImages.has(be))return;this.preloadedImages.add(be);const Qt=oe.createElement("link");oe.setAttribute(Qt,"as","image"),oe.setAttribute(Qt,"href",be),oe.setAttribute(Qt,"rel","preload"),oe.setAttribute(Qt,"fetchpriority","high"),$t&&oe.setAttribute(Qt,"imageSizes",$t),ut&&oe.setAttribute(Qt,"imageSrcset",ut),oe.appendChild(this.document.head,Qt)}static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})();const jr=/^((\s*\d+w\s*(,|$)){1,})$/,to=[1,2];let Ls=(()=>{class Q{constructor(){this.imageLoader=(0,t.inject)(Or),this.config=function la(Q){let Ue={};return Q.breakpoints&&(Ue.breakpoints=Q.breakpoints.sort((oe,be)=>oe-be)),Object.assign({},t.\u0275IMAGE_CONFIG_DEFAULTS,Q,Ue)}((0,t.inject)(t.\u0275IMAGE_CONFIG)),this.renderer=(0,t.inject)(t.Renderer2),this.imgElement=(0,t.inject)(t.ElementRef).nativeElement,this.injector=(0,t.inject)(t.Injector),this.isServer=St((0,t.inject)(t.PLATFORM_ID)),this.preloadLinkCreator=(0,t.inject)(Jr),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,t.\u0275performanceMarkFeature)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this,this.imgElement,this.renderer),this.setHostAttributes()}setHostAttributes(){this.fill?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 oe=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),oe,this.sizes)}ngOnChanges(oe){if(oe.ngSrc&&!oe.ngSrc.isFirstChange()){const be=this._renderedSrc;this.updateSrcAndSrcset(!0);const ut=this._renderedSrc;null!==this.lcpObserver&&be&&ut&&be!==ut&&this.injector.get(t.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(be,ut)})}}callImageLoader(oe){let be=oe;return this.loaderParams&&(be.loaderParams=this.loaderParams),this.imageLoader(be)}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 oe=jr.test(this.ngSrcset);return this.ngSrcset.split(",").filter(ut=>""!==ut).map(ut=>{ut=ut.trim();const $t=oe?parseFloat(ut):parseFloat(ut)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:$t})} ${ut}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:oe}=this.config;let be=oe;return"100vw"===this.sizes?.trim()&&(be=oe.filter($t=>$t>=640)),be.map($t=>`${this.callImageLoader({src:this.ngSrc,width:$t})} ${$t}w`).join(", ")}updateSrcAndSrcset(oe=!1){oe&&(this._renderedSrc=null);const be=this.getRewrittenSrc();let ut;return this.setHostAttribute("src",be),this.ngSrcset?ut=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(ut=this.getAutomaticSrcset()),ut&&this.setHostAttribute("srcset",ut),ut}getFixedSrcset(){return to.map(be=>`${this.callImageLoader({src:this.ngSrc,width:this.width*be})} ${be}x`).join(", ")}shouldGenerateAutomaticSrcset(){let oe=!1;return this.sizes||(oe=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==$i&&!oe}generatePlaceholder(oe){const{placeholderResolution:be}=this.config;return!0===oe?`url(${this.callImageLoader({src:this.ngSrc,width:be,isPlaceholder:!0})})`:"string"==typeof oe&&oe.startsWith("data:")?`url(${oe})`:null}shouldBlurPlaceholder(oe){return!oe||!oe.hasOwnProperty("blur")||!!oe.blur}removePlaceholderOnLoad(oe,be,ut){const $t=ut.listen(be,"load",()=>{$t(),Qt(),oe.placeholder=!1}),Qt=ut.listen(be,"error",()=>{$t(),Qt(),oe.placeholder=!1})}ngOnDestroy(){}setHostAttribute(oe,be){this.renderer.setAttribute(this.imgElement,oe,be)}static#e=this.\u0275fac=function(be){return new(be||Q)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(be,ut){2&be&&t.\u0275\u0275styleProp("position",ut.fill?"absolute":null)("width",ut.fill?"100%":null)("height",ut.fill?"100%":null)("inset",ut.fill?"0":null)("background-size",ut.placeholder?"cover":null)("background-position",ut.placeholder?"50% 50%":null)("background-repeat",ut.placeholder?"no-repeat":null)("background-image",ut.placeholder?ut.generatePlaceholder(ut.placeholder):null)("filter",ut.placeholder&&ut.shouldBlurPlaceholder(ut.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"ngSrc","ngSrc",Wr],ngSrcset:"ngSrcset",sizes:"sizes",width:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"width","width",t.numberAttribute],height:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"height","height",t.numberAttribute],loading:"loading",priority:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"priority","priority",t.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",t.booleanAttribute],fill:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fill","fill",t.booleanAttribute],placeholder:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"placeholder","placeholder",ro],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature]})}return Q})();function Wr(Q){return"string"==typeof Q?Q:(0,t.\u0275unwrapSafeValue)(Q)}function ro(Q){return"string"==typeof Q&&Q.startsWith("data:")?Q:(0,t.booleanAttribute)(Q)}},7048:(De,te,g)=>{"use strict";g.r(te),g.d(te,{FetchBackend:()=>Je,HTTP_INTERCEPTORS:()=>Qe,HttpBackend:()=>h,HttpClient:()=>j,HttpClientJsonpModule:()=>Ke,HttpClientModule:()=>et,HttpClientXsrfModule:()=>Fe,HttpContext:()=>N,HttpContextToken:()=>T,HttpErrorResponse:()=>z,HttpEventType:()=>ee,HttpFeatureKind:()=>st,HttpHandler:()=>u,HttpHeaderResponse:()=>B,HttpHeaders:()=>p,HttpParams:()=>O,HttpRequest:()=>K,HttpResponse:()=>H,HttpResponseBase:()=>ne,HttpStatusCode:()=>X,HttpUrlEncodingCodec:()=>y,HttpXhrBackend:()=>Ot,HttpXsrfTokenExtractor:()=>nt,JsonpClientBackend:()=>on,JsonpInterceptor:()=>gn,provideHttpClient:()=>Pe,withFetch:()=>qe,withInterceptors:()=>bt,withInterceptorsFromDi:()=>$e,withJsonpSupport:()=>dt,withNoXsrfProtection:()=>kt,withRequestsMadeViaParent:()=>xt,withXsrfConfiguration:()=>Ge,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>Ie,\u0275HttpInterceptingHandler:()=>Xe,\u0275HttpInterceptorHandler:()=>Xe,\u0275PRIMARY_HTTP_BACKEND:()=>je,\u0275withHttpTransferCache:()=>ji});var t=g(1528),v=g(4496),C=g(2700),E=g(3252),c=g(9900),b=g(6020),s=g(6684),f=g(4704),d=g(8824),l=g(7368),a=g(9212),r=g(1368);class u{}class h{}class p{constructor(at){this.normalizedNames=new Map,this.lazyUpdate=null,at?"string"==typeof at?this.lazyInit=()=>{this.headers=new Map,at.split("\n").forEach(ae=>{const fe=ae.indexOf(":");if(fe>0){const Ae=ae.slice(0,fe),_e=Ae.toLowerCase(),mt=ae.slice(fe+1).trim();this.maybeSetNormalizedName(Ae,_e),this.headers.has(_e)?this.headers.get(_e).push(mt):this.headers.set(_e,[mt])}})}:typeof Headers<"u"&&at instanceof Headers?(this.headers=new Map,at.forEach((ae,fe)=>{this.setHeaderEntries(fe,ae)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(at).forEach(([ae,fe])=>{this.setHeaderEntries(ae,fe)})}:this.headers=new Map}has(at){return this.init(),this.headers.has(at.toLowerCase())}get(at){this.init();const ae=this.headers.get(at.toLowerCase());return ae&&ae.length>0?ae[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(at){return this.init(),this.headers.get(at.toLowerCase())||null}append(at,ae){return this.clone({name:at,value:ae,op:"a"})}set(at,ae){return this.clone({name:at,value:ae,op:"s"})}delete(at,ae){return this.clone({name:at,value:ae,op:"d"})}maybeSetNormalizedName(at,ae){this.normalizedNames.has(ae)||this.normalizedNames.set(ae,at)}init(){this.lazyInit&&(this.lazyInit instanceof p?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(at=>this.applyUpdate(at)),this.lazyUpdate=null))}copyFrom(at){at.init(),Array.from(at.headers.keys()).forEach(ae=>{this.headers.set(ae,at.headers.get(ae)),this.normalizedNames.set(ae,at.normalizedNames.get(ae))})}clone(at){const ae=new p;return ae.lazyInit=this.lazyInit&&this.lazyInit instanceof p?this.lazyInit:this,ae.lazyUpdate=(this.lazyUpdate||[]).concat([at]),ae}applyUpdate(at){const ae=at.name.toLowerCase();switch(at.op){case"a":case"s":let fe=at.value;if("string"==typeof fe&&(fe=[fe]),0===fe.length)return;this.maybeSetNormalizedName(at.name,ae);const Ae=("a"===at.op?this.headers.get(ae):void 0)||[];Ae.push(...fe),this.headers.set(ae,Ae);break;case"d":const _e=at.value;if(_e){let mt=this.headers.get(ae);if(!mt)return;mt=mt.filter(V=>-1===_e.indexOf(V)),0===mt.length?(this.headers.delete(ae),this.normalizedNames.delete(ae)):this.headers.set(ae,mt)}else this.headers.delete(ae),this.normalizedNames.delete(ae)}}setHeaderEntries(at,ae){const fe=(Array.isArray(ae)?ae:[ae]).map(_e=>_e.toString()),Ae=at.toLowerCase();this.headers.set(Ae,fe),this.maybeSetNormalizedName(at,Ae)}forEach(at){this.init(),Array.from(this.normalizedNames.keys()).forEach(ae=>at(this.normalizedNames.get(ae),this.headers.get(ae)))}}class y{encodeKey(at){return D(at)}encodeValue(at){return D(at)}decodeKey(at){return decodeURIComponent(at)}decodeValue(at){return decodeURIComponent(at)}}const w=/%(\d[a-f0-9])/gi,k={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function D(se){return encodeURIComponent(se).replace(w,(at,ae)=>k[ae]??at)}function I(se){return`${se}`}class O{constructor(at={}){if(this.updates=null,this.cloneFrom=null,this.encoder=at.encoder||new y,at.fromString){if(at.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M(se,at){const ae=new Map;return se.length>0&&se.replace(/^\?/,"").split("&").forEach(Ae=>{const _e=Ae.indexOf("="),[mt,V]=-1==_e?[at.decodeKey(Ae),""]:[at.decodeKey(Ae.slice(0,_e)),at.decodeValue(Ae.slice(_e+1))],he=ae.get(mt)||[];he.push(V),ae.set(mt,he)}),ae}(at.fromString,this.encoder)}else at.fromObject?(this.map=new Map,Object.keys(at.fromObject).forEach(ae=>{const fe=at.fromObject[ae],Ae=Array.isArray(fe)?fe.map(I):[I(fe)];this.map.set(ae,Ae)})):this.map=null}has(at){return this.init(),this.map.has(at)}get(at){this.init();const ae=this.map.get(at);return ae?ae[0]:null}getAll(at){return this.init(),this.map.get(at)||null}keys(){return this.init(),Array.from(this.map.keys())}append(at,ae){return this.clone({param:at,value:ae,op:"a"})}appendAll(at){const ae=[];return Object.keys(at).forEach(fe=>{const Ae=at[fe];Array.isArray(Ae)?Ae.forEach(_e=>{ae.push({param:fe,value:_e,op:"a"})}):ae.push({param:fe,value:Ae,op:"a"})}),this.clone(ae)}set(at,ae){return this.clone({param:at,value:ae,op:"s"})}delete(at,ae){return this.clone({param:at,value:ae,op:"d"})}toString(){return this.init(),this.keys().map(at=>{const ae=this.encoder.encodeKey(at);return this.map.get(at).map(fe=>ae+"="+this.encoder.encodeValue(fe)).join("&")}).filter(at=>""!==at).join("&")}clone(at){const ae=new O({encoder:this.encoder});return ae.cloneFrom=this.cloneFrom||this,ae.updates=(this.updates||[]).concat(at),ae}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(at=>this.map.set(at,this.cloneFrom.map.get(at))),this.updates.forEach(at=>{switch(at.op){case"a":case"s":const ae=("a"===at.op?this.map.get(at.param):void 0)||[];ae.push(I(at.value)),this.map.set(at.param,ae);break;case"d":if(void 0===at.value){this.map.delete(at.param);break}{let fe=this.map.get(at.param)||[];const Ae=fe.indexOf(I(at.value));-1!==Ae&&fe.splice(Ae,1),fe.length>0?this.map.set(at.param,fe):this.map.delete(at.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(at){this.defaultValue=at}}class N{constructor(){this.map=new Map}set(at,ae){return this.map.set(at,ae),this}get(at){return this.map.has(at)||this.map.set(at,at.defaultValue()),this.map.get(at)}delete(at){return this.map.delete(at),this}has(at){return this.map.has(at)}keys(){return this.map.keys()}}function F(se){return typeof ArrayBuffer<"u"&&se instanceof ArrayBuffer}function L(se){return typeof Blob<"u"&&se instanceof Blob}function A(se){return typeof FormData<"u"&&se instanceof FormData}class K{constructor(at,ae,fe,Ae){let _e;if(this.url=ae,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=at.toUpperCase(),function S(se){switch(se){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ae?(this.body=void 0!==fe?fe:null,_e=Ae):_e=fe,_e&&(this.reportProgress=!!_e.reportProgress,this.withCredentials=!!_e.withCredentials,_e.responseType&&(this.responseType=_e.responseType),_e.headers&&(this.headers=_e.headers),_e.context&&(this.context=_e.context),_e.params&&(this.params=_e.params),this.transferCache=_e.transferCache),this.headers??=new p,this.context??=new N,this.params){const mt=this.params.toString();if(0===mt.length)this.urlWithParams=ae;else{const V=ae.indexOf("?");this.urlWithParams=ae+(-1===V?"?":Vwt.set(Yt,at.setHeaders[Yt]),he)),at.setParams&&(de=Object.keys(at.setParams).reduce((wt,Yt)=>wt.set(Yt,at.setParams[Yt]),de)),new K(ae,fe,_e,{params:de,headers:he,context:We,reportProgress:V,responseType:Ae,withCredentials:mt})}}var ee=function(se){return se[se.Sent=0]="Sent",se[se.UploadProgress=1]="UploadProgress",se[se.ResponseHeader=2]="ResponseHeader",se[se.DownloadProgress=3]="DownloadProgress",se[se.Response=4]="Response",se[se.User=5]="User",se}(ee||{});class ne{constructor(at,ae=X.Ok,fe="OK"){this.headers=at.headers||new p,this.status=void 0!==at.status?at.status:ae,this.statusText=at.statusText||fe,this.url=at.url||null,this.ok=this.status>=200&&this.status<300}}class B extends ne{constructor(at={}){super(at),this.type=ee.ResponseHeader}clone(at={}){return new B({headers:at.headers||this.headers,status:void 0!==at.status?at.status:this.status,statusText:at.statusText||this.statusText,url:at.url||this.url||void 0})}}class H extends ne{constructor(at={}){super(at),this.type=ee.Response,this.body=void 0!==at.body?at.body:null}clone(at={}){return new H({body:void 0!==at.body?at.body:this.body,headers:at.headers||this.headers,status:void 0!==at.status?at.status:this.status,statusText:at.statusText||this.statusText,url:at.url||this.url||void 0})}}class z extends ne{constructor(at){super(at,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${at.url||"(unknown url)"}`:`Http failure response for ${at.url||"(unknown url)"}: ${at.status} ${at.statusText}`,this.error=at.error||null}}var X=function(se){return se[se.Continue=100]="Continue",se[se.SwitchingProtocols=101]="SwitchingProtocols",se[se.Processing=102]="Processing",se[se.EarlyHints=103]="EarlyHints",se[se.Ok=200]="Ok",se[se.Created=201]="Created",se[se.Accepted=202]="Accepted",se[se.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",se[se.NoContent=204]="NoContent",se[se.ResetContent=205]="ResetContent",se[se.PartialContent=206]="PartialContent",se[se.MultiStatus=207]="MultiStatus",se[se.AlreadyReported=208]="AlreadyReported",se[se.ImUsed=226]="ImUsed",se[se.MultipleChoices=300]="MultipleChoices",se[se.MovedPermanently=301]="MovedPermanently",se[se.Found=302]="Found",se[se.SeeOther=303]="SeeOther",se[se.NotModified=304]="NotModified",se[se.UseProxy=305]="UseProxy",se[se.Unused=306]="Unused",se[se.TemporaryRedirect=307]="TemporaryRedirect",se[se.PermanentRedirect=308]="PermanentRedirect",se[se.BadRequest=400]="BadRequest",se[se.Unauthorized=401]="Unauthorized",se[se.PaymentRequired=402]="PaymentRequired",se[se.Forbidden=403]="Forbidden",se[se.NotFound=404]="NotFound",se[se.MethodNotAllowed=405]="MethodNotAllowed",se[se.NotAcceptable=406]="NotAcceptable",se[se.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",se[se.RequestTimeout=408]="RequestTimeout",se[se.Conflict=409]="Conflict",se[se.Gone=410]="Gone",se[se.LengthRequired=411]="LengthRequired",se[se.PreconditionFailed=412]="PreconditionFailed",se[se.PayloadTooLarge=413]="PayloadTooLarge",se[se.UriTooLong=414]="UriTooLong",se[se.UnsupportedMediaType=415]="UnsupportedMediaType",se[se.RangeNotSatisfiable=416]="RangeNotSatisfiable",se[se.ExpectationFailed=417]="ExpectationFailed",se[se.ImATeapot=418]="ImATeapot",se[se.MisdirectedRequest=421]="MisdirectedRequest",se[se.UnprocessableEntity=422]="UnprocessableEntity",se[se.Locked=423]="Locked",se[se.FailedDependency=424]="FailedDependency",se[se.TooEarly=425]="TooEarly",se[se.UpgradeRequired=426]="UpgradeRequired",se[se.PreconditionRequired=428]="PreconditionRequired",se[se.TooManyRequests=429]="TooManyRequests",se[se.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",se[se.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",se[se.InternalServerError=500]="InternalServerError",se[se.NotImplemented=501]="NotImplemented",se[se.BadGateway=502]="BadGateway",se[se.ServiceUnavailable=503]="ServiceUnavailable",se[se.GatewayTimeout=504]="GatewayTimeout",se[se.HttpVersionNotSupported=505]="HttpVersionNotSupported",se[se.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",se[se.InsufficientStorage=507]="InsufficientStorage",se[se.LoopDetected=508]="LoopDetected",se[se.NotExtended=510]="NotExtended",se[se.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",se}(X||{});function G(se,at){return{body:at,headers:se.headers,context:se.context,observe:se.observe,params:se.params,reportProgress:se.reportProgress,responseType:se.responseType,withCredentials:se.withCredentials,transferCache:se.transferCache}}let j=(()=>{class se{constructor(ae){this.handler=ae}request(ae,fe,Ae={}){let _e;if(ae instanceof K)_e=ae;else{let he,de;he=Ae.headers instanceof p?Ae.headers:new p(Ae.headers),Ae.params&&(de=Ae.params instanceof O?Ae.params:new O({fromObject:Ae.params})),_e=new K(ae,fe,void 0!==Ae.body?Ae.body:null,{headers:he,context:Ae.context,params:de,reportProgress:Ae.reportProgress,responseType:Ae.responseType||"json",withCredentials:Ae.withCredentials,transferCache:Ae.transferCache})}const mt=(0,C.of)(_e).pipe((0,b.m)(he=>this.handler.handle(he)));if(ae instanceof K||"events"===Ae.observe)return mt;const V=mt.pipe((0,s.I)(he=>he instanceof H));switch(Ae.observe||"body"){case"body":switch(_e.responseType){case"arraybuffer":return V.pipe((0,f.k)(he=>{if(null!==he.body&&!(he.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return he.body}));case"blob":return V.pipe((0,f.k)(he=>{if(null!==he.body&&!(he.body instanceof Blob))throw new Error("Response is not a Blob.");return he.body}));case"text":return V.pipe((0,f.k)(he=>{if(null!==he.body&&"string"!=typeof he.body)throw new Error("Response is not a string.");return he.body}));default:return V.pipe((0,f.k)(he=>he.body))}case"response":return V;default:throw new Error(`Unreachable: unhandled observe type ${Ae.observe}}`)}}delete(ae,fe={}){return this.request("DELETE",ae,fe)}get(ae,fe={}){return this.request("GET",ae,fe)}head(ae,fe={}){return this.request("HEAD",ae,fe)}jsonp(ae,fe){return this.request("JSONP",ae,{params:(new O).append(fe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ae,fe={}){return this.request("OPTIONS",ae,fe)}patch(ae,fe,Ae={}){return this.request("PATCH",ae,G(Ae,fe))}post(ae,fe,Ae={}){return this.request("POST",ae,G(Ae,fe))}put(ae,fe,Ae={}){return this.request("PUT",ae,G(Ae,fe))}static#e=this.\u0275fac=function(fe){return new(fe||se)(v.\u0275\u0275inject(u))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();const le=/^\)\]\}',?\n/;function ve(se){if(se.url)return se.url;const at="X-Request-URL".toLocaleLowerCase();return se.headers.get(at)}let Je=(()=>{class se{constructor(){this.fetchImpl=(0,v.inject)(_t,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,v.inject)(v.NgZone)}handle(ae){return new E._(fe=>{const Ae=new AbortController;return this.doRequest(ae,Ae.signal,fe).then(ct,_e=>fe.error(new z({error:_e}))),()=>Ae.abort()})}doRequest(ae,fe,Ae){var _e=this;return(0,t.c)(function*(){const mt=_e.createRequestInit(ae);let V;try{const Pn=_e.fetchImpl(ae.urlWithParams,{signal:fe,...mt});(function Ct(se){se.then(ct,ct)})(Pn),Ae.next({type:ee.Sent}),V=yield Pn}catch(Pn){return void Ae.error(new z({error:Pn,status:Pn.status??0,statusText:Pn.statusText,url:ae.urlWithParams,headers:Pn.headers}))}const he=new p(V.headers),de=V.statusText,We=ve(V)??ae.urlWithParams;let wt=V.status,Yt=null;if(ae.reportProgress&&Ae.next(new B({headers:he,status:wt,statusText:de,url:We})),V.body){const Pn=V.headers.get("content-length"),Tn=[],vn=V.body.getReader();let tr,pi,oi=0;const sr=typeof Zone<"u"&&Zone.current;yield _e.ngZone.runOutsideAngular((0,t.c)(function*(){for(;;){const{done:Ai,value:Gi}=yield vn.read();if(Ai)break;if(Tn.push(Gi),oi+=Gi.length,ae.reportProgress){pi="text"===ae.responseType?(pi??"")+(tr??=new TextDecoder).decode(Gi,{stream:!0}):void 0;const or=()=>Ae.next({type:ee.DownloadProgress,total:Pn?+Pn:void 0,loaded:oi,partialText:pi});sr?sr.run(or):or()}}}));const Wi=_e.concatChunks(Tn,oi);try{const Ai=V.headers.get("Content-Type")??"";Yt=_e.parseBody(ae,Wi,Ai)}catch(Ai){return void Ae.error(new z({error:Ai,headers:new p(V.headers),status:V.status,statusText:V.statusText,url:ve(V)??ae.urlWithParams}))}}0===wt&&(wt=Yt?X.Ok:0),wt>=200&&wt<300?(Ae.next(new H({body:Yt,headers:he,status:wt,statusText:de,url:We})),Ae.complete()):Ae.error(new z({error:Yt,headers:he,status:wt,statusText:de,url:We}))})()}parseBody(ae,fe,Ae){switch(ae.responseType){case"json":const _e=(new TextDecoder).decode(fe).replace(le,"");return""===_e?null:JSON.parse(_e);case"text":return(new TextDecoder).decode(fe);case"blob":return new Blob([fe],{type:Ae});case"arraybuffer":return fe.buffer}}createRequestInit(ae){const fe={},Ae=ae.withCredentials?"include":void 0;if(ae.headers.forEach((_e,mt)=>fe[_e]=mt.join(",")),fe.Accept??="application/json, text/plain, */*",!fe["Content-Type"]){const _e=ae.detectContentTypeHeader();null!==_e&&(fe["Content-Type"]=_e)}return{body:ae.serializeBody(),method:ae.method,headers:fe,credentials:Ae}}concatChunks(ae,fe){const Ae=new Uint8Array(fe);let _e=0;for(const mt of ae)Ae.set(mt,_e),_e+=mt.length;return Ae}static#e=this.\u0275fac=function(fe){return new(fe||se)};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();class _t{}function ct(){}function Re(se,at){return at(se)}function ke(se,at){return(ae,fe)=>at.intercept(ae,{handle:Ae=>se(Ae,fe)})}const Qe=new v.InjectionToken(""),Be=new v.InjectionToken(""),Ie=new v.InjectionToken(""),je=new v.InjectionToken("");function q(){let se=null;return(at,ae)=>{null===se&&(se=((0,v.inject)(Qe,{optional:!0})??[]).reduceRight(ke,Re));const fe=(0,v.inject)(v.\u0275PendingTasks),Ae=fe.add();return se(at,ae).pipe((0,d.U)(()=>fe.remove(Ae)))}}let Ve,Xe=(()=>{class se extends u{constructor(ae,fe){super(),this.backend=ae,this.injector=fe,this.chain=null,this.pendingTasks=(0,v.inject)(v.\u0275PendingTasks);const Ae=(0,v.inject)(je,{optional:!0});this.backend=Ae??ae}handle(ae){if(null===this.chain){const Ae=Array.from(new Set([...this.injector.get(Be),...this.injector.get(Ie,[])]));this.chain=Ae.reduceRight((_e,mt)=>function pe(se,at,ae){return(fe,Ae)=>(0,v.runInInjectionContext)(ae,()=>at(fe,_e=>se(_e,Ae)))}(_e,mt,this.injector),Re)}const fe=this.pendingTasks.add();return this.chain(ae,Ae=>this.backend.handle(Ae)).pipe((0,d.U)(()=>this.pendingTasks.remove(fe)))}static#e=this.\u0275fac=function(fe){return new(fe||se)(v.\u0275\u0275inject(h),v.\u0275\u0275inject(v.EnvironmentInjector))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})(),ge=0;class Gt{}function rn(){return"object"==typeof window?window:{}}let on=(()=>{class se{constructor(ae,fe){this.callbackMap=ae,this.document=fe,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+ge++}handle(ae){if("JSONP"!==ae.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ae.responseType)throw new Error("JSONP requests must use Json response type.");if(ae.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new E._(fe=>{const Ae=this.nextCallback(),_e=ae.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Ae}$1`),mt=this.document.createElement("script");mt.src=_e;let V=null,he=!1;this.callbackMap[Ae]=Yt=>{delete this.callbackMap[Ae],V=Yt,he=!0};const de=()=>{mt.parentNode&&mt.parentNode.removeChild(mt),delete this.callbackMap[Ae]};return mt.addEventListener("load",Yt=>{this.resolvedPromise.then(()=>{de(),he?(fe.next(new H({body:V,status:X.Ok,statusText:"OK",url:_e})),fe.complete()):fe.error(new z({url:_e,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),mt.addEventListener("error",Yt=>{de(),fe.error(new z({error:Yt,status:0,statusText:"JSONP Error",url:_e}))}),this.document.body.appendChild(mt),fe.next({type:ee.Sent}),()=>{he||this.removeListeners(mt),de()}})}removeListeners(ae){Ve??=this.document.implementation.createHTMLDocument(),Ve.adoptNode(ae)}static#e=this.\u0275fac=function(fe){return new(fe||se)(v.\u0275\u0275inject(Gt),v.\u0275\u0275inject(r.DOCUMENT))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();function tn(se,at){return"JSONP"===se.method?(0,v.inject)(on).handle(se):at(se)}let gn=(()=>{class se{constructor(ae){this.injector=ae}intercept(ae,fe){return(0,v.runInInjectionContext)(this.injector,()=>tn(ae,Ae=>fe.handle(Ae)))}static#e=this.\u0275fac=function(fe){return new(fe||se)(v.\u0275\u0275inject(v.EnvironmentInjector))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();const Jt=/^\)\]\}',?\n/;let Ot=(()=>{class se{constructor(ae){this.xhrFactory=ae}handle(ae){if("JSONP"===ae.method)throw new v.\u0275RuntimeError(-2800,!1);const fe=this.xhrFactory;return(fe.\u0275loadImpl?(0,c.Q)(fe.\u0275loadImpl()):(0,C.of)(null)).pipe((0,l.G)(()=>new E._(_e=>{const mt=fe.build();if(mt.open(ae.method,ae.urlWithParams),ae.withCredentials&&(mt.withCredentials=!0),ae.headers.forEach((Tn,vn)=>mt.setRequestHeader(Tn,vn.join(","))),ae.headers.has("Accept")||mt.setRequestHeader("Accept","application/json, text/plain, */*"),!ae.headers.has("Content-Type")){const Tn=ae.detectContentTypeHeader();null!==Tn&&mt.setRequestHeader("Content-Type",Tn)}if(ae.responseType){const Tn=ae.responseType.toLowerCase();mt.responseType="json"!==Tn?Tn:"text"}const V=ae.serializeBody();let he=null;const de=()=>{if(null!==he)return he;const Tn=mt.statusText||"OK",vn=new p(mt.getAllResponseHeaders()),oi=function an(se){return"responseURL"in se&&se.responseURL?se.responseURL:/^X-Request-URL:/m.test(se.getAllResponseHeaders())?se.getResponseHeader("X-Request-URL"):null}(mt)||ae.url;return he=new B({headers:vn,status:mt.status,statusText:Tn,url:oi}),he},We=()=>{let{headers:Tn,status:vn,statusText:oi,url:tr}=de(),pi=null;vn!==X.NoContent&&(pi=typeof mt.response>"u"?mt.responseText:mt.response),0===vn&&(vn=pi?X.Ok:0);let sr=vn>=200&&vn<300;if("json"===ae.responseType&&"string"==typeof pi){const Wi=pi;pi=pi.replace(Jt,"");try{pi=""!==pi?JSON.parse(pi):null}catch(Ai){pi=Wi,sr&&(sr=!1,pi={error:Ai,text:pi})}}sr?(_e.next(new H({body:pi,headers:Tn,status:vn,statusText:oi,url:tr||void 0})),_e.complete()):_e.error(new z({error:pi,headers:Tn,status:vn,statusText:oi,url:tr||void 0}))},wt=Tn=>{const{url:vn}=de(),oi=new z({error:Tn,status:mt.status||0,statusText:mt.statusText||"Unknown Error",url:vn||void 0});_e.error(oi)};let Yt=!1;const Kn=Tn=>{Yt||(_e.next(de()),Yt=!0);let vn={type:ee.DownloadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(vn.total=Tn.total),"text"===ae.responseType&&mt.responseText&&(vn.partialText=mt.responseText),_e.next(vn)},Pn=Tn=>{let vn={type:ee.UploadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(vn.total=Tn.total),_e.next(vn)};return mt.addEventListener("load",We),mt.addEventListener("error",wt),mt.addEventListener("timeout",wt),mt.addEventListener("abort",wt),ae.reportProgress&&(mt.addEventListener("progress",Kn),null!==V&&mt.upload&&mt.upload.addEventListener("progress",Pn)),mt.send(V),_e.next({type:ee.Sent}),()=>{mt.removeEventListener("error",wt),mt.removeEventListener("abort",wt),mt.removeEventListener("load",We),mt.removeEventListener("timeout",wt),ae.reportProgress&&(mt.removeEventListener("progress",Kn),null!==V&&mt.upload&&mt.upload.removeEventListener("progress",Pn)),mt.readyState!==mt.DONE&&mt.abort()}})))}static#e=this.\u0275fac=function(fe){return new(fe||se)(v.\u0275\u0275inject(r.XhrFactory))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();const Ut=new v.InjectionToken(""),xe="XSRF-TOKEN",rt=new v.InjectionToken("",{providedIn:"root",factory:()=>xe}),lt="X-XSRF-TOKEN",At=new v.InjectionToken("",{providedIn:"root",factory:()=>lt});class nt{}let vt=(()=>{class se{constructor(ae,fe,Ae){this.doc=ae,this.platform=fe,this.cookieName=Ae,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ae=this.doc.cookie||"";return ae!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.\u0275parseCookieValue)(ae,this.cookieName),this.lastCookieString=ae),this.lastToken}static#e=this.\u0275fac=function(fe){return new(fe||se)(v.\u0275\u0275inject(r.DOCUMENT),v.\u0275\u0275inject(v.PLATFORM_ID),v.\u0275\u0275inject(rt))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();function Le(se,at){const ae=se.url.toLowerCase();if(!(0,v.inject)(Ut)||"GET"===se.method||"HEAD"===se.method||ae.startsWith("http://")||ae.startsWith("https://"))return at(se);const fe=(0,v.inject)(nt).getToken(),Ae=(0,v.inject)(At);return null!=fe&&!se.headers.has(Ae)&&(se=se.clone({headers:se.headers.set(Ae,fe)})),at(se)}let He=(()=>{class se{constructor(ae){this.injector=ae}intercept(ae,fe){return(0,v.runInInjectionContext)(this.injector,()=>Le(ae,Ae=>fe.handle(Ae)))}static#e=this.\u0275fac=function(fe){return new(fe||se)(v.\u0275\u0275inject(v.EnvironmentInjector))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();var st=function(se){return se[se.Interceptors=0]="Interceptors",se[se.LegacyInterceptors=1]="LegacyInterceptors",se[se.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",se[se.NoXsrfProtection=3]="NoXsrfProtection",se[se.JsonpSupport=4]="JsonpSupport",se[se.RequestsMadeViaParent=5]="RequestsMadeViaParent",se[se.Fetch=6]="Fetch",se}(st||{});function Te(se,at){return{\u0275kind:se,\u0275providers:at}}function Pe(...se){const at=[j,Ot,Xe,{provide:u,useExisting:Xe},{provide:h,useExisting:Ot},{provide:Be,useValue:Le,multi:!0},{provide:Ut,useValue:!0},{provide:nt,useClass:vt}];for(const ae of se)at.push(...ae.\u0275providers);return(0,v.makeEnvironmentProviders)(at)}function bt(se){return Te(st.Interceptors,se.map(at=>({provide:Be,useValue:at,multi:!0})))}const Me=new v.InjectionToken("");function $e(){return Te(st.LegacyInterceptors,[{provide:Me,useFactory:q},{provide:Be,useExisting:Me,multi:!0}])}function Ge({cookieName:se,headerName:at}){const ae=[];return void 0!==se&&ae.push({provide:rt,useValue:se}),void 0!==at&&ae.push({provide:At,useValue:at}),Te(st.CustomXsrfConfiguration,ae)}function kt(){return Te(st.NoXsrfProtection,[{provide:Ut,useValue:!1}])}function dt(){return Te(st.JsonpSupport,[on,{provide:Gt,useFactory:rn},{provide:Be,useValue:tn,multi:!0}])}function xt(){return Te(st.RequestsMadeViaParent,[{provide:h,useFactory:()=>(0,v.inject)(u,{skipSelf:!0,optional:!0})}])}function qe(){return Te(st.Fetch,[Je,{provide:h,useExisting:Je},{provide:je,useExisting:Je}])}let Fe=(()=>{class se{static disable(){return{ngModule:se,providers:[kt().\u0275providers]}}static withOptions(ae={}){return{ngModule:se,providers:Ge(ae).\u0275providers}}static#e=this.\u0275fac=function(fe){return new(fe||se)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:se});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({providers:[He,{provide:Qe,useExisting:He,multi:!0},{provide:nt,useClass:vt},Ge({cookieName:xe,headerName:lt}).\u0275providers,{provide:Ut,useValue:!0}]})}return se})(),et=(()=>{class se{static#e=this.\u0275fac=function(fe){return new(fe||se)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:se});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({providers:[Pe($e())]})}return se})(),Ke=(()=>{class se{static#e=this.\u0275fac=function(fe){return new(fe||se)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:se});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({providers:[dt().\u0275providers]})}return se})();const ft="b",Bt="h",qt="s",fn="st",ln="u",An="rt",fi=new v.InjectionToken(""),Si=["GET","HEAD"];function Fi(se,at){const{isCacheActive:ae,...fe}=(0,v.inject)(fi),{transferCache:Ae,method:_e}=se;if(!ae||"POST"===_e&&!fe.includePostRequests&&!Ae||"POST"!==_e&&!Si.includes(_e)||!1===Ae||!1===fe.filter?.(se))return at(se);const mt=(0,v.inject)(v.TransferState),V=function Ji(se){const{params:at,method:ae,responseType:fe,url:Ae,body:_e}=se,de=function mi(se){let at=0;for(const ae of se)at=Math.imul(31,at)+ae.charCodeAt(0)<<0;return at+=2147483648,at.toString()}([ae,fe,Ae,"string"==typeof _e?_e:"",at.keys().sort().map(We=>`${We}=${at.getAll(We)}`).join("&")].join("|"));return(0,v.makeStateKey)(de)}(se),he=mt.get(V,null);let de=fe.includeHeaders;if("object"==typeof Ae&&Ae.includeHeaders&&(de=Ae.includeHeaders),he){const{[ft]:We,[An]:wt,[Bt]:Yt,[qt]:Kn,[fn]:Pn,[ln]:Tn}=he;let vn=We;switch(wt){case"arraybuffer":vn=(new TextEncoder).encode(We).buffer;break;case"blob":vn=new Blob([We])}let oi=new p(Yt);return(0,C.of)(new H({body:vn,headers:oi,status:Kn,statusText:Pn,url:Tn}))}return at(se).pipe((0,a.y)(We=>{We instanceof H&&mt.set(V,{[ft]:We.body,[Bt]:si(We.headers,de),[qt]:We.status,[fn]:We.statusText,[ln]:We.url||"",[An]:se.responseType})}))}function si(se,at){if(!at)return{};const ae={};for(const fe of at){const Ae=se.getAll(fe);null!==Ae&&(ae[fe]=Ae)}return ae}function ji(se){return[{provide:fi,useFactory:()=>((0,v.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...se})},{provide:Ie,useValue:Fi,multi:!0,deps:[v.TransferState,fi]},{provide:v.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const at=(0,v.inject)(v.ApplicationRef),ae=(0,v.inject)(fi);return()=>{(0,v.\u0275whenStable)(at).then(()=>{ae.isCacheActive=!1})}}}]}},4496:(De,te,g)=>{"use strict";g.r(te),g.d(te,{ANIMATION_MODULE_TYPE:()=>Kt,APP_BOOTSTRAP_LISTENER:()=>Sm,APP_ID:()=>gt,APP_INITIALIZER:()=>cC,AfterRenderPhase:()=>Ro,ApplicationInitStatus:()=>$u,ApplicationModule:()=>xS,ApplicationRef:()=>oa,Attribute:()=>Mp,COMPILER_OPTIONS:()=>_C,CSP_NONCE:()=>Pi,CUSTOM_ELEMENTS_SCHEMA:()=>l0,ChangeDetectionStrategy:()=>Fe,ChangeDetectorRef:()=>Th,Compiler:()=>nS,CompilerFactory:()=>iS,Component:()=>CT,ComponentFactory:()=>ou,ComponentFactoryResolver:()=>zl,ComponentRef:()=>ug,ContentChild:()=>TM,ContentChildren:()=>DM,DEFAULT_CURRENCY_CODE:()=>lS,DebugElement:()=>uc,DebugEventListener:()=>vS,DebugNode:()=>Rm,DefaultIterableDiffer:()=>_g,DestroyRef:()=>Wl,Directive:()=>Xy,ENVIRONMENT_INITIALIZER:()=>Go,ElementRef:()=>xs,EmbeddedViewRef:()=>_S,EnvironmentInjector:()=>zs,ErrorHandler:()=>Ao,EventEmitter:()=>Gt,Host:()=>Xm,HostBinding:()=>MT,HostListener:()=>IT,INJECTOR:()=>pd,Inject:()=>Zm,InjectFlags:()=>Jt,Injectable:()=>sw,InjectionToken:()=>ht,Injector:()=>ms,Input:()=>ET,IterableDiffers:()=>Ih,KeyValueDiffers:()=>Dh,LOCALE_ID:()=>Hu,MissingTranslationStrategy:()=>EC,ModuleWithComponentFactories:()=>gC,NO_ERRORS_SCHEMA:()=>c0,NgModule:()=>DT,NgModuleFactory:()=>M_,NgModuleRef:()=>qo,NgProbeToken:()=>tS,NgZone:()=>gr,Optional:()=>yc,Output:()=>xT,PACKAGE_ROOT_URL:()=>Lt,PLATFORM_ID:()=>In,PLATFORM_INITIALIZER:()=>Nt,Pipe:()=>wT,PlatformRef:()=>km,Query:()=>Kl,QueryList:()=>Hs,Renderer2:()=>yx,RendererFactory2:()=>hg,RendererStyleFlags2:()=>Hc,Sanitizer:()=>fg,SecurityContext:()=>Xo,Self:()=>Qm,SimpleChange:()=>ap,SkipSelf:()=>Cc,TRANSLATIONS:()=>cS,TRANSLATIONS_FORMAT:()=>uS,TemplateRef:()=>Bl,Testability:()=>eS,TestabilityRegistry:()=>oC,TransferState:()=>bl,Type:()=>sp,VERSION:()=>TT,Version:()=>Jy,ViewChild:()=>AM,ViewChildren:()=>SM,ViewContainerRef:()=>hu,ViewEncapsulation:()=>et,ViewRef:()=>AC,afterNextRender:()=>Rg,afterRender:()=>Og,asNativeElements:()=>bS,assertInInjectionContext:()=>Dc,assertNotInReactiveContext:()=>$x,assertPlatform:()=>DC,booleanAttribute:()=>nA,computed:()=>wx,contentChild:()=>EM,contentChildren:()=>xM,createComponent:()=>fA,createEnvironmentInjector:()=>T_,createNgModule:()=>I_,createNgModuleRef:()=>ZM,createPlatform:()=>xC,createPlatformFactory:()=>MC,defineInjectable:()=>re,destroyPlatform:()=>dS,effect:()=>Ig,enableProdMode:()=>mS,forwardRef:()=>Qi,getDebugNode:()=>cl,getModuleFactory:()=>pS,getNgModuleById:()=>gS,getPlatform:()=>zu,importProvidersFrom:()=>Jm,inject:()=>Ti,input:()=>gn,isDevMode:()=>fS,isSignal:()=>xh,isStandalone:()=>cn,makeEnvironmentProviders:()=>Ec,makeStateKey:()=>u1,mergeApplicationConfig:()=>pA,model:()=>IM,numberAttribute:()=>iA,platformCore:()=>ES,provideZoneChangeDetection:()=>CC,reflectComponentType:()=>mA,resolveForwardRef:()=>_n,runInInjectionContext:()=>D1,setTestabilityGetter:()=>aC,signal:()=>mg,untracked:()=>Mx,viewChild:()=>yM,viewChildren:()=>CM,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Om,\u0275AfterRenderEventManager:()=>Ba,\u0275CONTAINER_HEADER_OFFSET:()=>Gn,\u0275ChangeDetectionScheduler:()=>Eh,\u0275ComponentFactory:()=>ou,\u0275Console:()=>qy,\u0275DEFAULT_LOCALE_ID:()=>ra,\u0275DEFER_BLOCK_CONFIG:()=>W_,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>hI,\u0275DeferBlockBehavior:()=>Gh,\u0275DeferBlockState:()=>br,\u0275EffectScheduler:()=>Mg,\u0275IMAGE_CONFIG:()=>dn,\u0275IMAGE_CONFIG_DEFAULTS:()=>xn,\u0275INJECTOR_SCOPE:()=>bd,\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE:()=>ot,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>Tl,\u0275LContext:()=>e0,\u0275LifecycleHooksFeature:()=>Vg,\u0275LocaleDataIndex:()=>al,\u0275NG_COMP_DEF:()=>Si,\u0275NG_DIR_DEF:()=>Fi,\u0275NG_ELEMENT_ID:()=>ji,\u0275NG_INJ_DEF:()=>Ce,\u0275NG_MOD_DEF:()=>Ji,\u0275NG_PIPE_DEF:()=>si,\u0275NG_PROV_DEF:()=>R,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>au,\u0275NO_CHANGE:()=>ri,\u0275NgModuleFactory:()=>_u,\u0275NoopNgZone:()=>kh,\u0275PendingTasks:()=>Zl,\u0275ReflectionCapabilities:()=>op,\u0275Render3ComponentFactory:()=>Va,\u0275Render3ComponentRef:()=>$g,\u0275Render3NgModuleRef:()=>gu,\u0275RuntimeError:()=>ye,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>zm,\u0275TESTABILITY:()=>rC,\u0275TESTABILITY_GETTER:()=>sC,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>uu,\u0275ViewRef:()=>Fa,\u0275XSS_SECURITY_URL:()=>q,\u0275_sanitizeHtml:()=>Wp,\u0275_sanitizeUrl:()=>Bc,\u0275allowSanitizationBypassAndThrow:()=>ka,\u0275annotateForHydration:()=>GS,\u0275bypassSanitizationTrustHtml:()=>fw,\u0275bypassSanitizationTrustResourceUrl:()=>_w,\u0275bypassSanitizationTrustScript:()=>pw,\u0275bypassSanitizationTrustStyle:()=>mw,\u0275bypassSanitizationTrustUrl:()=>gw,\u0275clearResolutionOfComponentResourcesQueue:()=>f_,\u0275compileComponent:()=>By,\u0275compileDirective:()=>Mm,\u0275compileNgModule:()=>Ry,\u0275compileNgModuleDefs:()=>Ly,\u0275compileNgModuleFactory:()=>vC,\u0275compilePipe:()=>Zy,\u0275convertToBitFlags:()=>_l,\u0275createInjector:()=>Pd,\u0275defaultIterableDiffers:()=>Nx,\u0275defaultKeyValueDiffers:()=>Fx,\u0275depsTracker:()=>$a,\u0275devModeEqual:()=>Eg,\u0275findLocaleData:()=>Sf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>ky,\u0275formatRuntimeError:()=>Oe,\u0275generateStandaloneInDeclarationsError:()=>Py,\u0275getAsyncClassMetadataFn:()=>KM,\u0275getDebugNode:()=>cl,\u0275getDeferBlocks:()=>$m,\u0275getDirectives:()=>ry,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>ks,\u0275getHostElement:()=>bm,\u0275getInjectableDef:()=>Ze,\u0275getLContext:()=>Yr,\u0275getLocaleCurrencyCode:()=>XI,\u0275getLocalePluralCase:()=>Zv,\u0275getSanitizationBypassType:()=>Up,\u0275getUnknownElementStrictMode:()=>Ww,\u0275getUnknownPropertyStrictMode:()=>Kw,\u0275global:()=>ft,\u0275injectChangeDetectorRef:()=>xg,\u0275internalAfterNextRender:()=>Oh,\u0275internalCreateApplication:()=>$S,\u0275isBoundToModule:()=>dC,\u0275isComponentDefPendingResolution:()=>OM,\u0275isEnvironmentProviders:()=>fs,\u0275isInjectable:()=>Et,\u0275isNgModule:()=>Lo,\u0275isPromise:()=>Tm,\u0275isSubscribable:()=>lC,\u0275noSideEffects:()=>Ke,\u0275output:()=>rn,\u0275patchComponentDefWithScope:()=>Em,\u0275performanceMarkFeature:()=>Oo,\u0275provideZonelessChangeDetection:()=>jS,\u0275readHydrationInfo:()=>dd,\u0275registerLocaleData:()=>QI,\u0275renderDeferBlockState:()=>fo,\u0275resetCompiledComponents:()=>uT,\u0275resetJitOptions:()=>aT,\u0275resolveComponentResources:()=>d_,\u0275restoreComponentResolutionQueue:()=>RM,\u0275setAllowDuplicateNgModuleIdsForTest:()=>UM,\u0275setAlternateWeakRefImpl:()=>NS,\u0275setClassDebugInfo:()=>Ay,\u0275setClassMetadata:()=>x_,\u0275setClassMetadataAsync:()=>YM,\u0275setCurrentInjector:()=>lo,\u0275setDocument:()=>W,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>as,\u0275setInjectorProfilerContext:()=>Cn,\u0275setLocaleId:()=>Af,\u0275setUnknownElementStrictMode:()=>zw,\u0275setUnknownPropertyStrictMode:()=>Gw,\u0275store:()=>Lb,\u0275stringify:()=>an,\u0275transitiveScopesFor:()=>sa,\u0275triggerResourceLoading:()=>xu,\u0275truncateMiddle:()=>Ut,\u0275unregisterLocaleData:()=>JI,\u0275unwrapSafeValue:()=>co,\u0275unwrapWritableSignal:()=>Ex,\u0275whenStable:()=>mC,\u0275withDomHydration:()=>eA,\u0275\u0275CopyDefinitionFeature:()=>v_,\u0275\u0275FactoryTarget:()=>Yo,\u0275\u0275HostDirectivesFeature:()=>b_,\u0275\u0275InheritDefinitionFeature:()=>Wh,\u0275\u0275InputFlags:()=>se,\u0275\u0275InputTransformsFeature:()=>E_,\u0275\u0275NgOnChangesFeature:()=>xd,\u0275\u0275ProvidersFeature:()=>Zb,\u0275\u0275StandaloneFeature:()=>Qb,\u0275\u0275advance:()=>O0,\u0275\u0275attribute:()=>tf,\u0275\u0275attributeInterpolate1:()=>nf,\u0275\u0275attributeInterpolate2:()=>rf,\u0275\u0275attributeInterpolate3:()=>sf,\u0275\u0275attributeInterpolate4:()=>af,\u0275\u0275attributeInterpolate5:()=>lf,\u0275\u0275attributeInterpolate6:()=>cf,\u0275\u0275attributeInterpolate7:()=>uf,\u0275\u0275attributeInterpolate8:()=>df,\u0275\u0275attributeInterpolateV:()=>hf,\u0275\u0275classMap:()=>Cv,\u0275\u0275classMapInterpolate1:()=>Tv,\u0275\u0275classMapInterpolate2:()=>Sv,\u0275\u0275classMapInterpolate3:()=>Av,\u0275\u0275classMapInterpolate4:()=>kv,\u0275\u0275classMapInterpolate5:()=>Ov,\u0275\u0275classMapInterpolate6:()=>Rv,\u0275\u0275classMapInterpolate7:()=>Lv,\u0275\u0275classMapInterpolate8:()=>Pv,\u0275\u0275classMapInterpolateV:()=>Nv,\u0275\u0275classProp:()=>bf,\u0275\u0275componentInstance:()=>Fv,\u0275\u0275conditional:()=>Vv,\u0275\u0275contentQuery:()=>Db,\u0275\u0275contentQuerySignal:()=>kb,\u0275\u0275defer:()=>K_,\u0275\u0275deferEnableTimerScheduling:()=>G_,\u0275\u0275deferOnHover:()=>nv,\u0275\u0275deferOnIdle:()=>Q_,\u0275\u0275deferOnImmediate:()=>J_,\u0275\u0275deferOnInteraction:()=>rv,\u0275\u0275deferOnTimer:()=>ev,\u0275\u0275deferOnViewport:()=>ov,\u0275\u0275deferPrefetchOnHover:()=>iv,\u0275\u0275deferPrefetchOnIdle:()=>X_,\u0275\u0275deferPrefetchOnImmediate:()=>q_,\u0275\u0275deferPrefetchOnInteraction:()=>sv,\u0275\u0275deferPrefetchOnTimer:()=>tv,\u0275\u0275deferPrefetchOnViewport:()=>av,\u0275\u0275deferPrefetchWhen:()=>Z_,\u0275\u0275deferWhen:()=>Y_,\u0275\u0275defineComponent:()=>Gi,\u0275\u0275defineDirective:()=>Wn,\u0275\u0275defineInjectable:()=>Z,\u0275\u0275defineInjector:()=>Ee,\u0275\u0275defineNgModule:()=>ki,\u0275\u0275definePipe:()=>Zn,\u0275\u0275directiveInject:()=>La,\u0275\u0275disableBindings:()=>Ns,\u0275\u0275element:()=>Mf,\u0275\u0275elementContainer:()=>If,\u0275\u0275elementContainerEnd:()=>Au,\u0275\u0275elementContainerStart:()=>Su,\u0275\u0275elementEnd:()=>Tu,\u0275\u0275elementStart:()=>Du,\u0275\u0275enableBindings:()=>Ps,\u0275\u0275getComponentDepsFactory:()=>Sy,\u0275\u0275getCurrentView:()=>Yv,\u0275\u0275getInheritedFactory:()=>Ep,\u0275\u0275hostProperty:()=>Df,\u0275\u0275i18n:()=>vb,\u0275\u0275i18nApply:()=>yb,\u0275\u0275i18nAttributes:()=>bb,\u0275\u0275i18nEnd:()=>Lf,\u0275\u0275i18nExp:()=>Pf,\u0275\u0275i18nPostprocess:()=>Cb,\u0275\u0275i18nStart:()=>Rf,\u0275\u0275inject:()=>$r,\u0275\u0275injectAttribute:()=>Rd,\u0275\u0275invalidFactory:()=>L0,\u0275\u0275invalidFactoryDep:()=>ed,\u0275\u0275listener:()=>Nf,\u0275\u0275loadQuery:()=>Ab,\u0275\u0275namespaceHTML:()=>ca,\u0275\u0275namespaceMathML:()=>Kr,\u0275\u0275namespaceSVG:()=>ws,\u0275\u0275nextContext:()=>xb,\u0275\u0275ngDeclareClassMetadata:()=>sA,\u0275\u0275ngDeclareComponent:()=>oA,\u0275\u0275ngDeclareDirective:()=>rA,\u0275\u0275ngDeclareFactory:()=>aA,\u0275\u0275ngDeclareInjectable:()=>cA,\u0275\u0275ngDeclareInjector:()=>uA,\u0275\u0275ngDeclareNgModule:()=>dA,\u0275\u0275ngDeclarePipe:()=>hA,\u0275\u0275pipe:()=>wy,\u0275\u0275pipeBind1:()=>Ey,\u0275\u0275pipeBind2:()=>xy,\u0275\u0275pipeBind3:()=>My,\u0275\u0275pipeBind4:()=>Iy,\u0275\u0275pipeBindV:()=>Dy,\u0275\u0275projection:()=>Ib,\u0275\u0275projectionDef:()=>Mb,\u0275\u0275property:()=>gf,\u0275\u0275propertyInterpolate:()=>Bf,\u0275\u0275propertyInterpolate1:()=>Pu,\u0275\u0275propertyInterpolate2:()=>$f,\u0275\u0275propertyInterpolate3:()=>Vf,\u0275\u0275propertyInterpolate4:()=>jf,\u0275\u0275propertyInterpolate5:()=>Hf,\u0275\u0275propertyInterpolate6:()=>zf,\u0275\u0275propertyInterpolate7:()=>Wf,\u0275\u0275propertyInterpolate8:()=>Gf,\u0275\u0275propertyInterpolateV:()=>Kf,\u0275\u0275pureFunction0:()=>ay,\u0275\u0275pureFunction1:()=>ly,\u0275\u0275pureFunction2:()=>cy,\u0275\u0275pureFunction3:()=>uy,\u0275\u0275pureFunction4:()=>dy,\u0275\u0275pureFunction5:()=>hy,\u0275\u0275pureFunction6:()=>fy,\u0275\u0275pureFunction7:()=>my,\u0275\u0275pureFunction8:()=>py,\u0275\u0275pureFunctionV:()=>gy,\u0275\u0275queryAdvance:()=>Rb,\u0275\u0275queryRefresh:()=>Sb,\u0275\u0275reference:()=>Pb,\u0275\u0275registerNgModuleType:()=>zh,\u0275\u0275repeater:()=>Wv,\u0275\u0275repeaterCreate:()=>zv,\u0275\u0275repeaterTrackByIdentity:()=>Hv,\u0275\u0275repeaterTrackByIndex:()=>jv,\u0275\u0275resetView:()=>Us,\u0275\u0275resolveBody:()=>Qd,\u0275\u0275resolveDocument:()=>f0,\u0275\u0275resolveWindow:()=>h0,\u0275\u0275restoreView:()=>Lr,\u0275\u0275sanitizeHtml:()=>Gp,\u0275\u0275sanitizeResourceUrl:()=>Hd,\u0275\u0275sanitizeScript:()=>Yp,\u0275\u0275sanitizeStyle:()=>Kp,\u0275\u0275sanitizeUrl:()=>jd,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Xp,\u0275\u0275setComponentScope:()=>Xb,\u0275\u0275setNgModuleScope:()=>Jb,\u0275\u0275styleMap:()=>Ms,\u0275\u0275styleMapInterpolate1:()=>Nb,\u0275\u0275styleMapInterpolate2:()=>Fb,\u0275\u0275styleMapInterpolate3:()=>Ub,\u0275\u0275styleMapInterpolate4:()=>Bb,\u0275\u0275styleMapInterpolate5:()=>$b,\u0275\u0275styleMapInterpolate6:()=>Vb,\u0275\u0275styleMapInterpolate7:()=>jb,\u0275\u0275styleMapInterpolate8:()=>Hb,\u0275\u0275styleMapInterpolateV:()=>zb,\u0275\u0275styleProp:()=>vf,\u0275\u0275stylePropInterpolate1:()=>Yf,\u0275\u0275stylePropInterpolate2:()=>Zf,\u0275\u0275stylePropInterpolate3:()=>Qf,\u0275\u0275stylePropInterpolate4:()=>Xf,\u0275\u0275stylePropInterpolate5:()=>Jf,\u0275\u0275stylePropInterpolate6:()=>qf,\u0275\u0275stylePropInterpolate7:()=>em,\u0275\u0275stylePropInterpolate8:()=>tm,\u0275\u0275stylePropInterpolateV:()=>nm,\u0275\u0275syntheticHostListener:()=>Ff,\u0275\u0275syntheticHostProperty:()=>Tf,\u0275\u0275template:()=>Ha,\u0275\u0275templateRefExtractor:()=>Ty,\u0275\u0275text:()=>Wb,\u0275\u0275textInterpolate:()=>im,\u0275\u0275textInterpolate1:()=>Nu,\u0275\u0275textInterpolate2:()=>rm,\u0275\u0275textInterpolate3:()=>sm,\u0275\u0275textInterpolate4:()=>om,\u0275\u0275textInterpolate5:()=>am,\u0275\u0275textInterpolate6:()=>lm,\u0275\u0275textInterpolate7:()=>cm,\u0275\u0275textInterpolate8:()=>um,\u0275\u0275textInterpolateV:()=>dm,\u0275\u0275trustConstantHtml:()=>Zp,\u0275\u0275trustConstantResourceUrl:()=>Qp,\u0275\u0275twoWayBindingSet:()=>Kb,\u0275\u0275twoWayListener:()=>fm,\u0275\u0275twoWayProperty:()=>hm,\u0275\u0275validateIframeAttribute:()=>g_,\u0275\u0275viewQuery:()=>Tb,\u0275\u0275viewQuerySignal:()=>Ob});var t=g(1528);function v(e,n){return Object.is(e,n)}let C=null,E=!1,c=1;const b=Symbol("SIGNAL");function s(e){const n=C;return C=e,n}const a={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function r(e){if(E)throw new Error("");if(null===C)return;C.consumerOnSignalRead(e);const n=C.nextProducerIndex++;N(C),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function k(e){N(e);for(let n=0;n0}function N(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function S(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function F(e){const n=Object.create(K);n.computation=e;const i=()=>{if(h(n),r(n),n.value===U)throw n.error;return n.value};return i[b]=n,i}const L=Symbol("UNSET"),A=Symbol("COMPUTING"),U=Symbol("ERRORED"),K={...a,value:L,dirty:!0,error:null,equal:v,producerMustRecompute:e=>e.value===L||e.value===A,producerRecomputeValue(e){if(e.value===A)throw new Error("Detected cycle in computations.");const n=e.value;e.value=A;const i=M(e);let o;try{o=e.computation()}catch(m){o=U,e.error=m}finally{w(e,i)}n!==L&&n!==U&&o!==U&&e.equal(n,o)?e.value=n:(e.value=o,e.version++)}};let ne=function ee(){throw new Error};function B(){ne()}let z=null;function le(e,n){_()||B(),e.equal(e.value,n)||(e.value=n,function Je(e){e.version++,function u(){c++}(),p(e),z?.()}(e))}const ve={...a,equal:v,value:void 0};const ct=()=>{},Ct={...a,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:ct};var ke=g(5657),pe=g(6928),Qe=g(6700),Be=g(4704),Ie=g(5084);const q="https://g.co/ng/security#xss";class ye extends Error{constructor(n,i){super(Oe(n,i)),this.code=n}}function Oe(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}const Xe=Symbol("InputSignalNode#UNSET"),ge={...ve,transformFn:void 0,applyValueToInputSignal(e,n){le(e,n)}},ot=Symbol();function ze(e,n){const i=Object.create(ge);function o(){if(r(i),i.value===Xe)throw new ye(-950,!1);return i.value}return i.value=e,i.transformFn=n?.transform,o[b]=i,o}function Pt(e){return n=>{setTimeout(e,void 0,n)}}const Gt=class pt extends ke.E{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,i,o){let m=n,x=i||(()=>null),P=o;if(n&&"object"==typeof n){const J=n;m=J.next?.bind(J),x=J.error?.bind(J),P=J.complete?.bind(J)}this.__isAsync&&(x=Pt(x),m&&(m=Pt(m)),P&&(P=Pt(P)));const $=super.subscribe({next:m,error:x,complete:P});return n instanceof pe.wH&&n.add($),$}};function rn(e){return new Gt}function on(e,n){return ze(e,n)}const gn=(on.required=function tn(e){return ze(Xe,e)},on);var Jt=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}(Jt||{});function an(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(an).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const i=n.indexOf("\n");return-1===i?n:n.substring(0,i)}function Ot(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}function Ut(e,n=100){if(!e||n<1||e.length<=n)return e;if(1==n)return e.substring(0,1)+"...";const i=Math.round(n/2);return e.substring(0,i)+"..."+e.substring(e.length-i)}function Ge(e,n,i,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${i} ${o} ${n} <=Actual]`))}var Fe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Fe||{}),et=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(et||{});function Ke(e){return{toString:e}.toString()}const ft=globalThis,fn={},ln=[];function An(e){for(let n in e)if(e[n]===An)return n;throw Error("Could not find renamed property on target object.")}function fi(e,n){for(const i in n)n.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=n[i])}const Si=An({\u0275cmp:An}),Fi=An({\u0275dir:An}),si=An({\u0275pipe:An}),Ji=An({\u0275mod:An}),mi=An({\u0275fac:An}),ji=An({__NG_ELEMENT_ID__:An}),rr=An({__NG_ENV_ID__:An});var se=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(se||{});function at(e,n,i){let o=e.length;for(;;){const m=e.indexOf(n,i);if(-1===m)return m;if(0===m||e.charCodeAt(m-1)<=32){const x=n.length;if(m+x===o||e.charCodeAt(m+x)<=32)return m}i=m+1}}function ae(e,n,i){let o=0;for(;on){P=x-1;break}}}for(;xx?"":m[it+1].toLowerCase();const Rt=8&o?Dt:null;if(Rt&&-1!==at(Rt,me,0)||2&o&&me!==Dt){if(Yt(o))return!1;P=!0}}}}else{if(!P&&!Yt(o)&&!Yt(J))return!1;if(P&&Yt(J))continue;P=!1,o=J|1&o}}return Yt(o)||P}function Yt(e){return 0==(1&e)}function Kn(e,n,i,o){if(null===n)return-1;let m=0;if(o||!i){let x=!1;for(;m-1)for(i++;i0?'="'+$+'"':"")+"]"}else 8&o?m+="."+P:4&o&&(m+=" "+P);else""!==m&&!Yt(P)&&(n+=pi(x,m),m=""),o=P,x=x||!Yt(o);i++}return""!==m&&(n+=pi(x,m)),n}function Gi(e){return Ke(()=>{const n=Nn(e),i={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Fe.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||et.Emulated,styles:e.styles||ln,_:null,schemas:e.schemas||null,tView:null,id:""};Fn(i);const o=e.dependencies;return i.directiveDefs=Oi(o,!1),i.pipeDefs=Oi(o,!0),i.id=function nr(e){let n=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 m of i)n=Math.imul(31,n)+m.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(i),i})}function or(e){return Dn(e)||Qn(e)}function Vn(e){return null!==e}function ki(e){return Ke(()=>({type:e.type,bootstrap:e.bootstrap||ln,declarations:e.declarations||ln,imports:e.imports||ln,exports:e.exports||ln,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Yn(e,n){if(null==e)return fn;const i={};for(const o in e)if(e.hasOwnProperty(o)){const m=e[o];let x,P,$=se.None;Array.isArray(m)?($=m[0],x=m[1],P=m[2]??x):(x=m,P=m),n?(i[x]=$!==se.None?[o,$]:o,n[x]=P):i[x]=o}return i}function Wn(e){return Ke(()=>{const n=Nn(e);return Fn(n),n})}function Zn(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 Dn(e){return e[Si]||null}function Qn(e){return e[Fi]||null}function ui(e){return e[si]||null}function cn(e){const n=Dn(e)||Qn(e)||ui(e);return null!==n&&n.standalone}function pn(e,n){const i=e[Ji]||null;if(!i&&!0===n)throw new Error(`Type ${an(e)} does not have '\u0275mod' property.`);return i}function Nn(e){const n={};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:n,inputTransforms:null,inputConfig:e.inputs||fn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ln,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Yn(e.inputs,n),outputs:Yn(e.outputs),debugInfo:null}}function Fn(e){e.features?.forEach(n=>n(e))}function Oi(e,n){if(!e)return null;const i=n?ui:or;return()=>("function"==typeof e?e():e).map(o=>i(o)).filter(Vn)}const Ki=new Map,ni=0,un=1,En=2,ci=3,ar=4,Ui=5,dr=6,hr=7,di=8,Hi=9,qi=10,Rn=11,Sr=12,rs=13,Ar=14,hi=15,kr=16,Mt=17,yt=18,It=19,St=20,Ft=21,jt=22,en=23,Zt=25,hn=1,Sn=6,On=7,jn=9,Gn=10;var Bn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Bn||{});function kn(e){return Array.isArray(e)&&"object"==typeof e[hn]}function Ln(e){return Array.isArray(e)&&!0===e[hn]}function ir(e){return 0!=(4&e.flags)}function $i(e){return e.componentOffset>-1}function Or(e){return 1==(1&e.flags)}function fr(e){return!!e.template}function Ts(e){return 0!=(512&e[En])}function Br(e){return 16==(16&e.type)}function _s(e){return 256==(256&e[En])}const bi="svg",Qs="math";let Xs=!1;function ks(){return Xs}function as(e){Xs=e}function Bi(e){for(;Array.isArray(e);)e=e[ni];return e}function Xr(e){for(;Array.isArray(e);){if("object"==typeof e[hn])return e;e=e[ni]}return null}function Os(e,n){return Bi(n[e])}function lr(e,n){return Bi(n[e.index])}function ls(e,n){return e.data[n]}function Jr(e,n){return e[n]}function cr(e,n){const i=n[e];return kn(i)?i:i[ni]}function qs(e){return 128==(128&e[En])}function Vi(e,n){return null==n?null:e[n]}function to(e){e[Mt]=0}function bs(e){1024&e[En]||(e[En]|=1024,qs(e)&&us(e))}function no(e,n){for(;e>0;)n=n[Ar],e--;return n}function ys(e){return!!(9216&e[En]||e[en]?.dirty)}function cs(e){ys(e)?us(e):64&e[En]&&(ks()?(e[En]|=1024,us(e)):e[qi].changeDetectionScheduler?.notify())}function us(e){e[qi].changeDetectionScheduler?.notify();let n=Hr(e);for(;null!==n&&!(8192&n[En])&&(n[En]|=8192,qs(n));)n=Hr(n)}function Rs(e,n){if(256==(256&e[En]))throw new ye(911,!1);null===e[Ft]&&(e[Ft]=[]),e[Ft].push(n)}function Cs(e,n){if(null===e[Ft])return;const i=e[Ft].indexOf(n);-1!==i&&e[Ft].splice(i,1)}function Hr(e){const n=e[ci];return Ln(n)?n[ci]:n}const Un={lFrame:er(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function zr(){return Un.bindingsEnabled}function qr(){return null!==Un.skipHydrationRootTNode}function Ps(){Un.bindingsEnabled=!0}function Ns(){Un.bindingsEnabled=!1}function Xt(){return Un.lFrame.lView}function Hn(){return Un.lFrame.tView}function Lr(e){return Un.lFrame.contextLView=e,e[di]}function Us(e){return Un.lFrame.contextLView=null,e}function yi(){let e=Co();for(;null!==e&&64===e.type;)e=e.parent;return e}function Co(){return Un.lFrame.currentTNode}function ds(){const e=Un.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function wr(e,n){const i=Un.lFrame;i.currentTNode=e,i.isParent=n}function Bs(){return Un.lFrame.isParent}function $s(){Un.lFrame.isParent=!1}function Zi(){const e=Un.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Wr(){return Un.lFrame.bindingIndex}function ro(e){return Un.lFrame.bindingIndex=e}function Q(){return Un.lFrame.bindingIndex++}function Ue(e){const n=Un.lFrame,i=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,i}function be(e){Un.lFrame.inI18n=e}function ut(e,n){const i=Un.lFrame;i.bindingIndex=i.bindingRootIndex=e,Qt(n)}function Qt(e){Un.lFrame.currentDirectiveIndex=e}function bn(e){const n=Un.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function Ri(){return Un.lFrame.currentQueryIndex}function Jn(e){Un.lFrame.currentQueryIndex=e}function Li(e){const n=e[un];return 2===n.type?n.declTNode:1===n.type?e[Ui]:null}function qn(e,n,i){if(i&Jt.SkipSelf){let m=n,x=e;for(;!(m=m.parent,null!==m||i&Jt.Host||(m=Li(x),null===m||(x=x[Ar],10&m.type))););if(null===m)return!1;n=m,e=x}const o=Un.lFrame=wi();return o.currentTNode=n,o.lView=e,!0}function Ci(e){const n=wi(),i=e[un];Un.lFrame=n,n.currentTNode=i.firstChild,n.lView=e,n.tView=i,n.contextLView=e,n.bindingIndex=i.bindingStartIndex,n.inI18n=!1}function wi(){const e=Un.lFrame,n=null===e?null:e.child;return null===n?er(e):n}function er(e){const n={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=n),n}function Pr(){const e=Un.lFrame;return Un.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Nr=Pr;function es(){const e=Pr();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 zi(){return Un.lFrame.selectedIndex}function mr(e){Un.lFrame.selectedIndex=e}function _i(){const e=Un.lFrame;return ls(e.tView,e.selectedIndex)}function ws(){Un.lFrame.currentNamespace=bi}function Kr(){Un.lFrame.currentNamespace=Qs}function ca(){!function fc(){Un.lFrame.currentNamespace=null}()}function ua(){return Un.lFrame.currentNamespace}let da=!0;function so(){return da}function pr(e){da=e}function Vo(){return Es(yi(),Xt())}function Es(e,n){return new xs(lr(e,n))}let xs=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=Vo}return e})();function ha(e){return e instanceof xs?e.nativeElement:e}function ur(e){return e.flat(Number.POSITIVE_INFINITY)}function hs(e,n){e.forEach(i=>Array.isArray(i)?hs(i,n):n(i))}function xo(e,n,i){n>=e.length?e.push(i):e.splice(n,0,i)}function Mo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Vs(e,n){const i=[];for(let o=0;on;)e[m]=e[m-2],m--;e[n]=i,e[n+1]=o}}function Fr(e,n,i){let o=js(e,n);return o>=0?e[1|o]=i:(o=~o,oo(e,o,n,i)),o}function Ho(e,n){const i=js(e,n);if(i>=0)return e[1|i]}function js(e,n){return function ma(e,n,i){let o=0,m=e.length>>i;for(;m!==o;){const x=o+(m-o>>1),P=e[x<n?m=x:o=x+1}return~(m<zt}),zt="ng",Nt=new ht(""),In=new ht("",{providedIn:"platform",factory:()=>"unknown"}),Lt=new ht(""),Kt=new ht(""),Pi=new ht("",{providedIn:"root",factory:()=>ie().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),xn={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},dn=new ht("",{providedIn:"root",factory:()=>xn}),zn=An({__forward_ref__:An});function Qi(e){return e.__forward_ref__=Qi,e.toString=function(){return an(this())},e}function _n(e){return ii(e)?e():e}function ii(e){return"function"==typeof e&&e.hasOwnProperty(zn)&&e.__forward_ref__===Qi}let Ni,Ju;function Cn(e){Ge("setInjectorProfilerContext should never be called in production mode");const n=Ni;return Ni=e,n}function fs(e){return e&&!!e.\u0275providers}function Xn(e){return"string"==typeof e?e:null==e?"":String(e)}function xi(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Xn(e)}function Xu(e,n){throw new ye(-201,!1)}function Vm(){return Ju}function ts(e){const n=Ju;return Ju=e,n}function jm(e,n,i){const o=Ze(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&Jt.Optional?null:void 0!==n?n:void Xu()}const gl={},qu="__NG_DI_FLAG__",pc="ngTempTokenPath",n1=/\n/gm,Hm="__source";let _a;function lo(e){const n=_a;return _a=e,n}function o1(e,n=Jt.Default){if(void 0===_a)throw new ye(-203,!1);return null===_a?jm(e,void 0,n):_a.get(e,n&Jt.Optional?null:void 0,n)}function $r(e,n=Jt.Default){return(Vm()||o1)(_n(e),n)}function ed(e){throw new ye(202,!1)}function Ti(e,n=Jt.Default){return $r(e,_l(n))}function _l(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function td(e){const n=[];for(let i=0;i{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:d1});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 f1(e,n,i=!1){let o=e.getAttribute(Cl);if(null==o)return null;const[m,x]=o.split("|");if(o=i?x:m,!o)return null;const $=i?m:x?`|${x}`:"";let J={};if(""!==o){const Ne=n.get(bl,null,{optional:!0});null!==Ne&&(J=Ne.get(ld,[])[Number(o)])}const me={data:J,firstChild:e.firstChild??null};return i&&(me.firstChild=e,vc(me,0,e.nextSibling)),$?e.setAttribute(Cl,$):e.removeAttribute(Cl),me}function cd(e,n,i=!1){return Wm(e,n,i)}function Gm(e){let n=e._lView;return 2===n[un].type?null:(Ts(n)&&(n=n[Zt]),n)}const Km="__ngDebugHydrationInfo__";function dd(e){return e[Km]??null}function vc(e,n,i){e.segmentHeads??={},e.segmentHeads[n]=i}function hd(e,n){return e.segmentHeads?.[n]??null}function Ym(e,n){return e.data[yl]?.[n]??null}function fd(e,n){const i=Ym(e,n)??[];let o=0;for(let m of i)o+=m[ba]*(m[gc]??1);return o}function bc(e,n){if(typeof e.disconnectedNodes>"u"){const i=e.data[_c];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(n)}const Ca="__annotations__",wa="__parameters__",Ea="__prop__metadata__";function El(e,n,i,o,m){return Ke(()=>{const x=md(n);function P(...$){if(this instanceof P)return x.call(this,...$),this;const J=new P(...$);return function(Ne){return m&&m(Ne,...$),(Ne.hasOwnProperty(Ca)?Ne[Ca]:Object.defineProperty(Ne,Ca,{value:[]})[Ca]).push(J),o&&o(Ne),Ne}}return i&&(P.prototype=Object.create(i.prototype)),P.prototype.ngMetadataName=e,P.annotationCls=P,P})}function md(e){return function(...i){if(e){const o=e(...i);for(const m in o)this[m]=o[m]}}}function xa(e,n,i){return Ke(()=>{const o=md(n);function m(...x){if(this instanceof m)return o.apply(this,x),this;const P=new m(...x);return $.annotation=P,$;function $(J,me,Ne){const it=J.hasOwnProperty(wa)?J[wa]:Object.defineProperty(J,wa,{value:[]})[wa];for(;it.length<=Ne;)it.push(null);return(it[Ne]=it[Ne]||[]).push(P),J}}return i&&(m.prototype=Object.create(i.prototype)),m.prototype.ngMetadataName=e,m.annotationCls=m,m})}function So(e,n,i,o){return Ke(()=>{const m=md(n);function x(...P){if(this instanceof x)return m.apply(this,P),this;const $=new x(...P);return function J(me,Ne){if(void 0===me)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const it=me.constructor,Dt=it.hasOwnProperty(Ea)?it[Ea]:Object.defineProperty(it,Ea,{value:{}})[Ea];Dt[Ne]=Dt.hasOwnProperty(Ne)&&Dt[Ne]||[],Dt[Ne].unshift($),o&&o(me,Ne,...P)}}return i&&(x.prototype=Object.create(i.prototype)),x.prototype.ngMetadataName=e,x.annotationCls=x,x})}const Zm=vl(xa("Inject",e=>({token:e})),-1),yc=vl(xa("Optional"),8),Qm=vl(xa("Self"),2),Cc=vl(xa("SkipSelf"),4),Xm=vl(xa("Host"),1);function Wo(e,n){return e.hasOwnProperty(mi)?e[mi]:null}const Go=new ht(""),pd=new ht("",-1),gd=new ht("");class wc{get(n,i=gl){if(i===gl){const o=new Error(`NullInjectorError: No provider for ${an(n)}!`);throw o.name="NullInjectorError",o}return i}}function Ec(e){return{\u0275providers:e}}function Jm(...e){return{\u0275providers:qm(0,e),\u0275fromNgModule:!0}}function qm(e,...n){const i=[],o=new Set;let m;const x=P=>{i.push(P)};return hs(n,P=>{const $=P;xc($,x,[],o)&&(m||=[],m.push($))}),void 0!==m&&ep(m,x),i}function ep(e,n){for(let i=0;i{n(x,o)})}}function xc(e,n,i,o){if(!(e=_n(e)))return!1;let m=null,x=yn(e);const P=!x&&Dn(e);if(x||P){if(P&&!P.standalone)return!1;m=e}else{const J=e.ngModule;if(x=yn(J),!x)return!1;m=J}const $=o.has(m);if(P){if($)return!1;if(o.add(m),P.dependencies){const J="function"==typeof P.dependencies?P.dependencies():P.dependencies;for(const me of J)xc(me,n,i,o)}}else{if(!x)return!1;{if(null!=x.imports&&!$){let me;o.add(m);try{hs(x.imports,Ne=>{xc(Ne,n,i,o)&&(me||=[],me.push(Ne))})}finally{}void 0!==me&&ep(me,n)}if(!$){const me=Wo(m)||(()=>new m);n({provide:m,useFactory:me,deps:ln},m),n({provide:gd,useValue:m,multi:!0},m),n({provide:Go,useValue:()=>$r(m),multi:!0},m)}const J=x.providers;if(null!=J&&!$){const me=e;_d(J,Ne=>{n(Ne,me)})}}}return m!==e&&void 0!==e.providers}function _d(e,n){for(let i of e)fs(i)&&(i=i.\u0275providers),Array.isArray(i)?_d(i,n):n(i)}const b1=An({provide:String,useValue:An});function vd(e){return null!==e&&"object"==typeof e&&b1 in e}function Ko(e){return"function"==typeof e}const bd=new ht(""),Mc={},C1={};let yd;function Ic(){return void 0===yd&&(yd=new wc),yd}class zs{}class Ma extends zs{get destroyed(){return this._destroyed}constructor(n,i,o,m){super(),this.parent=i,this.source=o,this.scopes=m,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wd(n,P=>this.processProvider(P)),this.records.set(pd,Ia(void 0,this)),m.has("environment")&&this.records.set(zs,Ia(void 0,this));const x=this.records.get(bd);null!=x&&"string"==typeof x.value&&this.scopes.add(x.value),this.injectorDefTypes=new Set(this.get(gd,ln,Jt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const i=lo(this),o=ts(void 0);try{return n()}finally{lo(i),ts(o)}}get(n,i=gl,o=Jt.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(rr))return n[rr](this);o=_l(o);const x=lo(this),P=ts(void 0);try{if(!(o&Jt.SkipSelf)){let J=this.records.get(n);if(void 0===J){const me=function I1(e){return"function"==typeof e||"object"==typeof e&&e instanceof ht}(n)&&Ze(n);J=me&&this.injectableDefInScope(me)?Ia(Cd(n),Mc):null,this.records.set(n,J)}if(null!=J)return this.hydrate(n,J)}return(o&Jt.Self?Ic():this.parent).get(n,i=o&Jt.Optional&&i===gl?null:i)}catch($){if("NullInjectorError"===$.name){if(($[pc]=$[pc]||[]).unshift(an(n)),x)throw $;return function l1(e,n,i,o){const m=e[pc];throw n[Hm]&&m.unshift(n[Hm]),e.message=function c1(e,n,i,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let m=an(n);if(Array.isArray(n))m=n.map(an).join(" -> ");else if("object"==typeof n){let x=[];for(let P in n)if(n.hasOwnProperty(P)){let $=n[P];x.push(P+":"+("string"==typeof $?JSON.stringify($):an($)))}m=`{${x.join(", ")}}`}return`${i}${o?"("+o+")":""}[${m}]: ${e.replace(n1,"\n ")}`}("\n"+e.message,m,i,o),e.ngTokenPath=m,e[pc]=null,e}($,n,"R3InjectorError",this.source)}throw $}finally{ts(P),lo(x)}}resolveInjectorInitializers(){const n=lo(this),i=ts(void 0);try{const m=this.get(Go,ln,Jt.Self);for(const x of m)x()}finally{lo(n),ts(i)}}toString(){const n=[],i=this.records;for(const o of i.keys())n.push(an(o));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ye(205,!1)}processProvider(n){let i=Ko(n=_n(n))?n:_n(n&&n.provide);const o=function E1(e){return vd(e)?Ia(void 0,e.useValue):Ia(ip(e),Mc)}(n);if(!Ko(n)&&!0===n.multi){let m=this.records.get(i);m||(m=Ia(void 0,Mc,!0),m.factory=()=>td(m.multi),this.records.set(i,m)),i=n,m.multi.push(n)}this.records.set(i,o)}hydrate(n,i){return i.value===Mc&&(i.value=C1,i.value=i.factory()),"object"==typeof i.value&&i.value&&function M1(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(n){if(!n.providedIn)return!1;const i=_n(n.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(n){const i=this._onDestroyHooks.indexOf(n);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Cd(e){const n=Ze(e),i=null!==n?n.factory:Wo(e);if(null!==i)return i;if(e instanceof ht)throw new ye(204,!1);if(e instanceof Function)return function w1(e){if(e.length>0)throw new ye(204,!1);const i=function Vt(e){return e&&(e[R]||e[Y])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new ye(204,!1)}function ip(e,n,i){let o;if(Ko(e)){const m=_n(e);return Wo(m)||Cd(m)}if(vd(e))o=()=>_n(e.useValue);else if(function np(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...td(e.deps||[]));else if(function tp(e){return!(!e||!e.useExisting)}(e))o=()=>$r(_n(e.useExisting));else{const m=_n(e&&(e.useClass||e.provide));if(!function x1(e){return!!e.deps}(e))return Wo(m)||Cd(m);o=()=>new m(...td(e.deps))}return o}function Ia(e,n,i=!1){return{factory:e,value:n,multi:i?[]:void 0}}function wd(e,n){for(const i of e)Array.isArray(i)?wd(i,n):i&&fs(i)?wd(i.\u0275providers,n):n(i)}function D1(e,n){e instanceof Ma&&e.assertNotDestroyed();const o=lo(e),m=ts(void 0);try{return n()}finally{lo(o),ts(m)}}function Dc(e){if(!Vm()&&!function s1(){return _a}())throw new ye(-203,!1)}var Yo=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}(Yo||{});function Er(e){const n=ft.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const rp={\u0275\u0275defineInjectable:Z,\u0275\u0275defineInjector:Ee,\u0275\u0275inject:$r,\u0275\u0275invalidFactoryDep:ed,resolveForwardRef:_n},sp=Function;function xl(e){return"function"==typeof e}const A1=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,k1=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,O1=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,R1=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class op{constructor(n){this._reflect=n||ft.Reflect}factory(n){return(...i)=>new n(...i)}_zipTypesAndAnnotations(n,i){let o;o=Vs(typeof n>"u"?i.length:n.length);for(let m=0;m"u"?[]:n[m]&&n[m]!=Object?[n[m]]:[],i&&null!=i[m]&&(o[m]=o[m].concat(i[m]));return o}_ownParameters(n,i){if(function L1(e){return A1.test(e)||R1.test(e)||k1.test(e)&&!O1.test(e)}(n.toString()))return null;if(n.parameters&&n.parameters!==i.parameters)return n.parameters;const m=n.ctorParameters;if(m&&m!==i.ctorParameters){const $="function"==typeof m?m():m,J=$.map(Ne=>Ne&&Ne.type),me=$.map(Ne=>Ne&&Ed(Ne.decorators));return this._zipTypesAndAnnotations(J,me)}const x=n.hasOwnProperty(wa)&&n[wa],P=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return P||x?this._zipTypesAndAnnotations(P,x):Vs(n.length)}parameters(n){if(!xl(n))return[];const i=Tc(n);let o=this._ownParameters(n,i);return!o&&i!==Object&&(o=this.parameters(i)),o||[]}_ownAnnotations(n,i){if(n.annotations&&n.annotations!==i.annotations){let o=n.annotations;return"function"==typeof o&&o.annotations&&(o=o.annotations),o}return n.decorators&&n.decorators!==i.decorators?Ed(n.decorators):n.hasOwnProperty(Ca)?n[Ca]:null}annotations(n){if(!xl(n))return[];const i=Tc(n),o=this._ownAnnotations(n,i)||[];return(i!==Object?this.annotations(i):[]).concat(o)}_ownPropMetadata(n,i){if(n.propMetadata&&n.propMetadata!==i.propMetadata){let o=n.propMetadata;return"function"==typeof o&&o.propMetadata&&(o=o.propMetadata),o}if(n.propDecorators&&n.propDecorators!==i.propDecorators){const o=n.propDecorators,m={};return Object.keys(o).forEach(x=>{m[x]=Ed(o[x])}),m}return n.hasOwnProperty(Ea)?n[Ea]:null}propMetadata(n){if(!xl(n))return{};const i=Tc(n),o={};if(i!==Object){const x=this.propMetadata(i);Object.keys(x).forEach(P=>{o[P]=x[P]})}const m=this._ownPropMetadata(n,i);return m&&Object.keys(m).forEach(x=>{const P=[];o.hasOwnProperty(x)&&P.push(...o[x]),P.push(...m[x]),o[x]=P}),o}ownPropMetadata(n){return xl(n)&&this._ownPropMetadata(n,Tc(n))||{}}hasLifecycleHook(n,i){return n instanceof sp&&i in n.prototype}}function Ed(e){return e?e.map(n=>new(0,n.type.annotationCls)(...n.args?n.args:[])):[]}function Tc(e){const n=e.prototype?Object.getPrototypeOf(e.prototype):null;return(n?n.constructor:null)||Object}class ap{constructor(n,i,o){this.previousValue=n,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function lp(e,n,i,o){null!==n?n.applyValueToInputSignal(n,o):e[i]=o}function xd(){return cp}function cp(e){return e.type.prototype.ngOnChanges&&(e.setInput=N1),P1}function P1(){const e=dp(this),n=e?.current;if(n){const i=e.previous;if(i===fn)e.previous=n;else for(let o in n)i[o]=n[o];e.current=null,this.ngOnChanges(n)}}function N1(e,n,i,o,m){const x=this.declaredInputs[o],P=dp(e)||function F1(e,n){return e[up]=n}(e,{previous:fn,current:null}),$=P.current||(P.current={}),J=P.previous,me=J[x];$[x]=new ap(me&&me.currentValue,i,J===fn),lp(e,n,m,i)}xd.ngInherit=!0;const up="__ngSimpleChanges__";function dp(e){return e[up]||null}const Ws=function(e,n,i){};function Sc(e,n){for(let i=n.directiveStart,o=n.directiveEnd;i=o)break}else n[J]<0&&(e[Mt]+=65536),($>14>16&&(3&e[En])===n&&(e[En]+=16384,fp($,x)):fp($,x)}const Da=-1;class Ml{constructor(n,i,o){this.factory=n,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function j1(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Td(e){return e!==Da}function Il(e){return 32767&e}function Dl(e,n){let i=function W1(e){return e>>16}(e),o=n;for(;i>0;)o=o[Ar],i--;return o}let Sd=!0;function Oc(e){const n=Sd;return Sd=e,n}const mp=255,pp=5;let G1=0;const Gs={};function Rc(e,n){const i=gp(e,n);if(-1!==i)return i;const o=n[un];o.firstCreatePass&&(e.injectorIndex=n.length,Ad(o.data,e),Ad(n,null),Ad(o.blueprint,null));const m=Lc(e,n),x=e.injectorIndex;if(Td(m)){const P=Il(m),$=Dl(m,n),J=$[un].data;for(let me=0;me<8;me++)n[x+me]=$[P+me]|J[P+me]}return n[x+8]=m,x}function Ad(e,n){e.push(0,0,0,0,0,0,0,0,n)}function gp(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Lc(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,o=null,m=n;for(;null!==m;){if(o=xp(m),null===o)return Da;if(i++,m=m[Ar],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return Da}function kd(e,n,i){!function K1(e,n,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(ji)&&(o=i[ji]),null==o&&(o=i[ji]=G1++);const m=o∓n.data[e+(m>>pp)]|=1<=0?n&mp:X1:n}(i);if("function"==typeof x){if(!qn(n,e,o))return o&Jt.Host?_p(m,0,o):vp(n,i,o,m);try{let P;if(P=x(o),null!=P||o&Jt.Optional)return P;Xu()}finally{Nr()}}else if("number"==typeof x){let P=null,$=gp(e,n),J=Da,me=o&Jt.Host?n[hi][Ui]:null;for((-1===$||o&Jt.SkipSelf)&&(J=-1===$?Lc(e,n):n[$+8],J!==Da&&wp(o,!1)?(P=n[un],$=Il(J),n=Dl(J,n)):$=-1);-1!==$;){const Ne=n[un];if(Cp(x,$,Ne.data)){const it=Z1($,n,i,P,o,me);if(it!==Gs)return it}J=n[$+8],J!==Da&&wp(o,n[un].data[$+8]===me)&&Cp(x,$,n)?(P=Ne,$=Il(J),n=Dl(J,n)):$=-1}}return m}function Z1(e,n,i,o,m,x){const P=n[un],$=P.data[e+8],Ne=Pc($,P,i,null==o?$i($)&&Sd:o!=P&&0!=(3&$.type),m&Jt.Host&&x===$);return null!==Ne?Zo(n,P,Ne,$):Gs}function Pc(e,n,i,o,m){const x=e.providerIndexes,P=n.data,$=1048575&x,J=e.directiveStart,Ne=x>>20,Dt=m?$+Ne:e.directiveEnd;for(let Rt=o?$:$+Ne;Rt=J&&Wt.type===i)return Rt}if(m){const Rt=P[J];if(Rt&&fr(Rt)&&Rt.type===i)return J}return null}function Zo(e,n,i,o){let m=e[i];const x=n.data;if(function V1(e){return e instanceof Ml}(m)){const P=m;P.resolving&&function qC(e,n){throw n&&n.join(" > "),new ye(-200,e)}(xi(x[i]));const $=Oc(P.canSeeViewProviders);P.resolving=!0;const me=P.injectImpl?ts(P.injectImpl):null;qn(e,o,Jt.Default);try{m=e[i]=P.factory(void 0,x,e,o),n.firstCreatePass&&i>=o.directiveStart&&function B1(e,n,i){const{ngOnChanges:o,ngOnInit:m,ngDoCheck:x}=n.type.prototype;if(o){const P=cp(n);(i.preOrderHooks??=[]).push(e,P),(i.preOrderCheckHooks??=[]).push(e,P)}m&&(i.preOrderHooks??=[]).push(0-e,m),x&&((i.preOrderHooks??=[]).push(e,x),(i.preOrderCheckHooks??=[]).push(e,x))}(i,x[i],n)}finally{null!==me&&ts(me),Oc($),P.resolving=!1,Nr()}}return m}function Cp(e,n,i){return!!(i[n+(e>>pp)]&1<{const n=e.prototype.constructor,i=n[mi]||Od(n),o=Object.prototype;let m=Object.getPrototypeOf(e.prototype).constructor;for(;m&&m!==o;){const x=m[mi]||Od(m);if(x&&x!==i)return x;m=Object.getPrototypeOf(m)}return x=>new x})}function Od(e){return ii(e)?()=>{const n=Od(_n(e));return n&&n()}:Wo(e)}function xp(e){const n=e[un],i=n.type;return 2===i?n.declTNode:1===i?e[Ui]:null}function Rd(e){return function Y1(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const i=e.attrs;if(i){const o=i.length;let m=0;for(;m({attributeName:e,__NG_ELEMENT_ID__:()=>Rd(e)}));let Ip=null;function Ld(){return Ip=Ip||new op}function Nc(e){return Dp(Ld().parameters(e))}function Dp(e){return e.map(n=>function q1(e){const n={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;ifunction ew(e,n){let i=null,o=null;e.hasOwnProperty(R)||Object.defineProperty(e,R,{get:()=>(null===i&&(i=Er().compileInjectable(rp,`ng:///${e.name}/\u0275prov.js`,function rw(e,n){const i=n||{providedIn:null},o={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Tp(i)||Sp(i))&&void 0!==i.deps&&(o.deps=Dp(i.deps)),Tp(i)?o.useClass=i.useClass:function nw(e){return tw in e}(i)?o.useValue=i.useValue:Sp(i)?o.useFactory=i.useFactory:function iw(e){return void 0!==e.useExisting}(i)&&(o.useExisting=i.useExisting),o}(e,n))),i)}),e.hasOwnProperty(mi)||Object.defineProperty(e,mi,{get:()=>{if(null===o){const m=Er();o=m.compileFactory(rp,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Nc(e),target:m.FactoryTarget.Injectable})}return o},configurable:!0})}(e,n));function Pd(e,n=null,i=null,o){const m=Ap(e,n,i,o);return m.resolveInjectorInitializers(),m}function Ap(e,n=null,i=null,o,m=new Set){const x=[i||ln,Jm(e)];return o=o||("object"==typeof e?void 0:an(e)),new Ma(x,n||Ic(),o||null,m)}let ms=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=gl;static#t=this.NULL=new wc;static create(i,o){if(Array.isArray(i))return Pd({name:""},o,i,"");{const m=i.name??"";return Pd({name:m},i.parent,i.providers,m)}}static#n=this.\u0275prov=Z({token:e,providedIn:"any",factory:()=>$r(pd)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Nd(e){return e.ngOriginalError}class Ao{constructor(){this._console=console}handleError(n){const i=this._findOriginalError(n);this._console.error("ERROR",n),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(n){let i=n&&Nd(n);for(;i&&Nd(i);)i=Nd(i);return i||null}}const Op=new ht("",{providedIn:"root",factory:()=>Ti(Ao).handleError.bind(void 0)}),Tl=new ht(""),Lp=new ht("",{providedIn:"root",factory:()=>!1});let Fc,Uc;function Fd(){if(void 0===Fc&&(Fc=null,ft.trustedTypes))try{Fc=ft.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fc}function Aa(e){return Fd()?.createHTML(e)||e}function Ud(){if(void 0===Uc&&(Uc=null,ft.trustedTypes))try{Uc=ft.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Uc}function Pp(e){return Ud()?.createHTML(e)||e}function Np(e){return Ud()?.createScript(e)||e}function Fp(e){return Ud()?.createScriptURL(e)||e}class Qo{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${q})`}}class lw extends Qo{getTypeName(){return"HTML"}}class cw extends Qo{getTypeName(){return"Style"}}class uw extends Qo{getTypeName(){return"Script"}}class dw extends Qo{getTypeName(){return"URL"}}class hw extends Qo{getTypeName(){return"ResourceURL"}}function co(e){return e instanceof Qo?e.changingThisBreaksApplicationSecurity:e}function ka(e,n){const i=Up(e);if(null!=i&&i!==n){if("ResourceURL"===i&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${i} (see ${q})`)}return i===n}function Up(e){return e instanceof Qo&&e.getTypeName()||null}function fw(e){return new lw(e)}function mw(e){return new cw(e)}function pw(e){return new uw(e)}function gw(e){return new dw(e)}function _w(e){return new hw(e)}function Bp(e){const n=new bw(e);return function yw(){try{return!!(new window.DOMParser).parseFromString(Aa(""),"text/html")}catch{return!1}}()?new vw(n):n}class vw{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const i=(new window.DOMParser).parseFromString(Aa(n),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(n):(i.removeChild(i.firstChild),i)}catch{return null}}}class bw{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const i=this.inertDocument.createElement("template");return i.innerHTML=Aa(n),i}}const Cw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Bc(e){return(e=String(e)).match(Cw)?e:"unsafe:"+e}function uo(e){const n={};for(const i of e.split(","))n[i]=!0;return n}function Sl(...e){const n={};for(const i of e)for(const o in i)i.hasOwnProperty(o)&&(n[o]=!0);return n}const $p=uo("area,br,col,hr,img,wbr"),Vp=uo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jp=uo("rp,rt"),Bd=Sl($p,Sl(Vp,uo("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")),Sl(jp,uo("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")),Sl(jp,Vp)),$d=uo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Hp=Sl($d,uo("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"),uo("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")),ww=uo("script,style,template");class Ew{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let i=n.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 m=this.checkClobberedElement(i,i.nextSibling);if(m){i=m;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(n){const i=n.nodeName.toLowerCase();if(!Bd.hasOwnProperty(i))return this.sanitizedSomething=!0,!ww.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=n.attributes;for(let m=0;m"),!0}endElement(n){const i=n.nodeName.toLowerCase();Bd.hasOwnProperty(i)&&!$p.hasOwnProperty(i)&&(this.buf.push(""))}chars(n){this.buf.push(zp(n))}checkClobberedElement(n,i){if(i&&(n.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return i}}const xw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mw=/([^\#-~ |!])/g;function zp(e){return e.replace(/&/g,"&").replace(xw,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Mw,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let $c;function Wp(e,n){let i=null;try{$c=$c||Bp(e);let o=n?String(n):"";i=$c.getInertBodyElement(o);let m=5,x=o;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,o=x,x=i.innerHTML,i=$c.getInertBodyElement(o)}while(o!==x);return Aa((new Ew).sanitizeChildren(Vd(i)||i))}finally{if(i){const o=Vd(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function Vd(e){return"content"in e&&function Iw(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Xo=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}(Xo||{});function Gp(e){const n=Al();return n?Pp(n.sanitize(Xo.HTML,e)||""):ka(e,"HTML")?Pp(co(e)):Wp(ie(),Xn(e))}function Kp(e){const n=Al();return n?n.sanitize(Xo.STYLE,e)||"":ka(e,"Style")?co(e):Xn(e)}function jd(e){const n=Al();return n?n.sanitize(Xo.URL,e)||"":ka(e,"URL")?co(e):Bc(Xn(e))}function Hd(e){const n=Al();if(n)return Fp(n.sanitize(Xo.RESOURCE_URL,e)||"");if(ka(e,"ResourceURL"))return Fp(co(e));throw new ye(904,!1)}function Yp(e){const n=Al();if(n)return Np(n.sanitize(Xo.SCRIPT,e)||"");if(ka(e,"Script"))return Np(co(e));throw new ye(905,!1)}function Zp(e){return Aa(e[0])}function Qp(e){return function aw(e){return Fd()?.createScriptURL(e)||e}(e[0])}function Xp(e,n,i){return function Dw(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?Hd:jd}(n,i)(e)}function Al(){const e=Xt();return e&&e[qi].sanitizer}const Tw=/^>|^->||--!>|)/g,Aw="\u200b$1\u200b";const zd=new Map;let Pw=0;function qp(e){return zd.get(e)||null}class e0{get lView(){return qp(this.lViewId)}constructor(n,i,o){this.lViewId=n,this.nodeIndex=i,this.native=o}}function Yr(e){let n=kl(e);if(n){if(kn(n)){const i=n;let o,m,x;if(r0(e)){if(o=function o0(e,n){const i=e[un].components;if(i)for(let o=0;o=0){const $=Bi(x[P]),J=Wd(x,P,$);Vr($,J),n=J;break}}}}return n||null}function Wd(e,n,i){return new e0(e[It],n,i)}const Gd="__ngContext__";function Vr(e,n){kn(n)?(e[Gd]=n[It],function Fw(e){zd.set(e[It],e)}(n)):e[Gd]=n}function kl(e){const n=e[Gd];return"number"==typeof n?qp(n):n||null}function r0(e){return e&&e.constructor&&e.constructor.\u0275cmp}function s0(e,n){const i=e[un];for(let o=Zt;on.replace(Sw,Aw))}(n))}function Wc(e,n,i){return e.createElement(n,i)}function v0(e,n){Qc(e,n,n[Rn],2,null,null)}function b0(e,n){const i=e[jn],o=i.indexOf(n);i.splice(o,1)}function Ol(e,n){if(e.length<=Gn)return;const i=Gn+n,o=e[i];if(o){const m=o[kr];null!==m&&m!==e&&b0(m,o),n>0&&(e[i-1][ar]=o[ar]);const x=Mo(e,Gn+n);!function Xw(e,n){v0(e,n),n[ni]=null,n[Ui]=null}(o[un],o);const P=x[yt];null!==P&&P.detachView(x[un]),o[ci]=null,o[ar]=null,o[En]&=-129}return o}function Gc(e,n){if(!(256&n[En])){const i=n[Rn];i.destroyNode&&Qc(e,n,i,3,null,null),function qw(e){let n=e[Sr];if(!n)return eh(e[un],e);for(;n;){let i=null;if(kn(n))i=n[Sr];else{const o=n[Gn];o&&(i=o)}if(!i){for(;n&&!n[ar]&&n!==e;)kn(n)&&eh(n[un],n),n=n[ci];null===n&&(n=e),kn(n)&&eh(n[un],n),i=n&&n[ar]}n=i}}(n)}}function eh(e,n){if(!(256&n[En])){n[En]&=-129,n[En]|=256,n[en]&&D(n[en]),function iE(e,n){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let o=0;o=0?o[P]():o[-P].unsubscribe(),x+=2}else i[x].call(o[i[x+1]]);null!==o&&(n[hr]=null);const m=n[Ft];if(null!==m){n[Ft]=null;for(let x=0;x-1){const{encapsulation:x}=e.data[o.directiveStart+m];if(x===et.None||x===et.Emulated)return null}return lr(o,i)}}function Jo(e,n,i,o,m){e.insertBefore(n,i,o,m)}function C0(e,n,i){e.appendChild(n,i)}function w0(e,n,i,o,m){null!==o?Jo(e,n,i,o,m):C0(e,n,i)}function Kc(e,n){return e.parentNode(n)}function E0(e,n,i){return M0(e,n,i)}function x0(e,n,i){return 40&e.type?lr(e,i):null}let nh,M0=x0;function I0(e,n){M0=e,nh=n}function Yc(e,n,i,o){const m=th(e,o,n),x=n[Rn],$=E0(o.parent||n[Ui],o,n);if(null!=m)if(Array.isArray(i))for(let J=0;JZt&&R0(e,n,Zt,!1),Ws(P?2:0,m),i(o,m)}finally{mr(x),Ws(P?3:1,m)}}function oh(e,n,i){if(ir(n)){const o=s(null);try{const x=n.directiveEnd;for(let P=n.directiveStart;Pnull;function mE(e){ga(e)?T0(e):function g1(e){const n=ie(),i=n.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(x){const P=function p1(e){return e.textContent?.replace(/\s/gm,"")}(x);return"ngetn"===P||"ngtns"===P?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let o;const m=[];for(;o=i.nextNode();)m.push(o);for(const x of m)"ngetn"===x.textContent?x.replaceWith(n.createTextNode("")):x.remove()}(e)}function B0(e,n,i,o,m){for(let x in n){if(!n.hasOwnProperty(x))continue;const P=n[x];if(void 0===P)continue;o??={};let $,J=se.None;Array.isArray(P)?($=P[0],J=P[1]):$=P;let me=x;if(null!==m){if(!m.hasOwnProperty(x))continue;me=m[x]}0===e?$0(o,i,me,$,J):$0(o,i,me,$)}return o}function $0(e,n,i,o,m){let x;e.hasOwnProperty(i)?(x=e[i]).push(n,o):x=e[i]=[n,o],void 0!==m&&x.push(m)}function ns(e,n,i,o,m,x,P,$){const J=lr(n,i);let Ne,me=n.inputs;!$&&null!=me&&(Ne=me[o])?(mh(e,i,Ne,o,m),$i(n)&&function yE(e,n){const i=cr(n,e);16&i[En]||(i[En]|=64)}(i,n.index)):3&n.type&&(o=function bE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),m=null!=P?P(m,n.value||"",o):m,x.setProperty(J,o,m))}function uh(e,n,i,o){if(zr()){const m=null===o?null:{"":-1},x=function IE(e,n){const i=e.directiveRegistry;let o=null,m=null;if(i)for(let x=0;x0;){const i=e[--n];if("number"==typeof i&&i<0)return i}return 0})(P)!=$&&P.push($),P.push(i,o,x)}}(e,n,o,Ll(e,i,m.hostVars,ri),m)}function Ks(e,n,i,o,m,x){const P=lr(e,n);hh(n[Rn],P,x,e.value,i,o,m)}function hh(e,n,i,o,m,x,P){if(null==x)e.removeAttribute(n,m,i);else{const $=null==P?Xn(x):P(x,o||"",m);e.setAttribute(n,m,$,i)}}function OE(e,n,i,o,m,x){const P=x[n];if(null!==P)for(let $=0;$0&&(i[m-1][ar]=n),o{us(e.lView)},consumerOnSignalRead(){this.lView[en]=this}};function X0(e){return q0(e[Sr])}function J0(e){return q0(e[ar])}function q0(e){for(;null!==e&&!Ln(e);)e=e[ar];return e}function eu(e,n=!0,i=0){const o=e[qi],m=o.rendererFactory;m.begin?.();try{!function HE(e,n){_h(e,n);let i=0;for(;ys(e);){if(100===i)throw new ye(103,!1);i++,_h(e,1)}}(e,i)}catch(P){throw n&&qc(e,P),P}finally{m.end?.(),o.inlineEffectRunner?.flush()}}function zE(e,n,i,o){const m=n[En];if(256==(256&m))return;n[qi].inlineEffectRunner?.flush(),Ci(n);let P=null,$=null;(function WE(e){return 2!==e.type})(e)&&($=function FE(e){return e[en]??function UE(e){const n=Q0.pop()??Object.create($E);return n.lView=e,n}(e)}(n),P=M($));try{to(n),ro(e.bindingStartIndex),null!==i&&N0(e,n,i,2,o);const J=3==(3&m);if(J){const it=e.preOrderCheckHooks;null!==it&&Ac(n,it,null)}else{const it=e.preOrderHooks;null!==it&&kc(n,it,0,null),Id(n,0)}if(function GE(e){for(let n=X0(e);null!==n;n=J0(n)){if(!(n[En]&Bn.HasTransplantedViews))continue;const i=n[jn];for(let o=0;o-1&&(Ol(n,o),Mo(i,o))}this._attachedToViewContainer=!1}Gc(this._lView[un],this._lView)}onDestroy(n){Rs(this._lView,n)}markForCheck(){Ul(this._cdRefInjectingView||this._lView)}detach(){this._lView[En]&=-129}reattach(){cs(this._lView),this._lView[En]|=128}detectChanges(){this._lView[En]|=1024,eu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ye(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,v0(this._lView[un],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new ye(902,!1);this._appRef=n,cs(this._lView)}}let Bl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=QE}return e})();const YE=Bl,ZE=class extends YE{constructor(n,i,o){super(),this._declarationLView=n,this._declarationTContainer=i,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,i){return this.createEmbeddedViewImpl(n,i)}createEmbeddedViewImpl(n,i,o){const m=Pl(this._declarationLView,this._declarationTContainer,n,{injector:i,dehydratedView:o});return new Fa(m)}};function QE(){return tu(yi(),Xt())}function tu(e,n){return 4&e.type?new ZE(n,e,Es(e,n)):null}const vh="<-- AT THIS LOCATION";function ex(e){const o=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function nu(e){const n=" ";let i="";const o=e;return o.previousSibling&&(i+=" \u2026\n",i+=n+$l(o.previousSibling)+"\n"),i+=n+$l(o)+` ${vh}\n`,e.nextSibling&&(i+=" \u2026\n"),e.parentNode&&(i=$l(o.parentNode,"\n"+i)),i}(e)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new ye(-503,o)}const nx=new Set(["ngh","ng-version","ng-server-context"]);function bh(e,n="\u2026"){switch(e.type){case 1:return"#text"+(e.value?`(${e.value})`:"");case 2:const o=function tx(e){const n=[];if(e.attrs)for(let i=0;i${n}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function XE(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 $l(e,n="\u2026"){const i=e;switch(i.nodeType){case Node.ELEMENT_NODE:const o=i.tagName.toLowerCase(),m=function ix(e){const n=[];for(let i=0;i${n}`;case Node.TEXT_NODE:const x=i.textContent?jl(i.textContent):"";return"#text"+(x?`(${x})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${jl(i.textContent??"")} --\x3e`;default:return`#node(${i.nodeType})`}}function jl(e,n=50){return e?(e=function rx(e){return e.replace(/\s+/gm,"")}(e)).length>n?`${e.substring(0,n-1)}\u2026`:e:""}function og(e){const n=e[Sn]??[],o=e[ci][Rn];for(const m of n)sx(m,o);e[Sn]=ln}function sx(e,n){let i=0,o=e.firstChild;if(o){const m=e.data[ba];for(;i0&&i[m-1]===o?i[m]=(i[m]||1)+1:i.push(o,"")}return i.join("")}(i,o)}function mx(e,n){let o,m,x,i=e.parent;for(;null!==i&&Hl(i,n);)i=i.parent;null!==i&&3&i.type?(o=i.index,m=Bi(n[o]),x=Xn(o-Zt)):(o=x=nd,m=n[hi][ni]);let P=Bi(n[e.index]);if(12&e.type){const J=Rl(n,e);J&&(P=J)}let $=lg(m,P,x);if(null===$&&m!==P&&($=lg(m.ownerDocument.body,P,id),null===$))throw function qE(e,n){const o=`${function yh(e,n,i){const o=" ";let m="";n.prev?(m+=" \u2026\n",m+=o+bh(n.prev)+"\n"):n.type&&12&n.type&&(m+=" \u2026\n"),i?(m+=o+bh(n)+"\n",m+=o+`\x3c!-- container --\x3e ${vh}\n`):m+=o+bh(n)+` ${vh}\n`,m+=" \u2026\n";const x=n.type?th(e[un],n,e):null;return x&&(m=$l(x,"\n"+m)),m}(e,n,!1)}\n\n`,m=function Vl(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 ye(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+o+m)}(n,e);return $}let cg=()=>null;function gx(e,n){const i=e[Sn];return n&&null!==i&&0!==i.length?i[0].data[od]===n?i.shift():(og(e),null):null}function Ua(e,n){return cg(e,n)}class Eh{}class ug{}class ou{}class bx{resolveComponentFactory(n){throw function vx(e){const n=Error(`No component factory found for ${an(e)}.`);return n.ngComponent=e,n}(n)}}let zl=(()=>{class e{static#e=this.NULL=new bx}return e})();class hg{}let yx=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Cx(){const e=Xt(),i=cr(yi().index,e);return(kn(i)?i:e)[Rn]}()}return e})(),fg=(()=>{class e{static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:()=>null})}return e})();const au={};function xh(e){return"function"==typeof e&&void 0!==e[b]}function wx(e,n){const i=F(e);return n?.equal&&(i[b].equal=n.equal),i}function Ex(e){return null}function mg(e,n){const i=function X(e){const n=Object.create(ve);n.value=e;const i=()=>(r(n),n.value);return i[b]=n,i}(e),o=i[b];return n?.equal&&(o.equal=n.equal),i.set=m=>le(o,m),i.update=m=>function ue(e,n){_()||B(),le(e,n(e.value))}(o,m),i.asReadonly=xx.bind(i),i}function xx(){const e=this[b];if(void 0===e.readonlyFn){const n=()=>this();n[b]=e,e.readonlyFn=n}return e.readonlyFn}function pg(e){return xh(e)&&"function"==typeof e.set}function Mx(e){const n=s(null);try{return e()}finally{s(n)}}function lu(e){return!!Mh(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Mh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class gg{constructor(){}supports(n){return lu(n)}create(n){return new _g(n)}}const Tx=(e,n)=>n;class _g{constructor(n){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=n||Tx}forEachItem(n){let i;for(i=this._itHead;null!==i;i=i._next)n(i)}forEachOperation(n){let i=this._itHead,o=this._removalsHead,m=0,x=null;for(;i||o;){const P=!o||i&&i.currentIndex{P=this._trackByFn(m,$),null!==i&&Object.is(i.trackById,P)?(o&&(i=this._verifyReinsertion(i,$,P,m)),Object.is(i.item,$)||this._addIdentityChange(i,$)):(i=this._mismatch(i,$,P,m),o=!0),i=i._next,m++}),this.length=m;return this._truncate(i),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,i,o,m){let x;return null===n?x=this._itTail:(x=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._reinsertAfter(n,x,m)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(o,m))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._moveAfter(n,x,m)):n=this._addAfter(new Sx(i,o),x,m),n}_verifyReinsertion(n,i,o,m){let x=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==x?n=this._reinsertAfter(x,n._prev,m):n.currentIndex!=m&&(n.currentIndex=m,this._addToMoves(n,m)),n}_truncate(n){for(;null!==n;){const i=n._next;this._addToRemovals(this._unlink(n)),n=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(n,i,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const m=n._prevRemoved,x=n._nextRemoved;return null===m?this._removalsHead=x:m._nextRemoved=x,null===x?this._removalsTail=m:x._prevRemoved=m,this._insertAfter(n,i,o),this._addToMoves(n,o),n}_moveAfter(n,i,o){return this._unlink(n),this._insertAfter(n,i,o),this._addToMoves(n,o),n}_addAfter(n,i,o){return this._insertAfter(n,i,o),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,i,o){const m=null===i?this._itHead:i._next;return n._next=m,n._prev=i,null===m?this._itTail=n:m._prev=n,null===i?this._itHead=n:i._next=n,null===this._linkedRecords&&(this._linkedRecords=new vg),this._linkedRecords.put(n),n.currentIndex=o,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const i=n._prev,o=n._next;return null===i?this._itHead=o:i._next=o,null===o?this._itTail=i:o._prev=i,n}_addToMoves(n,i){return n.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new vg),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,i){return n.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Sx{constructor(n,i){this.item=n,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 Ax{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,i){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===i||i<=o.currentIndex)&&Object.is(o.trackById,n))return o;return null}remove(n){const i=n._prevDup,o=n._nextDup;return null===i?this._head=o:i._nextDup=o,null===o?this._tail=i:o._prevDup=i,null===this._head}}class vg{constructor(){this.map=new Map}put(n){const i=n.trackById;let o=this.map.get(i);o||(o=new Ax,this.map.set(i,o)),o.add(n)}get(n,i){const m=this.map.get(n);return m?m.get(n,i):null}remove(n){const i=n.trackById;return this.map.get(i).remove(n)&&this.map.delete(i),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function bg(e,n,i){const o=e.previousIndex;if(null===o)return o;let m=0;return i&&o{if(i&&i.key===m)this._maybeAddToChanges(i,o),this._appendAfter=i,i=i._next;else{const x=this._getOrCreateRecordForKey(m,o);i=this._insertBeforeOrAppend(i,x)}}),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(n,i){if(n){const o=n._prev;return i._next=n,i._prev=o,n._prev=i,o&&(o._next=i),n===this._mapHead&&(this._mapHead=i),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(n,i){if(this._records.has(n)){const m=this._records.get(n);this._maybeAddToChanges(m,i);const x=m._prev,P=m._next;return x&&(x._next=P),P&&(P._prev=x),m._next=null,m._prev=null,m}const o=new Ox(n);return this._records.set(n,o),o.currentValue=i,this._addToAdditions(o),o}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,i){Object.is(i,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=i,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,i){n instanceof Map?n.forEach(i):Object.keys(n).forEach(o=>i(n[o],o))}}class Ox{constructor(n){this.key=n,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 Cg(){return new Ih([new gg])}let Ih=(()=>{class e{static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:Cg});constructor(i){this.factories=i}static create(i,o){if(null!=o){const m=o.factories.slice();i=i.concat(m)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||Cg()),deps:[[e,new Cc,new yc]]}}find(i){const o=this.factories.find(m=>m.supports(i));if(null!=o)return o;throw new ye(901,!1)}}return e})();function wg(){return new Dh([new yg])}let Dh=(()=>{class e{static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:wg});constructor(i){this.factories=i}static create(i,o){if(o){const m=o.factories.slice();i=i.concat(m)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||wg()),deps:[[e,new Cc,new yc]]}}find(i){const o=this.factories.find(m=>m.supports(i));if(o)return o;throw new ye(901,!1)}}return e})();function Eg(e,n){const i=lu(e),o=lu(n);return i&&o?function Ix(e,n,i){const o=e[Symbol.iterator](),m=n[Symbol.iterator]();for(;;){const x=o.next(),P=m.next();if(x.done&&P.done)return!0;if(x.done||P.done||!i(x.value,P.value))return!1}}(e,n,Eg):!(i||!e||"object"!=typeof e&&"function"!=typeof e||o||!n||"object"!=typeof n&&"function"!=typeof n)||Object.is(e,n)}let Th=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=xg}return e})();function xg(e){return function Rx(e,n,i){if($i(e)&&!i){const o=cr(e.index,n);return new Fa(o,o)}return 47&e.type?new Fa(n[hi],n):null}(yi(),Xt(),16==(16&e))}const Lx=[new yg],Nx=new Ih([new gg]),Fx=new Dh(Lx);let Wl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Bx;static#t=this.__NG_ENV_ID__=i=>i}return e})();class Ux extends Wl{constructor(n){super(),this._lView=n}onDestroy(n){return Rs(this._lView,n),()=>Cs(this._lView,n)}}function Bx(){return new Ux(Xt())}function $x(e,n){if(null!==function f(){return C}())throw new ye(-602,!1)}const Vx=new ht("",{providedIn:"root",factory:()=>Ti(Mg)});let Mg=(()=>{class e{static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:()=>new jx})}return e})();class jx{constructor(){this.hasQueuedFlush=!1,this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(n){this.enqueue(n),this.hasQueuedFlush||(queueMicrotask(()=>this.flush()),this.hasQueuedFlush=!1)}enqueue(n){const i=n.creationZone;this.queues.has(i)||this.queues.set(i,new Set);const o=this.queues.get(i);o.has(n)||(this.queuedEffectCount++,o.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,i]of this.queues)null===n?this.flushQueue(i):n.run(()=>this.flushQueue(i))}flushQueue(n){for(const i of n)n.delete(i),this.queuedEffectCount--,i.run()}}class Hx{constructor(n,i,o,m,x,P){this.scheduler=n,this.effectFn=i,this.creationZone=o,this.injector=x,this.watcher=function _t(e,n,i){const o=Object.create(Ct);i&&(o.consumerAllowSignalWrites=!0),o.fn=e,o.schedule=n;const m=J=>{o.cleanupFn=J};return o.ref={notify:()=>y(o),run:()=>{if(null===o.fn)return;if(function d(){return E}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(o.dirty=!1,o.hasRun&&!k(o))return;o.hasRun=!0;const J=M(o);try{o.cleanupFn(),o.cleanupFn=ct,o.fn(m)}finally{w(o,J)}},cleanup:()=>o.cleanupFn(),destroy:()=>function P(J){(function x(J){return null===J.fn&&null===J.schedule})(J)||(D(J),J.cleanupFn(),J.fn=null,J.schedule=null,J.cleanupFn=ct)}(o),[b]:o},o.ref}($=>this.runEffect($),()=>this.schedule(),P),this.unregisterOnDestroy=m?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(i){this.injector.get(Ao,null,{optional:!0})?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Ig(e,n){!n?.injector&&Dc();const i=n?.injector??Ti(ms),o=!0!==n?.manualCleanup?i.get(Wl):null,m=new Hx(i.get(Vx),e,typeof Zone>"u"?null:Zone.current,o,i,n?.allowSignalWrites??!1),x=i.get(Th,null,{optional:!0});return x&&8&x._lView[En]?(x._lView[jt]??=[]).push(m.watcher.notify):m.watcher.notify(),m}const Dg=new Set;function Oo(e){Dg.has(e)||(Dg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Tg(...e){}class gr{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Gt(!1),this.onMicrotaskEmpty=new Gt(!1),this.onStable=new Gt(!1),this.onError=new Gt(!1),typeof Zone>"u")throw new ye(908,!1);Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!o&&i,m.shouldCoalesceRunChangeDetection=o,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function zx(){const e="function"==typeof ft.requestAnimationFrame;let n=ft[e?"requestAnimationFrame":"setTimeout"],i=ft[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&i){const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o);const m=i[Zone.__symbol__("OriginalDelegate")];m&&(i=m)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function Kx(e){const n=()=>{!function Gx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ft,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ah(e),e.isCheckStableRunning=!0,Sh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ah(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,m,x,P,$)=>{if(function Yx(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}($))return i.invokeTask(m,x,P,$);try{return Sg(e),i.invokeTask(m,x,P,$)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===x.type||e.shouldCoalesceRunChangeDetection)&&n(),Ag(e)}},onInvoke:(i,o,m,x,P,$,J)=>{try{return Sg(e),i.invoke(m,x,P,$,J)}finally{e.shouldCoalesceRunChangeDetection&&n(),Ag(e)}},onHasTask:(i,o,m,x)=>{i.hasTask(m,x),o===m&&("microTask"==x.change?(e._hasPendingMicrotasks=x.microTask,Ah(e),Sh(e)):"macroTask"==x.change&&(e.hasPendingMacrotasks=x.macroTask))},onHandleError:(i,o,m,x)=>(i.handleError(m,x),e.runOutsideAngular(()=>e.onError.emit(x)),!1)})}(m)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!gr.isInAngularZone())throw new ye(909,!1)}static assertNotInAngularZone(){if(gr.isInAngularZone())throw new ye(909,!1)}run(n,i,o){return this._inner.run(n,i,o)}runTask(n,i,o,m){const x=this._inner,P=x.scheduleEventTask("NgZoneEvent: "+m,n,Wx,Tg,Tg);try{return x.runTask(P,i,o)}finally{x.cancelTask(P)}}runGuarded(n,i,o){return this._inner.runGuarded(n,i,o)}runOutsideAngular(n){return this._outer.run(n)}}const Wx={};function Sh(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 Ah(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Sg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ag(e){e._nesting--,Sh(e)}class kh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Gt,this.onMicrotaskEmpty=new Gt,this.onStable=new Gt,this.onError=new Gt}run(n,i,o){return n.apply(i,o)}runGuarded(n,i,o){return n.apply(i,o)}runOutsideAngular(n){return n()}runTask(n,i,o,m){return n.apply(i,o)}}var Ro=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ro||{});const kg={destroy(){}};function Oh(e,n){const i=n?.injector??Ti(ms);ko(i)&&i.get(Ba).internalCallbacks.push(e)}function Og(e,n){!n&&Dc();const i=n?.injector??Ti(ms);if(!ko(i))return kg;Oo("NgAfterRender");const o=i.get(Ba),m=o.handler??=new Pg,x=n?.phase??Ro.MixedReadWrite,P=()=>{m.unregister(J),$()},$=i.get(Wl).onDestroy(P),J=new Lg(i,x,e);return m.register(J),{destroy:P}}function Rg(e,n){!n&&Dc();const i=n?.injector??Ti(ms);if(!ko(i))return kg;Oo("NgAfterNextRender");const o=i.get(Ba),m=o.handler??=new Pg,x=n?.phase??Ro.MixedReadWrite,P=()=>{m.unregister(J),$()},$=i.get(Wl).onDestroy(P),J=new Lg(i,x,()=>{P(),e()});return m.register(J),{destroy:P}}class Lg{constructor(n,i,o){this.phase=i,this.callbackFn=o,this.zone=n.get(gr),this.errorHandler=n.get(Ao,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class Pg{constructor(){this.executingCallbacks=!1,this.buckets={[Ro.EarlyRead]:new Set,[Ro.Write]:new Set,[Ro.MixedReadWrite]:new Set,[Ro.Read]:new Set},this.deferredCallbacks=new Set}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const i of n)i.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let Ba=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const i=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of i)o();this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:()=>new e})}return e})();function Rh(e){return void 0!==e.ngModule}function Lo(e){return!!pn(e)}function cu(e){return!!ui(e)}function Ng(e){return!!Qn(e)}function Gl(e){return!!Dn(e)}function Xx(e,n){if(ii(e)&&!(e=_n(e)))throw new Error(`Expected forwardRef function, imported from "${xi(n)}", to return a standalone entity or NgModule but got "${xi(e)||e}".`);if(null==pn(e)){const i=Dn(e)||Qn(e)||ui(e);if(null==i)throw Rh(e)?new Error(`A module with providers was imported from "${xi(n)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${xi(e)}" type, imported from "${xi(n)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!i.standalone)throw new Error(`The "${xi(e)}" ${function Qx(e){return Dn(e)?"component":Qn(e)?"directive":ui(e)?"pipe":"type"}(e)}, imported from "${xi(n)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const uu=!0;class Fg{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const n of this.ngModulesWithSomeUnresolvedDecls){const i=pn(n);if(i?.declarations)for(const o of ss(i.declarations))Gl(o)&&this.ownerNgModule.set(o,n)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(n,i){this.resolveNgModulesDecls();const o=Dn(n);if(null===o)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${n}`);if(o.standalone){const m=this.getStandaloneComponentScope(n,i);return m.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...m.compilation.directives,...m.compilation.pipes,...m.compilation.ngModules]}}{if(!this.ownerNgModule.has(n))return{dependencies:[]};const m=this.getNgModuleScope(this.ownerNgModule.get(n));return m.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...m.compilation.directives,...m.compilation.pipes]}}}registerNgModule(n,i){if(!Lo(n))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${n}`);this.ngModulesWithSomeUnresolvedDecls.add(n)}clearScopeCacheFor(n){this.ngModulesScopeCache.delete(n),this.standaloneComponentsScopeCache.delete(n)}getNgModuleScope(n){if(this.ngModulesScopeCache.has(n))return this.ngModulesScopeCache.get(n);const i=this.computeNgModuleScope(n);return this.ngModulesScopeCache.set(n,i),i}computeNgModuleScope(n){const i=pn(n,!0),o={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const m of ss(i.imports))if(Lo(m)){const x=this.getNgModuleScope(m);Po(x.exported.directives,o.compilation.directives),Po(x.exported.pipes,o.compilation.pipes)}else{if(!cn(m)){o.compilation.isPoisoned=!0;break}if(Ng(m)||Gl(m))o.compilation.directives.add(m);else{if(!cu(m))throw new ye(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");o.compilation.pipes.add(m)}}if(!o.compilation.isPoisoned)for(const m of ss(i.declarations)){if(Lo(m)||cn(m)){o.compilation.isPoisoned=!0;break}cu(m)?o.compilation.pipes.add(m):o.compilation.directives.add(m)}for(const m of ss(i.exports))if(Lo(m)){const x=this.getNgModuleScope(m);Po(x.exported.directives,o.exported.directives),Po(x.exported.pipes,o.exported.pipes),Po(x.exported.directives,o.compilation.directives),Po(x.exported.pipes,o.compilation.pipes)}else cu(m)?o.exported.pipes.add(m):o.exported.directives.add(m);return o}getStandaloneComponentScope(n,i){if(this.standaloneComponentsScopeCache.has(n))return this.standaloneComponentsScopeCache.get(n);const o=this.computeStandaloneComponentScope(n,i);return this.standaloneComponentsScopeCache.set(n,o),o}computeStandaloneComponentScope(n,i){const o={compilation:{directives:new Set([n]),pipes:new Set,ngModules:new Set}};for(const m of ur(i??[])){const x=_n(m);try{Xx(x,n)}catch{return o.compilation.isPoisoned=!0,o}if(Lo(x)){o.compilation.ngModules.add(x);const P=this.getNgModuleScope(x);if(P.exported.isPoisoned)return o.compilation.isPoisoned=!0,o;Po(P.exported.directives,o.compilation.directives),Po(P.exported.pipes,o.compilation.pipes)}else if(cu(x))o.compilation.pipes.add(x);else{if(!Ng(x)&&!Gl(x))return o.compilation.isPoisoned=!0,o;o.compilation.directives.add(x)}}return o}isOrphanComponent(n){const i=Dn(n);return!(!i||i.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(n)))}}function Po(e,n){for(const i of e)n.add(i)}const $a=new Fg;function du(e,n,i){let o=i?e.styles:null,m=i?e.classes:null,x=0;if(null!==n)for(let P=0;P0&&A0(e,i,x.join(" "))}}(Dt,Mi,Wt,o),void 0!==i&&function sM(e,n,i){const o=e.projection=[];for(let m=0;m{class e{static#e=this.__NG_ELEMENT_ID__=oM}return e})();function oM(){return zg(yi(),Xt())}const aM=hu,jg=class extends aM{constructor(n,i,o){super(),this._lContainer=n,this._hostTNode=i,this._hostLView=o}get element(){return Es(this._hostTNode,this._hostLView)}get injector(){return new xr(this._hostTNode,this._hostLView)}get parentInjector(){const n=Lc(this._hostTNode,this._hostLView);if(Td(n)){const i=Dl(n,this._hostLView),o=Il(n);return new xr(i[un].data[o+8],i)}return new xr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const i=Hg(this._lContainer);return null!==i&&i[n]||null}get length(){return this._lContainer.length-Gn}createEmbeddedView(n,i,o){let m,x;"number"==typeof o?m=o:null!=o&&(m=o.index,x=o.injector);const P=Ua(this._lContainer,n.ssrId),$=n.createEmbeddedViewImpl(i||{},x,P);return this.insertImpl($,m,Na(this._hostTNode,P)),$}createComponent(n,i,o,m,x){const P=n&&!xl(n);let $;if(P)$=i;else{const Wt=i||{};$=Wt.index,o=Wt.injector,m=Wt.projectableNodes,x=Wt.environmentInjector||Wt.ngModuleRef}const J=P?n:new Va(Dn(n)),me=o||this.parentInjector;if(!x&&null==J.ngModule){const sn=(P?me:this.parentInjector).get(zs,null);sn&&(x=sn)}const Ne=Dn(J.componentType??{}),it=Ua(this._lContainer,Ne?.id??null),Rt=J.create(me,m,it?.firstChild??null,x);return this.insertImpl(Rt.hostView,$,Na(this._hostTNode,it)),Rt}insert(n,i){return this.insertImpl(n,i,!0)}insertImpl(n,i,o){const m=n._lView;if(function eo(e){return Ln(e[ci])}(m)){const $=this.indexOf(n);if(-1!==$)this.detach($);else{const J=m[ci],me=new jg(J,J[Ui],J[ci]);me.detach(me.indexOf(n))}}const x=this._adjustIndex(i),P=this._lContainer;return Nl(P,m,x,o),n.attachToViewContainerRef(),xo(Lh(P),x,n),n}move(n,i){return this.insert(n,i)}indexOf(n){const i=Hg(this._lContainer);return null!==i?i.indexOf(n):-1}remove(n){const i=this._adjustIndex(n,-1),o=Ol(this._lContainer,i);o&&(Mo(Lh(this._lContainer),i),Gc(o[un],o))}detach(n){const i=this._adjustIndex(n,-1),o=Ol(this._lContainer,i);return o&&null!=Mo(Lh(this._lContainer),i)?new Fa(o):null}_adjustIndex(n,i=0){return n??this.length+i}};function Hg(e){return e[8]}function Lh(e){return e[8]||(e[8]=[])}function zg(e,n){let i;const o=n[e.index];return Ln(o)?i=o:(i=H0(o,n,null,e),n[e.index]=i,Jc(n,i)),Wg(i,n,e,o),new jg(i,e,n)}let Wg=Kg,Ph=()=>!1;function Gg(e,n,i){return Ph(e,n,i)}function Kg(e,n,i,o){if(e[On])return;let m;m=8&i.type?Bi(o):function lM(e,n){const i=e[Rn],o=i.createComment(""),m=lr(n,e);return Jo(i,Kc(i,m),o,function sE(e,n){return e.nextSibling(n)}(i,m),!1),o}(n,i),e[On]=m}function cM(e,n,i){if(e[On]&&e[Sn])return!0;const o=i[dr],m=n.index-Zt;if(!o||To(n)||bc(o,m))return!1;const P=hd(o,m),$=o.data[yl]?.[m],[J,me]=function px(e,n){const i=[];for(const o of n)for(let m=0;m<(o[gc]??1);m++){const x={data:o,firstChild:null};o[ba]>0&&(x.firstChild=e,e=su(o[ba],e)),i.push(x)}return[e,i]}(P,$);return e[On]=J,e[Sn]=me,!0}function uM(e,n,i,o){Ph(e,i,n)||Kg(e,n,i,o)}class Nh{constructor(n){this.queryList=n,this.matches=null}clone(){return new Nh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fh{constructor(n=[]){this.queries=n}createEmbeddedView(n){const i=n.queries;if(null!==i){const o=null!==n.contentQueries?n.contentQueries[0]:i.length,m=[];for(let x=0;xn.trim())}(n):n}}class Uh{constructor(n=[]){this.queries=n}elementStart(n,i){for(let o=0;o0)o.push(P[$/2]);else{const me=x[$+1],Ne=n[-J];for(let it=Gn;it{i._dirtyCounter();const m=function vM(e,n){const i=e._lView,o=e._queryIndex;if(void 0===i||void 0===o||4&i[En])return n?void 0:ln;const m=Vh(i,o),x=e_(i,o);return m.reset(x,ha),n?m.first:m._changesDetected||void 0===e._flatValue?e._flatValue=m.toArray():e._flatValue}(i,e);if(n&&void 0===m)throw new ye(-951,!1);return m});return i=o[b],i._dirtyCounter=mg(0),i._flatValue=void 0,o}function t_(){return Hh(!0,!1)}function n_(){return Hh(!0,!0)}function i_(){return Hh(!1,!1)}function r_(e,n){const i=e[b];i._lView=Xt(),i._queryIndex=n,i._queryList=Vh(i._lView,n),i._queryList.onDirty(()=>i._dirtyCounter.update(o=>o+1))}function s_(e,n){return t_()}const yM=(s_.required=function bM(e,n){return n_()},s_);function CM(e,n){return i_()}function o_(e,n){return t_()}const EM=(o_.required=function wM(e,n){return n_()},o_);function xM(e,n){return i_()}function a_(e){const n=[],i=Object.create(ge);function o(){return r(i),l_(i.value),i.value}return i.value=e,o[b]=i,o.asReadonly=()=>o(),o.set=x=>{i.equal(i.value,x)||(le(i,x),function m(x){for(let P=0;P{l_(i.value),o.set(x(i.value))},o.subscribe=x=>(n.push(x),()=>{const P=n.indexOf(x);P>-1&&n.splice(P,1)}),o}function l_(e){if(e===Xe)throw new ye(-952,!1)}function c_(e){return a_(e)}const IM=(c_.required=function MM(){return a_(Xe)},c_);class Kl{}const DM=So("ContentChildren",(e,n={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...n}),Kl),TM=So("ContentChild",(e,n={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...n}),Kl),SM=So("ViewChildren",(e,n={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...n}),Kl),AM=So("ViewChild",(e,n)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...n}),Kl);function d_(e){const n=[],i=new Map;function o(m){let x=i.get(m);if(!x){const P=e(m);i.set(m,x=P.then(PM))}return x}return ja.forEach((m,x)=>{const P=[];m.templateUrl&&P.push(o(m.templateUrl).then(me=>{m.template=me}));const $="string"==typeof m.styles?[m.styles]:m.styles||[];if(m.styles=$,m.styleUrl&&m.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(m.styleUrls?.length){const me=m.styles.length,Ne=m.styleUrls;m.styleUrls.forEach((it,Dt)=>{$.push(""),P.push(o(it).then(Rt=>{$[me+Dt]=Rt,Ne.splice(Ne.indexOf(it),1),0==Ne.length&&(m.styleUrls=void 0)}))})}else m.styleUrl&&P.push(o(m.styleUrl).then(me=>{$.push(me),m.styleUrl=void 0}));const J=Promise.all(P).then(()=>function NM(e){Yl.delete(e)}(x));n.push(J)}),f_(),Promise.all(n).then(()=>{})}let ja=new Map;const Yl=new Set;function OM(e){return Yl.has(e)}function h_(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length||e.styleUrl)}function f_(){const e=ja;return ja=new Map,e}function RM(e){Yl.clear(),e.forEach((n,i)=>Yl.add(i)),ja=e}function PM(e){return"string"==typeof e?e:e.text()}const fu=new Map;let m_=!0;function zh(e,n){(function FM(e,n,i){if(n&&n!==i&&m_)throw new Error(`Duplicate module registered for ${e} - ${an(n)} vs ${an(n.name)}`)})(n,fu.get(n)||null,e),fu.set(n,e)}function p_(e){return fu.get(e)}function UM(e){m_=!e}function g_(e,n,i){const o=Xt(),m=_i(),x=lr(m,o);if(2===m.type&&"iframe"===n.toLowerCase()){const P=x;throw P.src="",P.srcdoc=Aa(""),Zc(o[Rn],P),new ye(-910,!1)}return e}function __(e){return Object.getPrototypeOf(e.prototype).constructor}function Wh(e){let n=__(e.type),i=!0;const o=[e];for(;n;){let m;if(fr(e))m=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new ye(903,!1);m=n.\u0275dir}if(m){if(i){o.push(m);const P=e;P.inputs=mu(e.inputs),P.inputTransforms=mu(e.inputTransforms),P.declaredInputs=mu(e.declaredInputs),P.outputs=mu(e.outputs);const $=m.hostBindings;$&&HM(e,$);const J=m.viewQuery,me=m.contentQueries;if(J&&VM(e,J),me&&jM(e,me),BM(e,m),fi(e.outputs,m.outputs),fr(m)&&m.data.animation){const Ne=e.data;Ne.animation=(Ne.animation||[]).concat(m.data.animation)}}const x=m.features;if(x)for(let P=0;P=0;o--){const m=e[o];m.hostVars=n+=m.hostVars,m.hostAttrs=_e(m.hostAttrs,i=_e(i,m.hostAttrs))}}(o)}function BM(e,n){for(const i in n.inputs){if(!n.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;const o=n.inputs[i];if(void 0!==o&&(e.inputs[i]=o,e.declaredInputs[i]=n.declaredInputs[i],null!==n.inputTransforms)){const m=Array.isArray(o)?o[0]:o;if(!n.inputTransforms.hasOwnProperty(m))continue;e.inputTransforms??={},e.inputTransforms[m]=n.inputTransforms[m]}}}function mu(e){return e===fn?{}:e===ln?[]:e}function VM(e,n){const i=e.viewQuery;e.viewQuery=i?(o,m)=>{n(o,m),i(o,m)}:n}function jM(e,n){const i=e.contentQueries;e.contentQueries=i?(o,m,x)=>{n(o,m,x),i(o,m,x)}:n}function HM(e,n){const i=e.hostBindings;e.hostBindings=i?(o,m)=>{n(o,m),i(o,m)}:n}const zM=["providersResolver"],WM=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function v_(e){let i,n=__(e.type);i=fr(e)?n.\u0275cmp:n.\u0275dir;const o=e;for(const m of zM)o[m]=i[m];if(fr(i))for(const m of WM)o[m]=i[m]}function b_(e){const n=i=>{const o=(Array.isArray(e)?e:e()).map(m=>"function"==typeof m?{directive:_n(m),inputs:fn,outputs:fn}:{directive:_n(m.directive),inputs:C_(m.inputs),outputs:C_(m.outputs)});null===i.hostDirectives?(i.findHostDirectiveDefs=y_,i.hostDirectives=o):i.hostDirectives.unshift(...o)};return n.ngInherit=!0,n}function y_(e,n,i){if(null!==e.hostDirectives)for(const o of e.hostDirectives){const m=Qn(o.directive);GM(m.declaredInputs,o.inputs),y_(m,n,i),i.set(m,o),n.push(m)}}function C_(e){if(void 0===e||0===e.length)return fn;const n={};for(let i=0;iPromise.all(n()).then(m=>(i(...m),o[pu]=null,m)),o[pu]}function x_(e,n,i,o){return Ke(()=>{const m=e;null!==n&&(m.hasOwnProperty("decorators")&&void 0!==m.decorators?m.decorators.push(...n):m.decorators=n),null!==i&&(m.ctorParameters=i),null!==o&&(m.propDecorators=m.hasOwnProperty("propDecorators")&&void 0!==m.propDecorators?{...m.propDecorators,...o}:o)})}class qo{}class M_{}function I_(e,n){return new gu(e,n??null,[])}const ZM=I_;class gu extends qo{constructor(n,i,o){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ug(this);const m=pn(n);this._bootstrapComponents=ss(m.bootstrap),this._r3Injector=Ap(n,i,[{provide:qo,useValue:this},{provide:zl,useValue:this.componentFactoryResolver},...o],an(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class _u extends M_{constructor(n){super(),this.moduleType=n}create(n){return new gu(this.moduleType,n,[])}}class D_ extends qo{constructor(n){super(),this.componentFactoryResolver=new Ug(this),this.instance=null;const i=new Ma([...n.providers,{provide:qo,useValue:this},{provide:zl,useValue:this.componentFactoryResolver}],n.parent||Ic(),n.debugName,new Set(["environment"]));this.injector=i,n.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function T_(e,n,i=null){return new D_({providers:e,parent:n,debugName:i,runEnvironmentInitializers:!0}).injector}let Zl=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Qe.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||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&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ys(e,n,i){return e[n]=i}function Ql(e,n){return e[n]}function _r(e,n,i){return!Object.is(e[n],i)&&(e[n]=i,!0)}function ea(e,n,i,o){const m=_r(e,n,i);return _r(e,n+1,o)||m}function vu(e,n,i,o,m){const x=ea(e,n,i,o);return _r(e,n+2,m)||x}function ps(e,n,i,o,m,x){const P=ea(e,n,i,o);return ea(e,n+2,m,x)||P}function Ha(e,n,i,o,m,x,P,$){const J=Xt(),me=Hn(),Ne=e+Zt,it=me.firstCreatePass?function XM(e,n,i,o,m,x,P,$,J){const me=n.consts,Ne=Pa(n,e,4,P||null,Vi(me,$));uh(n,i,Ne,Vi(me,J)),Sc(n,Ne);const it=Ne.tView=ch(2,Ne,o,m,x,n.directiveRegistry,n.pipeRegistry,null,n.schemas,me,null);return null!==n.queries&&(n.queries.template(n,Ne),it.queries=n.queries.embeddedTView(Ne)),Ne}(Ne,me,J,n,i,o,m,x,P):me.data[Ne];wr(it,!1);const Dt=S_(me,J,it,e);so()&&Yc(me,J,Dt,it),Vr(Dt,J);const Rt=H0(Dt,J,Dt,it);return J[Ne]=Rt,Jc(J,Rt),Gg(Rt,it,J),Or(it)&&ah(me,J,it),null!=P&&lh(J,it,$),Ha}let S_=A_;function A_(e,n,i,o){return pr(!0),n[Rn].createComment("")}function JM(e,n,i,o){const m=n[dr],x=!m||qr()||bc(m,o);if(pr(x),x)return A_(0,n);const P=m.data[sd]?.[o]??null;null!==P&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=P);const $=ru(m,e,n,i);return vc(m,o,$),su(fd(m,o),$)}var vr=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(vr||{});const k_=0,eI=1;var br=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(br||{}),Xl=function(e){return e[e.Initial=-1]="Initial",e}(Xl||{});const za=0,bu=1,Jl=2,yu=3,O_=4,R_=5;var Gh=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Gh||{});function Cu(e,n,i){const o=1===e?R_:O_;null===n[o]&&(n[o]=[]),n[o].push(i)}function Kh(e,n){const i=1===e?R_:O_,o=n[i];if(null!==o){for(const m of o)m();n[i]=null}}function L_(e){Kh(1,e),Kh(0,e)}function wu(e){return e+1}function ta(e,n){return e[wu(n.index)]}function gs(e,n){const i=wu(n.index);return e.data[i]}function Yh(e,n){return n===br.Placeholder?e.placeholderBlockConfig?.[k_]??null:n===br.Loading?e.loadingBlockConfig?.[k_]??null:null}function P_(e){return e.loadingBlockConfig?.[eI]??null}function N_(e,n){if(!e||0===e.length)return n;const i=new Set(e);for(const o of n)i.add(o);return e.length===i.size?e:Array.from(i)}function sI(e){return null!==e&&"object"==typeof e&&"number"==typeof e.primaryTmplIndex}const Eu={passive:!0,capture:!0},Zh=new WeakMap,Qh=new WeakMap,Wa=new WeakMap,F_=["click","keydown"],U_=["mouseenter","focusin"];let Ga=null,Xh=0;class Jh{constructor(){this.callbacks=new Set,this.listener=()=>{for(const n of this.callbacks)n()}}}function B_(e,n){let i=Qh.get(e);if(!i){i=new Jh,Qh.set(e,i);for(const o of F_)e.addEventListener(o,i.listener,Eu)}return i.callbacks.add(n),()=>{const{callbacks:o,listener:m}=i;if(o.delete(n),0===o.size){Qh.delete(e);for(const x of F_)e.removeEventListener(x,m,Eu)}}}function $_(e,n){let i=Zh.get(e);if(!i){i=new Jh,Zh.set(e,i);for(const o of U_)e.addEventListener(o,i.listener,Eu)}return i.callbacks.add(n),()=>{const{callbacks:o,listener:m}=i;if(o.delete(n),0===o.size){for(const x of U_)e.removeEventListener(x,m,Eu);Zh.delete(e)}}}function V_(e,n,i){const o=i.get(gr);let m=Wa.get(e);return Ga=Ga||o.runOutsideAngular(()=>new IntersectionObserver(x=>{for(const P of x)P.isIntersecting&&Wa.has(P.target)&&o.run(Wa.get(P.target).listener)})),m||(m=new Jh,o.runOutsideAngular(()=>Ga.observe(e)),Wa.set(e,m),Xh++),m.callbacks.add(n),()=>{Wa.has(e)&&(m.callbacks.delete(n),0===m.callbacks.size&&(Ga?.unobserve(e),Wa.delete(e),Xh--),0===Xh&&(Ga?.disconnect(),Ga=null))}}function Ka(e,n,i,o,m,x,P){const $=e[Hi];Oh(function J(){if(_s(e))return;const me=ta(e,n),Ne=me[bu];if(Ne!==Xl.Initial&&Ne!==br.Placeholder)return;const it=function oI(e,n,i){return null==i?e:i>=0?no(i,e):e[n.index][Gn]??null}(e,n,o);if(!it)return void Oh(J,{injector:$});if(_s(it))return;const Dt=function aI(e,n){return Os(Zt+n,e)}(it,i),Rt=m(Dt,()=>{e!==it&&Cs(it,Rt),x()},$);e!==it&&Rs(it,Rt),Cu(P,me,Rt)},{injector:$})}function j_(e,n){const o=n[Hi].get(uI);return o.add(e),()=>o.remove(e)}let uI=(()=>{class e{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=Ti(gr),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(i){(this.executingCallbacks?this.deferred:this.current).add(i),null===this.idleId&&this.scheduleIdleCallback()}remove(i){const{current:o,deferred:m}=this;o.delete(i),m.delete(i),0===o.size&&0===m.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const i=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const o of this.current)o();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const o of this.deferred)this.current.add(o);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(i))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:()=>new e})}return e})();function H_(e){return(n,i)=>z_(e,n,i)}function z_(e,n,i){const m=i[Hi].get(dI);return m.add(e,n),()=>m.remove(n)}let dI=(()=>{class e{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(i,o){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+i,o),this.scheduleTimer()}remove(i){const{current:o,deferred:m}=this;-1===this.removeFromQueue(o,i)&&this.removeFromQueue(m,i),0===o.length&&0===m.length&&this.clearTimeout()}addToQueue(i,o,m){let x=i.length;for(let P=0;Po){x=P;break}oo(i,x,o,m)}removeFromQueue(i,o){let m=-1;for(let x=0;x-1&&Io(i,m,2),m}scheduleTimer(){const i=()=>{this.clearTimeout(),this.executingCallbacks=!0;const m=[...this.current],x=Date.now();for(let $=0;$=0&&Io(this.current,0,P+1),this.executingCallbacks=!1,this.deferred.length>0){for(let $=0;$0){const m=Date.now(),x=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-x>16){this.clearTimeout();const P=Math.max(x-m,16);this.invokeTimerAt=x,this.timeoutId=setTimeout(i,P)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:()=>new e})}return e})();const hI=new ht("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),W_=new ht("");function qh(e){return e.get(W_,null,{optional:!0})?.behavior!==Gh.Manual&&ko(e)}let ef=null;function G_(e,n,i,o){const m=e.consts;null!=i&&(n.placeholderBlockConfig=Vi(m,i)),null!=o&&(n.loadingBlockConfig=Vi(m,o)),null===ef&&(ef=fI)}function K_(e,n,i,o,m,x,P,$,J){const me=Xt(),Ne=Hn(),it=e+Zt;if(Ha(e,null,0,0),Ne.firstCreatePass){Oo("NgDefer");const mn={primaryTmplIndex:n,loadingTmplIndex:o??null,placeholderTmplIndex:m??null,errorTmplIndex:x??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:i??null,loadingState:vr.NOT_STARTED,loadingPromise:null};J?.(Ne,mn,$,P),function nI(e,n,i){const o=wu(n);e.data[o]=i}(Ne,it,mn)}const Dt=yi();Gg(me[it],Dt,me);const Wt=[null,Xl.Initial,null,null,null,null];!function tI(e,n,i){e[wu(n)]=i}(me,it,Wt);const sn=()=>L_(Wt);Cu(0,Wt,()=>Cs(me,sn)),Rs(me,sn)}function Y_(e){const n=Xt();if(_r(n,Q(),e)){const o=s(null);try{const m=!!e,x=_i(),$=ta(n,x)[bu];!1===m&&$===Xl.Initial?Ya(n,x):!0===m&&($===Xl.Initial||$===br.Placeholder)&&Za(n,x)}finally{s(o)}}}function Z_(e){const n=Xt();if(_r(n,Q(),e)){const o=s(null);try{const m=!!e,x=n[un],P=_i(),$=gs(x,P);!0===m&&$.loadingState===vr.NOT_STARTED&&ql($,n,P)}finally{s(o)}}}function Q_(){lv(j_)}function X_(){cv(j_)}function J_(){const e=Xt(),n=yi(),o=e[Hi],m=gs(e[un],n);(!qh(o)||null===m.loadingTmplIndex)&&Ya(e,n),Za(e,n)}function q_(){const e=Xt(),n=yi(),o=gs(e[un],n);o.loadingState===vr.NOT_STARTED&&xu(o,e,n)}function ev(e){lv(H_(e))}function tv(e){cv(H_(e))}function nv(e,n){const i=Xt(),o=yi();Ya(i,o),Ka(i,o,e,n,$_,()=>Za(i,o),0)}function iv(e,n){const i=Xt(),o=yi(),x=gs(i[un],o);x.loadingState===vr.NOT_STARTED&&Ka(i,o,e,n,$_,()=>ql(x,i,o),1)}function rv(e,n){const i=Xt(),o=yi();Ya(i,o),Ka(i,o,e,n,B_,()=>Za(i,o),0)}function sv(e,n){const i=Xt(),o=yi(),x=gs(i[un],o);x.loadingState===vr.NOT_STARTED&&Ka(i,o,e,n,B_,()=>ql(x,i,o),1)}function ov(e,n){const i=Xt(),o=yi();Ya(i,o),Ka(i,o,e,n,V_,()=>Za(i,o),0)}function av(e,n){const i=Xt(),o=yi(),x=gs(i[un],o);x.loadingState===vr.NOT_STARTED&&Ka(i,o,e,n,V_,()=>ql(x,i,o),1)}function lv(e){const n=Xt(),i=yi();Ya(n,i);const o=e(()=>Za(n,i),n);Cu(0,ta(n,i),o)}function cv(e){const n=Xt(),i=yi(),m=gs(n[un],i);m.loadingState===vr.NOT_STARTED&&Cu(1,ta(n,i),e(()=>ql(m,n,i),n))}function fo(e,n,i,o=!1){const m=i[ci],x=m[un];if(_s(m))return;const P=ta(m,n);if(hv(P[bu],e)&&hv(P[za]??-1,e)){const J=gs(x,n),Ne=o||null===P_(J)&&null===Yh(J,br.Loading)&&!Yh(J,br.Placeholder)?uv:ef;try{Ne(e,P,i,n,m)}catch(it){qc(m,it)}}}function uv(e,n,i,o,m){const x=function iI(e,n,i){const m=gs(n[un],i);switch(e){case br.Complete:return m.primaryTmplIndex;case br.Loading:return m.loadingTmplIndex;case br.Error:return m.errorTmplIndex;case br.Placeholder:return m.placeholderTmplIndex;default:return null}}(e,m,o);if(null!==x){n[bu]=e;const J=ls(m[un],x+Zt),me=0;gh(i,me);const Ne=Ua(i,J.tView.ssrId),it=Pl(m,J,null,{dehydratedView:Ne});Nl(i,it,me,Na(J,Ne)),Ul(it)}}function fI(e,n,i,o,m){const x=Date.now(),$=gs(m[un],o);if(null===n[Jl]||n[Jl]<=x){n[Jl]=null;const J=P_($),me=null!==n[yu];if(e!==br.Loading||null===J||me){e>br.Loading&&me&&(n[yu](),n[yu]=null,n[za]=null),uv(e,n,i,o,m);const Ne=Yh($,e);null!==Ne&&(n[Jl]=x+Ne,dv(Ne,n,o,i,m))}else{n[za]=e;const Ne=dv(J,n,o,i,m);n[yu]=Ne}}else n[za]=e}function dv(e,n,i,o,m){return z_(e,()=>{const P=n[za];n[Jl]=null,n[za]=null,null!==P&&fo(P,i,o)},m)}function hv(e,n){return e{let it=!1;const Dt=[],Rt=[];for(const Wt of Ne){if("fulfilled"!==Wt.status){it=!0;break}{const sn=Wt.value,mn=Dn(sn)||Qn(sn);if(mn)Dt.push(mn);else{const Mn=ui(sn);Mn&&Rt.push(Mn)}}}if(e.loadingPromise=null,J.remove(me),it){if(e.loadingState=vr.FAILED,null===e.errorTmplIndex){Zd(n);const sn=new ye(750,!1);qc(n,sn)}}else{e.loadingState=vr.COMPLETE;const Wt=P.tView;Dt.length>0&&(Wt.directiveRegistry=N_(Wt.directiveRegistry,Dt)),Rt.length>0&&(Wt.pipeRegistry=N_(Wt.pipeRegistry,Rt))}}):Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=vr.COMPLETE,J.remove(me)})}function Ya(e,n){fo(br.Placeholder,n,e[n.index])}function fv(e,n,i){e.loadingPromise.then(()=>{e.loadingState===vr.COMPLETE?fo(br.Complete,n,i):e.loadingState===vr.FAILED&&fo(br.Error,n,i)})}function Za(e,n){const i=e[un],o=e[n.index];if(!qh(e[Hi]))return;const x=ta(e,n),P=gs(i,n);switch(L_(x),P.loadingState){case vr.NOT_STARTED:fo(br.Loading,n,o),xu(P,e,n),P.loadingState===vr.IN_PROGRESS&&fv(P,n,o);break;case vr.IN_PROGRESS:fo(br.Loading,n,o),fv(P,n,o);break;case vr.COMPLETE:fo(br.Complete,n,o);break;case vr.FAILED:fo(br.Error,n,o)}}function tf(e,n,i,o){const m=Xt();return _r(m,Q(),n)&&(Hn(),Ks(_i(),m,e,n,i,o)),tf}function Qa(e,n){let i=!1,o=Wr();for(let x=1;x>17&32767}function ff(e){return 2|e}function na(e){return(131068&e)>>2}function mf(e,n){return-131069&e|n<<2}function pf(e){return 1|e}function mv(e,n,i,o){const m=e[i+1],x=null===n;let P=o?No(m):na(m),$=!1;for(;0!==P&&(!1===$||x);){const me=e[P+1];bI(e[P],n)&&($=!0,e[P+1]=o?pf(me):ff(me)),P=o?No(me):na(me)}$&&(e[i+1]=o?ff(m):pf(m))}function bI(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&js(e,n)>=0}const Mr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function pv(e){return e.substring(Mr.key,Mr.keyEnd)}function yI(e){return e.substring(Mr.value,Mr.valueEnd)}function gv(e,n){const i=Mr.textEnd;return i===n?-1:(n=Mr.keyEnd=function EI(e,n,i){for(;n32;)n++;return n}(e,Mr.key=n,i),sl(e,n,i))}function _v(e,n){const i=Mr.textEnd;let o=Mr.key=sl(e,n,i);return i===o?-1:(o=Mr.keyEnd=function xI(e,n,i){let o;for(;n=65&&(-33&o)<=90||o>=48&&o<=57);)n++;return n}(e,o,i),o=bv(e,o,i),o=Mr.value=sl(e,o,i),o=Mr.valueEnd=function MI(e,n,i){let o=-1,m=-1,x=-1,P=n,$=P;for(;P32&&($=P),x=m,m=o,o=-33&J}return $}(e,o,i),bv(e,o,i))}function vv(e){Mr.key=0,Mr.keyEnd=0,Mr.value=0,Mr.valueEnd=0,Mr.textEnd=e.length}function sl(e,n,i){for(;n=0;i=_v(n,i))xv(e,pv(n),yI(n))}function Cv(e){Ds(OI,Zs,e,!0)}function Zs(e,n){for(let i=function CI(e){return vv(e),gv(e,sl(e,0,Mr.textEnd))}(n);i>=0;i=gv(n,i))Fr(e,pv(n),!0)}function Is(e,n,i,o){const m=Xt(),x=Hn(),P=Ue(2);x.firstUpdatePass&&Ev(x,e,P,o),n!==ri&&_r(m,P,n)&&Mv(x,x.data[zi()],m,m[Rn],e,m[P+1]=function LI(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=an(co(e)))),e}(n,i),o,P)}function Ds(e,n,i,o){const m=Hn(),x=Ue(2);m.firstUpdatePass&&Ev(m,null,x,o);const P=Xt();if(i!==ri&&_r(P,x,i)){const $=m.data[zi()];if(Dv($,o)&&!wv(m,x)){let J=o?$.classesWithoutHost:$.stylesWithoutHost;null!==J&&(i=Ot(J,i||"")),_f(m,$,P,i,o)}else!function RI(e,n,i,o,m,x,P,$){m===ri&&(m=ln);let J=0,me=0,Ne=0=e.expandoStartIndex}function Ev(e,n,i,o){const m=e.data;if(null===m[i+1]){const x=m[zi()],P=wv(e,i);Dv(x,o)&&null===n&&!P&&(n=!1),n=function DI(e,n,i,o){const m=bn(e);let x=o?n.residualClasses:n.residualStyles;if(null===m)0===(o?n.classBindings:n.styleBindings)&&(i=ec(i=yf(null,e,n,i,o),n.attrs,o),x=null);else{const P=n.directiveStylingLast;if(-1===P||e[P]!==m)if(i=yf(m,e,n,i,o),null===x){let J=function TI(e,n,i){const o=i?n.classBindings:n.styleBindings;if(0!==na(o))return e[No(o)]}(e,n,o);void 0!==J&&Array.isArray(J)&&(J=yf(null,e,n,J[1],o),J=ec(J,n.attrs,o),function SI(e,n,i,o){e[No(i?n.classBindings:n.styleBindings)]=o}(e,n,o,J))}else x=function AI(e,n,i){let o;const m=n.directiveEnd;for(let x=1+n.directiveStylingLast;x0)&&(me=!0)):Ne=i,m)if(0!==J){const Dt=No(e[$+1]);e[o+1]=Mu(Dt,$),0!==Dt&&(e[Dt+1]=mf(e[Dt+1],o)),e[$+1]=function pI(e,n){return 131071&e|n<<17}(e[$+1],o)}else e[o+1]=Mu($,0),0!==$&&(e[$+1]=mf(e[$+1],o)),$=o;else e[o+1]=Mu(J,0),0===$?$=o:e[J+1]=mf(e[J+1],o),J=o;me&&(e[o+1]=ff(e[o+1])),mv(e,Ne,o,!0),mv(e,Ne,o,!1),function vI(e,n,i,o,m){const x=m?e.residualClasses:e.residualStyles;null!=x&&"string"==typeof n&&js(x,n)>=0&&(i[o+1]=pf(i[o+1]))}(n,Ne,e,o,x),P=Mu($,J),x?n.classBindings=P:n.styleBindings=P}(m,x,n,i,P,o)}}function yf(e,n,i,o,m){let x=null;const P=i.directiveEnd;let $=i.directiveStylingLast;for(-1===$?$=i.directiveStart:$++;$0;){const J=e[m],me=Array.isArray(J),Ne=me?J[1]:J,it=null===Ne;let Dt=i[m+1];Dt===ri&&(Dt=it?ln:void 0);let Rt=it?Ho(Dt,o):Ne===o?Dt:void 0;if(me&&!Iu(Rt)&&(Rt=Ho(J,o)),Iu(Rt)&&($=Rt,P))return $;const Wt=e[m+1];m=P?No(Wt):na(Wt)}if(null!==n){let J=x?n.residualClasses:n.residualStyles;null!=J&&($=Ho(J,o))}return $}function Iu(e){return void 0!==e}function Dv(e,n){return 0!=(e.flags&(n?8:16))}function Tv(e,n,i){Ds(Fr,Zs,Xa(Xt(),e,n,i),!0)}function Sv(e,n,i,o,m){Ds(Fr,Zs,Ja(Xt(),e,n,i,o,m),!0)}function Av(e,n,i,o,m,x,P){Ds(Fr,Zs,qa(Xt(),e,n,i,o,m,x,P),!0)}function kv(e,n,i,o,m,x,P,$,J){Ds(Fr,Zs,el(Xt(),e,n,i,o,m,x,P,$,J),!0)}function Ov(e,n,i,o,m,x,P,$,J,me,Ne){Ds(Fr,Zs,tl(Xt(),e,n,i,o,m,x,P,$,J,me,Ne),!0)}function Rv(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt){Ds(Fr,Zs,nl(Xt(),e,n,i,o,m,x,P,$,J,me,Ne,it,Dt),!0)}function Lv(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt){Ds(Fr,Zs,il(Xt(),e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt),!0)}function Pv(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt,sn,mn){Ds(Fr,Zs,rl(Xt(),e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt,sn,mn),!0)}function Nv(e){Ds(Fr,Zs,Qa(Xt(),e),!0)}function Fv(){return Xt()[hi][di]}class PI{destroy(n){}updateValue(n,i){}swap(n,i){const o=Math.min(n,i),m=Math.max(n,i),x=this.detach(m);if(m-o>1){const P=this.detach(o);this.attach(o,x),this.attach(m,P)}else this.attach(o,x)}move(n,i){this.attach(i,this.detach(n))}}function Cf(e,n,i,o,m){return e===i&&Object.is(n,o)?1:Object.is(m(e,n),m(i,o))?-1:0}function wf(e,n,i,o){return!(void 0===n||!n.has(o)||(e.attach(i,n.get(o)),n.delete(o),0))}function Uv(e,n,i,o,m){if(wf(e,n,o,i(o,m)))e.updateValue(o,m);else{const x=e.create(o,m);e.attach(o,x)}}function Bv(e,n,i,o){const m=new Set;for(let x=n;x<=i;x++)m.add(o(x,e.at(x)));return m}class $v{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const i=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(i)?(this.kvMap.set(n,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,i){if(this.kvMap.has(n)){let o=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const m=this._vMap;for(;m.has(o);)o=m.get(o);m.set(o,i)}else this.kvMap.set(n,i)}forEach(n){for(let[i,o]of this.kvMap)if(n(o,i),void 0!==this._vMap){const m=this._vMap;for(;m.has(o);)o=m.get(o),n(o,i)}}}function Vv(e,n,i){Oo("NgControlFlow");const o=Xt(),m=Q(),x=Ef(o,Zt+e);if(_r(o,m,n)){const $=s(null);try{if(gh(x,0),-1!==n){const J=xf(o[un],Zt+n),me=Ua(x,J.tView.ssrId);Nl(x,Pl(o,J,i,{dehydratedView:me}),0,Na(J,me))}}finally{s($)}}else{const $=Y0(x,0);void 0!==$&&($[di]=i)}}class FI{constructor(n,i,o){this.lContainer=n,this.$implicit=i,this.$index=o}get $count(){return this.lContainer.length-Gn}}function jv(e){return e}function Hv(e,n){return n}class UI{constructor(n,i,o){this.hasEmptyBlock=n,this.trackByFn=i,this.liveCollection=o}}function zv(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt){Oo("NgControlFlow");const Rt=void 0!==J,Wt=Xt(),sn=$?P.bind(Wt[hi][di]):P,mn=new UI(Rt,sn);Wt[Zt+e]=mn,Ha(e+1,n,i,o,m,x),Rt&&Ha(e+2,J,me,Ne,it,Dt)}class BI extends PI{constructor(n,i,o){super(),this.lContainer=n,this.hostLView=i,this.templateTNode=o,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Gn}at(n){return this.getLView(n)[di].$implicit}attach(n,i){const o=i[dr];this.needsIndexUpdate||=n!==this.length,Nl(this.lContainer,i,n,Na(this.templateTNode,o))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function $I(e,n){return Ol(e,n)}(this.lContainer,n)}create(n,i){const o=Ua(this.lContainer,this.templateTNode.tView.ssrId);return Pl(this.hostLView,this.templateTNode,new FI(this.lContainer,i,n),{dehydratedView:o})}destroy(n){Gc(n[un],n)}updateValue(n,i){this.getLView(n)[di].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n{e.destroy($)})}(P,e,x.trackByFn),P.updateIndexes(),x.hasEmptyBlock){const $=Q(),J=0===P.length;if(_r(o,$,J)){const me=i+2,Ne=Ef(o,me);if(J){const it=xf(m,me),Dt=Ua(Ne,it.tView.ssrId);Nl(Ne,Pl(o,it,void 0,{dehydratedView:Dt}),0,Na(it,Dt))}else gh(Ne,0)}}}finally{s(n)}}function Ef(e,n){return e[n]}function xf(e,n){return ls(e,n)}function Du(e,n,i,o){const m=Xt(),x=Hn(),P=Zt+e,$=m[Rn],J=x.firstCreatePass?function jI(e,n,i,o,m,x){const P=n.consts,J=Pa(n,e,2,o,Vi(P,m));return uh(n,i,J,Vi(P,x)),null!==J.attrs&&du(J,J.attrs,!1),null!==J.mergedAttrs&&du(J,J.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,J),J}(P,x,m,n,i,o):x.data[P],me=Gv(x,m,J,$,n,e);m[P]=me;const Ne=Or(J);return wr(J,!0),k0($,me,J),32!=(32&J.flags)&&so()&&Yc(x,m,me,J),0===function Bo(){return Un.lFrame.elementDepthCount}()&&Vr(me,m),function $o(){Un.lFrame.elementDepthCount++}(),Ne&&(ah(x,m,J),oh(x,J,m)),null!==o&&lh(m,J),Du}function Tu(){let e=yi();Bs()?$s():(e=e.parent,wr(e,!1));const n=e;(function bo(e){return Un.skipHydrationRootTNode===e})(n)&&function Fs(){Un.skipHydrationRootTNode=null}(),function io(){Un.lFrame.elementDepthCount--}();const i=Hn();return i.firstCreatePass&&(Sc(i,e),ir(e)&&i.queries.elementEnd(e)),null!=n.classesWithoutHost&&function H1(e){return 0!=(8&e.flags)}(n)&&_f(i,n,Xt(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function z1(e){return 0!=(16&e.flags)}(n)&&_f(i,n,Xt(),n.stylesWithoutHost,!1),Tu}function Mf(e,n,i,o){return Du(e,n,i,o),Tu(),Mf}let Gv=(e,n,i,o,m,x)=>(pr(!0),Wc(o,m,ua()));function HI(e,n,i,o,m,x){const P=n[dr],$=!P||qr()||bc(P,x);if(pr($),$)return Wc(o,m,ua());const J=ru(P,e,n,i);return Ym(P,x)&&vc(P,x,J.nextSibling),P&&(pa(i)||ga(J))&&$i(i)&&(function yo(e){Un.skipHydrationRootTNode=e}(i),T0(J)),J}function Su(e,n,i){const o=Xt(),m=Hn(),x=e+Zt,P=m.firstCreatePass?function WI(e,n,i,o,m){const x=n.consts,P=Vi(x,o),$=Pa(n,e,8,"ng-container",P);return null!==P&&du($,P,!0),uh(n,i,$,Vi(x,m)),null!==n.queries&&n.queries.elementStart(n,$),$}(x,m,o,n,i):m.data[x];wr(P,!0);const $=Kv(m,o,P,e);return o[x]=$,so()&&Yc(m,o,$,P),Vr($,o),Or(P)&&(ah(m,o,P),oh(m,P,o)),null!=i&&lh(o,P),Su}function Au(){let e=yi();const n=Hn();return Bs()?$s():(e=e.parent,wr(e,!1)),n.firstCreatePass&&(Sc(n,e),ir(e)&&n.queries.elementEnd(e)),Au}function If(e,n,i){return Su(e,n,i),Au(),If}let Kv=(e,n,i,o)=>(pr(!0),qd(n[Rn],""));function GI(e,n,i,o){let m;const x=n[dr],P=!x||qr();if(pr(P),P)return qd(n[Rn],"");const $=ru(x,e,n,i),J=function v1(e,n){const i=e.data;let o=i[rd]?.[n]??null;return null===o&&i[yl]?.[n]&&(o=fd(e,n)),o}(x,o);return vc(x,o,$),m=su(J,$),m}function Yv(){return Xt()}function Df(e,n,i){const o=Xt();return _r(o,Q(),n)&&ns(Hn(),_i(),o,e,n,o[Rn],i,!0),Df}function Tf(e,n,i){const o=Xt();if(_r(o,Q(),n)){const x=Hn(),P=_i();ns(x,P,o,e,n,K0(bn(x.data),P,o),i,!0)}return Tf}const ia=void 0;var ZI=["en",[["a","p"],["AM","PM"],ia],[["AM","PM"],ia,ia],[["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"]],ia,[["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"]],ia,[["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}",ia,"{1} 'at' {0}",ia],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function YI(e){const i=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let ol={};function QI(e,n,i){"string"!=typeof n&&(i=n,n=e[al.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),ol[n]=e,i&&(ol[n][al.ExtraData]=i)}function Sf(e){const n=function qI(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=Qv(n);if(i)return i;const o=n.split("-")[0];if(i=Qv(o),i)return i;if("en"===o)return ZI;throw new ye(701,!1)}function XI(e){return Sf(e)[al.CurrencyCode]||null}function Zv(e){return Sf(e)[al.PluralCase]}function Qv(e){return e in ol||(ol[e]=ft.ng&&ft.ng.common&&ft.ng.common.locales&&ft.ng.common.locales[e]),ol[e]}function JI(){ol={}}var al=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}(al||{});const eD=["zero","one","two","few","many"],ra="en-US",ku={marker:"element"},Ou={marker:"ICU"};var is=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(is||{});let Xv=ra;function Af(e){"string"==typeof e&&(Xv=e.toLowerCase().replace(/_/g,"-"))}function Jv(e,n,i){const o=n.insertBeforeIndex,m=Array.isArray(o)?o[0]:o;return null===m?x0(e,0,i):Bi(i[m])}function qv(e,n,i,o,m){const x=n.insertBeforeIndex;if(Array.isArray(x)){let P=o,$=null;if(3&n.type||($=P,P=m),null!==P&&-1===n.componentOffset)for(let J=1;J1)for(let i=e.length-2;i>=0;i--){const o=e[i];tb(o)||rD(o,n)&&null===sD(o)&&oD(o,n.index)}}function tb(e){return!(64&e.type)}function rD(e,n){return tb(n)||e.index>n.index}function sD(e){const n=e.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function oD(e,n){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=n:(I0(Jv,qv),e.insertBeforeIndex=n)}function tc(e,n){const i=e.data[n];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function cD(e,n,i){const o=sh(e,i,64,null,null);return eb(n,o),o}function Ru(e,n){const i=n[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function nb(e){return e>>>17}function ib(e){return(131070&e)>>>1}let nc=0,ic=0;function sb(e,n,i,o){const m=i[Rn];let P,x=null;for(let $=0;$>>1,i),null,null,Rt,Wt,null)}else switch(J){case Ou:const me=n[++$],Ne=n[++$];null===i[Ne]&&Vr(i[Ne]=qd(m,me),i);break;case ku:const it=n[++$],Dt=n[++$];null===i[Dt]&&Vr(i[Dt]=Wc(m,it,null),i)}}}function ob(e,n,i,o,m){for(let x=0;x>>2;switch(3&Ne){case 1:const Dt=i[++me],Rt=i[++me],Wt=e.data[it];"string"==typeof Wt?hh(n[Rn],n[it],null,Wt,Dt,J,Rt):ns(e,Wt,n,Dt,J,n[Rn],Rt,!1);break;case 0:const sn=n[it];null!==sn&&_0(n[Rn],sn,J);break;case 2:mD(e,tc(e,it),n,J);break;case 3:ab(e,tc(e,it),o,n)}}}}else{const J=i[x+1];if(J>0&&3==(3&J)){const Ne=tc(e,J>>>2);n[Ne.currentCaseLViewIndex]<0&&ab(e,Ne,o,n)}}x+=$}}function ab(e,n,i,o){let m=o[n.currentCaseLViewIndex];if(null!==m){let x=nc;m<0&&(m=o[n.currentCaseLViewIndex]=~m,x=-1),ob(e,o,n.update[m],i,x)}}function mD(e,n,i,o){const m=function pD(e,n){let i=e.cases.indexOf(n);if(-1===i)switch(e.type){case 1:{const o=function tD(e,n){const i=Zv(n)(parseInt(e,10)),o=eD[i];return void 0!==o?o:"other"}(n,function iD(){return Xv}());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}(n,o);if(Ru(n,i)!==m&&(lb(e,n,i),i[n.currentCaseLViewIndex]=null===m?null:~m,null!==m)){const P=i[n.anchorIdx];P&&sb(e,n.create[m],i,P)}}function lb(e,n,i){let o=Ru(n,i);if(null!==o){const m=n.remove[o];for(let x=0;x0){const $=Os(P,i);null!==$&&Zc(i[Rn],$)}else lb(e,tc(e,~P),i)}}}function gD(){const e=[];let i,o,n=-1;function x($,J){n=0;const me=Ru($,J);o=null!==me?$.remove[me]:ln}function P(){if(n0?i[$]:(e.push(n,o),x(i[un].data[~$],i),P())}return 0===e.length?null:(o=e.pop(),n=e.pop(),P())}return function m($,J){for(i=J;e.length;)e.pop();return x($.value,J),P}}const Lu=/\ufffd(\d+):?\d*\ufffd/gi,_D=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,vD=/\ufffd(\d+)\ufffd/,ub=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,rc="\ufffd",bD=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,yD=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,CD=/\uE500/g;function db(e,n,i,o,m,x,P){const $=Ll(e,o,1,null);let J=$<i.length&&i.push(J)}return{type:o,mainBinding:m,cases:n,values:i}}function kf(e){if(!e)return[];let n=0;const i=[],o=[],m=/[{}]/g;let x;for(m.lastIndex=0;x=m.exec(e);){const $=x.index;if("}"==x[0]){if(i.pop(),0==i.length){const J=e.substring(n,$);ub.test(J)?o.push(SD(J)):o.push(J),n=$+1}}else{if(0==i.length){const J=e.substring(n,$);o.push(J),n=$+1}i.push("{")}}const P=e.substring(n);return o.push(P),o}function AD(e,n,i,o,m,x,P,$){const J=[],me=[],Ne=[];n.cases.push(x),n.create.push(J),n.remove.push(me),n.update.push(Ne);const Dt=Bp(ie()).getInertBodyElement(P),Rt=Vd(Dt)||Dt;return Rt?pb(e,n,i,o,J,me,Ne,Rt,m,$,0):0}function pb(e,n,i,o,m,x,P,$,J,me,Ne){let it=0,Dt=$.firstChild;for(;Dt;){const Rt=Ll(e,i,1,null);switch(Dt.nodeType){case Node.ELEMENT_NODE:const Wt=Dt,sn=Wt.tagName.toLowerCase();if(Bd.hasOwnProperty(sn)){Of(m,ku,sn,J,Rt),e.data[Rt]=sn;const ti=Wt.attributes;for(let vi=0;vi>>is.SHIFT;let it=e[Ne];null===it&&(it=e[Ne]=(P&is.COMMENT)===is.COMMENT?m.createComment($):zc(m,$)),me&&null!==i&&Jo(m,i,it,o,!1)}})(m,J.create,Ne,$&&8&$.type?m[$.index]:null),be(!0)}function Lf(){be(!1)}function vb(e,n,i){Rf(e,n,i),Lf()}function bb(e,n){const i=Hn(),o=Vi(i.consts,n);!function MD(e,n,i){const m=yi().index,x=[];if(e.firstCreatePass&&null===e.data[n]){for(let P=0;P0){const o=e.data[i];ob(e,n,Array.isArray(o)?o:o.update,Wr()-ic-1,nc)}nc=0,ic=0}(Hn(),Xt(),e+Zt)}function Cb(e,n={}){return function jD(e,n={}){let i=e;if(PD.test(e)){const o={},m=[_b];i=i.replace(ND,(x,P,$)=>{const J=P||$,me=o[J]||[];if(me.length||(J.split("|").forEach(sn=>{const mn=sn.match(VD),Mn=mn?parseInt(mn[1],10):_b,nn=$D.test(sn);me.push([Mn,nn,sn])}),o[J]=me),!me.length)throw new Error(`i18n postprocess: unmatched placeholder - ${J}`);const Ne=m[m.length-1];let it=0;for(let sn=0;snn.hasOwnProperty(x)?`${m}${n[x]}${J}`:o),i=i.replace(UD,(o,m)=>n.hasOwnProperty(m)?n[m]:o),i=i.replace(BD,(o,m)=>{if(n.hasOwnProperty(m)){const x=n[m];if(!x.length)throw new Error(`i18n postprocess: unmatched ICU - ${o} with key: ${m}`);return x.shift()}return o})),i}(e,n)}function Nf(e,n,i,o){const m=Xt(),x=Hn(),P=yi();return Uf(x,m,m[Rn],P,e,n,o),Nf}function Ff(e,n){const i=yi(),o=Xt(),m=Hn();return Uf(m,o,K0(bn(m.data),i,o),i,e,n),Ff}function Uf(e,n,i,o,m,x,P){const $=Or(o),me=e.firstCreatePass&&G0(e),Ne=n[di],it=W0(n);let Dt=!0;if(3&o.type||P){const sn=lr(o,n),mn=P?P(sn):sn,Mn=it.length,nn=P?vi=>P(Bi(vi[o.index])):o.index;let ti=null;if(!P&&$&&(ti=function HD(e,n,i,o){const m=e.cleanup;if(null!=m)for(let x=0;xJ?$[J]:null}"string"==typeof P&&(x+=2)}return null}(e,n,m,o.index)),null!==ti)(ti.__ngLastListenerFn__||ti).__ngNextListenerFn__=x,ti.__ngLastListenerFn__=x,Dt=!1;else{x=Eb(o,n,Ne,x,!1);const vi=i.listen(mn,m,x);it.push(x,vi),me&&me.push(m,nn,Mn,Mn+1)}}else x=Eb(o,n,Ne,x,!1);const Rt=o.outputs;let Wt;if(Dt&&null!==Rt&&(Wt=Rt[m])){const sn=Wt.length;if(sn)for(let mn=0;mn-1?cr(e.index,n):n);let J=wb(n,i,o,P),me=x.__ngNextListenerFn__;for(;me;)J=wb(n,i,me,P)&&J,me=me.__ngNextListenerFn__;return m&&!1===J&&P.preventDefault(),J}}function xb(e=1){return function Gr(e){return(Un.lFrame.contextLView=no(e,Un.lFrame.contextLView))[di]}(e)}function zD(e,n){let i=null;const o=function Tn(e){const n=e.attrs;if(null!=n){const i=n.indexOf(5);if(!(1&i))return n[i+1]}return null}(e);for(let m=0;m=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),n[i]=o}function Pb(e){return Jr(function wo(){return Un.lFrame.contextLView}(),Zt+e)}function Nb(e,n,i){Ms(Xa(Xt(),e,n,i))}function Fb(e,n,i,o,m){Ms(Ja(Xt(),e,n,i,o,m))}function Ub(e,n,i,o,m,x,P){Ms(qa(Xt(),e,n,i,o,m,x,P))}function Bb(e,n,i,o,m,x,P,$,J){Ms(el(Xt(),e,n,i,o,m,x,P,$,J))}function $b(e,n,i,o,m,x,P,$,J,me,Ne){Ms(tl(Xt(),e,n,i,o,m,x,P,$,J,me,Ne))}function Vb(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt){Ms(nl(Xt(),e,n,i,o,m,x,P,$,J,me,Ne,it,Dt))}function jb(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt){Ms(il(Xt(),e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt))}function Hb(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt,sn,mn){Ms(rl(Xt(),e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt,sn,mn))}function zb(e){Ms(Qa(Xt(),e))}function Yf(e,n,i,o,m){return Is(e,Xa(Xt(),n,i,o),m,!1),Yf}function Zf(e,n,i,o,m,x,P){return Is(e,Ja(Xt(),n,i,o,m,x),P,!1),Zf}function Qf(e,n,i,o,m,x,P,$,J){return Is(e,qa(Xt(),n,i,o,m,x,P,$),J,!1),Qf}function Xf(e,n,i,o,m,x,P,$,J,me,Ne){return Is(e,el(Xt(),n,i,o,m,x,P,$,J,me),Ne,!1),Xf}function Jf(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt){return Is(e,tl(Xt(),n,i,o,m,x,P,$,J,me,Ne,it),Dt,!1),Jf}function qf(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt){return Is(e,nl(Xt(),n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt),Wt,!1),qf}function em(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt,sn,mn){return Is(e,il(Xt(),n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt,sn),mn,!1),em}function tm(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt,sn,mn,Mn,nn){return Is(e,rl(Xt(),n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt,sn,mn,Mn),nn,!1),tm}function nm(e,n,i){return Is(e,Qa(Xt(),n),i,!1),nm}function Wb(e,n=""){const i=Xt(),o=Hn(),m=e+Zt,x=o.firstCreatePass?Pa(o,m,1,n,null):o.data[m],P=Gb(o,i,x,n,e);i[m]=P,so()&&Yc(o,i,P,x),wr(x,!1)}let Gb=(e,n,i,o,m)=>(pr(!0),zc(n[Rn],o));function WD(e,n,i,o,m){const x=n[dr],P=!x||qr()||bc(x,m);return pr(P),P?zc(n[Rn],o):ru(x,e,n,i)}function im(e){return Nu("",e,""),im}function Nu(e,n,i){const o=Xt(),m=Xa(o,e,n,i);return m!==ri&&ho(o,zi(),m),Nu}function rm(e,n,i,o,m){const x=Xt(),P=Ja(x,e,n,i,o,m);return P!==ri&&ho(x,zi(),P),rm}function sm(e,n,i,o,m,x,P){const $=Xt(),J=qa($,e,n,i,o,m,x,P);return J!==ri&&ho($,zi(),J),sm}function om(e,n,i,o,m,x,P,$,J){const me=Xt(),Ne=el(me,e,n,i,o,m,x,P,$,J);return Ne!==ri&&ho(me,zi(),Ne),om}function am(e,n,i,o,m,x,P,$,J,me,Ne){const it=Xt(),Dt=tl(it,e,n,i,o,m,x,P,$,J,me,Ne);return Dt!==ri&&ho(it,zi(),Dt),am}function lm(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt){const Rt=Xt(),Wt=nl(Rt,e,n,i,o,m,x,P,$,J,me,Ne,it,Dt);return Wt!==ri&&ho(Rt,zi(),Wt),lm}function cm(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt){const sn=Xt(),mn=il(sn,e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt);return mn!==ri&&ho(sn,zi(),mn),cm}function um(e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt,sn,mn){const Mn=Xt(),nn=rl(Mn,e,n,i,o,m,x,P,$,J,me,Ne,it,Dt,Rt,Wt,sn,mn);return nn!==ri&&ho(Mn,zi(),nn),um}function dm(e){const n=Xt(),i=Qa(n,e);return i!==ri&&ho(n,zi(),i),dm}function hm(e,n,i){pg(n)&&(n=n());const o=Xt();return _r(o,Q(),n)&&ns(Hn(),_i(),o,e,n,o[Rn],i,!1),hm}function Kb(e,n){const i=pg(e);return i&&e.set(n),i}function fm(e,n){const i=Xt(),o=Hn(),m=yi();return Uf(o,i,i[Rn],m,e,n),fm}function mm(e,n,i,o,m){if(e=_n(e),Array.isArray(e))for(let x=0;x>20;if(Ko(e)||!e.multi){const Rt=new Ml(me,m,La),Wt=gm(J,n,m?Ne:Ne+Dt,it);-1===Wt?(kd(Rc($,P),x,J),pm(x,e,n.length),n.push(J),$.directiveStart++,$.directiveEnd++,m&&($.providerIndexes+=1048576),i.push(Rt),P.push(Rt)):(i[Wt]=Rt,P[Wt]=Rt)}else{const Rt=gm(J,n,Ne+Dt,it),Wt=gm(J,n,Ne,Ne+Dt),mn=Wt>=0&&i[Wt];if(m&&!mn||!m&&!(Rt>=0&&i[Rt])){kd(Rc($,P),x,J);const Mn=function QD(e,n,i,o,m){const x=new Ml(e,i,La);return x.multi=[],x.index=n,x.componentProviders=0,Yb(x,m,o&&!i),x}(m?ZD:YD,i.length,m,o,me);!m&&mn&&(i[Wt].providerFactory=Mn),pm(x,e,n.length,0),n.push(J),$.directiveStart++,$.directiveEnd++,m&&($.providerIndexes+=1048576),i.push(Mn),P.push(Mn)}else pm(x,e,Rt>-1?Rt:Wt,Yb(i[m?Wt:Rt],me,!m&&o));!m&&o&&mn&&i[Wt].componentProviders++}}}function pm(e,n,i,o){const m=Ko(n),x=function y1(e){return!!e.useClass}(n);if(m||x){const J=(x?_n(n.useClass):n).prototype.ngOnDestroy;if(J){const me=e.destroyHooks||(e.destroyHooks=[]);if(!m&&n.multi){const Ne=me.indexOf(i);-1===Ne?me.push(i,[o,J]):me[Ne+1].push(o,J)}else me.push(i,J)}}}function Yb(e,n,i){return i&&e.componentProviders++,e.multi.push(n)-1}function gm(e,n,i,o){for(let m=i;m{i.providersResolver=(o,m)=>function KD(e,n,i){const o=Hn();if(o.firstCreatePass){const m=fr(e);mm(i,o.data,o.blueprint,m,!0),mm(n,o.data,o.blueprint,m,!1)}}(o,m?m(e):e,n)}}let XD=(()=>{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=qm(0,i.type),m=o.length>0?T_([o],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,m)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Z({token:e,providedIn:"environment",factory:()=>new e($r(zs))})}return e})();function Qb(e){Oo("NgStandalone"),e.getStandaloneInjector=n=>n.get(XD).getOrCreateStandaloneInjector(e)}function Xb(e,n,i){const o=e.\u0275cmp;o.directiveDefs=Oi(n,!1),o.pipeDefs=Oi(i,!0)}function Jb(e,n){return Ke(()=>{const i=pn(e,!0);i.declarations=Fu(n.declarations||ln),i.imports=Fu(n.imports||ln),i.exports=Fu(n.exports||ln),n.bootstrap&&(i.bootstrap=Fu(n.bootstrap)),$a.registerNgModule(e,n)})}function Fu(e){if("function"==typeof e)return e;const n=ur(e);return n.some(ii)?()=>n.map(_n).map(qb):n.map(qb)}function qb(e){return Rh(e)?e.ngModule:e}function vm(e){const n=Yr(e);if(null===n)return null;if(void 0===n.component){const i=n.lView;if(null===i)return null;n.component=function jw(e,n){const i=n[un].data[e],{directiveStart:o,componentOffset:m}=i;return m>-1?n[o+m]:null}(n.nodeIndex,i)}return n.component}function ry(e){if(e instanceof Text)return[];const n=Yr(e),i=n?n.lView:null;if(null===i)return[];const o=i[un],m=n.nodeIndex;return o?.data[m]?(void 0===n.directives&&(n.directives=a0(m,i)),null===n.directives?[]:[...n.directives]):[]}function bm(e){return Yr(e).native}function tT(e,n){return e.name==n.name?0:e.name=0;i--){const o=n[i];if(e===o.name)return o}}(n,i.pipeRegistry),i.data[m]=o,o.onDestroy&&(i.destroyHooks??=[]).push(m,o.onDestroy)):o=i.data[m];const x=o.factory||(o.factory=Wo(o.type)),$=ts(La);try{const J=Oc(!1),me=x();return Oc(J),Lb(i,Xt(),m,me),me}finally{ts($)}}function Ey(e,n,i){const o=e+Zt,m=Xt(),x=Jr(m,o);return ac(m,o)?_y(m,Zi(),n,x.transform,i,x):x.transform(i)}function xy(e,n,i,o){const m=e+Zt,x=Xt(),P=Jr(x,m);return ac(x,m)?vy(x,Zi(),n,P.transform,i,o,P):P.transform(i,o)}function My(e,n,i,o,m){const x=e+Zt,P=Xt(),$=Jr(P,x);return ac(P,x)?by(P,Zi(),n,$.transform,i,o,m,$):$.transform(i,o,m)}function Iy(e,n,i,o,m,x){const P=e+Zt,$=Xt(),J=Jr($,P);return ac($,P)?yy($,Zi(),n,J.transform,i,o,m,x,J):J.transform(i,o,m,x)}function Dy(e,n,i){const o=e+Zt,m=Xt(),x=Jr(m,o);return ac(m,o)?Cy(m,Zi(),n,x.transform,i,x):x.transform.apply(x,i)}function ac(e,n){return e[un].data[n].pure}function Ty(e,n){return tu(e,n)}function Sy(e,n){return()=>{try{return $a.getComponentDependencies(e,n).dependencies}catch(i){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,i),i}}}function Ay(e,n){const i=Dn(e);null!==i&&(i.debugInfo=n)}const Zr={\u0275\u0275attribute:tf,\u0275\u0275attributeInterpolate1:nf,\u0275\u0275attributeInterpolate2:rf,\u0275\u0275attributeInterpolate3:sf,\u0275\u0275attributeInterpolate4:af,\u0275\u0275attributeInterpolate5:lf,\u0275\u0275attributeInterpolate6:cf,\u0275\u0275attributeInterpolate7:uf,\u0275\u0275attributeInterpolate8:df,\u0275\u0275attributeInterpolateV:hf,\u0275\u0275defineComponent:Gi,\u0275\u0275defineDirective:Wn,\u0275\u0275defineInjectable:Z,\u0275\u0275defineInjector:Ee,\u0275\u0275defineNgModule:ki,\u0275\u0275definePipe:Zn,\u0275\u0275directiveInject:La,\u0275\u0275getInheritedFactory:Ep,\u0275\u0275inject:$r,\u0275\u0275injectAttribute:Rd,\u0275\u0275invalidFactory:L0,\u0275\u0275invalidFactoryDep:ed,\u0275\u0275templateRefExtractor:Ty,\u0275\u0275resetView:Us,\u0275\u0275HostDirectivesFeature:b_,\u0275\u0275NgOnChangesFeature:xd,\u0275\u0275ProvidersFeature:Zb,\u0275\u0275CopyDefinitionFeature:v_,\u0275\u0275InheritDefinitionFeature:Wh,\u0275\u0275InputTransformsFeature:E_,\u0275\u0275StandaloneFeature:Qb,\u0275\u0275nextContext:xb,\u0275\u0275namespaceHTML:ca,\u0275\u0275namespaceMathML:Kr,\u0275\u0275namespaceSVG:ws,\u0275\u0275enableBindings:Ps,\u0275\u0275disableBindings:Ns,\u0275\u0275elementStart:Du,\u0275\u0275elementEnd:Tu,\u0275\u0275element:Mf,\u0275\u0275elementContainerStart:Su,\u0275\u0275elementContainerEnd:Au,\u0275\u0275elementContainer:If,\u0275\u0275pureFunction0:ay,\u0275\u0275pureFunction1:ly,\u0275\u0275pureFunction2:cy,\u0275\u0275pureFunction3:uy,\u0275\u0275pureFunction4:dy,\u0275\u0275pureFunction5:hy,\u0275\u0275pureFunction6:fy,\u0275\u0275pureFunction7:my,\u0275\u0275pureFunction8:py,\u0275\u0275pureFunctionV:gy,\u0275\u0275getCurrentView:Yv,\u0275\u0275restoreView:Lr,\u0275\u0275listener:Nf,\u0275\u0275projection:Ib,\u0275\u0275syntheticHostProperty:Tf,\u0275\u0275syntheticHostListener:Ff,\u0275\u0275pipeBind1:Ey,\u0275\u0275pipeBind2:xy,\u0275\u0275pipeBind3:My,\u0275\u0275pipeBind4:Iy,\u0275\u0275pipeBindV:Dy,\u0275\u0275projectionDef:Mb,\u0275\u0275hostProperty:Df,\u0275\u0275property:gf,\u0275\u0275propertyInterpolate:Bf,\u0275\u0275propertyInterpolate1:Pu,\u0275\u0275propertyInterpolate2:$f,\u0275\u0275propertyInterpolate3:Vf,\u0275\u0275propertyInterpolate4:jf,\u0275\u0275propertyInterpolate5:Hf,\u0275\u0275propertyInterpolate6:zf,\u0275\u0275propertyInterpolate7:Wf,\u0275\u0275propertyInterpolate8:Gf,\u0275\u0275propertyInterpolateV:Kf,\u0275\u0275pipe:wy,\u0275\u0275queryRefresh:Sb,\u0275\u0275queryAdvance:Rb,\u0275\u0275viewQuery:Tb,\u0275\u0275viewQuerySignal:Ob,\u0275\u0275loadQuery:Ab,\u0275\u0275contentQuery:Db,\u0275\u0275contentQuerySignal:kb,\u0275\u0275reference:Pb,\u0275\u0275classMap:Cv,\u0275\u0275classMapInterpolate1:Tv,\u0275\u0275classMapInterpolate2:Sv,\u0275\u0275classMapInterpolate3:Av,\u0275\u0275classMapInterpolate4:kv,\u0275\u0275classMapInterpolate5:Ov,\u0275\u0275classMapInterpolate6:Rv,\u0275\u0275classMapInterpolate7:Lv,\u0275\u0275classMapInterpolate8:Pv,\u0275\u0275classMapInterpolateV:Nv,\u0275\u0275styleMap:Ms,\u0275\u0275styleMapInterpolate1:Nb,\u0275\u0275styleMapInterpolate2:Fb,\u0275\u0275styleMapInterpolate3:Ub,\u0275\u0275styleMapInterpolate4:Bb,\u0275\u0275styleMapInterpolate5:$b,\u0275\u0275styleMapInterpolate6:Vb,\u0275\u0275styleMapInterpolate7:jb,\u0275\u0275styleMapInterpolate8:Hb,\u0275\u0275styleMapInterpolateV:zb,\u0275\u0275styleProp:vf,\u0275\u0275stylePropInterpolate1:Yf,\u0275\u0275stylePropInterpolate2:Zf,\u0275\u0275stylePropInterpolate3:Qf,\u0275\u0275stylePropInterpolate4:Xf,\u0275\u0275stylePropInterpolate5:Jf,\u0275\u0275stylePropInterpolate6:qf,\u0275\u0275stylePropInterpolate7:em,\u0275\u0275stylePropInterpolate8:tm,\u0275\u0275stylePropInterpolateV:nm,\u0275\u0275classProp:bf,\u0275\u0275advance:O0,\u0275\u0275template:Ha,\u0275\u0275conditional:Vv,\u0275\u0275defer:K_,\u0275\u0275deferWhen:Y_,\u0275\u0275deferOnIdle:Q_,\u0275\u0275deferOnImmediate:J_,\u0275\u0275deferOnTimer:ev,\u0275\u0275deferOnHover:nv,\u0275\u0275deferOnInteraction:rv,\u0275\u0275deferOnViewport:ov,\u0275\u0275deferPrefetchWhen:Z_,\u0275\u0275deferPrefetchOnIdle:X_,\u0275\u0275deferPrefetchOnImmediate:q_,\u0275\u0275deferPrefetchOnTimer:tv,\u0275\u0275deferPrefetchOnHover:iv,\u0275\u0275deferPrefetchOnInteraction:sv,\u0275\u0275deferPrefetchOnViewport:av,\u0275\u0275deferEnableTimerScheduling:G_,\u0275\u0275repeater:Wv,\u0275\u0275repeaterCreate:zv,\u0275\u0275repeaterTrackByIndex:jv,\u0275\u0275repeaterTrackByIdentity:Hv,\u0275\u0275componentInstance:Fv,\u0275\u0275text:Wb,\u0275\u0275textInterpolate:im,\u0275\u0275textInterpolate1:Nu,\u0275\u0275textInterpolate2:rm,\u0275\u0275textInterpolate3:sm,\u0275\u0275textInterpolate4:om,\u0275\u0275textInterpolate5:am,\u0275\u0275textInterpolate6:lm,\u0275\u0275textInterpolate7:cm,\u0275\u0275textInterpolate8:um,\u0275\u0275textInterpolateV:dm,\u0275\u0275i18n:vb,\u0275\u0275i18nAttributes:bb,\u0275\u0275i18nExp:Pf,\u0275\u0275i18nStart:Rf,\u0275\u0275i18nEnd:Lf,\u0275\u0275i18nApply:yb,\u0275\u0275i18nPostprocess:Cb,\u0275\u0275resolveWindow:h0,\u0275\u0275resolveDocument:f0,\u0275\u0275resolveBody:Qd,\u0275\u0275setComponentScope:Xb,\u0275\u0275setNgModuleScope:Jb,\u0275\u0275registerNgModuleType:zh,\u0275\u0275getComponentDepsFactory:Sy,\u0275setClassDebugInfo:Ay,\u0275\u0275sanitizeHtml:Gp,\u0275\u0275sanitizeStyle:Kp,\u0275\u0275sanitizeResourceUrl:Hd,\u0275\u0275sanitizeScript:Yp,\u0275\u0275sanitizeUrl:jd,\u0275\u0275sanitizeUrlOrResourceUrl:Xp,\u0275\u0275trustConstantHtml:Zp,\u0275\u0275trustConstantResourceUrl:Qp,\u0275\u0275validateIframeAttribute:g_,forwardRef:Qi,resolveForwardRef:_n,\u0275\u0275twoWayProperty:hm,\u0275\u0275twoWayBindingSet:Kb,\u0275\u0275twoWayListener:fm,\u0275\u0275InputFlags:se};let ll=null;function aT(){ll=null}const lc=[];let ym=!1;function ky(){if(!ym){ym=!0;try{for(let e=lc.length-1;e>=0;e--){const{moduleType:n,ngModule:i}=lc[e];i.declarations&&i.declarations.every(Oy)&&(lc.splice(e,1),dT(n,i))}}finally{ym=!1}}}function Oy(e){return Array.isArray(e)?e.every(Oy):!!_n(e)}function Ry(e,n={}){Ly(e,n),void 0!==n.id&&zh(e,n.id),function lT(e,n){lc.push({moduleType:e,ngModule:n})}(e,n)}function Ly(e,n,i=!1){const o=ur(n.declarations||ln);let m=null;Object.defineProperty(e,Ji,{configurable:!0,get:()=>(null===m&&(m=Er().compileNgModule(Zr,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:ur(n.bootstrap||ln).map(_n),declarations:o.map(_n),imports:ur(n.imports||ln).map(_n).map(Uy),exports:ur(n.exports||ln).map(_n).map(Uy),schemas:n.schemas?ur(n.schemas):null,id:n.id||null}),m.schemas||(m.schemas=[])),m)});let x=null;Object.defineProperty(e,mi,{get:()=>{if(null===x){const $=Er();x=$.compileFactory(Zr,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Nc(e),target:$.FactoryTarget.NgModule,typeArgumentCount:0})}return x},configurable:!1});let P=null;Object.defineProperty(e,Ce,{get:()=>{if(null===P){const $={name:e.name,type:e,providers:n.providers||ln,imports:[(n.imports||ln).map(_n),(n.exports||ln).map(_n)]};P=Er().compileInjector(Zr,`ng:///${e.name}/\u0275inj.js`,$)}return P},configurable:!1})}function Py(e,n){return`Unexpected "${xi(e)}" found in the "declarations" array of the ${n}, "${xi(e)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}let Uu=new WeakMap,wm=new WeakMap;function uT(){Uu=new WeakMap,wm=new WeakMap,lc.length=0,Ki.clear()}function dT(e,n){const i=ur(n.declarations||ln),o=sa(e);i.forEach(m=>{(m=_n(m)).hasOwnProperty(Si)?Em(Dn(m),o):!m.hasOwnProperty(Fi)&&!m.hasOwnProperty(si)&&(m.ngSelectorScope=e)})}function Em(e,n){e.directiveDefs=()=>Array.from(n.compilation.directives).map(i=>i.hasOwnProperty(Si)?Dn(i):Qn(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(n.compilation.pipes).map(i=>ui(i)),e.schemas=n.schemas,e.tView=null}function sa(e){if(Lo(e)){if(uu){const n=$a.getNgModuleScope(e);return{schemas:pn(e,!0).schemas||null,...n}}return function hT(e){const n=pn(e,!0);if(null!==n.transitiveCompileScopes)return n.transitiveCompileScopes;const i={schemas:n.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return ss(n.imports).forEach(o=>{const m=sa(o);m.exported.directives.forEach(x=>i.compilation.directives.add(x)),m.exported.pipes.forEach(x=>i.compilation.pipes.add(x))}),ss(n.declarations).forEach(o=>{ui(o)?i.compilation.pipes.add(o):i.compilation.directives.add(o)}),ss(n.exports).forEach(o=>{const m=o;if(Lo(m)){const x=sa(m);x.exported.directives.forEach(P=>{i.compilation.directives.add(P),i.exported.directives.add(P)}),x.exported.pipes.forEach(P=>{i.compilation.pipes.add(P),i.exported.pipes.add(P)})}else ui(m)?i.exported.pipes.add(m):i.exported.directives.add(m)}),n.transitiveCompileScopes=i,i}(e)}if(cn(e)){if(null!==(Dn(e)||Qn(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==ui(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 Uy(e){return Rh(e)?e.ngModule:e}let xm=0;function By(e,n){let i=null;(function kM(e,n){h_(n)&&(ja.set(e,n),Yl.add(e))})(e,n),Vy(e,n),Object.defineProperty(e,Si,{get:()=>{if(null===i){const o=Er();if(h_(n)){const me=[`Component '${e.name}' is not resolved:`];throw n.templateUrl&&me.push(` - templateUrl: ${n.templateUrl}`),n.styleUrls&&n.styleUrls.length&&me.push(` - styleUrls: ${JSON.stringify(n.styleUrls)}`),n.styleUrl&&me.push(` - styleUrl: ${n.styleUrl}`),me.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(me.join("\n"))}const m=function oT(){return ll}();let x=n.preserveWhitespaces;void 0===x&&(x=null!==m&&void 0!==m.preserveWhitespaces&&m.preserveWhitespaces);let P=n.encapsulation;void 0===P&&(P=null!==m&&void 0!==m.defaultEncapsulation?m.defaultEncapsulation:et.Emulated);const $=n.templateUrl||`ng:///${e.name}/template.html`,J={...jy(e,n),typeSourceSpan:o.createParseSourceSpan("Component",e.name,$),template:n.template||"",preserveWhitespaces:x,styles:"string"==typeof n.styles?[n.styles]:n.styles||ln,animations:n.animations,declarations:[],changeDetection:n.changeDetection,encapsulation:P,interpolation:n.interpolation,viewProviders:n.viewProviders||null};xm++;try{if(J.usesInheritance&&Hy(e),i=o.compileComponent(Zr,$,J),n.standalone){const me=ur(n.imports||ln),{directiveDefs:Ne,pipeDefs:it}=function fT(e,n){let i=null,o=null;return{directiveDefs:()=>{if(uu)return Gl(e)?[...$a.getStandaloneComponentScope(e,n).compilation.directives].map($=>Dn($)||Qn($)).filter($=>null!==$):[];if(null===i){i=[Dn(e)];const P=new Set([e]);for(const $ of n){const J=_n($);if(!P.has(J))if(P.add(J),pn(J)){const me=sa(J);for(const Ne of me.exported.directives){const it=Dn(Ne)||Qn(Ne);it&&!P.has(Ne)&&(P.add(Ne),i.push(it))}}else{const me=Dn(J)||Qn(J);me&&i.push(me)}}}return i},pipeDefs:()=>{if(uu)return Gl(e)?[...$a.getStandaloneComponentScope(e,n).compilation.pipes].map($=>ui($)).filter($=>null!==$):[];if(null===o){o=[];const P=new Set;for(const $ of n){const J=_n($);if(!P.has(J))if(P.add(J),pn(J)){const me=sa(J);for(const Ne of me.exported.pipes){const it=ui(Ne);it&&!P.has(Ne)&&(P.add(Ne),o.push(it))}}else{const me=ui(J);me&&o.push(me)}}}return o}}}(e,me);i.directiveDefs=Ne,i.pipeDefs=it,i.dependencies=()=>me.map(_n)}}finally{xm--}if(0===xm&&ky(),function mT(e){return void 0!==e.ngSelectorScope}(e)){const me=sa(e.ngSelectorScope);Em(i,me)}if(n.schemas){if(!n.standalone)throw new Error(`The 'schemas' was specified for the ${xi(e)} but is only valid on a component that is standalone.`);i.schemas=n.schemas}else n.standalone&&(i.schemas=[])}return i},configurable:!1})}function Mm(e,n){let i=null;Vy(e,n||{}),Object.defineProperty(e,Fi,{get:()=>{if(null===i){const o=$y(e,n||{});i=Er().compileDirective(Zr,o.sourceMapUrl,o.metadata)}return i},configurable:!1})}function $y(e,n){const i=e&&e.name,o=`ng:///${i}/\u0275dir.js`,m=Er(),x=jy(e,n);return x.typeSourceSpan=m.createParseSourceSpan("Directive",i,o),x.usesInheritance&&Hy(e),{metadata:x,sourceMapUrl:o}}function Vy(e,n){let i=null;Object.defineProperty(e,mi,{get:()=>{if(null===i){const o=$y(e,n),m=Er();i=m.compileFactory(Zr,`ng:///${e.name}/\u0275fac.js`,{name:o.metadata.name,type:o.metadata.type,typeArgumentCount:0,deps:Nc(e),target:m.FactoryTarget.Directive})}return i},configurable:!1})}function pT(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function jy(e,n){const i=Ld(),o=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==n.selector?n.selector:null,host:n.host||fn,propMetadata:o,inputs:n.inputs||ln,outputs:n.outputs||ln,queries:zy(e,o,Wy),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!pT(e),exportAs:vT(n.exportAs),providers:n.providers||null,viewQueries:zy(e,o,Gy),isStandalone:!!n.standalone,isSignal:!!n.signals,hostDirectives:n.hostDirectives?.map(m=>"function"==typeof m?{directive:m}:m)||null}}function Hy(e){const n=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==n;)!Qn(i)&&!Dn(i)&&yT(i)&&Mm(i,null),i=Object.getPrototypeOf(i)}function gT(e){return"string"==typeof e?Yy(e):_n(e)}function _T(e,n){return{propertyName:e,predicate:gT(n.selector),descendants:n.descendants,first:n.first,read:n.read?n.read:null,static:!!n.static,emitDistinctChangesOnly:!!n.emitDistinctChangesOnly,isSignal:!!n.isSignal}}function zy(e,n,i){const o=[];for(const m in n)if(n.hasOwnProperty(m)){const x=n[m];x.forEach(P=>{if(i(P)){if(!P.selector)throw new Error(`Can't construct a query for the property "${m}" of "${xi(e)}" since the query selector wasn't defined.`);if(x.some(Ky))throw new Error("Cannot combine @Input decorators with query decorators");o.push(_T(m,P))}})}return o}function vT(e){return void 0===e?null:Yy(e)}function Wy(e){const n=e.ngMetadataName;return"ContentChild"===n||"ContentChildren"===n}function Gy(e){const n=e.ngMetadataName;return"ViewChild"===n||"ViewChildren"===n}function Ky(e){return"Input"===e.ngMetadataName}function Yy(e){return e.split(",").map(n=>n.trim())}const bT=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function yT(e){const n=Ld();if(bT.some(o=>n.hasLifecycleHook(e,o)))return!0;const i=n.propMetadata(e);for(const o in i){const m=i[o];for(let x=0;x{if(null===o){const m=Qy(e,n),x=Er();o=x.compileFactory(Zr,`ng:///${m.name}/\u0275fac.js`,{name:m.name,type:m.type,typeArgumentCount:0,deps:Nc(e),target:x.FactoryTarget.Pipe})}return o},configurable:!1}),Object.defineProperty(e,si,{get:()=>{if(null===i){const m=Qy(e,n);i=Er().compilePipe(Zr,`ng:///${m.name}/\u0275pipe.js`,m)}return i},configurable:!1})}function Qy(e,n){return{type:e,name:e.name,pipeName:n.name,pure:void 0===n.pure||n.pure,isStandalone:!!n.standalone}}const Xy=El("Directive",(e={})=>e,void 0,void 0,(e,n)=>Mm(e,n)),CT=El("Component",(e={})=>({changeDetection:Fe.Default,...e}),Xy,void 0,(e,n)=>By(e,n)),wT=El("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,n)=>Zy(e,n)),ET=So("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),xT=So("Output",e=>({alias:e})),MT=So("HostBinding",e=>({hostPropertyName:e})),IT=So("HostListener",(e,n)=>({eventName:e,args:n})),DT=El("NgModule",e=>e,void 0,void 0,(e,n)=>Ry(e,n));class Jy{constructor(n){this.full=n;const i=n.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}}const TT=new Jy("17.2.1");let qy=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const rC=new ht(""),sC=new ht("");let Dm,eS=(()=>{class e{constructor(i,o,m){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Dm||(aC(m),m.addToWindow(o)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{gr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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()}});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,m){let x=-1;o&&o>0&&(x=setTimeout(()=>{this._callbacks=this._callbacks.filter(P=>P.timeoutId!==x),i()},o)),this._callbacks.push({doneCb:i,timeoutId:x,updateCb:m})}whenStable(i,o,m){if(m&&!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,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,m){return[]}static#e=this.\u0275fac=function(o){return new(o||e)($r(gr),$r(oC),$r(sC))};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac})}return e})(),oC=(()=>{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 Dm?.findTestabilityInTree(this,i,o)??null}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function aC(e){Dm=e}function Tm(e){return!!e&&"function"==typeof e.then}function lC(e){return!!e&&"function"==typeof e.subscribe}const cC=new ht("");let $u=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),this.appInits=Ti(cC,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const m of this.appInits){const x=m();if(Tm(x))i.push(x);else if(lC(x)){const P=new Promise(($,J)=>{x.subscribe({complete:$,error:J})});i.push(P)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{o()}).catch(m=>{this.reject(m)}),0===i.length&&o(),this.initialized=!0}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Sm=new ht("");function uC(){!function H(e){ne=e}(()=>{throw new ye(600,!1)})}function dC(e){return e.isBoundToModule}class tS{constructor(n,i){this.name=n,this.token=i}}function hC(e,n,i){try{const o=i();return Tm(o)?o.catch(m=>{throw n.runOutsideAngular(()=>e.handleError(m)),m}):o}catch(o){throw n.runOutsideAngular(()=>e.handleError(o)),o}}function fC(e,n){return Array.isArray(n)?n.reduce(fC,e):{...e,...n}}let ju,oa=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ti(Op),this.afterRenderEffectManager=Ti(Ba),this.componentTypes=[],this.components=[],this.isStable=Ti(Zl).hasPendingTasks.pipe((0,Be.k)(i=>!i)),this._injector=Ti(zs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,o){const m=i instanceof ou;if(!this._injector.get($u).done)throw!m&&cn(i),new ye(405,!1);let P;P=m?i:this._injector.get(zl).resolveComponentFactory(i),this.componentTypes.push(P.componentType);const $=dC(P)?void 0:this._injector.get(qo),me=P.create(ms.NULL,[],o||P.selector,$),Ne=me.location.nativeElement,it=me.injector.get(rC,null);return it?.registerApplication(Ne),me.onDestroy(()=>{this.detachView(me.hostView),Vu(this.components,me),it?.unregisterApplication(Ne)}),this._loadComponent(me),me}tick(){if(this._runningTick)throw new ye(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let i=0;do{if(100===i)throw new ye(103,!1);const o=0===i;for(let{_lView:m,notifyErrorHandler:x}of this._views)!o&&!pC(m)||this.detectChangesInView(m,x,o);this.afterRenderEffectManager.execute(),i++}while(this._views.some(({_lView:o})=>pC(o)))}detectChangesInView(i,o,m){let x;m?(x=0,i[En]|=1024):x=64&i[En]?0:1,eu(i,o,x)}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;Vu(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(Sm,[]);[...this._bootstrapListeners,...o].forEach(m=>m(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),()=>Vu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new ye(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vu(e,n){const i=e.indexOf(n);i>-1&&e.splice(i,1)}function mC(e){ju??=new WeakMap;const n=ju.get(e);if(n)return n;const i=e.isStable.pipe((0,Ie.K)(o=>o)).toPromise().then(()=>{});return ju.set(e,i),e.onDestroy(()=>ju?.delete(e)),i}function pC(e){return ys(e)}class gC{constructor(n,i){this.ngModuleFactory=n,this.componentFactories=i}}let nS=(()=>{class e{compileModuleSync(i){return new _u(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),x=ss(pn(i).declarations).reduce((P,$)=>{const J=Dn($);return J&&P.push(new Va(J)),P},[]);return new gC(o,x)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _C=new ht("");class iS{}function vC(e,n,i){const o=new _u(i);return Promise.resolve(o)}let rS=(()=>{class e{constructor(){this.zone=Ti(gr),this.applicationRef=Ti(oa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function yC(e){return[{provide:gr,useFactory:e},{provide:Go,multi:!0,useFactory:()=>{const n=Ti(rS,{optional:!0});return()=>n.initialize()}},{provide:Go,multi:!0,useFactory:()=>{const n=Ti(oS);return()=>{n.initialize()}}},{provide:Op,useFactory:sS}]}function sS(){const e=Ti(gr),n=Ti(Ao);return i=>e.runOutsideAngular(()=>n.handleError(i))}function CC(e){return Ec([[],yC(()=>new gr(wC(e)))])}function wC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let oS=(()=>{class e{constructor(){this.subscription=new pe.wH,this.initialized=!1,this.zone=Ti(gr),this.pendingTasks=Ti(Zl)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{gr.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{gr.assertInAngularZone(),i??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Hu=new ht("",{providedIn:"root",factory:()=>Ti(Hu,Jt.Optional|Jt.SkipSelf)||function aS(){return typeof $localize<"u"&&$localize.locale||ra}()}),lS=new ht("",{providedIn:"root",factory:()=>"USD"}),cS=new ht(""),uS=new ht("");var EC=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(EC||{});const Am=new ht("");let km=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,o){const m=function Zx(e="zone.js",n){return"noop"===e?new kh:"zone.js"===e?new gr(n):e}(o?.ngZone,wC({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return m.run(()=>{const x=function QM(e,n,i){return new gu(e,n,i)}(i.moduleType,this.injector,yC(()=>m)),P=x.injector.get(Ao,null);return m.runOutsideAngular(()=>{const $=m.onError.subscribe({next:J=>{P.handleError(J)}});x.onDestroy(()=>{Vu(this._modules,x),$.unsubscribe()})}),hC(P,m,()=>{const $=x.injector.get($u);return $.runInitializers(),$.donePromise.then(()=>(Af(x.injector.get(Hu,ra)||ra),this._moduleDoBootstrap(x),x))})})}bootstrapModule(i,o=[]){const m=fC({},o);return vC(0,0,i).then(x=>this.bootstrapModuleFactory(x,m))}_moduleDoBootstrap(i){const o=i.injector.get(oa);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(m=>o.bootstrap(m));else{if(!i.instance.ngDoBootstrap)throw new ye(-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 ye(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const i=this._injector.get(Am,null);i&&(i.forEach(o=>o()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(o){return new(o||e)($r(ms))};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Fo=null;const Om=new ht("");function xC(e){if(Fo&&!Fo.get(Om,!1))throw new ye(400,!1);uC(),Fo=e;const n=e.get(km);return TC(e),n}function MC(e,n,i=[]){const o=`Platform: ${n}`,m=new ht(o);return(x=[])=>{let P=zu();if(!P||P.injector.get(Om,!1)){const $=[...i,...x,{provide:m,useValue:!0}];e?e($):xC(IC($,o))}return DC()}}function IC(e=[],n){return ms.create({name:n,providers:[{provide:bd,useValue:"platform"},{provide:Am,useValue:new Set([()=>Fo=null])},...e]})}function DC(e){const n=zu();if(!n)throw new ye(401,!1);return n}function zu(){return Fo?.get(km)??null}function dS(){zu()?.destroy()}function TC(e){e.get(Nt,null)?.forEach(i=>i())}function fS(){return!1}function mS(){}function pS(e){const n=p_(e);if(!n)throw SC(e);return new _u(n)}function gS(e){const n=p_(e);if(!n)throw SC(e);return n}function SC(e){return new Error(`No module with ID ${e} loaded`)}class AC extends Th{}class _S extends AC{}class vS{constructor(n,i){this.name=n,this.callback=i}}function bS(e){return e.map(n=>n.nativeElement)}class Rm{constructor(n){this.nativeNode=n}get parent(){const n=this.nativeNode.parentNode;return n?new uc(n):null}get injector(){return function iy(e){const n=Yr(e),i=n?n.lView:null;return null===i?ms.NULL:new xr(i[un].data[n.nodeIndex],i)}(this.nativeNode)}get componentInstance(){const n=this.nativeNode;return n&&(vm(n)||function ty(e){const n=Yr(e);let o,i=n?n.lView:null;if(null===i)return null;for(;2===i[un].type&&(o=Hr(i));)i=o;return 512&i[En]?null:i[di]}(n))}get context(){return vm(this.nativeNode)||function ey(e){!function iT(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const n=Yr(e),i=n?n.lView:null;return null===i?null:i[di]}(this.nativeNode)}get listeners(){return function sy(e){const n=Yr(e),i=null===n?null:n.lView;if(null===i)return[];const m=i[hr],x=i[un].cleanup,P=[];if(x&&m)for(let $=0;$=0?"dom":"output"})}}return P.sort(tT),P}(this.nativeNode).filter(n=>"dom"===n.type)}get references(){return function eT(e){const n=Yr(e);if(null===n)return{};if(void 0===n.localRefs){const i=n.lView;if(null===i)return{};n.localRefs=function Hw(e,n){const i=e[un].data[n];if(i&&i.localNames){const o={};let m=i.index+1;for(let x=0;x1){let Ne=J[1];for(let it=1;itn[x]=!0),n}get childNodes(){const n=this.nativeNode.childNodes,i=[];for(let o=0;o{if(x.name===n){const P=x.callback;P.call(o,i),m.push(P)}}),"function"==typeof o.eventListeners&&o.eventListeners(n).forEach(x=>{if(-1!==x.toString().indexOf("__ngUnwrap__")){const P=x("__ngUnwrap__");return-1===m.indexOf(P)&&P.call(o,i)}})}}function CS(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function kC(e,n,i,o){const m=Yr(e.nativeNode),x=m?m.lView:null;null!==x?aa(x[un].data[m.nodeIndex],x,n,i,o,e.nativeNode):Pm(e.nativeNode,n,i,o)}function aa(e,n,i,o,m,x){const P=function Js(e,n){const i=null===e?-1:e.index;return-1!==i?Bi(n[i]):null}(e,n);if(11&e.type){if(Lm(P,i,o,m,x),$i(e)){const J=cr(e.index,n);J&&J[un].firstChild&&aa(J[un].firstChild,J,i,o,m,x)}else e.child&&aa(e.child,n,i,o,m,x),P&&Pm(P,i,o,m);const $=n[e.index];Ln($)&&OC($,i,o,m,x)}else if(4&e.type){const $=n[e.index];Lm($[On],i,o,m,x),OC($,i,o,m,x)}else if(16&e.type){const $=n[hi],me=$[Ui].projection[e.projection];if(Array.isArray(me))for(let Ne of me)Lm(Ne,i,o,m,x);else if(me){const Ne=$[ci];aa(Ne[un].data[me.index],Ne,i,o,m,x)}}else e.child&&aa(e.child,n,i,o,m,x);if(x!==P){const $=2&e.flags?e.projectionNext:e.next;$&&aa($,n,i,o,m,x)}}function OC(e,n,i,o,m){for(let x=Gn;x{class e{constructor(i){}static#e=this.\u0275fac=function(o){return new(o||e)($r(oa))};static#t=this.\u0275mod=ki({type:e});static#n=this.\u0275inj=Ee({})}return e})();function NS(e){}function $S(e){try{const{rootComponent:n,appProviders:i,platformProviders:o}=e,m=function hS(e=[]){if(Fo)return Fo;const n=IC(e);return Fo=n,uC(),TC(n),n}(o),x=[CC(),...i||[]],$=new D_({providers:x,parent:m,debugName:"",runEnvironmentInitializers:!1}).injector,J=$.get(gr);return J.run(()=>{$.resolveInjectorInitializers();const me=$.get(Ao,null);let Ne;J.runOutsideAngular(()=>{Ne=J.onError.subscribe({next:Rt=>{me.handleError(Rt)}})});const it=()=>$.destroy(),Dt=m.get(Am);return Dt.add(it),$.onDestroy(()=>{Ne.unsubscribe(),Dt.delete(it)}),hC(me,J,()=>{const Rt=$.get($u);return Rt.runInitializers(),Rt.donePromise.then(()=>{Af($.get(Hu,ra)||ra);const sn=$.get(oa);return void 0!==n&&sn.bootstrap(n),sn})})})}catch(n){return Promise.reject(n)}}let VS=(()=>{class e{constructor(){this.appRef=Ti(oa),this.taskService=Ti(Zl),this.pendingRenderTaskId=null}notify(){null===this.pendingRenderTaskId&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){var i=this;return(0,t.c)(function*(){const o=new Promise(x=>setTimeout(x)),m="function"==typeof ft.requestAnimationFrame?new Promise(x=>requestAnimationFrame(()=>x())):null;yield Promise.race([o,m]),i.tick()})()}tick(){try{this.appRef.destroyed||this.appRef.tick()}finally{const i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jS(){return Ec([{provide:Eh,useExisting:VS},{provide:gr,useClass:kh}])}function $m(e,n){const i=e[un];for(let o=Zt;o0&&me===o){const Ne=i[i.length-1];Ne[gc]??=1,Ne[gc]++}else o=me,i.push(J)}return i}function Yu(e,n,i){const o=n.index-Zt;e[ad]??={},e[ad][o]=mx(n,i)}function ZC(e,n){const i=n.index-Zt;e[_c]??=[],e[_c].includes(i)||e[_c].push(i)}function QC(e,n){const i={},o=e[un];for(let m=Zt;m{let e=!0;return ko()&&(e=!!Ti(bl,{optional:!0})?.get(ld,null)),e&&Oo("NgHydration"),e}},{provide:Go,useValue:()=>{ko()&&Ti(Tl)&&(function tA(){const e=ie();let n;for(const i of e.body.childNodes)if(i.nodeType===Node.COMMENT_NODE&&i.textContent?.trim()===zm){n=i;break}if(!n)throw new ye(-507,!1)}(),function JS(){XC||(XC=!0,function m1(){Wm=f1}(),function zI(){Gv=HI}(),function GD(){Gb=WD}(),function KI(){Kv=GI}(),function qM(){S_=JM}(),function dM(){Wg=uM,Ph=cM}(),function _x(){cg=gx}(),function pE(){U0=mE}())}())},multi:!0},{provide:Lp,useFactory:()=>ko()&&Ti(Tl)},{provide:Sm,useFactory:()=>{if(ko()&&Ti(Tl)){const e=Ti(oa);return Ti(ms),()=>{(function qS(e,n){return mC(e)})(e).then(()=>{gr.assertInAngularZone(),function ox(e){const n=e._views;for(const i of n){const o=Gm(i);null!==o&&null!==o[ni]&&(kn(o)?iu(o):(iu(o[ni]),ag(o)))}}(e)})}}return()=>{}},multi:!0}])}function nA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function iA(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}function rA(e){return Er().compileDirectiveDeclaration(Zr,`ng:///${e.type.name}/\u0275fac.js`,e)}function sA(e){x_(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function oA(e){return Er().compileComponentDeclaration(Zr,`ng:///${e.type.name}/\u0275cmp.js`,e)}function aA(e){return Er(function lA(e){switch(e){case Yo.Directive:return"directive";case Yo.Component:return"component";case Yo.Injectable:return"injectable";case Yo.Pipe:return"pipe";case Yo.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Zr,`ng:///${e.type.name}/\u0275fac.js`,e)}function cA(e){return Er().compileInjectableDeclaration(Zr,`ng:///${e.type.name}/\u0275prov.js`,e)}function uA(e){return Er().compileInjectorDeclaration(Zr,`ng:///${e.type.name}/\u0275inj.js`,e)}function dA(e){return Er().compileNgModuleDeclaration(Zr,`ng:///${e.type.name}/\u0275mod.js`,e)}function hA(e){return Er().compilePipeDeclaration(Zr,`ng:///${e.type.name}/\u0275pipe.js`,e)}function fA(e,n){const i=Dn(e),o=n.elementInjector||Ic();return new Va(i).create(o,n.projectableNodes,n.hostElement,n.environmentInjector)}function mA(e){const n=Dn(e);if(!n)return null;const i=new Va(n);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 n.standalone},get isSignal(){return n.signals}}}function pA(...e){return e.reduce((n,i)=>Object.assign(n,i,{providers:[...n.providers,...i.providers]}),{providers:[]})}},6504:(De,te,g)=>{"use strict";g.r(te),g.d(te,{AbstractControl:()=>Pe,AbstractControlDirective:()=>Re,AbstractFormGroupDirective:()=>Tn,COMPOSITION_BUFFER_MODE:()=>u,CheckboxControlValueAccessor:()=>l,CheckboxRequiredValidator:()=>On,ControlContainer:()=>ke,DefaultValueAccessor:()=>h,EmailValidator:()=>jn,FormArray:()=>Cr,FormArrayName:()=>En,FormBuilder:()=>Rr,FormControl:()=>Yt,FormControlDirective:()=>Fn,FormControlName:()=>Ui,FormGroup:()=>bt,FormGroupDirective:()=>Ki,FormGroupName:()=>ni,FormRecord:()=>kt,FormsModule:()=>po,MaxLengthValidator:()=>Ln,MaxValidator:()=>Ft,MinLengthValidator:()=>Bn,MinValidator:()=>en,NG_ASYNC_VALIDATORS:()=>M,NG_VALIDATORS:()=>y,NG_VALUE_ACCESSOR:()=>f,NgControl:()=>pe,NgControlStatus:()=>je,NgControlStatusGroup:()=>q,NgForm:()=>de,NgModel:()=>or,NgModelGroup:()=>Wi,NgSelectOption:()=>qi,NonNullableFormBuilder:()=>os,NumberValueAccessor:()=>Yn,PatternValidator:()=>$i,RadioControlValueAccessor:()=>Qn,RangeValueAccessor:()=>cn,ReactiveFormsModule:()=>go,RequiredValidator:()=>Sn,SelectControlValueAccessor:()=>Hi,SelectMultipleControlValueAccessor:()=>hi,UntypedFormArray:()=>_s,UntypedFormBuilder:()=>As,UntypedFormControl:()=>Kn,UntypedFormGroup:()=>$e,VERSION:()=>mo,Validators:()=>k,isFormArray:()=>Ss,isFormControl:()=>Pn,isFormGroup:()=>Ge,isFormRecord:()=>dt,\u0275InternalFormsSharedModule:()=>Br,\u0275NgNoValidate:()=>Vn,\u0275NgSelectMultipleOption:()=>kr});var t=g(4496),v=g(1368),C=g(9900),E=g(9336),c=g(4704);let b=(()=>{class we{constructor(ce,Ye){this._renderer=ce,this._elementRef=Ye,this.onChange=Tt=>{},this.onTouched=()=>{}}setProperty(ce,Ye){this._renderer.setProperty(this._elementRef.nativeElement,ce,Ye)}registerOnTouched(ce){this.onTouched=ce}registerOnChange(ce){this.onChange=ce}setDisabledState(ce){this.setProperty("disabled",ce)}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we})}return we})(),s=(()=>{class we extends b{static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,features:[t.\u0275\u0275InheritDefinitionFeature]})}return we})();const f=new t.InjectionToken(""),d={provide:f,useExisting:(0,t.forwardRef)(()=>l),multi:!0};let l=(()=>{class we extends s{writeValue(ce){this.setProperty("checked",ce)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Ye,Tt){1&Ye&&t.\u0275\u0275listener("change",function(ei){return Tt.onChange(ei.target.checked)})("blur",function(){return Tt.onTouched()})},features:[t.\u0275\u0275ProvidersFeature([d]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const a={provide:f,useExisting:(0,t.forwardRef)(()=>h),multi:!0},u=new t.InjectionToken("");let h=(()=>{class we extends b{constructor(ce,Ye,Tt){super(ce,Ye),this._compositionMode=Tt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function r(){const we=(0,v.\u0275getDOM)()?(0,v.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(we.toLowerCase())}())}writeValue(ce){this.setProperty("value",ce??"")}_handleInput(ce){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ce)}_compositionStart(){this._composing=!0}_compositionEnd(ce){this._composing=!1,this._compositionMode&&this.onChange(ce)}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(u,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,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(Ye,Tt){1&Ye&&t.\u0275\u0275listener("input",function(ei){return Tt._handleInput(ei.target.value)})("blur",function(){return Tt.onTouched()})("compositionstart",function(){return Tt._compositionStart()})("compositionend",function(ei){return Tt._compositionEnd(ei.target.value)})},features:[t.\u0275\u0275ProvidersFeature([a]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();function p(we){return null==we||("string"==typeof we||Array.isArray(we))&&0===we.length}function _(we){return null!=we&&"number"==typeof we.length}const y=new t.InjectionToken(""),M=new t.InjectionToken(""),w=/^(?=.{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 k{static min(Se){return D(Se)}static max(Se){return I(Se)}static required(Se){return O(Se)}static requiredTrue(Se){return T(Se)}static email(Se){return N(Se)}static minLength(Se){return S(Se)}static maxLength(Se){return F(Se)}static pattern(Se){return L(Se)}static nullValidator(Se){return null}static compose(Se){return z(Se)}static composeAsync(Se){return G(Se)}}function D(we){return Se=>{if(p(Se.value)||p(we))return null;const ce=parseFloat(Se.value);return!isNaN(ce)&&ce{if(p(Se.value)||p(we))return null;const ce=parseFloat(Se.value);return!isNaN(ce)&&ce>we?{max:{max:we,actual:Se.value}}:null}}function O(we){return p(we.value)?{required:!0}:null}function T(we){return!0===we.value?null:{required:!0}}function N(we){return p(we.value)||w.test(we.value)?null:{email:!0}}function S(we){return Se=>p(Se.value)||!_(Se.value)?null:Se.value.length_(Se.value)&&Se.value.length>we?{maxlength:{requiredLength:we,actualLength:Se.value.length}}:null}function L(we){if(!we)return A;let Se,ce;return"string"==typeof we?(ce="","^"!==we.charAt(0)&&(ce+="^"),ce+=we,"$"!==we.charAt(we.length-1)&&(ce+="$"),Se=new RegExp(ce)):(ce=we.toString(),Se=we),Ye=>{if(p(Ye.value))return null;const Tt=Ye.value;return Se.test(Tt)?null:{pattern:{requiredPattern:ce,actualValue:Tt}}}}function A(we){return null}function U(we){return null!=we}function K(we){return(0,t.\u0275isPromise)(we)?(0,C.Q)(we):we}function ee(we){let Se={};return we.forEach(ce=>{Se=null!=ce?{...Se,...ce}:Se}),0===Object.keys(Se).length?null:Se}function ne(we,Se){return Se.map(ce=>ce(we))}function H(we){return we.map(Se=>function B(we){return!we.validate}(Se)?Se:ce=>Se.validate(ce))}function z(we){if(!we)return null;const Se=we.filter(U);return 0==Se.length?null:function(ce){return ee(ne(ce,Se))}}function X(we){return null!=we?z(H(we)):null}function G(we){if(!we)return null;const Se=we.filter(U);return 0==Se.length?null:function(ce){const Ye=ne(ce,Se).map(K);return(0,E.y)(Ye).pipe((0,c.k)(ee))}}function j(we){return null!=we?G(H(we)):null}function le(we,Se){return null===we?[Se]:Array.isArray(we)?[...we,Se]:[we,Se]}function ue(we){return we._rawValidators}function ve(we){return we._rawAsyncValidators}function Je(we){return we?Array.isArray(we)?we:[we]:[]}function _t(we,Se){return Array.isArray(we)?we.includes(Se):we===Se}function ct(we,Se){const ce=Je(Se);return Je(we).forEach(Tt=>{_t(ce,Tt)||ce.push(Tt)}),ce}function Ct(we,Se){return Je(Se).filter(ce=>!_t(we,ce))}class Re{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(Se){this._rawValidators=Se||[],this._composedValidatorFn=X(this._rawValidators)}_setAsyncValidators(Se){this._rawAsyncValidators=Se||[],this._composedAsyncValidatorFn=j(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Se){this._onDestroyCallbacks.push(Se)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Se=>Se()),this._onDestroyCallbacks=[]}reset(Se=void 0){this.control&&this.control.reset(Se)}hasError(Se,ce){return!!this.control&&this.control.hasError(Se,ce)}getError(Se,ce){return this.control?this.control.getError(Se,ce):null}}class ke extends Re{get formDirective(){return null}get path(){return null}}class pe extends Re{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Qe{constructor(Se){this._cd=Se}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 je=(()=>{class we extends Qe{constructor(ce){super(ce)}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(pe,2))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ye,Tt){2&Ye&&t.\u0275\u0275classProp("ng-untouched",Tt.isUntouched)("ng-touched",Tt.isTouched)("ng-pristine",Tt.isPristine)("ng-dirty",Tt.isDirty)("ng-valid",Tt.isValid)("ng-invalid",Tt.isInvalid)("ng-pending",Tt.isPending)},features:[t.\u0275\u0275InheritDefinitionFeature]})}return we})(),q=(()=>{class we extends Qe{constructor(ce){super(ce)}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(ke,10))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ye,Tt){2&Ye&&t.\u0275\u0275classProp("ng-untouched",Tt.isUntouched)("ng-touched",Tt.isTouched)("ng-pristine",Tt.isPristine)("ng-dirty",Tt.isDirty)("ng-valid",Tt.isValid)("ng-invalid",Tt.isInvalid)("ng-pending",Tt.isPending)("ng-submitted",Tt.isSubmitted)},features:[t.\u0275\u0275InheritDefinitionFeature]})}return we})();const Ut="VALID",xe="INVALID",rt="PENDING",lt="DISABLED";function At(we){return(He(we)?we.validators:we)||null}function vt(we,Se){return(He(Se)?Se.asyncValidators:we)||null}function He(we){return null!=we&&!Array.isArray(we)&&"object"==typeof we}function st(we,Se,ce){const Ye=we.controls;if(!(Se?Object.keys(Ye):Ye).length)throw new t.\u0275RuntimeError(1e3,"");if(!Ye[ce])throw new t.\u0275RuntimeError(1001,"")}function Te(we,Se,ce){we._forEachChild((Ye,Tt)=>{if(void 0===ce[Tt])throw new t.\u0275RuntimeError(1002,"")})}class Pe{constructor(Se,ce){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Se),this._assignAsyncValidators(ce)}get validator(){return this._composedValidatorFn}set validator(Se){this._rawValidators=this._composedValidatorFn=Se}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Se){this._rawAsyncValidators=this._composedAsyncValidatorFn=Se}get parent(){return this._parent}get valid(){return this.status===Ut}get invalid(){return this.status===xe}get pending(){return this.status==rt}get disabled(){return this.status===lt}get enabled(){return this.status!==lt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Se){this._assignValidators(Se)}setAsyncValidators(Se){this._assignAsyncValidators(Se)}addValidators(Se){this.setValidators(ct(Se,this._rawValidators))}addAsyncValidators(Se){this.setAsyncValidators(ct(Se,this._rawAsyncValidators))}removeValidators(Se){this.setValidators(Ct(Se,this._rawValidators))}removeAsyncValidators(Se){this.setAsyncValidators(Ct(Se,this._rawAsyncValidators))}hasValidator(Se){return _t(this._rawValidators,Se)}hasAsyncValidator(Se){return _t(this._rawAsyncValidators,Se)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Se={}){this.touched=!0,this._parent&&!Se.onlySelf&&this._parent.markAsTouched(Se)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Se=>Se.markAllAsTouched())}markAsUntouched(Se={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ce=>{ce.markAsUntouched({onlySelf:!0})}),this._parent&&!Se.onlySelf&&this._parent._updateTouched(Se)}markAsDirty(Se={}){this.pristine=!1,this._parent&&!Se.onlySelf&&this._parent.markAsDirty(Se)}markAsPristine(Se={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ce=>{ce.markAsPristine({onlySelf:!0})}),this._parent&&!Se.onlySelf&&this._parent._updatePristine(Se)}markAsPending(Se={}){this.status=rt,!1!==Se.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Se.onlySelf&&this._parent.markAsPending(Se)}disable(Se={}){const ce=this._parentMarkedDirty(Se.onlySelf);this.status=lt,this.errors=null,this._forEachChild(Ye=>{Ye.disable({...Se,onlySelf:!0})}),this._updateValue(),!1!==Se.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Se,skipPristineCheck:ce}),this._onDisabledChange.forEach(Ye=>Ye(!0))}enable(Se={}){const ce=this._parentMarkedDirty(Se.onlySelf);this.status=Ut,this._forEachChild(Ye=>{Ye.enable({...Se,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Se.emitEvent}),this._updateAncestors({...Se,skipPristineCheck:ce}),this._onDisabledChange.forEach(Ye=>Ye(!1))}_updateAncestors(Se){this._parent&&!Se.onlySelf&&(this._parent.updateValueAndValidity(Se),Se.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Se){this._parent=Se}getRawValue(){return this.value}updateValueAndValidity(Se={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ut||this.status===rt)&&this._runAsyncValidator(Se.emitEvent)),!1!==Se.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Se.onlySelf&&this._parent.updateValueAndValidity(Se)}_updateTreeValidity(Se={emitEvent:!0}){this._forEachChild(ce=>ce._updateTreeValidity(Se)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Se.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?lt:Ut}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Se){if(this.asyncValidator){this.status=rt,this._hasOwnPendingAsyncValidator=!0;const ce=K(this.asyncValidator(this));this._asyncValidationSubscription=ce.subscribe(Ye=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ye,{emitEvent:Se})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Se,ce={}){this.errors=Se,this._updateControlsErrors(!1!==ce.emitEvent)}get(Se){let ce=Se;return null==ce||(Array.isArray(ce)||(ce=ce.split(".")),0===ce.length)?null:ce.reduce((Ye,Tt)=>Ye&&Ye._find(Tt),this)}getError(Se,ce){const Ye=ce?this.get(ce):this;return Ye&&Ye.errors?Ye.errors[Se]:null}hasError(Se,ce){return!!this.getError(Se,ce)}get root(){let Se=this;for(;Se._parent;)Se=Se._parent;return Se}_updateControlsErrors(Se){this.status=this._calculateStatus(),Se&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Se)}_initObservables(){this.valueChanges=new t.EventEmitter,this.statusChanges=new t.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?lt:this.errors?xe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(rt)?rt:this._anyControlsHaveStatus(xe)?xe:Ut}_anyControlsHaveStatus(Se){return this._anyControls(ce=>ce.status===Se)}_anyControlsDirty(){return this._anyControls(Se=>Se.dirty)}_anyControlsTouched(){return this._anyControls(Se=>Se.touched)}_updatePristine(Se={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Se.onlySelf&&this._parent._updatePristine(Se)}_updateTouched(Se={}){this.touched=this._anyControlsTouched(),this._parent&&!Se.onlySelf&&this._parent._updateTouched(Se)}_registerOnCollectionChange(Se){this._onCollectionChange=Se}_setUpdateStrategy(Se){He(Se)&&null!=Se.updateOn&&(this._updateOn=Se.updateOn)}_parentMarkedDirty(Se){return!Se&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Se){return null}_assignValidators(Se){this._rawValidators=Array.isArray(Se)?Se.slice():Se,this._composedValidatorFn=function nt(we){return Array.isArray(we)?X(we):we||null}(this._rawValidators)}_assignAsyncValidators(Se){this._rawAsyncValidators=Array.isArray(Se)?Se.slice():Se,this._composedAsyncValidatorFn=function Le(we){return Array.isArray(we)?j(we):we||null}(this._rawAsyncValidators)}}class bt extends Pe{constructor(Se,ce,Ye){super(At(ce),vt(Ye,ce)),this.controls=Se,this._initObservables(),this._setUpdateStrategy(ce),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Se,ce){return this.controls[Se]?this.controls[Se]:(this.controls[Se]=ce,ce.setParent(this),ce._registerOnCollectionChange(this._onCollectionChange),ce)}addControl(Se,ce,Ye={}){this.registerControl(Se,ce),this.updateValueAndValidity({emitEvent:Ye.emitEvent}),this._onCollectionChange()}removeControl(Se,ce={}){this.controls[Se]&&this.controls[Se]._registerOnCollectionChange(()=>{}),delete this.controls[Se],this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}setControl(Se,ce,Ye={}){this.controls[Se]&&this.controls[Se]._registerOnCollectionChange(()=>{}),delete this.controls[Se],ce&&this.registerControl(Se,ce),this.updateValueAndValidity({emitEvent:Ye.emitEvent}),this._onCollectionChange()}contains(Se){return this.controls.hasOwnProperty(Se)&&this.controls[Se].enabled}setValue(Se,ce={}){Te(this,0,Se),Object.keys(Se).forEach(Ye=>{st(this,!0,Ye),this.controls[Ye].setValue(Se[Ye],{onlySelf:!0,emitEvent:ce.emitEvent})}),this.updateValueAndValidity(ce)}patchValue(Se,ce={}){null!=Se&&(Object.keys(Se).forEach(Ye=>{const Tt=this.controls[Ye];Tt&&Tt.patchValue(Se[Ye],{onlySelf:!0,emitEvent:ce.emitEvent})}),this.updateValueAndValidity(ce))}reset(Se={},ce={}){this._forEachChild((Ye,Tt)=>{Ye.reset(Se?Se[Tt]:null,{onlySelf:!0,emitEvent:ce.emitEvent})}),this._updatePristine(ce),this._updateTouched(ce),this.updateValueAndValidity(ce)}getRawValue(){return this._reduceChildren({},(Se,ce,Ye)=>(Se[Ye]=ce.getRawValue(),Se))}_syncPendingControls(){let Se=this._reduceChildren(!1,(ce,Ye)=>!!Ye._syncPendingControls()||ce);return Se&&this.updateValueAndValidity({onlySelf:!0}),Se}_forEachChild(Se){Object.keys(this.controls).forEach(ce=>{const Ye=this.controls[ce];Ye&&Se(Ye,ce)})}_setUpControls(){this._forEachChild(Se=>{Se.setParent(this),Se._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Se){for(const[ce,Ye]of Object.entries(this.controls))if(this.contains(ce)&&Se(Ye))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ce,Ye,Tt)=>((Ye.enabled||this.disabled)&&(ce[Tt]=Ye.value),ce))}_reduceChildren(Se,ce){let Ye=Se;return this._forEachChild((Tt,wn)=>{Ye=ce(Ye,Tt,wn)}),Ye}_allControlsDisabled(){for(const Se of Object.keys(this.controls))if(this.controls[Se].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Se){return this.controls.hasOwnProperty(Se)?this.controls[Se]:null}}const $e=bt,Ge=we=>we instanceof bt;class kt extends bt{}const dt=we=>we instanceof kt,xt=new t.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>qe}),qe="always";function Fe(we,Se){return[...Se.path,we]}function et(we,Se,ce=qe){qt(we,Se),Se.valueAccessor.writeValue(we.value),(we.disabled||"always"===ce)&&Se.valueAccessor.setDisabledState?.(we.disabled),function ln(we,Se){Se.valueAccessor.registerOnChange(ce=>{we._pendingValue=ce,we._pendingChange=!0,we._pendingDirty=!0,"change"===we.updateOn&&fi(we,Se)})}(we,Se),function Si(we,Se){const ce=(Ye,Tt)=>{Se.valueAccessor.writeValue(Ye),Tt&&Se.viewToModelUpdate(Ye)};we.registerOnChange(ce),Se._registerOnDestroy(()=>{we._unregisterOnChange(ce)})}(we,Se),function An(we,Se){Se.valueAccessor.registerOnTouched(()=>{we._pendingTouched=!0,"blur"===we.updateOn&&we._pendingChange&&fi(we,Se),"submit"!==we.updateOn&&we.markAsTouched()})}(we,Se),function Bt(we,Se){if(Se.valueAccessor.setDisabledState){const ce=Ye=>{Se.valueAccessor.setDisabledState(Ye)};we.registerOnDisabledChange(ce),Se._registerOnDestroy(()=>{we._unregisterOnDisabledChange(ce)})}}(we,Se)}function Ke(we,Se,ce=!0){const Ye=()=>{};Se.valueAccessor&&(Se.valueAccessor.registerOnChange(Ye),Se.valueAccessor.registerOnTouched(Ye)),fn(we,Se),we&&(Se._invokeOnDestroyCallbacks(),we._registerOnCollectionChange(()=>{}))}function ft(we,Se){we.forEach(ce=>{ce.registerOnValidatorChange&&ce.registerOnValidatorChange(Se)})}function qt(we,Se){const ce=ue(we);null!==Se.validator?we.setValidators(le(ce,Se.validator)):"function"==typeof ce&&we.setValidators([ce]);const Ye=ve(we);null!==Se.asyncValidator?we.setAsyncValidators(le(Ye,Se.asyncValidator)):"function"==typeof Ye&&we.setAsyncValidators([Ye]);const Tt=()=>we.updateValueAndValidity();ft(Se._rawValidators,Tt),ft(Se._rawAsyncValidators,Tt)}function fn(we,Se){let ce=!1;if(null!==we){if(null!==Se.validator){const Tt=ue(we);if(Array.isArray(Tt)&&Tt.length>0){const wn=Tt.filter(ei=>ei!==Se.validator);wn.length!==Tt.length&&(ce=!0,we.setValidators(wn))}}if(null!==Se.asyncValidator){const Tt=ve(we);if(Array.isArray(Tt)&&Tt.length>0){const wn=Tt.filter(ei=>ei!==Se.asyncValidator);wn.length!==Tt.length&&(ce=!0,we.setAsyncValidators(wn))}}}const Ye=()=>{};return ft(Se._rawValidators,Ye),ft(Se._rawAsyncValidators,Ye),ce}function fi(we,Se){we._pendingDirty&&we.markAsDirty(),we.setValue(we._pendingValue,{emitModelToViewChange:!1}),Se.viewToModelUpdate(we._pendingValue),we._pendingChange=!1}function Fi(we,Se){qt(we,Se)}function at(we,Se){if(!we.hasOwnProperty("model"))return!1;const ce=we.model;return!!ce.isFirstChange()||!Object.is(Se,ce.currentValue)}function fe(we,Se){we._syncPendingControls(),Se.forEach(ce=>{const Ye=ce.control;"submit"===Ye.updateOn&&Ye._pendingChange&&(ce.viewToModelUpdate(Ye._pendingValue),Ye._pendingChange=!1)})}function Ae(we,Se){if(!Se)return null;let ce,Ye,Tt;return Array.isArray(Se),Se.forEach(wn=>{wn.constructor===h?ce=wn:function ae(we){return Object.getPrototypeOf(we.constructor)===s}(wn)?Ye=wn:Tt=wn}),Tt||Ye||ce||null}const V={provide:ke,useExisting:(0,t.forwardRef)(()=>de)},he=Promise.resolve();let de=(()=>{class we extends ke{constructor(ce,Ye,Tt){super(),this.callSetDisabledState=Tt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.EventEmitter,this.form=new bt({},X(ce),j(Ye))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ce){he.then(()=>{const Ye=this._findContainer(ce.path);ce.control=Ye.registerControl(ce.name,ce.control),et(ce.control,ce,this.callSetDisabledState),ce.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ce)})}getControl(ce){return this.form.get(ce.path)}removeControl(ce){he.then(()=>{const Ye=this._findContainer(ce.path);Ye&&Ye.removeControl(ce.name),this._directives.delete(ce)})}addFormGroup(ce){he.then(()=>{const Ye=this._findContainer(ce.path),Tt=new bt({});Fi(Tt,ce),Ye.registerControl(ce.name,Tt),Tt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ce){he.then(()=>{const Ye=this._findContainer(ce.path);Ye&&Ye.removeControl(ce.name)})}getFormGroup(ce){return this.form.get(ce.path)}updateModel(ce,Ye){he.then(()=>{this.form.get(ce.path).setValue(Ye)})}setValue(ce){this.control.setValue(ce)}onSubmit(ce){return this.submitted=!0,fe(this.form,this._directives),this.ngSubmit.emit(ce),"dialog"===ce?.target?.method}onReset(){this.resetForm()}resetForm(ce=void 0){this.form.reset(ce),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ce){return ce.pop(),ce.length?this.form.get(ce):this.form}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(xt,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ye,Tt){1&Ye&&t.\u0275\u0275listener("submit",function(ei){return Tt.onSubmit(ei)})("reset",function(){return Tt.onReset()})},inputs:{options:[t.\u0275\u0275InputFlags.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.\u0275\u0275ProvidersFeature([V]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();function We(we,Se){const ce=we.indexOf(Se);ce>-1&&we.splice(ce,1)}function wt(we){return"object"==typeof we&&null!==we&&2===Object.keys(we).length&&"value"in we&&"disabled"in we}const Yt=class extends Pe{constructor(Se=null,ce,Ye){super(At(ce),vt(Ye,ce)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Se),this._setUpdateStrategy(ce),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),He(ce)&&(ce.nonNullable||ce.initialValueIsDefault)&&(this.defaultValue=wt(Se)?Se.value:Se)}setValue(Se,ce={}){this.value=this._pendingValue=Se,this._onChange.length&&!1!==ce.emitModelToViewChange&&this._onChange.forEach(Ye=>Ye(this.value,!1!==ce.emitViewToModelChange)),this.updateValueAndValidity(ce)}patchValue(Se,ce={}){this.setValue(Se,ce)}reset(Se=this.defaultValue,ce={}){this._applyFormState(Se),this.markAsPristine(ce),this.markAsUntouched(ce),this.setValue(this.value,ce),this._pendingChange=!1}_updateValue(){}_anyControls(Se){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Se){this._onChange.push(Se)}_unregisterOnChange(Se){We(this._onChange,Se)}registerOnDisabledChange(Se){this._onDisabledChange.push(Se)}_unregisterOnDisabledChange(Se){We(this._onDisabledChange,Se)}_forEachChild(Se){}_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(Se){wt(Se)?(this.value=this._pendingValue=Se.value,Se.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Se}},Kn=Yt,Pn=we=>we instanceof Yt;let Tn=(()=>{class we extends ke{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Fe(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,features:[t.\u0275\u0275InheritDefinitionFeature]})}return we})();const sr={provide:ke,useExisting:(0,t.forwardRef)(()=>Wi)};let Wi=(()=>{class we extends Tn{constructor(ce,Ye,Tt){super(),this.name="",this._parent=ce,this._setValidators(Ye),this._setAsyncValidators(Tt)}_checkParentType(){}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(ke,5),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","ngModelGroup",""]],inputs:{name:[t.\u0275\u0275InputFlags.None,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[t.\u0275\u0275ProvidersFeature([sr]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const Ai={provide:pe,useExisting:(0,t.forwardRef)(()=>or)},Gi=Promise.resolve();let or=(()=>{class we extends pe{constructor(ce,Ye,Tt,wn,ei,Dr){super(),this._changeDetectorRef=ei,this.callSetDisabledState=Dr,this.control=new Yt,this._registered=!1,this.name="",this.update=new t.EventEmitter,this._parent=ce,this._setValidators(Ye),this._setAsyncValidators(Tt),this.valueAccessor=Ae(0,wn)}ngOnChanges(ce){if(this._checkForErrors(),!this._registered||"name"in ce){if(this._registered&&(this._checkName(),this.formDirective)){const Ye=ce.name.previousValue;this.formDirective.removeControl({name:Ye,path:this._getPath(Ye)})}this._setUpControl()}"isDisabled"in ce&&this._updateDisabled(ce),at(ce,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(ce){this.viewModel=ce,this.update.emit(ce)}_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(){et(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(ce){Gi.then(()=>{this.control.setValue(ce,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ce){const Ye=ce.isDisabled.currentValue,Tt=0!==Ye&&(0,t.booleanAttribute)(Ye);Gi.then(()=>{Tt&&!this.control.disabled?this.control.disable():!Tt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ce){return this._parent?Fe(ce,this._parent):[ce]}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(ke,9),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(f,10),t.\u0275\u0275directiveInject(t.ChangeDetectorRef,8),t.\u0275\u0275directiveInject(xt,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[t.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[t.\u0275\u0275InputFlags.None,"ngModel","model"],options:[t.\u0275\u0275InputFlags.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t.\u0275\u0275ProvidersFeature([Ai]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return we})(),Vn=(()=>{class we{static#e=this.\u0275fac=function(Ye){return new(Ye||we)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return we})();const ki={provide:f,useExisting:(0,t.forwardRef)(()=>Yn),multi:!0};let Yn=(()=>{class we extends s{writeValue(ce){this.setProperty("value",ce??"")}registerOnChange(ce){this.onChange=Ye=>{ce(""==Ye?null:parseFloat(Ye))}}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ye,Tt){1&Ye&&t.\u0275\u0275listener("input",function(ei){return Tt.onChange(ei.target.value)})("blur",function(){return Tt.onTouched()})},features:[t.\u0275\u0275ProvidersFeature([ki]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const Wn={provide:f,useExisting:(0,t.forwardRef)(()=>Qn),multi:!0};let Dn=(()=>{class we{constructor(){this._accessors=[]}add(ce,Ye){this._accessors.push([ce,Ye])}remove(ce){for(let Ye=this._accessors.length-1;Ye>=0;--Ye)if(this._accessors[Ye][1]===ce)return void this._accessors.splice(Ye,1)}select(ce){this._accessors.forEach(Ye=>{this._isSameGroup(Ye,ce)&&Ye[1]!==ce&&Ye[1].fireUncheck(ce.value)})}_isSameGroup(ce,Ye){return!!ce[0].control&&ce[0]._parent===Ye._control._parent&&ce[1].name===Ye.name}static#e=this.\u0275fac=function(Ye){return new(Ye||we)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Qn=(()=>{class we extends s{constructor(ce,Ye,Tt,wn){super(ce,Ye),this._registry=Tt,this._injector=wn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,t.inject)(xt,{optional:!0})??qe}ngOnInit(){this._control=this._injector.get(pe),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ce){this._state=ce===this.value,this.setProperty("checked",this._state)}registerOnChange(ce){this._fn=ce,this.onChange=()=>{ce(this.value),this._registry.select(this)}}setDisabledState(ce){(this.setDisabledStateFired||ce||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",ce),this.setDisabledStateFired=!0}fireUncheck(ce){this.writeValue(ce)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(Dn),t.\u0275\u0275directiveInject(t.Injector))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Ye,Tt){1&Ye&&t.\u0275\u0275listener("change",function(){return Tt.onChange()})("blur",function(){return Tt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[t.\u0275\u0275ProvidersFeature([Wn]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const ui={provide:f,useExisting:(0,t.forwardRef)(()=>cn),multi:!0};let cn=(()=>{class we extends s{writeValue(ce){this.setProperty("value",parseFloat(ce))}registerOnChange(ce){this.onChange=Ye=>{ce(""==Ye?null:parseFloat(Ye))}}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(Ye,Tt){1&Ye&&t.\u0275\u0275listener("change",function(ei){return Tt.onChange(ei.target.value)})("input",function(ei){return Tt.onChange(ei.target.value)})("blur",function(){return Tt.onTouched()})},features:[t.\u0275\u0275ProvidersFeature([ui]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const pn=new t.InjectionToken(""),Nn={provide:pe,useExisting:(0,t.forwardRef)(()=>Fn)};let Fn=(()=>{class we extends pe{set isDisabled(ce){}static#e=this._ngModelWarningSentOnce=!1;constructor(ce,Ye,Tt,wn,ei){super(),this._ngModelWarningConfig=wn,this.callSetDisabledState=ei,this.update=new t.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(ce),this._setAsyncValidators(Ye),this.valueAccessor=Ae(0,Tt)}ngOnChanges(ce){if(this._isControlChanged(ce)){const Ye=ce.form.previousValue;Ye&&Ke(Ye,this,!1),et(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}at(ce,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ke(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ce){this.viewModel=ce,this.update.emit(ce)}_isControlChanged(ce){return ce.hasOwnProperty("form")}static#t=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(f,10),t.\u0275\u0275directiveInject(pn,8),t.\u0275\u0275directiveInject(xt,8))};static#n=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formControl",""]],inputs:{form:[t.\u0275\u0275InputFlags.None,"formControl","form"],isDisabled:[t.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[t.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t.\u0275\u0275ProvidersFeature([Nn]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return we})();const Oi={provide:ke,useExisting:(0,t.forwardRef)(()=>Ki)};let Ki=(()=>{class we extends ke{constructor(ce,Ye,Tt){super(),this.callSetDisabledState=Tt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.EventEmitter,this._setValidators(ce),this._setAsyncValidators(Ye)}ngOnChanges(ce){this._checkFormPresent(),ce.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(fn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ce){const Ye=this.form.get(ce.path);return et(Ye,ce,this.callSetDisabledState),Ye.updateValueAndValidity({emitEvent:!1}),this.directives.push(ce),Ye}getControl(ce){return this.form.get(ce.path)}removeControl(ce){Ke(ce.control||null,ce,!1),function _e(we,Se){const ce=we.indexOf(Se);ce>-1&&we.splice(ce,1)}(this.directives,ce)}addFormGroup(ce){this._setUpFormContainer(ce)}removeFormGroup(ce){this._cleanUpFormContainer(ce)}getFormGroup(ce){return this.form.get(ce.path)}addFormArray(ce){this._setUpFormContainer(ce)}removeFormArray(ce){this._cleanUpFormContainer(ce)}getFormArray(ce){return this.form.get(ce.path)}updateModel(ce,Ye){this.form.get(ce.path).setValue(Ye)}onSubmit(ce){return this.submitted=!0,fe(this.form,this.directives),this.ngSubmit.emit(ce),"dialog"===ce?.target?.method}onReset(){this.resetForm()}resetForm(ce=void 0){this.form.reset(ce),this.submitted=!1}_updateDomValue(){this.directives.forEach(ce=>{const Ye=ce.control,Tt=this.form.get(ce.path);Ye!==Tt&&(Ke(Ye||null,ce),Pn(Tt)&&(et(Tt,ce,this.callSetDisabledState),ce.control=Tt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ce){const Ye=this.form.get(ce.path);Fi(Ye,ce),Ye.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ce){if(this.form){const Ye=this.form.get(ce.path);Ye&&function si(we,Se){return fn(we,Se)}(Ye,ce)&&Ye.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qt(this.form,this),this._oldForm&&fn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(xt,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formGroup",""]],hostBindings:function(Ye,Tt){1&Ye&&t.\u0275\u0275listener("submit",function(ei){return Tt.onSubmit(ei)})("reset",function(){return Tt.onReset()})},inputs:{form:[t.\u0275\u0275InputFlags.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.\u0275\u0275ProvidersFeature([Oi]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return we})();const nr={provide:ke,useExisting:(0,t.forwardRef)(()=>ni)};let ni=(()=>{class we extends Tn{constructor(ce,Ye,Tt){super(),this.name=null,this._parent=ce,this._setValidators(Ye),this._setAsyncValidators(Tt)}_checkParentType(){ci(this._parent)}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(ke,13),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formGroupName",""]],inputs:{name:[t.\u0275\u0275InputFlags.None,"formGroupName","name"]},features:[t.\u0275\u0275ProvidersFeature([nr]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const un={provide:ke,useExisting:(0,t.forwardRef)(()=>En)};let En=(()=>{class we extends ke{constructor(ce,Ye,Tt){super(),this.name=null,this._parent=ce,this._setValidators(Ye),this._setAsyncValidators(Tt)}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 Fe(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){ci(this._parent)}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(ke,13),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formArrayName",""]],inputs:{name:[t.\u0275\u0275InputFlags.None,"formArrayName","name"]},features:[t.\u0275\u0275ProvidersFeature([un]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();function ci(we){return!(we instanceof ni||we instanceof Ki||we instanceof En)}const ar={provide:pe,useExisting:(0,t.forwardRef)(()=>Ui)};let Ui=(()=>{class we extends pe{set isDisabled(ce){}static#e=this._ngModelWarningSentOnce=!1;constructor(ce,Ye,Tt,wn,ei){super(),this._ngModelWarningConfig=ei,this._added=!1,this.name=null,this.update=new t.EventEmitter,this._ngModelWarningSent=!1,this._parent=ce,this._setValidators(Ye),this._setAsyncValidators(Tt),this.valueAccessor=Ae(0,wn)}ngOnChanges(ce){this._added||this._setUpControl(),at(ce,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ce){this.viewModel=ce,this.update.emit(ce)}get path(){return Fe(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}static#t=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(ke,13),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(f,10),t.\u0275\u0275directiveInject(pn,8))};static#n=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formControlName",""]],inputs:{name:[t.\u0275\u0275InputFlags.None,"formControlName","name"],isDisabled:[t.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[t.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[t.\u0275\u0275ProvidersFeature([ar]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return we})();const dr={provide:f,useExisting:(0,t.forwardRef)(()=>Hi),multi:!0};function hr(we,Se){return null==we?`${Se}`:(Se&&"object"==typeof Se&&(Se="Object"),`${we}: ${Se}`.slice(0,50))}let Hi=(()=>{class we extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ce){this._compareWith=ce}writeValue(ce){this.value=ce;const Tt=hr(this._getOptionId(ce),ce);this.setProperty("value",Tt)}registerOnChange(ce){this.onChange=Ye=>{this.value=this._getOptionValue(Ye),ce(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ce){for(const Ye of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Ye),ce))return Ye;return null}_getOptionValue(ce){const Ye=function di(we){return we.split(":")[0]}(ce);return this._optionMap.has(Ye)?this._optionMap.get(Ye):ce}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Ye,Tt){1&Ye&&t.\u0275\u0275listener("change",function(ei){return Tt.onChange(ei.target.value)})("blur",function(){return Tt.onTouched()})},inputs:{compareWith:"compareWith"},features:[t.\u0275\u0275ProvidersFeature([dr]),t.\u0275\u0275InheritDefinitionFeature]})}return we})(),qi=(()=>{class we{constructor(ce,Ye,Tt){this._element=ce,this._renderer=Ye,this._select=Tt,this._select&&(this.id=this._select._registerOption())}set ngValue(ce){null!=this._select&&(this._select._optionMap.set(this.id,ce),this._setElementValue(hr(this.id,ce)),this._select.writeValue(this._select.value))}set value(ce){this._setElementValue(ce),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ce){this._renderer.setProperty(this._element.nativeElement,"value",ce)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(Hi,9))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return we})();const Rn={provide:f,useExisting:(0,t.forwardRef)(()=>hi),multi:!0};function Sr(we,Se){return null==we?`${Se}`:("string"==typeof Se&&(Se=`'${Se}'`),Se&&"object"==typeof Se&&(Se="Object"),`${we}: ${Se}`.slice(0,50))}let hi=(()=>{class we extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ce){this._compareWith=ce}writeValue(ce){let Ye;if(this.value=ce,Array.isArray(ce)){const Tt=ce.map(wn=>this._getOptionId(wn));Ye=(wn,ei)=>{wn._setSelected(Tt.indexOf(ei.toString())>-1)}}else Ye=(Tt,wn)=>{Tt._setSelected(!1)};this._optionMap.forEach(Ye)}registerOnChange(ce){this.onChange=Ye=>{const Tt=[],wn=Ye.selectedOptions;if(void 0!==wn){const ei=wn;for(let Dr=0;Dr{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Ye,Tt){1&Ye&&t.\u0275\u0275listener("change",function(ei){return Tt.onChange(ei.target)})("blur",function(){return Tt.onTouched()})},inputs:{compareWith:"compareWith"},features:[t.\u0275\u0275ProvidersFeature([Rn]),t.\u0275\u0275InheritDefinitionFeature]})}return we})(),kr=(()=>{class we{constructor(ce,Ye,Tt){this._element=ce,this._renderer=Ye,this._select=Tt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ce){null!=this._select&&(this._value=ce,this._setElementValue(Sr(this.id,ce)),this._select.writeValue(this._select.value))}set value(ce){this._select?(this._value=ce,this._setElementValue(Sr(this.id,ce)),this._select.writeValue(this._select.value)):this._setElementValue(ce)}_setElementValue(ce){this._renderer.setProperty(this._element.nativeElement,"value",ce)}_setSelected(ce){this._renderer.setProperty(this._element.nativeElement,"selected",ce)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(Ye){return new(Ye||we)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(hi,9))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return we})();function Mt(we){return"number"==typeof we?we:parseInt(we,10)}function yt(we){return"number"==typeof we?we:parseFloat(we)}let It=(()=>{class we{constructor(){this._validator=A}ngOnChanges(ce){if(this.inputName in ce){const Ye=this.normalizeInput(ce[this.inputName].currentValue);this._enabled=this.enabled(Ye),this._validator=this._enabled?this.createValidator(Ye):A,this._onChange&&this._onChange()}}validate(ce){return this._validator(ce)}registerOnValidatorChange(ce){this._onChange=ce}enabled(ce){return null!=ce}static#e=this.\u0275fac=function(Ye){return new(Ye||we)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,features:[t.\u0275\u0275NgOnChangesFeature]})}return we})();const St={provide:y,useExisting:(0,t.forwardRef)(()=>Ft),multi:!0};let Ft=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ce=>yt(ce),this.createValidator=ce=>I(ce)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Ye,Tt){2&Ye&&t.\u0275\u0275attribute("max",Tt._enabled?Tt.max:null)},inputs:{max:"max"},features:[t.\u0275\u0275ProvidersFeature([St]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const jt={provide:y,useExisting:(0,t.forwardRef)(()=>en),multi:!0};let en=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ce=>yt(ce),this.createValidator=ce=>D(ce)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Ye,Tt){2&Ye&&t.\u0275\u0275attribute("min",Tt._enabled?Tt.min:null)},inputs:{min:"min"},features:[t.\u0275\u0275ProvidersFeature([jt]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const Zt={provide:y,useExisting:(0,t.forwardRef)(()=>Sn),multi:!0},hn={provide:y,useExisting:(0,t.forwardRef)(()=>On),multi:!0};let Sn=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.booleanAttribute,this.createValidator=ce=>O}enabled(ce){return ce}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ye,Tt){2&Ye&&t.\u0275\u0275attribute("required",Tt._enabled?"":null)},inputs:{required:"required"},features:[t.\u0275\u0275ProvidersFeature([Zt]),t.\u0275\u0275InheritDefinitionFeature]})}return we})(),On=(()=>{class we extends Sn{constructor(){super(...arguments),this.createValidator=ce=>T}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ye,Tt){2&Ye&&t.\u0275\u0275attribute("required",Tt._enabled?"":null)},features:[t.\u0275\u0275ProvidersFeature([hn]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const gi={provide:y,useExisting:(0,t.forwardRef)(()=>jn),multi:!0};let jn=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=t.booleanAttribute,this.createValidator=ce=>N}enabled(ce){return ce}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[t.\u0275\u0275ProvidersFeature([gi]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const Gn={provide:y,useExisting:(0,t.forwardRef)(()=>Bn),multi:!0};let Bn=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ce=>Mt(ce),this.createValidator=ce=>S(ce)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(Ye,Tt){2&Ye&&t.\u0275\u0275attribute("minlength",Tt._enabled?Tt.minlength:null)},inputs:{minlength:"minlength"},features:[t.\u0275\u0275ProvidersFeature([Gn]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const kn={provide:y,useExisting:(0,t.forwardRef)(()=>Ln),multi:!0};let Ln=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ce=>Mt(ce),this.createValidator=ce=>F(ce)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Ye,Tt){2&Ye&&t.\u0275\u0275attribute("maxlength",Tt._enabled?Tt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[t.\u0275\u0275ProvidersFeature([kn]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const ir={provide:y,useExisting:(0,t.forwardRef)(()=>$i),multi:!0};let $i=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ce=>ce,this.createValidator=ce=>L(ce)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(Ye,Tt){2&Ye&&t.\u0275\u0275attribute("pattern",Tt._enabled?Tt.pattern:null)},inputs:{pattern:"pattern"},features:[t.\u0275\u0275ProvidersFeature([ir]),t.\u0275\u0275InheritDefinitionFeature]})}return we})(),Br=(()=>{class we{static#e=this.\u0275fac=function(Ye){return new(Ye||we)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:we});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return we})();class Cr extends Pe{constructor(Se,ce,Ye){super(At(ce),vt(Ye,ce)),this.controls=Se,this._initObservables(),this._setUpdateStrategy(ce),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Se){return this.controls[this._adjustIndex(Se)]}push(Se,ce={}){this.controls.push(Se),this._registerControl(Se),this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}insert(Se,ce,Ye={}){this.controls.splice(Se,0,ce),this._registerControl(ce),this.updateValueAndValidity({emitEvent:Ye.emitEvent})}removeAt(Se,ce={}){let Ye=this._adjustIndex(Se);Ye<0&&(Ye=0),this.controls[Ye]&&this.controls[Ye]._registerOnCollectionChange(()=>{}),this.controls.splice(Ye,1),this.updateValueAndValidity({emitEvent:ce.emitEvent})}setControl(Se,ce,Ye={}){let Tt=this._adjustIndex(Se);Tt<0&&(Tt=0),this.controls[Tt]&&this.controls[Tt]._registerOnCollectionChange(()=>{}),this.controls.splice(Tt,1),ce&&(this.controls.splice(Tt,0,ce),this._registerControl(ce)),this.updateValueAndValidity({emitEvent:Ye.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Se,ce={}){Te(this,0,Se),Se.forEach((Ye,Tt)=>{st(this,!1,Tt),this.at(Tt).setValue(Ye,{onlySelf:!0,emitEvent:ce.emitEvent})}),this.updateValueAndValidity(ce)}patchValue(Se,ce={}){null!=Se&&(Se.forEach((Ye,Tt)=>{this.at(Tt)&&this.at(Tt).patchValue(Ye,{onlySelf:!0,emitEvent:ce.emitEvent})}),this.updateValueAndValidity(ce))}reset(Se=[],ce={}){this._forEachChild((Ye,Tt)=>{Ye.reset(Se[Tt],{onlySelf:!0,emitEvent:ce.emitEvent})}),this._updatePristine(ce),this._updateTouched(ce),this.updateValueAndValidity(ce)}getRawValue(){return this.controls.map(Se=>Se.getRawValue())}clear(Se={}){this.controls.length<1||(this._forEachChild(ce=>ce._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Se.emitEvent}))}_adjustIndex(Se){return Se<0?Se+this.length:Se}_syncPendingControls(){let Se=this.controls.reduce((ce,Ye)=>!!Ye._syncPendingControls()||ce,!1);return Se&&this.updateValueAndValidity({onlySelf:!0}),Se}_forEachChild(Se){this.controls.forEach((ce,Ye)=>{Se(ce,Ye)})}_updateValue(){this.value=this.controls.filter(Se=>Se.enabled||this.disabled).map(Se=>Se.value)}_anyControls(Se){return this.controls.some(ce=>ce.enabled&&Se(ce))}_setUpControls(){this._forEachChild(Se=>this._registerControl(Se))}_allControlsDisabled(){for(const Se of this.controls)if(Se.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Se){Se.setParent(this),Se._registerOnCollectionChange(this._onCollectionChange)}_find(Se){return this.at(Se)??null}}const _s=Cr,Ss=we=>we instanceof Cr;function Qr(we){return!!we&&(void 0!==we.asyncValidators||void 0!==we.validators||void 0!==we.updateOn)}let Rr=(()=>{class we{constructor(){this.useNonNullable=!1}get nonNullable(){const ce=new we;return ce.useNonNullable=!0,ce}group(ce,Ye=null){const Tt=this._reduceControls(ce);let wn={};return Qr(Ye)?wn=Ye:null!==Ye&&(wn.validators=Ye.validator,wn.asyncValidators=Ye.asyncValidator),new bt(Tt,wn)}record(ce,Ye=null){const Tt=this._reduceControls(ce);return new kt(Tt,Ye)}control(ce,Ye,Tt){let wn={};return this.useNonNullable?(Qr(Ye)?wn=Ye:(wn.validators=Ye,wn.asyncValidators=Tt),new Yt(ce,{...wn,nonNullable:!0})):new Yt(ce,Ye,Tt)}array(ce,Ye,Tt){const wn=ce.map(ei=>this._createControl(ei));return new Cr(wn,Ye,Tt)}_reduceControls(ce){const Ye={};return Object.keys(ce).forEach(Tt=>{Ye[Tt]=this._createControl(ce[Tt])}),Ye}_createControl(ce){return ce instanceof Yt||ce instanceof Pe?ce:Array.isArray(ce)?this.control(ce[0],ce.length>1?ce[1]:null,ce.length>2?ce[2]:null):this.control(ce)}static#e=this.\u0275fac=function(Ye){return new(Ye||we)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),os=(()=>{class we{static#e=this.\u0275fac=function(Ye){return new(Ye||we)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:we,factory:()=>(0,t.inject)(Rr).nonNullable,providedIn:"root"})}return we})(),As=(()=>{class we extends Rr{group(ce,Ye=null){return super.group(ce,Ye)}control(ce,Ye,Tt){return super.control(ce,Ye,Tt)}array(ce,Ye,Tt){return super.array(ce,Ye,Tt)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();const mo=new t.Version("17.2.1");let po=(()=>{class we{static withConfig(ce){return{ngModule:we,providers:[{provide:xt,useValue:ce.callSetDisabledState??qe}]}}static#e=this.\u0275fac=function(Ye){return new(Ye||we)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:we});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[Br]})}return we})(),go=(()=>{class we{static withConfig(ce){return{ngModule:we,providers:[{provide:pn,useValue:ce.warnOnNgModelWithFormControl??"always"},{provide:xt,useValue:ce.callSetDisabledState??qe}]}}static#e=this.\u0275fac=function(Ye){return new(Ye||we)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:we});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[Br]})}return we})()},7764:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>B,MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>H,MAT_AUTOCOMPLETE_SCROLL_STRATEGY:()=>le,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>ue,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>ve,MAT_AUTOCOMPLETE_VALUE_ACCESSOR:()=>G,MatAutocomplete:()=>z,MatAutocompleteModule:()=>_t,MatAutocompleteOrigin:()=>X,MatAutocompleteSelectedEvent:()=>ne,MatAutocompleteTrigger:()=>Je,MatOptgroup:()=>v.MatOptgroup,MatOption:()=>v.MatOption,getMatAutocompleteMissingPanelError:()=>j});var t=g(4496),v=g(3576),C=g(1368),E=g(1904),c=g(7556),b=g(1336),s=g(7712),f=g(5792),d=g(9684),l=g(6928),a=g(5657),r=g(1424),u=g(3412),h=g(2700),p=g(800),_=g(5420),y=g(2488),M=g(6504),w=g(4060),k=g(5568),D=g(7368),I=g(3992),O=g(6684),T=g(4704),N=g(9212),S=g(1224),F=g(1900);const L=["panel"];function A(ct,Ct){if(1&ct){const Re=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",0,1),t.\u0275\u0275listener("@panelAnimation.done",function(pe){t.\u0275\u0275restoreView(Re);const Qe=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(Qe._animationDone.next(pe))}),t.\u0275\u0275projection(2),t.\u0275\u0275elementEnd()}if(2&ct){const Re=Ct.id,ke=t.\u0275\u0275nextContext();t.\u0275\u0275property("id",ke.id)("ngClass",ke._classList)("@panelAnimation",ke.isOpen?"visible":"hidden"),t.\u0275\u0275attribute("aria-label",ke.ariaLabel||null)("aria-labelledby",ke._getPanelAriaLabelledby(Re))}}const U=["*"],K=(0,d.gV)("panelAnimation",[(0,d.K2)("void, hidden",(0,d.wb)({opacity:0,transform:"scaleY(0.8)"})),(0,d.aK)(":enter, hidden => visible",[(0,d.yA)([(0,d.Cs)("0.03s linear",(0,d.wb)({opacity:1})),(0,d.Cs)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,d.wb)({transform:"scaleY(1)"}))])]),(0,d.aK)(":leave, visible => hidden",[(0,d.Cs)("0.075s linear",(0,d.wb)({opacity:0}))])]);let ee=0;class ne{constructor(Ct,Re){this.source=Ct,this.option=Re}}const B=new t.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:H});function H(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}let z=(()=>{class ct{get isOpen(){return this._isOpen&&this.showPanel}_setColor(Re){this._color=Re,this._setThemeClasses(this._classList)}set classList(Re){this._classList=Re&&Re.length?(0,s._s)(Re).reduce((ke,pe)=>(ke[pe]=!0,ke),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Re){this._hideSingleSelectionIndicator=Re,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Re of this.options)Re._changeDetectorRef.markForCheck()}constructor(Re,ke,pe,Qe){this._changeDetectorRef=Re,this._elementRef=ke,this._defaults=pe,this._activeOptionChanges=l.wH.EMPTY,this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new t.EventEmitter,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new t.EventEmitter,this.opened=new t.EventEmitter,this.closed=new t.EventEmitter,this.optionActivated=new t.EventEmitter,this._classList={},this.id="mat-autocomplete-"+ee++,this.inertGroups=Qe?.SAFARI||!1,this.autoActiveFirstOption=!!pe.autoActiveFirstOption,this.autoSelectActiveOption=!!pe.autoSelectActiveOption,this.requireSelection=!!pe.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new b.mJ(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(Re=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Re]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(Re){this.panel&&(this.panel.nativeElement.scrollTop=Re)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Re){const ke=new ne(this,Re);this.optionSelected.emit(ke)}_getPanelAriaLabelledby(Re){return this.ariaLabel?null:this.ariaLabelledby?(Re?Re+" ":"")+this.ariaLabelledby:Re}_setVisibilityClasses(Re){Re[this._visibleClass]=this.showPanel,Re[this._hiddenClass]=!this.showPanel}_setThemeClasses(Re){Re["mat-primary"]="primary"===this._color,Re["mat-warn"]="warn"===this._color,Re["mat-accent"]="accent"===this._color}_skipPredicate(){return!1}static#e=this.\u0275fac=function(ke){return new(ke||ct)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(B),t.\u0275\u0275directiveInject(f.WU))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:ct,selectors:[["mat-autocomplete"]],contentQueries:function(ke,pe,Qe){if(1&ke&&(t.\u0275\u0275contentQuery(Qe,v.MatOption,5),t.\u0275\u0275contentQuery(Qe,v.MAT_OPTGROUP,5)),2&ke){let Be;t.\u0275\u0275queryRefresh(Be=t.\u0275\u0275loadQuery())&&(pe.options=Be),t.\u0275\u0275queryRefresh(Be=t.\u0275\u0275loadQuery())&&(pe.optionGroups=Be)}},viewQuery:function(ke,pe){if(1&ke&&(t.\u0275\u0275viewQuery(t.TemplateRef,7),t.\u0275\u0275viewQuery(L,5)),2&ke){let Qe;t.\u0275\u0275queryRefresh(Qe=t.\u0275\u0275loadQuery())&&(pe.template=Qe.first),t.\u0275\u0275queryRefresh(Qe=t.\u0275\u0275loadQuery())&&(pe.panel=Qe.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[t.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[t.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"autoActiveFirstOption","autoActiveFirstOption",t.booleanAttribute],autoSelectActiveOption:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"autoSelectActiveOption","autoSelectActiveOption",t.booleanAttribute],requireSelection:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"requireSelection","requireSelection",t.booleanAttribute],panelWidth:"panelWidth",disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute],classList:[t.\u0275\u0275InputFlags.None,"class","classList"],hideSingleSelectionIndicator:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",t.booleanAttribute]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:v.MAT_OPTION_PARENT_COMPONENT,useExisting:ct}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(ke,pe){1&ke&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,A,3,5,"ng-template"))},dependencies:[C.NgClass],styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[K]},changeDetection:0})}return ct})(),X=(()=>{class ct{constructor(Re){this.elementRef=Re}static#e=this.\u0275fac=function(ke){return new(ke||ct)(t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:ct,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],standalone:!0})}return ct})();const G={provide:M.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(()=>Je),multi:!0};function j(){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 le=new t.InjectionToken("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const ct=(0,t.inject)(c.mc);return()=>ct.scrollStrategies.reposition()}});function ue(ct){return()=>ct.scrollStrategies.reposition()}const ve={provide:le,deps:[c.mc],useFactory:ue};let Je=(()=>{class ct{constructor(Re,ke,pe,Qe,Be,Ie,je,q,ye,Oe,Xe){this._element=Re,this._overlay=ke,this._viewContainerRef=pe,this._zone=Qe,this._changeDetectorRef=Be,this._dir=je,this._formField=q,this._document=ye,this._viewportRuler=Oe,this._defaults=Xe,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=l.wH.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new a.E,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,r.Q)(()=>{const ge=this.autocomplete?this.autocomplete.options:null;return ge?ge.changes.pipe((0,k.W)(ge),(0,D.G)(()=>(0,u.U)(...ge.map(Ve=>Ve.onSelectionChange)))):this._zone.onStable.pipe((0,I.U)(1),(0,D.G)(()=>this.optionSelections))}),this._handlePanelKeydown=ge=>{(ge.keyCode===_.UX&&!(0,_.Yp)(ge)||ge.keyCode===_.qI&&(0,_.Yp)(ge,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),ge.stopPropagation(),ge.preventDefault())},this._trackedModal=null,this._scrollStrategy=Ie}ngAfterViewInit(){const Re=this._getWindow();typeof Re<"u"&&this._zone.runOutsideAngular(()=>Re.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Re){Re.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Re=this._getWindow();typeof Re<"u"&&Re.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(),this._trackedModal&&(0,b.AZ)(this._trackedModal,"aria-owns",this.autocomplete.id)}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(),this._trackedModal)&&(0,b.Cs)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,u.U)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,O.I)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,O.I)(()=>this._overlayAttached)):(0,h.of)()).pipe((0,T.k)(Re=>Re instanceof v.MatOptionSelectionChange?Re:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,u.U)((0,p.w)(this._document,"click"),(0,p.w)(this._document,"auxclick"),(0,p.w)(this._document,"touchend")).pipe((0,O.I)(Re=>{const ke=(0,f.oZ)(Re),pe=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,Qe=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ke!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!pe||!pe.contains(ke))&&(!Qe||!Qe.contains(ke))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ke)}))}writeValue(Re){Promise.resolve(null).then(()=>this._assignOptionValue(Re))}registerOnChange(Re){this._onChange=Re}registerOnTouched(Re){this._onTouched=Re}setDisabledState(Re){this._element.nativeElement.disabled=Re}_handleKeydown(Re){const ke=Re.keyCode,pe=(0,_.Yp)(Re);if(ke===_.UX&&!pe&&Re.preventDefault(),this.activeOption&&ke===_.wJ&&this.panelOpen&&!pe)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Re.preventDefault();else if(this.autocomplete){const Qe=this.autocomplete._keyManager.activeItem,Be=ke===_.qI||ke===_.Oq;ke===_.k0||Be&&!pe&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Re):Be&&this._canOpen()&&this.openPanel(),(Be||this.autocomplete._keyManager.activeItem!==Qe)&&(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(Re){let ke=Re.target,pe=ke.value;if("number"===ke.type&&(pe=""==pe?null:parseFloat(pe)),this._previousValue!==pe){if(this._previousValue=pe,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(pe),pe){if(this.panelOpen&&!this.autocomplete.requireSelection){const Qe=this.autocomplete.options?.find(Be=>Be.selected);Qe&&pe!==(this.autocomplete.displayWith?.(Qe)??Qe.value)&&Qe.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);this._canOpen()&&this._document.activeElement===Re.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(Re=!1){this._formField&&"auto"===this._formField.floatLabel&&(Re?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Re=this._zone.onStable.pipe((0,I.U)(1)),ke=this.autocomplete.options.changes.pipe((0,N.y)(()=>this._positionStrategy.reapplyLastPosition()),(0,S.o)(0));return(0,u.U)(Re,ke).pipe((0,D.G)(()=>(this._zone.run(()=>{const pe=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),pe!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,I.U)(1)).subscribe(pe=>this._setValueAndClose(pe))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Re){const ke=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Re):Re;null==Re&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(ke??"")}_updateNativeInputValue(Re){this._formField?this._formField._control.value=Re:this._element.nativeElement.value=Re,this._previousValue=Re}_setValueAndClose(Re){const ke=this.autocomplete,pe=Re?Re.source:this._pendingAutoselectedOption;pe?(this._clearPreviousSelectedOption(pe),this._assignOptionValue(pe.value),this._onChange(pe.value),ke._emitSelectEvent(pe),this._element.nativeElement.focus()):ke.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),ke._animationDone?ke._animationDone.pipe((0,I.U)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(Re,ke){this.autocomplete?.options?.forEach(pe=>{pe!==Re&&pe.selected&&pe.deselect(ke)})}_attachOverlay(){let Re=this._overlayRef;Re?(this._positionStrategy.setOrigin(this._getConnectedElement()),Re.updateSize({width:this._getPanelWidth()})):(this._portal=new y.CC(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Re=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Re,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Re&&Re.updateSize({width:this._getPanelWidth()})})),Re&&!Re.hasAttached()&&(Re.attach(this._portal),this._valueOnAttach=this._element.nativeElement.value,this._closingActionsSubscription=this._subscribeToClosingActions());const ke=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ke!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const Re=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=Re.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=Re.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new c.o9({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Re=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Re),this._positionStrategy=Re,Re}_setStrategyPositions(Re){const ke=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],pe=this._aboveClass,Qe=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:pe},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:pe}];let Be;Be="above"===this.position?Qe:"below"===this.position?ke:[...ke,...Qe],Re.withPositions(Be)}_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 Re=this.autocomplete;if(Re.autoActiveFirstOption){let ke=-1;for(let pe=0;pe .cdk-overlay-container [aria-modal="true"]');if(!Re)return;const ke=this.autocomplete.id;this._trackedModal&&(0,b.Cs)(this._trackedModal,"aria-owns",ke),(0,b.AZ)(Re,"aria-owns",ke),this._trackedModal=Re}_clearFromModal(){this._trackedModal&&((0,b.Cs)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(ke){return new(ke||ct)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(c.mc),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(le),t.\u0275\u0275directiveInject(F.yG,8),t.\u0275\u0275directiveInject(w.MAT_FORM_FIELD,9),t.\u0275\u0275directiveInject(C.DOCUMENT,8),t.\u0275\u0275directiveInject(E.S8),t.\u0275\u0275directiveInject(B,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:ct,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(ke,pe){1&ke&&t.\u0275\u0275listener("focusin",function(){return pe._handleFocus()})("blur",function(){return pe._onTouched()})("input",function(Be){return pe._handleInput(Be)})("keydown",function(Be){return pe._handleKeydown(Be)})("click",function(){return pe._handleClick()}),2&ke&&t.\u0275\u0275attribute("autocomplete",pe.autocompleteAttribute)("role",pe.autocompleteDisabled?null:"combobox")("aria-autocomplete",pe.autocompleteDisabled?null:"list")("aria-activedescendant",pe.panelOpen&&pe.activeOption?pe.activeOption.id:null)("aria-expanded",pe.autocompleteDisabled?null:pe.panelOpen.toString())("aria-controls",pe.autocompleteDisabled||!pe.panelOpen||null==pe.autocomplete?null:pe.autocomplete.id)("aria-haspopup",pe.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[t.\u0275\u0275InputFlags.None,"matAutocomplete","autocomplete"],position:[t.\u0275\u0275InputFlags.None,"matAutocompletePosition","position"],connectedTo:[t.\u0275\u0275InputFlags.None,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[t.\u0275\u0275InputFlags.None,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"matAutocompleteDisabled","autocompleteDisabled",t.booleanAttribute]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([G]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature]})}return ct})(),_t=(()=>{class ct{static#e=this.\u0275fac=function(ke){return new(ke||ct)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[ve],imports:[c.Y1,v.MatOptionModule,v.MatCommonModule,C.CommonModule,E.uU,v.MatOptionModule,v.MatCommonModule]})}return ct})()},7816:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_BUTTON_CONFIG:()=>_,MAT_FAB_DEFAULT_OPTIONS:()=>T,MAT_FAB_DEFAULT_OPTIONS_FACTORY:()=>N,MatAnchor:()=>O,MatButton:()=>I,MatButtonModule:()=>ne,MatFabAnchor:()=>A,MatFabButton:()=>F,MatIconAnchor:()=>ee,MatIconButton:()=>K,MatMiniFabAnchor:()=>U,MatMiniFabButton:()=>L});var t=g(5792),v=g(4496),C=g(1336),E=g(3576);const c=["mat-button",""],b=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],s=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],d=".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}",l=["mat-fab",""],a=["mat-mini-fab",""],r='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__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(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__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-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}',u=["mat-icon-button",""],h=["*"],_=new v.InjectionToken("MAT_BUTTON_CONFIG"),M=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let w=(()=>{class B{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(z){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,z)}get disableRipple(){return this._disableRipple}set disableRipple(z){this._disableRipple=z,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(z){this._disabled=z,this._updateRippleDisabled()}constructor(z,X,G,j){this._elementRef=z,this._platform=X,this._ngZone=G,this._animationMode=j,this._focusMonitor=(0,v.inject)(C.Kk),this._rippleLoader=(0,v.inject)(E.MatRippleLoader),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const le=(0,v.inject)(_,{optional:!0}),ue=z.nativeElement,ve=ue.classList;this.disabledInteractive=le?.disabledInteractive??!1,this._rippleLoader?.configureRipple(ue,{className:"mat-mdc-button-ripple"});for(const{attribute:Je,mdcClasses:_t}of M)ue.hasAttribute(Je)&&ve.add(..._t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(z="program",X){z?this._focusMonitor.focusVia(this._elementRef.nativeElement,z,X):this._elementRef.nativeElement.focus(X)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(X){v.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:B,inputs:{color:"color",disableRipple:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",v.booleanAttribute],disabled:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",v.booleanAttribute],ariaDisabled:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",v.booleanAttribute],disabledInteractive:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",v.booleanAttribute]},features:[v.\u0275\u0275InputTransformsFeature]})}return B})(),D=(()=>{class B extends w{constructor(z,X,G,j){super(z,X,G,j),this._haltDisabledEvents=le=>{this.disabled&&(le.preventDefault(),le.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return null==this.ariaDisabled?this.disabled:this.ariaDisabled}static#e=this.\u0275fac=function(X){v.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:B,inputs:{tabIndex:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",z=>null==z?void 0:(0,v.numberAttribute)(z)]},features:[v.\u0275\u0275InputTransformsFeature,v.\u0275\u0275InheritDefinitionFeature]})}return B})(),I=(()=>{class B extends w{constructor(z,X,G,j){super(z,X,G,j)}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("aria-disabled",G._getAriaDisabled()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:c,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._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(100% + 4px);width:calc(100% + 4px);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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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}.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._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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.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})}return B})(),O=(()=>{class B extends D{constructor(z,X,G,j){super(z,X,G,j)}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("tabindex",G.disabled&&!G.disabledInteractive?-1:G.tabIndex)("aria-disabled",G._getDisabledAttribute()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:c,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._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(100% + 4px);width:calc(100% + 4px);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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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}.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._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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.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)}',d],encapsulation:2,changeDetection:0})}return B})();const T=new v.InjectionToken("mat-mdc-fab-default-options",{providedIn:"root",factory:N});function N(){return{color:"accent"}}const S=N();let F=(()=>{class B extends w{constructor(z,X,G,j,le){super(z,X,G,j),this._options=le,this._isFab=!0,this._options=this._options||S,this.color=this._options.color||S.color}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8),v.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["button","mat-fab",""]],hostVars:18,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("aria-disabled",G._getAriaDisabled()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0)("mdc-fab--extended",G.extended)("mat-mdc-extended-fab",G.extended))},inputs:{extended:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"extended","extended",v.booleanAttribute]},exportAs:["matButton"],standalone:!0,features:[v.\u0275\u0275InputTransformsFeature,v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:l,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._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);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__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(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__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-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}'],encapsulation:2,changeDetection:0})}return B})(),L=(()=>{class B extends w{constructor(z,X,G,j,le){super(z,X,G,j),this._options=le,this._isFab=!0,this._options=this._options||S,this.color=this._options.color||S.color}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8),v.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("aria-disabled",G._getAriaDisabled()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:a,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return B})(),A=(()=>{class B extends O{constructor(z,X,G,j,le){super(z,X,G,j),this._options=le,this._isFab=!0,this._options=this._options||S,this.color=this._options.color||S.color}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8),v.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["a","mat-fab",""]],hostVars:19,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("tabindex",G.disabled&&!G.disabledInteractive?-1:G.tabIndex)("aria-disabled",G._getDisabledAttribute()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0)("mdc-fab--extended",G.extended)("mat-mdc-extended-fab",G.extended))},inputs:{extended:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"extended","extended",v.booleanAttribute]},exportAs:["matButton","matAnchor"],standalone:!0,features:[v.\u0275\u0275InputTransformsFeature,v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:l,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return B})(),U=(()=>{class B extends O{constructor(z,X,G,j,le){super(z,X,G,j),this._options=le,this._isFab=!0,this._options=this._options||S,this.color=this._options.color||S.color}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8),v.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["a","mat-mini-fab",""]],hostVars:15,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("tabindex",G.disabled&&!G.disabledInteractive?-1:G.tabIndex)("aria-disabled",G._getDisabledAttribute()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:a,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return B})(),K=(()=>{class B extends w{constructor(z,X,G,j){super(z,X,G,j),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("aria-disabled",G._getAriaDisabled()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:u,ngContentSelectors:h,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(X,G){1&X&&(v.\u0275\u0275projectionDef(),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\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{color:var(--mdc-icon-button-icon-color)}.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{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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}.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-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.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}',d],encapsulation:2,changeDetection:0})}return B})(),ee=(()=>{class B extends D{constructor(z,X,G,j){super(z,X,G,j)}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("tabindex",G.disabled&&!G.disabledInteractive?-1:G.tabIndex)("aria-disabled",G._getDisabledAttribute()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:u,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._isFab)},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{color:var(--mdc-icon-button-icon-color)}.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{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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}.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-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.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}',d],encapsulation:2,changeDetection:0})}return B})(),ne=(()=>{class B{static#e=this.\u0275fac=function(X){return new(X||B)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:B});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({imports:[E.MatCommonModule,E.MatRippleModule,E.MatCommonModule]})}return B})()},2080:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_CARD_CONFIG:()=>d,MatCard:()=>l,MatCardActions:()=>p,MatCardAvatar:()=>O,MatCardContent:()=>u,MatCardFooter:()=>y,MatCardHeader:()=>_,MatCardImage:()=>M,MatCardLgImage:()=>D,MatCardMdImage:()=>k,MatCardModule:()=>N,MatCardSmImage:()=>w,MatCardSubtitle:()=>h,MatCardTitle:()=>a,MatCardTitleGroup:()=>r,MatCardXlImage:()=>I});var t=g(4496),v=g(1368),C=g(3576);const E=["*"],c=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["","mat-card-image",""],["","matCardImage",""],["","mat-card-sm-image",""],["","matCardImageSmall",""],["","mat-card-md-image",""],["","matCardImageMedium",""],["","mat-card-lg-image",""],["","matCardImageLarge",""],["","mat-card-xl-image",""],["","matCardImageXLarge",""]],"*"],b=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","[mat-card-image], [matCardImage],\n [mat-card-sm-image], [matCardImageSmall],\n [mat-card-md-image], [matCardImageMedium],\n [mat-card-lg-image], [matCardImageLarge],\n [mat-card-xl-image], [matCardImageXLarge]","*"],s=[[["","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]","*"],d=new t.InjectionToken("MAT_CARD_CONFIG");let l=(()=>{class S{constructor(L){this.appearance=L?.appearance||"raised"}static#e=this.\u0275fac=function(A){return new(A||S)(t.\u0275\u0275directiveInject(d,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:S,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(A,U){2&A&&t.\u0275\u0275classProp("mat-mdc-card-outlined","outlined"===U.appearance)("mdc-card--outlined","outlined"===U.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],ngContentSelectors:E,decls:1,vars:0,template:function(A,U){1&A&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return S})(),a=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0})}return S})(),r=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:S,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-mdc-card-title-group"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],ngContentSelectors:b,decls:4,vars:0,template:function(A,U){1&A&&(t.\u0275\u0275projectionDef(c),t.\u0275\u0275elementStart(0,"div"),t.\u0275\u0275projection(1),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(2,1),t.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0})}return S})(),u=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}return S})(),h=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"],standalone:!0})}return S})(),p=(()=>{class S{constructor(){this.align="start"}static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(A,U){2&A&&t.\u0275\u0275classProp("mat-mdc-card-actions-align-end","end"===U.align)},inputs:{align:"align"},exportAs:["matCardActions"],standalone:!0})}return S})(),_=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:S,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(A,U){1&A&&(t.\u0275\u0275projectionDef(s),t.\u0275\u0275projection(0),t.\u0275\u0275elementStart(1,"div",0),t.\u0275\u0275projection(2,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0})}return S})(),y=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-mdc-card-footer"],standalone:!0})}return S})(),M=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"],standalone:!0})}return S})(),w=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-mdc-card-sm-image","mdc-card__media"],standalone:!0})}return S})(),k=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-mdc-card-md-image","mdc-card__media"],standalone:!0})}return S})(),D=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-mdc-card-lg-image","mdc-card__media"],standalone:!0})}return S})(),I=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-mdc-card-xl-image","mdc-card__media"],standalone:!0})}return S})(),O=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"],standalone:!0})}return S})(),N=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:S});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[C.MatCommonModule,v.CommonModule,C.MatCommonModule]})}return S})()},3840:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>l,MAT_CHECKBOX_DEFAULT_OPTIONS:()=>s,MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>f,MAT_CHECKBOX_REQUIRED_VALIDATOR:()=>p,MatCheckbox:()=>h,MatCheckboxChange:()=>a,MatCheckboxModule:()=>M,MatCheckboxRequiredValidator:()=>_,TransitionCheckState:()=>d,_MatCheckboxRequiredValidatorModule:()=>y});var t=g(4496),v=g(6504),C=g(3576);const E=["input"],c=["label"],b=["*"],s=new t.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent",clickAction:"check-indeterminate"}}var d=function(w){return w[w.Init=0]="Init",w[w.Checked=1]="Checked",w[w.Unchecked=2]="Unchecked",w[w.Indeterminate=3]="Indeterminate",w}(d||{});const l={provide:v.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(()=>h),multi:!0};class a{}let r=0;const u=f();let h=(()=>{class w{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(D){const I=new a;return I.source=this,I.checked=D,I}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(D,I,O,T,N,S){this._elementRef=D,this._changeDetectorRef=I,this._ngZone=O,this._animationMode=N,this._options=S,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new t.EventEmitter,this.indeterminateChange=new t.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=d.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||u,this.color=this._options.color||u.color,this.tabIndex=parseInt(T)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++r}ngOnChanges(D){D.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(D){D!=this.checked&&(this._checked=D,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(D){D!==this.disabled&&(this._disabled=D,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(D){const I=D!=this._indeterminate;this._indeterminate=D,I&&(this._transitionCheckState(this._indeterminate?d.Indeterminate:this.checked?d.Checked:d.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(D){this.checked=!!D}registerOnChange(D){this._controlValueAccessorChangeFn=D}registerOnTouched(D){this._onTouched=D}setDisabledState(D){this.disabled=D}validate(D){return this.required&&!0!==D.value?{required:!0}:null}registerOnValidatorChange(D){this._validatorChangeFn=D}_transitionCheckState(D){let I=this._currentCheckState,O=this._getAnimationTargetElement();if(I!==D&&O&&(this._currentAnimationClass&&O.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(I,D),this._currentCheckState=D,this._currentAnimationClass.length>0)){O.classList.add(this._currentAnimationClass);const T=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{O.classList.remove(T)},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 D=this._options?.clickAction;this.disabled||"noop"===D?!this.disabled&&"noop"===D&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==D&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?d.Checked:d.Unchecked),this._emitChangeEvent())}_onInteractionEvent(D){D.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(D,I){if("NoopAnimations"===this._animationMode)return"";switch(D){case d.Init:if(I===d.Checked)return this._animationClasses.uncheckedToChecked;if(I==d.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case d.Unchecked:return I===d.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case d.Checked:return I===d.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case d.Indeterminate:return I===d.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(D){const I=this._inputElement;I&&(I.nativeElement.indeterminate=D)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(D){D.target&&this._labelElement.nativeElement.contains(D.target)&&D.stopPropagation()}static#e=this.\u0275fac=function(I){return new(I||w)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275injectAttribute("tabindex"),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(s,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:w,selectors:[["mat-checkbox"]],viewQuery:function(I,O){if(1&I&&(t.\u0275\u0275viewQuery(E,5),t.\u0275\u0275viewQuery(c,5),t.\u0275\u0275viewQuery(C.MatRipple,5)),2&I){let T;t.\u0275\u0275queryRefresh(T=t.\u0275\u0275loadQuery())&&(O._inputElement=T.first),t.\u0275\u0275queryRefresh(T=t.\u0275\u0275loadQuery())&&(O._labelElement=T.first),t.\u0275\u0275queryRefresh(T=t.\u0275\u0275loadQuery())&&(O.ripple=T.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(I,O){2&I&&(t.\u0275\u0275hostProperty("id",O.id),t.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),t.\u0275\u0275classMap(O.color?"mat-"+O.color:"mat-accent"),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode)("mdc-checkbox--disabled",O.disabled)("mat-mdc-checkbox-disabled",O.disabled)("mat-mdc-checkbox-checked",O.checked))},inputs:{ariaLabel:[t.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[t.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[t.\u0275\u0275InputFlags.None,"aria-describedby","ariaDescribedby"],id:"id",required:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"required","required",t.booleanAttribute],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute],tabIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",D=>null==D?void 0:(0,t.numberAttribute)(D)],color:"color",checked:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"checked","checked",t.booleanAttribute],disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],indeterminate:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"indeterminate","indeterminate",t.booleanAttribute]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([l,{provide:v.NG_VALIDATORS,useExisting:w,multi:!0}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:b,decls:15,vars:19,consts:[["mat-internal-form-field","",3,"labelPosition","click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(I,O){if(1&I&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"div",0),t.\u0275\u0275listener("click",function(N){return O._preventBubblingFromLabel(N)}),t.\u0275\u0275elementStart(1,"div",1,2)(3,"div",3),t.\u0275\u0275listener("click",function(){return O._onTouchTargetClick()}),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"input",4,5),t.\u0275\u0275listener("blur",function(){return O._onBlur()})("click",function(){return O._onInputClick()})("change",function(N){return O._onInteractionEvent(N)}),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(6,"div",6),t.\u0275\u0275elementStart(7,"div",7),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(8,"svg",8),t.\u0275\u0275element(9,"path",9),t.\u0275\u0275elementEnd(),t.\u0275\u0275namespaceHTML(),t.\u0275\u0275element(10,"div",10),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(11,"div",11),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(12,"label",12,13),t.\u0275\u0275projection(14),t.\u0275\u0275elementEnd()()),2&I){const T=t.\u0275\u0275reference(2);t.\u0275\u0275property("labelPosition",O.labelPosition),t.\u0275\u0275advance(4),t.\u0275\u0275classProp("mdc-checkbox--selected",O.checked),t.\u0275\u0275property("checked",O.checked)("indeterminate",O.indeterminate)("disabled",O.disabled)("id",O.inputId)("required",O.required)("tabIndex",O.disabled?-1:O.tabIndex),t.\u0275\u0275attribute("aria-label",O.ariaLabel||null)("aria-labelledby",O.ariaLabelledby)("aria-describedby",O.ariaDescribedby)("aria-checked",O.indeterminate?"mixed":null)("name",O.name)("value",O.value),t.\u0275\u0275advance(7),t.\u0275\u0275property("matRippleTrigger",T)("matRippleDisabled",O.disableRipple||O.disabled)("matRippleCentered",!0),t.\u0275\u0275advance(),t.\u0275\u0275property("for",O.inputId)}},dependencies:[C.MatRipple,C._MatInternalFormField],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return w})();const p={provide:v.NG_VALIDATORS,useExisting:(0,t.forwardRef)(()=>_),multi:!0};let _=(()=>{class w extends v.CheckboxRequiredValidator{static#e=this.\u0275fac=(()=>{let D;return function(O){return(D||(D=t.\u0275\u0275getInheritedFactory(w)))(O||w)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:w,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([p]),t.\u0275\u0275InheritDefinitionFeature]})}return w})(),y=(()=>{class w{static#e=this.\u0275fac=function(I){return new(I||w)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:w});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return w})(),M=(()=>{class w{static#e=this.\u0275fac=function(I){return new(I||w)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:w});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[h,C.MatCommonModule,C.MatCommonModule]})}return w})()},3576:(De,te,g)=>{"use strict";g.r(te),g.d(te,{AnimationCurves:()=>O,AnimationDurations:()=>T,DateAdapter:()=>le,ErrorStateMatcher:()=>Qe,MATERIAL_SANITY_CHECKS:()=>S,MAT_DATE_FORMATS:()=>ue,MAT_DATE_LOCALE:()=>G,MAT_DATE_LOCALE_FACTORY:()=>j,MAT_NATIVE_DATE_FORMATS:()=>ct,MAT_OPTGROUP:()=>xe,MAT_OPTION_PARENT_COMPONENT:()=>Ot,MAT_RIPPLE_GLOBAL_OPTIONS:()=>on,MatCommonModule:()=>F,MatLine:()=>Be,MatLineModule:()=>q,MatNativeDateModule:()=>Re,MatOptgroup:()=>rt,MatOption:()=>nt,MatOptionModule:()=>He,MatOptionSelectionChange:()=>At,MatPseudoCheckbox:()=>Jt,MatPseudoCheckboxModule:()=>an,MatRipple:()=>tn,MatRippleLoader:()=>Ge,MatRippleModule:()=>gn,NativeDateAdapter:()=>_t,NativeDateModule:()=>Ct,RippleRef:()=>Oe,RippleRenderer:()=>Gt,RippleState:()=>ye,ShowOnDirtyErrorStateMatcher:()=>pe,VERSION:()=>I,_ErrorStateTracker:()=>H,_MatInternalFormField:()=>kt,_countGroupLabelsBeforeOption:()=>vt,_getOptionScrollPosition:()=>Le,defaultRippleAnimationConfig:()=>Ve,mixinColor:()=>ee,mixinDisableRipple:()=>ne,mixinDisabled:()=>K,mixinErrorState:()=>z,mixinInitialized:()=>X,mixinTabIndex:()=>B,provideNativeDateAdapter:()=>ke,setLines:()=>Ie});var t=g(4496),v=g(1336),C=g(1900),c=g(1368),b=g(5792),s=g(7712),f=g(3252),d=g(5657),l=g(5568),a=g(5420);const r=["*",[["mat-option"],["ng-container"]]],u=["*","mat-option, ng-container"],h=["text"];function p(dt,xt){if(1&dt&&t.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&dt){const qe=t.\u0275\u0275nextContext();t.\u0275\u0275property("disabled",qe.disabled)("state",qe.selected?"checked":"unchecked")}}function _(dt,xt){if(1&dt&&t.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&dt){const qe=t.\u0275\u0275nextContext();t.\u0275\u0275property("disabled",qe.disabled)}}function y(dt,xt){if(1&dt&&(t.\u0275\u0275elementStart(0,"span",8),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&dt){const qe=t.\u0275\u0275nextContext();t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1("(",qe.group.label,")")}}const M=[[["mat-icon"]],"*"],w=["mat-icon","*"],k=["mat-internal-form-field",""],D=["*"],I=new t.Version("17.2.0");let O=(()=>{class dt{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#n=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#i=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return dt})(),T=(()=>{class dt{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#n=this.EXITING="195ms"}return dt})();const S=new t.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function N(){return!0}});let F=(()=>{class dt{constructor(qe,Fe,et){this._sanityChecks=Fe,this._document=et,this._hasDoneGlobalChecks=!1,qe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(qe){return!(0,b.mW)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[qe])}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)(t.\u0275\u0275inject(v.MM),t.\u0275\u0275inject(S,8),t.\u0275\u0275inject(c.DOCUMENT))};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[C.gN,C.gN]})}return dt})();function K(dt){return class extends dt{get disabled(){return this._disabled}set disabled(xt){this._disabled=(0,s.W6)(xt)}constructor(...xt){super(...xt),this._disabled=!1}}}function ee(dt,xt){return class extends dt{get color(){return this._color}set color(qe){const Fe=qe||this.defaultColor;Fe!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Fe&&this._elementRef.nativeElement.classList.add(`mat-${Fe}`),this._color=Fe)}constructor(...qe){super(...qe),this.defaultColor=xt,this.color=xt}}}function ne(dt){return class extends dt{get disableRipple(){return this._disableRipple}set disableRipple(xt){this._disableRipple=(0,s.W6)(xt)}constructor(...xt){super(...xt),this._disableRipple=!1}}}function B(dt,xt=0){return class extends dt{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(qe){this._tabIndex=null!=qe?(0,s.wZ)(qe):this.defaultTabIndex}constructor(...qe){super(...qe),this._tabIndex=xt,this.defaultTabIndex=xt}}}class H{constructor(xt,qe,Fe,et,Ke){this._defaultMatcher=xt,this.ngControl=qe,this._parentFormGroup=Fe,this._parentForm=et,this._stateChanges=Ke,this.errorState=!1}updateErrorState(){const xt=this.errorState,qe=this._parentFormGroup||this._parentForm,Fe=this.matcher||this._defaultMatcher,et=this.ngControl?this.ngControl.control:null,Ke=Fe?.isErrorState(et,qe)??!1;Ke!==xt&&(this.errorState=Ke,this._stateChanges.next())}}function z(dt){return class extends dt{get errorState(){return this._getTracker().errorState}set errorState(xt){this._getTracker().errorState=xt}get errorStateMatcher(){return this._getTracker().matcher}set errorStateMatcher(xt){this._getTracker().matcher=xt}updateErrorState(){this._getTracker().updateErrorState()}_getTracker(){return this._tracker||(this._tracker=new H(this._defaultErrorStateMatcher,this.ngControl,this._parentFormGroup,this._parentForm,this.stateChanges)),this._tracker}constructor(...xt){super(...xt)}}}function X(dt){return class extends dt{constructor(...xt){super(...xt),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new f._(qe=>{this._isInitialized?this._notifySubscriber(qe):this._pendingSubscribers.push(qe)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(xt){xt.next(),xt.complete()}}}const G=new t.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:j});function j(){return(0,t.inject)(t.LOCALE_ID)}class le{constructor(){this._localeChanges=new d.E,this.localeChanges=this._localeChanges}getValidDateOrNull(xt){return this.isDateInstance(xt)&&this.isValid(xt)?xt:null}deserialize(xt){return null==xt||this.isDateInstance(xt)&&this.isValid(xt)?xt:this.invalid()}setLocale(xt){this.locale=xt,this._localeChanges.next()}compareDate(xt,qe){return this.getYear(xt)-this.getYear(qe)||this.getMonth(xt)-this.getMonth(qe)||this.getDate(xt)-this.getDate(qe)}sameDate(xt,qe){if(xt&&qe){let Fe=this.isValid(xt),et=this.isValid(qe);return Fe&&et?!this.compareDate(xt,qe):Fe==et}return xt==qe}clampDate(xt,qe,Fe){return qe&&this.compareDate(xt,qe)<0?qe:Fe&&this.compareDate(xt,Fe)>0?Fe:xt}}const ue=new t.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 Je(dt,xt){const qe=Array(dt);for(let Fe=0;Fe{class dt extends le{constructor(qe){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,t.inject)(G,{optional:!0}),void 0!==qe&&(this._matDateLocale=qe),super.setLocale(this._matDateLocale)}getYear(qe){return qe.getFullYear()}getMonth(qe){return qe.getMonth()}getDate(qe){return qe.getDate()}getDayOfWeek(qe){return qe.getDay()}getMonthNames(qe){const Fe=new Intl.DateTimeFormat(this.locale,{month:qe,timeZone:"utc"});return Je(12,et=>this._format(Fe,new Date(2017,et,1)))}getDateNames(){const qe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Je(31,Fe=>this._format(qe,new Date(2017,0,Fe+1)))}getDayOfWeekNames(qe){const Fe=new Intl.DateTimeFormat(this.locale,{weekday:qe,timeZone:"utc"});return Je(7,et=>this._format(Fe,new Date(2017,0,et+1)))}getYearName(qe){const Fe=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Fe,qe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(qe){return this.getDate(this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe)+1,0))}clone(qe){return new Date(qe.getTime())}createDate(qe,Fe,et){let Ke=this._createDateWithOverflow(qe,Fe,et);return Ke.getMonth(),Ke}today(){return new Date}parse(qe,Fe){return"number"==typeof qe?new Date(qe):qe?new Date(Date.parse(qe)):null}format(qe,Fe){if(!this.isValid(qe))throw Error("NativeDateAdapter: Cannot format invalid date.");const et=new Intl.DateTimeFormat(this.locale,{...Fe,timeZone:"utc"});return this._format(et,qe)}addCalendarYears(qe,Fe){return this.addCalendarMonths(qe,12*Fe)}addCalendarMonths(qe,Fe){let et=this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe)+Fe,this.getDate(qe));return this.getMonth(et)!=((this.getMonth(qe)+Fe)%12+12)%12&&(et=this._createDateWithOverflow(this.getYear(et),this.getMonth(et),0)),et}addCalendarDays(qe,Fe){return this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe),this.getDate(qe)+Fe)}toIso8601(qe){return[qe.getUTCFullYear(),this._2digit(qe.getUTCMonth()+1),this._2digit(qe.getUTCDate())].join("-")}deserialize(qe){if("string"==typeof qe){if(!qe)return null;if(ve.test(qe)){let Fe=new Date(qe);if(this.isValid(Fe))return Fe}}return super.deserialize(qe)}isDateInstance(qe){return qe instanceof Date}isValid(qe){return!isNaN(qe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(qe,Fe,et){const Ke=new Date;return Ke.setFullYear(qe,Fe,et),Ke.setHours(0,0,0,0),Ke}_2digit(qe){return("00"+qe).slice(-2)}_format(qe,Fe){const et=new Date;return et.setUTCFullYear(Fe.getFullYear(),Fe.getMonth(),Fe.getDate()),et.setUTCHours(Fe.getHours(),Fe.getMinutes(),Fe.getSeconds(),Fe.getMilliseconds()),qe.format(et)}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)(t.\u0275\u0275inject(G,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:dt,factory:dt.\u0275fac})}return dt})();const ct={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 Ct=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[{provide:le,useClass:_t}]})}return dt})(),Re=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[ke()]})}return dt})();function ke(dt=ct){return[{provide:le,useClass:_t},{provide:ue,useValue:dt}]}let pe=(()=>{class dt{isErrorState(qe,Fe){return!!(qe&&qe.invalid&&(qe.dirty||Fe&&Fe.submitted))}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:dt,factory:dt.\u0275fac})}return dt})(),Qe=(()=>{class dt{isErrorState(qe,Fe){return!!(qe&&qe.invalid&&(qe.touched||Fe&&Fe.submitted))}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})(),Be=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:dt,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"],standalone:!0})}return dt})();function Ie(dt,xt,qe="mat"){dt.changes.pipe((0,l.W)(dt)).subscribe(({length:Fe})=>{je(xt,`${qe}-2-line`,!1),je(xt,`${qe}-3-line`,!1),je(xt,`${qe}-multi-line`,!1),2===Fe||3===Fe?je(xt,`${qe}-${Fe}-line`,!0):Fe>3&&je(xt,`${qe}-multi-line`,!0)})}function je(dt,xt,qe){dt.nativeElement.classList.toggle(xt,qe)}let q=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[F,F]})}return dt})();var ye=function(dt){return dt[dt.FADING_IN=0]="FADING_IN",dt[dt.VISIBLE=1]="VISIBLE",dt[dt.FADING_OUT=2]="FADING_OUT",dt[dt.HIDDEN=3]="HIDDEN",dt}(ye||{});class Oe{constructor(xt,qe,Fe,et=!1){this._renderer=xt,this.element=qe,this.config=Fe,this._animationForciblyDisabledThroughCss=et,this.state=ye.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const Xe=(0,b.W4)({passive:!0,capture:!0});class ge{constructor(){this._events=new Map,this._delegateEventHandler=xt=>{const qe=(0,b.oZ)(xt);qe&&this._events.get(xt.type)?.forEach((Fe,et)=>{(et===qe||et.contains(qe))&&Fe.forEach(Ke=>Ke.handleEvent(xt))})}}addHandler(xt,qe,Fe,et){const Ke=this._events.get(qe);if(Ke){const ft=Ke.get(Fe);ft?ft.add(et):Ke.set(Fe,new Set([et]))}else this._events.set(qe,new Map([[Fe,new Set([et])]])),xt.runOutsideAngular(()=>{document.addEventListener(qe,this._delegateEventHandler,Xe)})}removeHandler(xt,qe,Fe){const et=this._events.get(xt);if(!et)return;const Ke=et.get(qe);Ke&&(Ke.delete(Fe),0===Ke.size&&et.delete(qe),0===et.size&&(this._events.delete(xt),document.removeEventListener(xt,this._delegateEventHandler,Xe)))}}const Ve={enterDuration:225,exitDuration:150},ze=(0,b.W4)({passive:!0,capture:!0}),pt=["mousedown","touchstart"],Pt=["mouseup","mouseleave","touchend","touchcancel"];class Gt{static#e=this._eventManager=new ge;constructor(xt,qe,Fe,et){this._target=xt,this._ngZone=qe,this._platform=et,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,et.isBrowser&&(this._containerElement=(0,s.mk)(Fe))}fadeInRipple(xt,qe,Fe={}){const et=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ke={...Ve,...Fe.animation};Fe.centered&&(xt=et.left+et.width/2,qe=et.top+et.height/2);const ft=Fe.radius||function rn(dt,xt,qe){const Fe=Math.max(Math.abs(dt-qe.left),Math.abs(dt-qe.right)),et=Math.max(Math.abs(xt-qe.top),Math.abs(xt-qe.bottom));return Math.sqrt(Fe*Fe+et*et)}(xt,qe,et),Bt=xt-et.left,qt=qe-et.top,fn=Ke.enterDuration,ln=document.createElement("div");ln.classList.add("mat-ripple-element"),ln.style.left=Bt-ft+"px",ln.style.top=qt-ft+"px",ln.style.height=2*ft+"px",ln.style.width=2*ft+"px",null!=Fe.color&&(ln.style.backgroundColor=Fe.color),ln.style.transitionDuration=`${fn}ms`,this._containerElement.appendChild(ln);const An=window.getComputedStyle(ln),Si=An.transitionDuration,Fi="none"===An.transitionProperty||"0s"===Si||"0s, 0s"===Si||0===et.width&&0===et.height,si=new Oe(this,ln,Fe,Fi);ln.style.transform="scale3d(1, 1, 1)",si.state=ye.FADING_IN,Fe.persistent||(this._mostRecentTransientRipple=si);let Ji=null;return!Fi&&(fn||Ke.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const mi=()=>this._finishRippleTransition(si),ji=()=>this._destroyRipple(si);ln.addEventListener("transitionend",mi),ln.addEventListener("transitioncancel",ji),Ji={onTransitionEnd:mi,onTransitionCancel:ji}}),this._activeRipples.set(si,Ji),(Fi||!fn)&&this._finishRippleTransition(si),si}fadeOutRipple(xt){if(xt.state===ye.FADING_OUT||xt.state===ye.HIDDEN)return;const qe=xt.element,Fe={...Ve,...xt.config.animation};qe.style.transitionDuration=`${Fe.exitDuration}ms`,qe.style.opacity="0",xt.state=ye.FADING_OUT,(xt._animationForciblyDisabledThroughCss||!Fe.exitDuration)&&this._finishRippleTransition(xt)}fadeOutAll(){this._getActiveRipples().forEach(xt=>xt.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(xt=>{xt.config.persistent||xt.fadeOut()})}setupTriggerEvents(xt){const qe=(0,s.mk)(xt);!this._platform.isBrowser||!qe||qe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=qe,pt.forEach(Fe=>{Gt._eventManager.addHandler(this._ngZone,Fe,qe,this)}))}handleEvent(xt){"mousedown"===xt.type?this._onMousedown(xt):"touchstart"===xt.type?this._onTouchStart(xt):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Pt.forEach(qe=>{this._triggerElement.addEventListener(qe,this,ze)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(xt){xt.state===ye.FADING_IN?this._startFadeOutTransition(xt):xt.state===ye.FADING_OUT&&this._destroyRipple(xt)}_startFadeOutTransition(xt){const qe=xt===this._mostRecentTransientRipple,{persistent:Fe}=xt.config;xt.state=ye.VISIBLE,!Fe&&(!qe||!this._isPointerDown)&&xt.fadeOut()}_destroyRipple(xt){const qe=this._activeRipples.get(xt)??null;this._activeRipples.delete(xt),this._activeRipples.size||(this._containerRect=null),xt===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),xt.state=ye.HIDDEN,null!==qe&&(xt.element.removeEventListener("transitionend",qe.onTransitionEnd),xt.element.removeEventListener("transitioncancel",qe.onTransitionCancel)),xt.element.remove()}_onMousedown(xt){const qe=(0,v.G3)(xt),Fe=this._lastTouchStartEvent&&Date.now(){!xt.config.persistent&&(xt.state===ye.VISIBLE||xt.config.terminateOnPointerUp&&xt.state===ye.FADING_IN)&&xt.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const xt=this._triggerElement;xt&&(pt.forEach(qe=>Gt._eventManager.removeHandler(qe,xt,this)),this._pointerUpEventsRegistered&&Pt.forEach(qe=>xt.removeEventListener(qe,this,ze)))}}const on=new t.InjectionToken("mat-ripple-global-options");let tn=(()=>{class dt{get disabled(){return this._disabled}set disabled(qe){qe&&this.fadeOutAllNonPersistent(),this._disabled=qe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(qe){this._trigger=qe,this._setupTriggerEventsIfEnabled()}constructor(qe,Fe,et,Ke,ft){this._elementRef=qe,this._animationMode=ft,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ke||{},this._rippleRenderer=new Gt(this,Fe,qe,et)}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(qe,Fe=0,et){return"number"==typeof qe?this._rippleRenderer.fadeInRipple(qe,Fe,{...this.rippleConfig,...et}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...qe})}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(b.WU),t.\u0275\u0275directiveInject(on,8),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:dt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Fe,et){2&Fe&&t.\u0275\u0275classProp("mat-ripple-unbounded",et.unbounded)},inputs:{color:[t.\u0275\u0275InputFlags.None,"matRippleColor","color"],unbounded:[t.\u0275\u0275InputFlags.None,"matRippleUnbounded","unbounded"],centered:[t.\u0275\u0275InputFlags.None,"matRippleCentered","centered"],radius:[t.\u0275\u0275InputFlags.None,"matRippleRadius","radius"],animation:[t.\u0275\u0275InputFlags.None,"matRippleAnimation","animation"],disabled:[t.\u0275\u0275InputFlags.None,"matRippleDisabled","disabled"],trigger:[t.\u0275\u0275InputFlags.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return dt})(),gn=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[F,F]})}return dt})(),Jt=(()=>{class dt{constructor(qe){this._animationMode=qe,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)(t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:dt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(Fe,et){2&Fe&&t.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===et.state)("mat-pseudo-checkbox-checked","checked"===et.state)("mat-pseudo-checkbox-disabled",et.disabled)("mat-pseudo-checkbox-minimal","minimal"===et.appearance)("mat-pseudo-checkbox-full","full"===et.appearance)("_mat-animation-noopable","NoopAnimations"===et._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(Fe,et){},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-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.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})}return dt})(),an=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[F]})}return dt})();const Ot=new t.InjectionToken("MAT_OPTION_PARENT_COMPONENT");let Ut=0;const xe=new t.InjectionToken("MatOptgroup");let rt=(()=>{class dt{constructor(qe){this.disabled=!1,this._labelId="mat-optgroup-label-"+Ut++,this._inert=qe?.inertGroups??!1}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)(t.\u0275\u0275directiveInject(Ot,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:dt,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(Fe,et){2&Fe&&t.\u0275\u0275attribute("role",et._inert?null:"group")("aria-disabled",et._inert?null:et.disabled.toString())("aria-labelledby",et._inert?null:et._labelId)},inputs:{label:"label",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute]},exportAs:["matOptgroup"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:xe,useExisting:dt}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:u,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(Fe,et){1&Fe&&(t.\u0275\u0275projectionDef(r),t.\u0275\u0275elementStart(0,"span",0)(1,"span",1),t.\u0275\u0275text(2),t.\u0275\u0275projection(3),t.\u0275\u0275elementEnd()(),t.\u0275\u0275projection(4,1)),2&Fe&&(t.\u0275\u0275classProp("mdc-list-item--disabled",et.disabled),t.\u0275\u0275property("id",et._labelId),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1("",et.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})}return dt})(),lt=0;class At{constructor(xt,qe=!1){this.source=xt,this.isUserInput=qe}}let nt=(()=>{class dt{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(qe){this._disabled=qe}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(qe,Fe,et,Ke){this._element=qe,this._changeDetectorRef=Fe,this._parent=et,this.group=Ke,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+lt++,this.onSelectionChange=new t.EventEmitter,this._stateChanges=new d.E}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(qe=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),qe&&this._emitSelectionChangeEvent())}deselect(qe=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),qe&&this._emitSelectionChangeEvent())}focus(qe,Fe){const et=this._getHostElement();"function"==typeof et.focus&&et.focus(Fe)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(qe){(qe.keyCode===a.wJ||qe.keyCode===a.Gi)&&!(0,a.Yp)(qe)&&(this._selectViaInteraction(),qe.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 qe=this.viewValue;qe!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=qe)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(qe=!1){this.onSelectionChange.emit(new At(this,qe))}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(Ot,8),t.\u0275\u0275directiveInject(xe,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:dt,selectors:[["mat-option"]],viewQuery:function(Fe,et){if(1&Fe&&t.\u0275\u0275viewQuery(h,7),2&Fe){let Ke;t.\u0275\u0275queryRefresh(Ke=t.\u0275\u0275loadQuery())&&(et._text=Ke.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(Fe,et){1&Fe&&t.\u0275\u0275listener("click",function(){return et._selectViaInteraction()})("keydown",function(ft){return et._handleKeydown(ft)}),2&Fe&&(t.\u0275\u0275hostProperty("id",et.id),t.\u0275\u0275attribute("aria-selected",et.selected)("aria-disabled",et.disabled.toString()),t.\u0275\u0275classProp("mdc-list-item--selected",et.selected)("mat-mdc-option-multiple",et.multiple)("mat-mdc-option-active",et.active)("mdc-list-item--disabled",et.disabled))},inputs:{value:"value",id:"id",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:w,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["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(Fe,et){1&Fe&&(t.\u0275\u0275projectionDef(M),t.\u0275\u0275template(0,p,1,2,"mat-pseudo-checkbox",0),t.\u0275\u0275projection(1),t.\u0275\u0275elementStart(2,"span",1,2),t.\u0275\u0275projection(4,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(5,_,1,1,"mat-pseudo-checkbox",3)(6,y,2,1,"span",4),t.\u0275\u0275element(7,"div",5)),2&Fe&&(t.\u0275\u0275conditional(0,et.multiple?0:-1),t.\u0275\u0275advance(5),t.\u0275\u0275conditional(5,et.multiple||!et.selected||et.hideSingleSelectionIndicator?-1:5),t.\u0275\u0275advance(),t.\u0275\u0275conditional(6,et.group&&et.group._inert?6:-1),t.\u0275\u0275advance(),t.\u0275\u0275property("matRippleTrigger",et._getHostElement())("matRippleDisabled",et.disabled||et.disableRipple))},dependencies:[Jt,tn],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;background:rgba(0,0,0,0)}.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-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return dt})();function vt(dt,xt,qe){if(qe.length){let Fe=xt.toArray(),et=qe.toArray(),Ke=0;for(let ft=0;ftqe+Fe?Math.max(0,dt-Fe+xt):qe}let He=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[gn,F,an]})}return dt})();const st={capture:!0},Te=["focus","click","mouseenter","touchstart"],Pe="mat-ripple-loader-uninitialized",bt="mat-ripple-loader-class-name",Me="mat-ripple-loader-centered",$e="mat-ripple-loader-disabled";let Ge=(()=>{class dt{constructor(){this._document=(0,t.inject)(c.DOCUMENT,{optional:!0}),this._animationMode=(0,t.inject)(t.ANIMATION_MODULE_TYPE,{optional:!0}),this._globalRippleOptions=(0,t.inject)(on,{optional:!0}),this._platform=(0,t.inject)(b.WU),this._ngZone=(0,t.inject)(t.NgZone),this._hosts=new Map,this._onInteraction=qe=>{if(!(qe.target instanceof HTMLElement))return;const et=qe.target.closest(`[${Pe}]`);et&&this._createRipple(et)},this._ngZone.runOutsideAngular(()=>{for(const qe of Te)this._document?.addEventListener(qe,this._onInteraction,st)})}ngOnDestroy(){const qe=this._hosts.keys();for(const Fe of qe)this.destroyRipple(Fe);for(const Fe of Te)this._document?.removeEventListener(Fe,this._onInteraction,st)}configureRipple(qe,Fe){qe.setAttribute(Pe,""),(Fe.className||!qe.hasAttribute(bt))&&qe.setAttribute(bt,Fe.className||""),Fe.centered&&qe.setAttribute(Me,""),Fe.disabled&&qe.setAttribute($e,"")}getRipple(qe){return this._hosts.get(qe)||this._createRipple(qe)}setDisabled(qe,Fe){const et=this._hosts.get(qe);et?et.disabled=Fe:Fe?qe.setAttribute($e,""):qe.removeAttribute($e)}_createRipple(qe){if(!this._document)return;const Fe=this._hosts.get(qe);if(Fe)return Fe;qe.querySelector(".mat-ripple")?.remove();const et=this._document.createElement("span");et.classList.add("mat-ripple",qe.getAttribute(bt)),qe.append(et);const Ke=new tn(new t.ElementRef(et),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ke._isInitialized=!0,Ke.trigger=qe,Ke.centered=qe.hasAttribute(Me),Ke.disabled=qe.hasAttribute($e),this.attachRipple(qe,Ke),Ke}attachRipple(qe,Fe){qe.removeAttribute(Pe),this._hosts.set(qe,Fe)}destroyRipple(qe){const Fe=this._hosts.get(qe);Fe&&(Fe.ngOnDestroy(),this._hosts.delete(qe))}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})(),kt=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:dt,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(Fe,et){2&Fe&&t.\u0275\u0275classProp("mdc-form-field--align-end","before"===et.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],attrs:k,ngContentSelectors:D,decls:1,vars:0,template:function(Fe,et){1&Fe&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0})}return dt})()},9120:(De,te,g)=>{"use strict";g.r(te),g.d(te,{DateRange:()=>Xe,DefaultMatCalendarRangeStrategy:()=>on,MAT_DATEPICKER_SCROLL_STRATEGY:()=>bt,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>Me,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>$e,MAT_DATEPICKER_VALIDATORS:()=>Ke,MAT_DATEPICKER_VALUE_ACCESSOR:()=>et,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>rn,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>Pt,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>Gt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>ze,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>pt,MatCalendar:()=>st,MatCalendarBody:()=>Qe,MatCalendarCell:()=>ct,MatCalendarHeader:()=>He,MatDateRangeInput:()=>rr,MatDateRangePicker:()=>se,MatDateSelectionModel:()=>ge,MatDatepicker:()=>dt,MatDatepickerActions:()=>fe,MatDatepickerApply:()=>at,MatDatepickerCancel:()=>ae,MatDatepickerContent:()=>Ge,MatDatepickerInput:()=>ft,MatDatepickerInputEvent:()=>xt,MatDatepickerIntl:()=>_t,MatDatepickerModule:()=>Ae,MatDatepickerToggle:()=>qt,MatDatepickerToggleIcon:()=>Bt,MatEndDate:()=>mi,MatMonthView:()=>an,MatMultiYearView:()=>xe,MatRangeDateSelectionModel:()=>ot,MatSingleDateSelectionModel:()=>Ve,MatStartDate:()=>Ji,MatYearView:()=>vt,matDatepickerAnimations:()=>Te,yearsPerPage:()=>Ot,yearsPerRow:()=>Ut});var t=g(1336),v=g(7556),C=g(2488),E=g(1368),c=g(4496),b=g(7816),s=g(1904),f=g(3576),d=g(5657),l=g(6928),a=g(3412),r=g(2700),u=g(5420),h=g(1900),p=g(5792),_=g(3992),y=g(5568),M=g(6684),w=g(7712),k=g(9684),D=g(6504),I=g(4060),O=g(5155);const T=["mat-calendar-body",""];function N(_e,mt){if(1&_e&&(c.\u0275\u0275elementStart(0,"tr",0)(1,"td",2),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd()()),2&_e){const V=c.\u0275\u0275nextContext();c.\u0275\u0275advance(),c.\u0275\u0275styleProp("padding-top",V._cellPadding)("padding-bottom",V._cellPadding),c.\u0275\u0275attribute("colspan",V.numCols),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",V.label," ")}}function S(_e,mt){if(1&_e&&(c.\u0275\u0275elementStart(0,"td",2),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&_e){const V=c.\u0275\u0275nextContext(2);c.\u0275\u0275styleProp("padding-top",V._cellPadding)("padding-bottom",V._cellPadding),c.\u0275\u0275attribute("colspan",V._firstRowOffset),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",V._firstRowOffset>=V.labelMinRequiredCells?V.label:""," ")}}function F(_e,mt){if(1&_e){const V=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"td",5)(1,"button",6),c.\u0275\u0275listener("click",function(de){const wt=c.\u0275\u0275restoreView(V).$implicit,Yt=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(Yt._cellClicked(wt,de))})("focus",function(de){const wt=c.\u0275\u0275restoreView(V).$implicit,Yt=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(Yt._emitActiveDateChange(wt,de))}),c.\u0275\u0275elementStart(2,"span",7),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(4,"span",8),c.\u0275\u0275elementEnd()()}if(2&_e){const V=mt.$implicit,he=mt.$index,de=c.\u0275\u0275nextContext().$index,We=c.\u0275\u0275nextContext();c.\u0275\u0275styleProp("width",We._cellWidth)("padding-top",We._cellPadding)("padding-bottom",We._cellPadding),c.\u0275\u0275attribute("data-mat-row",de)("data-mat-col",he),c.\u0275\u0275advance(),c.\u0275\u0275classProp("mat-calendar-body-disabled",!V.enabled)("mat-calendar-body-active",We._isActiveCell(de,he))("mat-calendar-body-range-start",We._isRangeStart(V.compareValue))("mat-calendar-body-range-end",We._isRangeEnd(V.compareValue))("mat-calendar-body-in-range",We._isInRange(V.compareValue))("mat-calendar-body-comparison-bridge-start",We._isComparisonBridgeStart(V.compareValue,de,he))("mat-calendar-body-comparison-bridge-end",We._isComparisonBridgeEnd(V.compareValue,de,he))("mat-calendar-body-comparison-start",We._isComparisonStart(V.compareValue))("mat-calendar-body-comparison-end",We._isComparisonEnd(V.compareValue))("mat-calendar-body-in-comparison-range",We._isInComparisonRange(V.compareValue))("mat-calendar-body-preview-start",We._isPreviewStart(V.compareValue))("mat-calendar-body-preview-end",We._isPreviewEnd(V.compareValue))("mat-calendar-body-in-preview",We._isInPreview(V.compareValue)),c.\u0275\u0275property("ngClass",V.cssClasses)("tabindex",We._isActiveCell(de,he)?0:-1),c.\u0275\u0275attribute("aria-label",V.ariaLabel)("aria-disabled",!V.enabled||null)("aria-pressed",We._isSelected(V.compareValue))("aria-current",We.todayValue===V.compareValue?"date":null)("aria-describedby",We._getDescribedby(V.compareValue)),c.\u0275\u0275advance(),c.\u0275\u0275classProp("mat-calendar-body-selected",We._isSelected(V.compareValue))("mat-calendar-body-comparison-identical",We._isComparisonIdentical(V.compareValue))("mat-calendar-body-today",We.todayValue===V.compareValue),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",V.displayValue," ")}}function L(_e,mt){if(1&_e&&(c.\u0275\u0275elementStart(0,"tr",3),c.\u0275\u0275template(1,S,2,6,"td",4),c.\u0275\u0275repeaterCreate(2,F,5,48,"td",9,c.\u0275\u0275repeaterTrackByIdentity),c.\u0275\u0275elementEnd()),2&_e){const V=mt.$implicit,he=mt.$index,de=c.\u0275\u0275nextContext();c.\u0275\u0275advance(),c.\u0275\u0275conditional(1,0===he&&de._firstRowOffset?1:-1),c.\u0275\u0275advance(),c.\u0275\u0275repeater(V)}}function A(_e,mt){if(1&_e&&(c.\u0275\u0275elementStart(0,"th",4)(1,"span",5),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(3,"span",6),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()()),2&_e){const V=mt.$implicit;c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(V.long),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(V.narrow)}}const U=["*"];function K(_e,mt){}function ee(_e,mt){if(1&_e){const V=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-month-view",2),c.\u0275\u0275twoWayListener("activeDateChange",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(We.activeDate,de)||(We.activeDate=de),c.\u0275\u0275resetView(de)}),c.\u0275\u0275listener("_userSelection",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._dateSelected(de))})("dragStarted",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._dragStarted(de))})("dragEnded",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._dragEnded(de))}),c.\u0275\u0275elementEnd()}if(2&_e){const V=c.\u0275\u0275nextContext();c.\u0275\u0275twoWayProperty("activeDate",V.activeDate),c.\u0275\u0275property("selected",V.selected)("dateFilter",V.dateFilter)("maxDate",V.maxDate)("minDate",V.minDate)("dateClass",V.dateClass)("comparisonStart",V.comparisonStart)("comparisonEnd",V.comparisonEnd)("startDateAccessibleName",V.startDateAccessibleName)("endDateAccessibleName",V.endDateAccessibleName)("activeDrag",V._activeDrag)}}function ne(_e,mt){if(1&_e){const V=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-year-view",3),c.\u0275\u0275twoWayListener("activeDateChange",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(We.activeDate,de)||(We.activeDate=de),c.\u0275\u0275resetView(de)}),c.\u0275\u0275listener("monthSelected",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._monthSelectedInYearView(de))})("selectedChange",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._goToDateInView(de,"month"))}),c.\u0275\u0275elementEnd()}if(2&_e){const V=c.\u0275\u0275nextContext();c.\u0275\u0275twoWayProperty("activeDate",V.activeDate),c.\u0275\u0275property("selected",V.selected)("dateFilter",V.dateFilter)("maxDate",V.maxDate)("minDate",V.minDate)("dateClass",V.dateClass)}}function B(_e,mt){if(1&_e){const V=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-multi-year-view",4),c.\u0275\u0275twoWayListener("activeDateChange",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(We.activeDate,de)||(We.activeDate=de),c.\u0275\u0275resetView(de)}),c.\u0275\u0275listener("yearSelected",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._yearSelectedInMultiYearView(de))})("selectedChange",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._goToDateInView(de,"year"))}),c.\u0275\u0275elementEnd()}if(2&_e){const V=c.\u0275\u0275nextContext();c.\u0275\u0275twoWayProperty("activeDate",V.activeDate),c.\u0275\u0275property("selected",V.selected)("dateFilter",V.dateFilter)("maxDate",V.maxDate)("minDate",V.minDate)("dateClass",V.dateClass)}}function H(_e,mt){}const z=["button"];function X(_e,mt){1&_e&&(c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(0,"svg",3),c.\u0275\u0275element(1,"path",4),c.\u0275\u0275elementEnd())}const G=[[["","matDatepickerToggleIcon",""]]],j=["[matDatepickerToggleIcon]"],le=[[["input","matStartDate",""]],[["input","matEndDate",""]]],ue=["input[matStartDate]","input[matEndDate]"];function ve(_e,mt){1&_e&&(c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275projection(1),c.\u0275\u0275elementEnd())}let _t=(()=>{class _e{constructor(){this.changes=new d.E,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(V,he){return`${V} \u2013 ${he}`}formatYearRangeLabel(V,he){return`${V} to ${he}`}static#e=this.\u0275fac=function(he){return new(he||_e)};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})();class ct{constructor(mt,V,he,de,We={},wt=mt,Yt){this.value=mt,this.displayValue=V,this.ariaLabel=he,this.enabled=de,this.cssClasses=We,this.compareValue=wt,this.rawValue=Yt}}let Ct=1;const Re=(0,p.W4)({passive:!1,capture:!0}),ke=(0,p.W4)({passive:!0,capture:!0}),pe=(0,p.W4)({passive:!0});let Qe=(()=>{class _e{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(V,he){this._elementRef=V,this._ngZone=he,this._platform=(0,c.inject)(p.WU),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new c.EventEmitter,this.previewChange=new c.EventEmitter,this.activeDateChange=new c.EventEmitter,this.dragStarted=new c.EventEmitter,this.dragEnded=new c.EventEmitter,this._didDragSinceMouseDown=!1,this._enterHandler=de=>{if(this._skipNextFocus&&"focus"===de.type)this._skipNextFocus=!1;else if(de.target&&this.isRange){const We=this._getCellFromElement(de.target);We&&this._ngZone.run(()=>this.previewChange.emit({value:We.enabled?We:null,event:de}))}},this._touchmoveHandler=de=>{if(!this.isRange)return;const We=Oe(de),wt=We?this._getCellFromElement(We):null;We!==de.target&&(this._didDragSinceMouseDown=!0),Ie(de.target)&&de.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:wt?.enabled?wt:null,event:de}))},this._leaveHandler=de=>{null!==this.previewEnd&&this.isRange&&("blur"!==de.type&&(this._didDragSinceMouseDown=!0),de.target&&this._getCellFromElement(de.target)&&(!de.relatedTarget||!this._getCellFromElement(de.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:de})))},this._mousedownHandler=de=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const We=de.target&&this._getCellFromElement(de.target);!We||!this._isInRange(We.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:We.rawValue,event:de})})},this._mouseupHandler=de=>{if(!this.isRange)return;const We=Ie(de.target);We?We.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const wt=this._getCellFromElement(We);this.dragEnded.emit({value:wt?.rawValue??null,event:de})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:de})})},this._touchendHandler=de=>{const We=Oe(de);We&&this._mouseupHandler({target:We})},this._id="mat-calendar-body-"+Ct++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,he.runOutsideAngular(()=>{const de=V.nativeElement;de.addEventListener("touchmove",this._touchmoveHandler,Re),de.addEventListener("mouseenter",this._enterHandler,ke),de.addEventListener("focus",this._enterHandler,ke),de.addEventListener("mouseleave",this._leaveHandler,ke),de.addEventListener("blur",this._leaveHandler,ke),de.addEventListener("mousedown",this._mousedownHandler,pe),de.addEventListener("touchstart",this._mousedownHandler,pe),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(V,he){this._didDragSinceMouseDown||V.enabled&&this.selectedValueChange.emit({value:V.value,event:he})}_emitActiveDateChange(V,he){V.enabled&&this.activeDateChange.emit({value:V.value,event:he})}_isSelected(V){return this.startValue===V||this.endValue===V}ngOnChanges(V){const he=V.numCols,{rows:de,numCols:We}=this;(V.rows||he)&&(this._firstRowOffset=de&&de.length&&de[0].length?We-de[0].length:0),(V.cellAspectRatio||he||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/We+"%"),(he||!this._cellWidth)&&(this._cellWidth=100/We+"%")}ngOnDestroy(){const V=this._elementRef.nativeElement;V.removeEventListener("touchmove",this._touchmoveHandler,Re),V.removeEventListener("mouseenter",this._enterHandler,ke),V.removeEventListener("focus",this._enterHandler,ke),V.removeEventListener("mouseleave",this._leaveHandler,ke),V.removeEventListener("blur",this._leaveHandler,ke),V.removeEventListener("mousedown",this._mousedownHandler,pe),V.removeEventListener("touchstart",this._mousedownHandler,pe),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(V,he){let de=V*this.numCols+he;return V&&(de-=this._firstRowOffset),de==this.activeCell}_focusActiveCell(V=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,_.U)(1)).subscribe(()=>{setTimeout(()=>{const he=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");he&&(V||(this._skipNextFocus=!0),he.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(V){return je(V,this.startValue,this.endValue)}_isRangeEnd(V){return q(V,this.startValue,this.endValue)}_isInRange(V){return ye(V,this.startValue,this.endValue,this.isRange)}_isComparisonStart(V){return je(V,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(V,he,de){if(!this._isComparisonStart(V)||this._isRangeStart(V)||!this._isInRange(V))return!1;let We=this.rows[he][de-1];if(!We){const wt=this.rows[he-1];We=wt&&wt[wt.length-1]}return We&&!this._isRangeEnd(We.compareValue)}_isComparisonBridgeEnd(V,he,de){if(!this._isComparisonEnd(V)||this._isRangeEnd(V)||!this._isInRange(V))return!1;let We=this.rows[he][de+1];if(!We){const wt=this.rows[he+1];We=wt&&wt[0]}return We&&!this._isRangeStart(We.compareValue)}_isComparisonEnd(V){return q(V,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(V){return ye(V,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(V){return this.comparisonStart===this.comparisonEnd&&V===this.comparisonStart}_isPreviewStart(V){return je(V,this.previewStart,this.previewEnd)}_isPreviewEnd(V){return q(V,this.previewStart,this.previewEnd)}_isInPreview(V){return ye(V,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(V){return this.isRange?this.startValue===V&&this.endValue===V?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===V?this._startDateLabelId:this.endValue===V?this._endDateLabelId:null:null}_getCellFromElement(V){const he=Ie(V);if(he){const de=he.getAttribute("data-mat-row"),We=he.getAttribute("data-mat-col");if(de&&We)return this.rows[parseInt(de)][parseInt(We)]}return null}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,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"],standalone:!0,features:[c.\u0275\u0275NgOnChangesFeature,c.\u0275\u0275StandaloneFeature],attrs:T,decls:7,vars:5,consts:[["aria-hidden","true"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom"],["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"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"]],template:function(he,de){1&he&&(c.\u0275\u0275template(0,N,3,6,"tr",0),c.\u0275\u0275repeaterCreate(1,L,4,1,"tr",3,c.\u0275\u0275repeaterTrackByIdentity),c.\u0275\u0275elementStart(3,"label",1),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"label",1),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd()),2&he&&(c.\u0275\u0275conditional(0,de._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.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:var(--mat-datepicker-calendar-date-focus-state-background-color)}@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:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.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}'],encapsulation:2,changeDetection:0})}return _e})();function Be(_e){return"TD"===_e?.nodeName}function Ie(_e){let mt;return Be(_e)?mt=_e:Be(_e.parentNode)?mt=_e.parentNode:Be(_e.parentNode?.parentNode)&&(mt=_e.parentNode.parentNode),null!=mt?.getAttribute("data-mat-row")?mt:null}function je(_e,mt,V){return null!==V&&mt!==V&&_e=mt&&_e===V}function ye(_e,mt,V,he){return he&&null!==mt&&null!==V&&mt!==V&&_e>=mt&&_e<=V}function Oe(_e){const mt=_e.changedTouches[0];return document.elementFromPoint(mt.clientX,mt.clientY)}class Xe{constructor(mt,V){this.start=mt,this.end=V}}let ge=(()=>{class _e{constructor(V,he){this.selection=V,this._adapter=he,this._selectionChanged=new d.E,this.selectionChanged=this._selectionChanged,this.selection=V}updateSelection(V,he){const de=this.selection;this.selection=V,this._selectionChanged.next({selection:V,source:he,oldValue:de})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(V){return this._adapter.isDateInstance(V)&&this._adapter.isValid(V)}static#e=this.\u0275fac=function(he){c.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})(),Ve=(()=>{class _e extends ge{constructor(V){super(null,V)}add(V){super.updateSelection(V,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const V=new _e(this._adapter);return V.updateSelection(this.selection,this),V}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275inject(f.DateAdapter))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})(),ot=(()=>{class _e extends ge{constructor(V){super(new Xe(null,null),V)}add(V){let{start:he,end:de}=this.selection;null==he?he=V:null==de?de=V:(he=V,de=null),super.updateSelection(new Xe(he,de),this)}isValid(){const{start:V,end:he}=this.selection;return null==V&&null==he||(null!=V&&null!=he?this._isValidDateInstance(V)&&this._isValidDateInstance(he)&&this._adapter.compareDate(V,he)<=0:(null==V||this._isValidDateInstance(V))&&(null==he||this._isValidDateInstance(he)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const V=new _e(this._adapter);return V.updateSelection(this.selection,this),V}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275inject(f.DateAdapter))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();function ze(_e,mt){return _e||new Ve(mt)}const pt={provide:ge,deps:[[new c.Optional,new c.SkipSelf,ge],f.DateAdapter],useFactory:ze};function Pt(_e,mt){return _e||new ot(mt)}const Gt={provide:ge,deps:[[new c.Optional,new c.SkipSelf,ge],f.DateAdapter],useFactory:Pt},rn=new c.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let on=(()=>{class _e{constructor(V){this._dateAdapter=V}selectionFinished(V,he){let{start:de,end:We}=he;return null==de?de=V:null==We&&V&&this._dateAdapter.compareDate(V,de)>=0?We=V:(de=V,We=null),new Xe(de,We)}createPreview(V,he){let de=null,We=null;return he.start&&!he.end&&V&&(de=he.start,We=V),new Xe(de,We)}createDrag(V,he,de){let We=he.start,wt=he.end;if(!We||!wt)return null;const Yt=this._dateAdapter,Kn=0!==Yt.compareDate(We,wt),Pn=Yt.getYear(de)-Yt.getYear(V),Tn=Yt.getMonth(de)-Yt.getMonth(V),vn=Yt.getDate(de)-Yt.getDate(V);return Kn&&Yt.sameDate(V,he.start)?(We=de,Yt.compareDate(de,wt)>0&&(wt=Yt.addCalendarYears(wt,Pn),wt=Yt.addCalendarMonths(wt,Tn),wt=Yt.addCalendarDays(wt,vn))):Kn&&Yt.sameDate(V,he.end)?(wt=de,Yt.compareDate(de,We)<0&&(We=Yt.addCalendarYears(We,Pn),We=Yt.addCalendarMonths(We,Tn),We=Yt.addCalendarDays(We,vn))):(We=Yt.addCalendarYears(We,Pn),We=Yt.addCalendarMonths(We,Tn),We=Yt.addCalendarDays(We,vn),wt=Yt.addCalendarYears(wt,Pn),wt=Yt.addCalendarMonths(wt,Tn),wt=Yt.addCalendarDays(wt,vn)),new Xe(We,wt)}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275inject(f.DateAdapter))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();const gn={provide:rn,deps:[[new c.Optional,new c.SkipSelf,rn],f.DateAdapter],useFactory:function tn(_e,mt){return _e||new on(mt)}};let an=(()=>{class _e{get activeDate(){return this._activeDate}set activeDate(V){const he=this._activeDate,de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),this._hasSameMonthAndYear(he,this._activeDate)||this._init()}get selected(){return this._selected}set selected(V){this._selected=V instanceof Xe?V:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(V){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get maxDate(){return this._maxDate}set maxDate(V){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}constructor(V,he,de,We,wt){this._changeDetectorRef=V,this._dateFormats=he,this._dateAdapter=de,this._dir=We,this._rangeStrategy=wt,this._rerenderSubscription=l.wH.EMPTY,this.activeDrag=null,this.selectedChange=new c.EventEmitter,this._userSelection=new c.EventEmitter,this.dragStarted=new c.EventEmitter,this.dragEnded=new c.EventEmitter,this.activeDateChange=new c.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,y.W)(null)).subscribe(()=>this._init())}ngOnChanges(V){const he=V.comparisonStart||V.comparisonEnd;he&&!he.firstChange&&this._setRanges(this.selected),V.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(V){const he=V.value,de=this._getDateFromDayOfMonth(he);let We,wt;this._selected instanceof Xe?(We=this._getDateInCurrentMonth(this._selected.start),wt=this._getDateInCurrentMonth(this._selected.end)):We=wt=this._getDateInCurrentMonth(this._selected),(We!==he||wt!==he)&&this.selectedChange.emit(de),this._userSelection.emit({value:de,event:V.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(V){const de=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(V.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(V){const he=this._activeDate,de=this._isRtl();switch(V.keyCode){case u.Mx:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,de?1:-1);break;case u.a4:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,de?-1:1);break;case u.qI:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case u.Oq:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case u.qU:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case u.Mp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case u.u_:this.activeDate=V.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case u.yI:this.activeDate=V.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case u.wJ:case u.Gi:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&V.preventDefault());case u.UX:return void(null!=this._previewEnd&&!(0,u.Yp)(V)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:V}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:V})),V.preventDefault(),V.stopPropagation()));default:return}this._dateAdapter.compareDate(he,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),V.preventDefault()}_handleCalendarBodyKeyup(V){(V.keyCode===u.Gi||V.keyCode===u.wJ)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:V}),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 V=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(V)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(V){this._matCalendarBody._focusActiveCell(V)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:V,value:he}){if(this._rangeStrategy){const de=he?he.rawValue:null,We=this._rangeStrategy.createPreview(de,this.selected,V);if(this._previewStart=this._getCellCompareValue(We.start),this._previewEnd=this._getCellCompareValue(We.end),this.activeDrag&&de){const wt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,de,V);wt&&(this._previewStart=this._getCellCompareValue(wt.start),this._previewEnd=this._getCellCompareValue(wt.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(V){if(this.activeDrag)if(V.value){const he=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,V.value,V.event);this.dragEnded.emit({value:he??null,event:V.event})}else this.dragEnded.emit({value:null,event:V.event})}_getDateFromDayOfMonth(V){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),V)}_initWeekdays(){const V=this._dateAdapter.getFirstDayOfWeek(),he=this._dateAdapter.getDayOfWeekNames("narrow");let We=this._dateAdapter.getDayOfWeekNames("long").map((wt,Yt)=>({long:wt,narrow:he[Yt]}));this._weekdays=We.slice(V).concat(We.slice(0,V))}_createWeekCells(){const V=this._dateAdapter.getNumDaysInMonth(this.activeDate),he=this._dateAdapter.getDateNames();this._weeks=[[]];for(let de=0,We=this._firstWeekOffset;de=0)&&(!this.maxDate||this._dateAdapter.compareDate(V,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(V))}_getDateInCurrentMonth(V){return V&&this._hasSameMonthAndYear(V,this.activeDate)?this._dateAdapter.getDate(V):null}_hasSameMonthAndYear(V,he){return!(!V||!he||this._dateAdapter.getMonth(V)!=this._dateAdapter.getMonth(he)||this._dateAdapter.getYear(V)!=this._dateAdapter.getYear(he))}_getCellCompareValue(V){if(V){const he=this._dateAdapter.getYear(V),de=this._dateAdapter.getMonth(V),We=this._dateAdapter.getDate(V);return new Date(he,de,We).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(V){V instanceof Xe?(this._rangeStart=this._getCellCompareValue(V.start),this._rangeEnd=this._getCellCompareValue(V.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(V),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(V){return!this.dateFilter||this.dateFilter(V)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(h.yG,8),c.\u0275\u0275directiveInject(rn,8))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-month-view"]],viewQuery:function(he,de){if(1&he&&c.\u0275\u0275viewQuery(Qe,5),2&he){let We;c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de._matCalendarBody=We.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"],standalone:!0,features:[c.\u0275\u0275NgOnChangesFeature,c.\u0275\u0275StandaloneFeature],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["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(he,de){1&he&&(c.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),c.\u0275\u0275repeaterCreate(3,A,5,2,"th",4,c.\u0275\u0275repeaterTrackByIdentity),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"tr"),c.\u0275\u0275element(6,"th",2),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(7,"tbody",3),c.\u0275\u0275listener("selectedValueChange",function(wt){return de._dateSelected(wt)})("activeDateChange",function(wt){return de._updateActiveDate(wt)})("previewChange",function(wt){return de._previewChanged(wt)})("dragStarted",function(wt){return de.dragStarted.emit(wt)})("dragEnded",function(wt){return de._dragEnded(wt)})("keyup",function(wt){return de._handleCalendarBodyKeyup(wt)})("keydown",function(wt){return de._handleCalendarBodyKeydown(wt)}),c.\u0275\u0275elementEnd()()),2&he&&(c.\u0275\u0275advance(3),c.\u0275\u0275repeater(de._weekdays),c.\u0275\u0275advance(4),c.\u0275\u0275property("label",de._monthLabel)("rows",de._weeks)("todayValue",de._todayDate)("startValue",de._rangeStart)("endValue",de._rangeEnd)("comparisonStart",de._comparisonRangeStart)("comparisonEnd",de._comparisonRangeEnd)("previewStart",de._previewStart)("previewEnd",de._previewEnd)("isRange",de._isRange)("labelMinRequiredCells",3)("activeCell",de._dateAdapter.getDate(de.activeDate)-1)("startDateAccessibleName",de.startDateAccessibleName)("endDateAccessibleName",de.endDateAccessibleName))},dependencies:[Qe],encapsulation:2,changeDetection:0})}return _e})();const Ot=24,Ut=4;let xe=(()=>{class _e{get activeDate(){return this._activeDate}set activeDate(V){let he=this._activeDate;const de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),rt(this._dateAdapter,he,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(V){this._selected=V instanceof Xe?V:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V)),this._setSelectedYear(V)}get minDate(){return this._minDate}set minDate(V){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get maxDate(){return this._maxDate}set maxDate(V){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}constructor(V,he,de){this._changeDetectorRef=V,this._dateAdapter=he,this._dir=de,this._rerenderSubscription=l.wH.EMPTY,this.selectedChange=new c.EventEmitter,this.yearSelected=new c.EventEmitter,this.activeDateChange=new c.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,y.W)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const he=this._dateAdapter.getYear(this._activeDate)-lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let de=0,We=[];dethis._createCellForYear(wt))),We=[]);this._changeDetectorRef.markForCheck()}_yearSelected(V){const he=V.value,de=this._dateAdapter.createDate(he,0,1),We=this._getDateFromYear(he);this.yearSelected.emit(de),this.selectedChange.emit(We)}_updateActiveDate(V){const de=this._activeDate;this.activeDate=this._getDateFromYear(V.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(V){const he=this._activeDate,de=this._isRtl();switch(V.keyCode){case u.Mx:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,de?1:-1);break;case u.a4:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,de?-1:1);break;case u.qI:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ut);break;case u.Oq:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ut);break;case u.qU:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case u.Mp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ot-lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case u.u_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,V.altKey?10*-Ot:-Ot);break;case u.yI:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,V.altKey?10*Ot:Ot);break;case u.wJ:case u.Gi:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(he,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),V.preventDefault()}_handleCalendarBodyKeyup(V){(V.keyCode===u.Gi||V.keyCode===u.wJ)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:V}),this._selectionKeyPressed=!1)}_getActiveCell(){return lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(V){const he=this._dateAdapter.getMonth(this.activeDate),de=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(V,he,1));return this._dateAdapter.createDate(V,he,Math.min(this._dateAdapter.getDate(this.activeDate),de))}_createCellForYear(V){const he=this._dateAdapter.createDate(V,0,1),de=this._dateAdapter.getYearName(he),We=this.dateClass?this.dateClass(he,"multi-year"):void 0;return new ct(V,de,de,this._shouldEnableYear(V),We)}_shouldEnableYear(V){if(null==V||this.maxDate&&V>this._dateAdapter.getYear(this.maxDate)||this.minDate&&V{class _e{get activeDate(){return this._activeDate}set activeDate(V){let he=this._activeDate;const de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),this._dateAdapter.getYear(he)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(V){this._selected=V instanceof Xe?V:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V)),this._setSelectedMonth(V)}get minDate(){return this._minDate}set minDate(V){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get maxDate(){return this._maxDate}set maxDate(V){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}constructor(V,he,de,We){this._changeDetectorRef=V,this._dateFormats=he,this._dateAdapter=de,this._dir=We,this._rerenderSubscription=l.wH.EMPTY,this.selectedChange=new c.EventEmitter,this.monthSelected=new c.EventEmitter,this.activeDateChange=new c.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,y.W)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(V){const he=V.value,de=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),he,1);this.monthSelected.emit(de);const We=this._getDateFromMonth(he);this.selectedChange.emit(We)}_updateActiveDate(V){const de=this._activeDate;this.activeDate=this._getDateFromMonth(V.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(V){const he=this._activeDate,de=this._isRtl();switch(V.keyCode){case u.Mx:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,de?1:-1);break;case u.a4:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,de?-1:1);break;case u.qI:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case u.Oq:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case u.qU:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case u.Mp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case u.u_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,V.altKey?-10:-1);break;case u.yI:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,V.altKey?10:1);break;case u.wJ:case u.Gi:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(he,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),V.preventDefault()}_handleCalendarBodyKeyup(V){(V.keyCode===u.Gi||V.keyCode===u.wJ)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:V}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let V=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(he=>he.map(de=>this._createCellForMonth(de,V[de]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(V){return V&&this._dateAdapter.getYear(V)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(V):null}_getDateFromMonth(V){const he=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),V,1),de=this._dateAdapter.getNumDaysInMonth(he);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),V,Math.min(this._dateAdapter.getDate(this.activeDate),de))}_createCellForMonth(V,he){const de=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),V,1),We=this._dateAdapter.format(de,this._dateFormats.display.monthYearA11yLabel),wt=this.dateClass?this.dateClass(de,"year"):void 0;return new ct(V,he.toLocaleUpperCase(),We,this._shouldEnableMonth(V),wt)}_shouldEnableMonth(V){const he=this._dateAdapter.getYear(this.activeDate);if(null==V||this._isYearAndMonthAfterMaxDate(he,V)||this._isYearAndMonthBeforeMinDate(he,V))return!1;if(!this.dateFilter)return!0;for(let We=this._dateAdapter.createDate(he,V,1);this._dateAdapter.getMonth(We)==V;We=this._dateAdapter.addCalendarDays(We,1))if(this.dateFilter(We))return!0;return!1}_isYearAndMonthAfterMaxDate(V,he){if(this.maxDate){const de=this._dateAdapter.getYear(this.maxDate),We=this._dateAdapter.getMonth(this.maxDate);return V>de||V===de&&he>We}return!1}_isYearAndMonthBeforeMinDate(V,he){if(this.minDate){const de=this._dateAdapter.getYear(this.minDate),We=this._dateAdapter.getMonth(this.minDate);return V{class _e{constructor(V,he,de,We,wt){this._intl=V,this.calendar=he,this._dateAdapter=de,this._dateFormats=We,this._id="mat-calendar-header-"+Le++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>wt.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:-Ot)}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:Ot)}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(V,he){return"month"==this.calendar.currentView?this._dateAdapter.getYear(V)==this._dateAdapter.getYear(he)&&this._dateAdapter.getMonth(V)==this._dateAdapter.getMonth(he):"year"==this.calendar.currentView?this._dateAdapter.getYear(V)==this._dateAdapter.getYear(he):rt(this._dateAdapter,V,he,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const he=this._dateAdapter.getYear(this.calendar.activeDate)-lt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),de=he+Ot-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(he,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(de,0,1))]}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(_t),c.\u0275\u0275directiveInject((0,c.forwardRef)(()=>st)),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),c.\u0275\u0275directiveInject(c.ChangeDetectorRef))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[c.\u0275\u0275StandaloneFeature],ngContentSelectors:U,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(he,de){1&he&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),c.\u0275\u0275listener("click",function(){return de.currentPeriodClicked()}),c.\u0275\u0275elementStart(3,"span",3),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(5,"svg",4),c.\u0275\u0275element(6,"polygon",5),c.\u0275\u0275elementEnd()(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275element(7,"div",6),c.\u0275\u0275projection(8),c.\u0275\u0275elementStart(9,"button",7),c.\u0275\u0275listener("click",function(){return de.previousClicked()}),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"button",8),c.\u0275\u0275listener("click",function(){return de.nextClicked()}),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(11,"label",9),c.\u0275\u0275text(12),c.\u0275\u0275elementEnd()),2&he&&(c.\u0275\u0275advance(2),c.\u0275\u0275attribute("aria-label",de.periodButtonLabel)("aria-describedby",de._periodButtonLabelId),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(de.periodButtonText),c.\u0275\u0275advance(),c.\u0275\u0275classProp("mat-calendar-invert","month"!==de.calendar.currentView),c.\u0275\u0275advance(4),c.\u0275\u0275property("disabled",!de.previousEnabled()),c.\u0275\u0275attribute("aria-label",de.prevButtonLabel),c.\u0275\u0275advance(),c.\u0275\u0275property("disabled",!de.nextEnabled()),c.\u0275\u0275attribute("aria-label",de.nextButtonLabel),c.\u0275\u0275advance(),c.\u0275\u0275property("id",de._periodButtonLabelId),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(de.periodButtonDescription))},dependencies:[b.MatButton,b.MatIconButton],encapsulation:2,changeDetection:0})}return _e})(),st=(()=>{class _e{get startAt(){return this._startAt}set startAt(V){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get selected(){return this._selected}set selected(V){this._selected=V instanceof Xe?V:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get minDate(){return this._minDate}set minDate(V){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get maxDate(){return this._maxDate}set maxDate(V){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get activeDate(){return this._clampedActiveDate}set activeDate(V){this._clampedActiveDate=this._dateAdapter.clampDate(V,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(V){const he=this._currentView!==V?V:null;this._currentView=V,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),he&&this.viewChanged.emit(he)}constructor(V,he,de,We){this._dateAdapter=he,this._dateFormats=de,this._changeDetectorRef=We,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new c.EventEmitter,this.yearSelected=new c.EventEmitter,this.monthSelected=new c.EventEmitter,this.viewChanged=new c.EventEmitter(!0),this._userSelection=new c.EventEmitter,this._userDragDrop=new c.EventEmitter,this._activeDrag=null,this.stateChanges=new d.E,this._intlChanges=V.changes.subscribe(()=>{We.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new C.KC(this.headerComponent||He),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(V){const he=V.minDate&&!this._dateAdapter.sameDate(V.minDate.previousValue,V.minDate.currentValue)?V.minDate:void 0,de=V.maxDate&&!this._dateAdapter.sameDate(V.maxDate.previousValue,V.maxDate.currentValue)?V.maxDate:void 0,We=he||de||V.dateFilter;if(We&&!We.firstChange){const wt=this._getCurrentViewComponent();wt&&(this._changeDetectorRef.detectChanges(),wt._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(V){const he=V.value;(this.selected instanceof Xe||he&&!this._dateAdapter.sameDate(he,this.selected))&&this.selectedChange.emit(he),this._userSelection.emit(V)}_yearSelectedInMultiYearView(V){this.yearSelected.emit(V)}_monthSelectedInYearView(V){this.monthSelected.emit(V)}_goToDateInView(V,he){this.activeDate=V,this.currentView=he}_dragStarted(V){this._activeDrag=V}_dragEnded(V){this._activeDrag&&(V.value&&this._userDragDrop.emit(V),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(_t),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),c.\u0275\u0275directiveInject(c.ChangeDetectorRef))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-calendar"]],viewQuery:function(he,de){if(1&he&&(c.\u0275\u0275viewQuery(an,5),c.\u0275\u0275viewQuery(vt,5),c.\u0275\u0275viewQuery(xe,5)),2&he){let We;c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de.monthView=We.first),c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de.yearView=We.first),c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de.multiYearView=We.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"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([pt]),c.\u0275\u0275NgOnChangesFeature,c.\u0275\u0275StandaloneFeature],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[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(he,de){if(1&he&&(c.\u0275\u0275template(0,K,0,0,"ng-template",0),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275template(2,ee,1,11)(3,ne,1,6)(4,B,1,6),c.\u0275\u0275elementEnd()),2&he){let We;c.\u0275\u0275property("cdkPortalOutlet",de._calendarHeaderPortal),c.\u0275\u0275advance(2),c.\u0275\u0275conditional(2,"month"===(We=de.currentView)?2:"year"===We?3:"multi-year"===We?4:-1)}},dependencies:[C.IP,t.Si,an,vt,xe],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.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;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.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-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.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;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.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;background:var(--mat-datepicker-calendar-header-divider-color)}.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})}return _e})();const Te={transformPanel:(0,k.gV)("transformPanel",[(0,k.aK)("void => enter-dropdown",(0,k.Cs)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,k.xZ)([(0,k.wb)({opacity:0,transform:"scale(1, 0.8)"}),(0,k.wb)({opacity:1,transform:"scale(1, 1)"})]))),(0,k.aK)("void => enter-dialog",(0,k.Cs)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,k.xZ)([(0,k.wb)({opacity:0,transform:"scale(0.7)"}),(0,k.wb)({transform:"none",opacity:1})]))),(0,k.aK)("* => void",(0,k.Cs)("100ms linear",(0,k.wb)({opacity:0})))]),fadeInCalendar:(0,k.gV)("fadeInCalendar",[(0,k.K2)("void",(0,k.wb)({opacity:0})),(0,k.K2)("enter",(0,k.wb)({opacity:1})),(0,k.aK)("void => *",(0,k.Cs)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Pe=0;const bt=new c.InjectionToken("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const _e=(0,c.inject)(v.mc);return()=>_e.scrollStrategies.reposition()}});function Me(_e){return()=>_e.scrollStrategies.reposition()}const $e={provide:bt,deps:[v.mc],useFactory:Me};let Ge=(()=>{class _e{constructor(V,he,de,We,wt,Yt){this._elementRef=V,this._changeDetectorRef=he,this._globalModel=de,this._dateAdapter=We,this._rangeSelectionStrategy=wt,this._subscriptions=new l.wH,this._animationDone=new d.E,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Yt.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(V){const he=this._model.selection,de=V.value,We=he instanceof Xe;if(We&&this._rangeSelectionStrategy){const wt=this._rangeSelectionStrategy.selectionFinished(de,he,V.event);this._model.updateSelection(wt,this)}else de&&(We||!this._dateAdapter.sameDate(de,he))&&this._model.add(de);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(V){this._model.updateSelection(V.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(V){this._isAnimating="start"===V.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(V,he){this._model=V?this._globalModel.clone():this._globalModel,this._actionsPortal=V,he&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(ge),c.\u0275\u0275directiveInject(f.DateAdapter),c.\u0275\u0275directiveInject(rn,8),c.\u0275\u0275directiveInject(_t))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-datepicker-content"]],viewQuery:function(he,de){if(1&he&&c.\u0275\u0275viewQuery(st,5),2&he){let We;c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de._calendar=We.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(he,de){1&he&&c.\u0275\u0275syntheticHostListener("@transformPanel.start",function(wt){return de._handleAnimationEvent(wt)})("@transformPanel.done",function(wt){return de._handleAnimationEvent(wt)}),2&he&&(c.\u0275\u0275syntheticHostProperty("@transformPanel",de._animationState),c.\u0275\u0275classMap(de.color?"mat-"+de.color:""),c.\u0275\u0275classProp("mat-datepicker-content-touch",de.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[c.\u0275\u0275StandaloneFeature],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(he,de){if(1&he&&(c.\u0275\u0275elementStart(0,"div",0)(1,"mat-calendar",1),c.\u0275\u0275listener("yearSelected",function(wt){return de.datepicker._selectYear(wt)})("monthSelected",function(wt){return de.datepicker._selectMonth(wt)})("viewChanged",function(wt){return de.datepicker._viewChanged(wt)})("_userSelection",function(wt){return de._handleUserSelection(wt)})("_userDragDrop",function(wt){return de._handleUserDragDrop(wt)}),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(2,H,0,0,"ng-template",2),c.\u0275\u0275elementStart(3,"button",3),c.\u0275\u0275listener("focus",function(){return de._closeButtonFocused=!0})("blur",function(){return de._closeButtonFocused=!1})("click",function(){return de.datepicker.close()}),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()()),2&he){let We;c.\u0275\u0275classProp("mat-datepicker-content-container-with-custom-header",de.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",de._actionsPortal),c.\u0275\u0275attribute("aria-modal",!0)("aria-labelledby",null!==(We=de._dialogLabelId)&&void 0!==We?We:void 0),c.\u0275\u0275advance(),c.\u0275\u0275property("id",de.datepicker.id)("ngClass",de.datepicker.panelClass)("startAt",de.datepicker.startAt)("startView",de.datepicker.startView)("minDate",de.datepicker._getMinDate())("maxDate",de.datepicker._getMaxDate())("dateFilter",de.datepicker._getDateFilter())("headerComponent",de.datepicker.calendarHeaderComponent)("selected",de._getSelected())("dateClass",de.datepicker.dateClass)("comparisonStart",de.comparisonStart)("comparisonEnd",de.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",de.startDateAccessibleName)("endDateAccessibleName",de.endDateAccessibleName),c.\u0275\u0275advance(),c.\u0275\u0275property("cdkPortalOutlet",de._actionsPortal),c.\u0275\u0275advance(),c.\u0275\u0275classProp("cdk-visually-hidden",!de._closeButtonFocused),c.\u0275\u0275property("color",de.color||"primary"),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(de._closeButtonText)}},dependencies:[t.Eh,st,E.NgClass,C.IP,b.MatButton],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.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;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape);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:[Te.transformPanel,Te.fadeInCalendar]},changeDetection:0})}return _e})(),kt=(()=>{class _e{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(V){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(V){this._color=V}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(V){V!==this._disabled&&(this._disabled=V,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(V){this._panelClass=(0,w._s)(V)}get opened(){return this._opened}set opened(V){V?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(V,he,de,We,wt,Yt,Kn){this._overlay=V,this._ngZone=he,this._viewContainerRef=de,this._dateAdapter=wt,this._dir=Yt,this._model=Kn,this._inputStateChanges=l.wH.EMPTY,this._document=(0,c.inject)(E.DOCUMENT),this.startView="month",this.touchUi=!1,this.xPosition="start",this.yPosition="below",this.restoreFocus=!0,this.yearSelected=new c.EventEmitter,this.monthSelected=new c.EventEmitter,this.viewChanged=new c.EventEmitter(!0),this.openedStream=new c.EventEmitter,this.closedStream=new c.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+Pe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.E,this._scrollStrategy=We}ngOnChanges(V){const he=V.xPosition||V.yPosition;if(he&&!he.firstChange&&this._overlayRef){const de=this._overlayRef.getConfig().positionStrategy;de instanceof v.g$&&(this._setConnectedPositions(de),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(V){this._model.add(V)}_selectYear(V){this.yearSelected.emit(V)}_selectMonth(V){this.monthSelected.emit(V)}_viewChanged(V){this.viewChanged.emit(V)}registerInput(V){return this._inputStateChanges.unsubscribe(),this.datepickerInput=V,this._inputStateChanges=V.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(V){this._actionsPortal=V,this._componentRef?.instance._assignActions(V,!0)}removeActions(V){V===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,p.Yx)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const V=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,he=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:de,location:We}=this._componentRef;de._startExitAnimation(),de._animationDone.pipe((0,_.U)(1)).subscribe(()=>{const wt=this._document.activeElement;V&&(!wt||wt===this._document.activeElement||We.nativeElement.contains(wt))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}V?setTimeout(he):he()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(V){V.datepicker=this,V.color=this.color,V._dialogLabelId=this.datepickerInput.getOverlayLabelId(),V._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const V=this.touchUi,he=new C.KC(Ge,this._viewContainerRef),de=this._overlayRef=this._overlay.create(new v.o9({positionStrategy:V?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[V?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:V?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(V?"dialog":"popup")}));this._getCloseStream(de).subscribe(We=>{We&&We.preventDefault(),this.close()}),de.keydownEvents().subscribe(We=>{const wt=We.keyCode;(wt===u.qI||wt===u.Oq||wt===u.Mx||wt===u.a4||wt===u.u_||wt===u.yI)&&We.preventDefault()}),this._componentRef=de.attach(he),this._forwardContentValues(this._componentRef.instance),V||this._ngZone.onStable.pipe((0,_.U)(1)).subscribe(()=>de.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const V=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(V)}_setConnectedPositions(V){const he="end"===this.xPosition?"end":"start",de="start"===he?"end":"start",We="above"===this.yPosition?"bottom":"top",wt="top"===We?"bottom":"top";return V.withPositions([{originX:he,originY:wt,overlayX:he,overlayY:We},{originX:he,originY:We,overlayX:he,overlayY:wt},{originX:de,originY:wt,overlayX:de,overlayY:We},{originX:de,originY:We,overlayX:de,overlayY:wt}])}_getCloseStream(V){const he=["ctrlKey","shiftKey","metaKey"];return(0,a.U)(V.backdropClick(),V.detachments(),V.keydownEvents().pipe((0,M.I)(de=>de.keyCode===u.UX&&!(0,u.Yp)(de)||this.datepickerInput&&(0,u.Yp)(de,"altKey")&&de.keyCode===u.qI&&he.every(We=>!(0,u.Yp)(de,We)))))}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(v.mc),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(bt),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(h.yG,8),c.\u0275\u0275directiveInject(ge))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"touchUi","touchUi",c.booleanAttribute],disabled:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",c.booleanAttribute],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"restoreFocus","restoreFocus",c.booleanAttribute],dateClass:"dateClass",panelClass:"panelClass",opened:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"opened","opened",c.booleanAttribute]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[c.\u0275\u0275InputTransformsFeature,c.\u0275\u0275NgOnChangesFeature]})}return _e})(),dt=(()=>{class _e extends kt{static#e=this.\u0275fac=(()=>{let V;return function(de){return(V||(V=c.\u0275\u0275getInheritedFactory(_e)))(de||_e)}})();static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([pt,{provide:kt,useExisting:_e}]),c.\u0275\u0275InheritDefinitionFeature,c.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(he,de){},encapsulation:2,changeDetection:0})}return _e})();class xt{constructor(mt,V){this.target=mt,this.targetElement=V,this.value=this.target.value}}let qe=(()=>{class _e{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(V){this._assignValueProgrammatically(V)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(V){const he=V,de=this._elementRef.nativeElement;this._disabled!==he&&(this._disabled=he,this.stateChanges.next(void 0)),he&&this._isInitialized&&de.blur&&de.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(V){this._model=V,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(he=>{if(this._shouldHandleChangeEvent(he)){const de=this._getValueFromModel(he.selection);this._lastValueValid=this._isValidValue(de),this._cvaOnChange(de),this._onTouched(),this._formatValue(de),this.dateInput.emit(new xt(this,this._elementRef.nativeElement)),this.dateChange.emit(new xt(this,this._elementRef.nativeElement))}})}constructor(V,he,de){this._elementRef=V,this._dateAdapter=he,this._dateFormats=de,this.dateChange=new c.EventEmitter,this.dateInput=new c.EventEmitter,this.stateChanges=new d.E,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=l.wH.EMPTY,this._localeSubscription=l.wH.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=We=>{const wt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(We.value));return!wt||this._matchesFilter(wt)?null:{matDatepickerFilter:!0}},this._minValidator=We=>{const wt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(We.value)),Yt=this._getMinDate();return!Yt||!wt||this._dateAdapter.compareDate(Yt,wt)<=0?null:{matDatepickerMin:{min:Yt,actual:wt}}},this._maxValidator=We=>{const wt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(We.value)),Yt=this._getMaxDate();return!Yt||!wt||this._dateAdapter.compareDate(Yt,wt)>=0?null:{matDatepickerMax:{max:Yt,actual:wt}}},this._lastValueValid=!1,this._localeSubscription=he.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(V){Fe(V,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(V){this._validatorOnChange=V}validate(V){return this._validator?this._validator(V):null}writeValue(V){this._assignValueProgrammatically(V)}registerOnChange(V){this._cvaOnChange=V}registerOnTouched(V){this._onTouched=V}setDisabledState(V){this.disabled=V}_onKeydown(V){(0,u.Yp)(V,"altKey")&&V.keyCode===u.Oq&&["ctrlKey","shiftKey","metaKey"].every(We=>!(0,u.Yp)(V,We))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),V.preventDefault())}_onInput(V){const he=this._lastValueValid;let de=this._dateAdapter.parse(V,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(de),de=this._dateAdapter.getValidDateOrNull(de);const We=!this._dateAdapter.sameDate(de,this.value);!de||We?this._cvaOnChange(de):(V&&!this.value&&this._cvaOnChange(de),he!==this._lastValueValid&&this._validatorOnChange()),We&&(this._assignValue(de),this.dateInput.emit(new xt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new xt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(V){this._elementRef.nativeElement.value=null!=V?this._dateAdapter.format(V,this._dateFormats.display.dateInput):""}_assignValue(V){this._model?(this._assignValueToModel(V),this._pendingValue=null):this._pendingValue=V}_isValidValue(V){return!V||this._dateAdapter.isValid(V)}_parentDisabled(){return!1}_assignValueProgrammatically(V){V=this._dateAdapter.deserialize(V),this._lastValueValid=this._isValidValue(V),V=this._dateAdapter.getValidDateOrNull(V),this._assignValue(V),this._formatValue(V)}_matchesFilter(V){const he=this._getDateFilter();return!he||he(V)}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,inputs:{value:"value",disabled:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",c.booleanAttribute]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[c.\u0275\u0275InputTransformsFeature,c.\u0275\u0275NgOnChangesFeature]})}return _e})();function Fe(_e,mt){const V=Object.keys(_e);for(let he of V){const{previousValue:de,currentValue:We}=_e[he];if(!mt.isDateInstance(de)||!mt.isDateInstance(We))return!0;if(!mt.sameDate(de,We))return!0}return!1}const et={provide:D.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>ft),multi:!0},Ke={provide:D.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>ft),multi:!0};let ft=(()=>{class _e extends qe{set matDatepicker(V){V&&(this._datepicker=V,this._closedSubscription=V.closedStream.subscribe(()=>this._onTouched()),this._registerModel(V.registerInput(this)))}get min(){return this._min}set min(V){const he=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V));this._dateAdapter.sameDate(he,this._min)||(this._min=he,this._validatorOnChange())}get max(){return this._max}set max(V){const he=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V));this._dateAdapter.sameDate(he,this._max)||(this._max=he,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(V){const he=this._matchesFilter(this.value);this._dateFilter=V,this._matchesFilter(this.value)!==he&&this._validatorOnChange()}constructor(V,he,de,We){super(V,he,de),this._formField=We,this._closedSubscription=l.wH.EMPTY,this._validator=D.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(V){return V}_assignValueToModel(V){this._model&&this._model.updateSelection(V,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(V){return V.source!==this}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),c.\u0275\u0275directiveInject(I.MAT_FORM_FIELD,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(he,de){1&he&&c.\u0275\u0275listener("input",function(wt){return de._onInput(wt.target.value)})("change",function(){return de._onChange()})("blur",function(){return de._onBlur()})("keydown",function(wt){return de._onKeydown(wt)}),2&he&&(c.\u0275\u0275hostProperty("disabled",de.disabled),c.\u0275\u0275attribute("aria-haspopup",de._datepicker?"dialog":null)("aria-owns",(null==de._datepicker?null:de._datepicker.opened)&&de._datepicker.id||null)("min",de.min?de._dateAdapter.toIso8601(de.min):null)("max",de.max?de._dateAdapter.toIso8601(de.max):null)("data-mat-calendar",de._datepicker?de._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[c.\u0275\u0275InputFlags.None,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([et,Ke,{provide:O.MAT_INPUT_VALUE_ACCESSOR,useExisting:_e}]),c.\u0275\u0275InheritDefinitionFeature]})}return _e})(),Bt=(()=>{class _e{static#e=this.\u0275fac=function(he){return new(he||_e)};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0})}return _e})(),qt=(()=>{class _e{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(V){this._disabled=V}constructor(V,he,de){this._intl=V,this._changeDetectorRef=he,this._stateChanges=l.wH.EMPTY;const We=Number(de);this.tabIndex=We||0===We?We:null}ngOnChanges(V){V.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(V){this.datepicker&&!this.disabled&&(this.datepicker.open(),V.stopPropagation())}_watchStateChanges(){const V=this.datepicker?this.datepicker.stateChanges:(0,r.of)(),he=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,r.of)(),de=this.datepicker?(0,a.U)(this.datepicker.openedStream,this.datepicker.closedStream):(0,r.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,a.U)(this._intl.changes,V,he,de).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(_t),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(he,de,We){if(1&he&&c.\u0275\u0275contentQuery(We,Bt,5),2&he){let wt;c.\u0275\u0275queryRefresh(wt=c.\u0275\u0275loadQuery())&&(de._customIcon=wt.first)}},viewQuery:function(he,de){if(1&he&&c.\u0275\u0275viewQuery(z,5),2&he){let We;c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de._button=We.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(he,de){1&he&&c.\u0275\u0275listener("click",function(wt){return de._open(wt)}),2&he&&(c.\u0275\u0275attribute("tabindex",null)("data-mat-calendar",de.datepicker?de.datepicker.id:null),c.\u0275\u0275classProp("mat-datepicker-toggle-active",de.datepicker&&de.datepicker.opened)("mat-accent",de.datepicker&&"accent"===de.datepicker.color)("mat-warn",de.datepicker&&"warn"===de.datepicker.color))},inputs:{datepicker:[c.\u0275\u0275InputFlags.None,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[c.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],disabled:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",c.booleanAttribute],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[c.\u0275\u0275InputTransformsFeature,c.\u0275\u0275NgOnChangesFeature,c.\u0275\u0275StandaloneFeature],ngContentSelectors:j,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"],["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(he,de){1&he&&(c.\u0275\u0275projectionDef(G),c.\u0275\u0275elementStart(0,"button",0,1),c.\u0275\u0275template(2,X,2,0,":svg:svg",2),c.\u0275\u0275projection(3),c.\u0275\u0275elementEnd()),2&he&&(c.\u0275\u0275property("disabled",de.disabled)("disableRipple",de.disableRipple),c.\u0275\u0275attribute("aria-haspopup",de.datepicker?"dialog":null)("aria-label",de.ariaLabel||de._intl.openCalendarLabel)("tabindex",de.disabled?-1:de.tabIndex),c.\u0275\u0275advance(2),c.\u0275\u0275conditional(2,de._customIcon?-1:2))},dependencies:[b.MatIconButton],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return _e})();function fn(_e){return Si(_e,!0)}function ln(_e){return _e.nodeType===Node.ELEMENT_NODE}function Si(_e,mt){if(ln(_e)&&mt){const he=(_e.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((de,We)=>{const wt=document.getElementById(We);return wt&&de.push(wt),de},[]);if(he.length)return he.map(de=>Si(de,!1)).join(" ")}if(ln(_e)){const V=_e.getAttribute("aria-label")?.trim();if(V)return V}if(function An(_e){return"INPUT"===_e.nodeName}(_e)||function fi(_e){return"TEXTAREA"===_e.nodeName}(_e)){if(_e.labels?.length)return Array.from(_e.labels).map(de=>Si(de,!1)).join(" ");const V=_e.getAttribute("placeholder")?.trim();if(V)return V;const he=_e.getAttribute("title")?.trim();if(he)return he}return(_e.textContent||"").replace(/\s+/g," ").trim()}const Fi=new c.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT");let si=(()=>{class _e extends qe{get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(V){this._errorStateTracker.matcher=V}get errorState(){return this._errorStateTracker.errorState}set errorState(V){this._errorStateTracker.errorState=V}constructor(V,he,de,We,wt,Yt,Kn,Pn){super(he,Kn,Pn),this._rangeInput=V,this._elementRef=he,this._defaultErrorStateMatcher=de,this._injector=We,this._parentForm=wt,this._parentFormGroup=Yt,this._dir=(0,c.inject)(h.yG,{optional:!0}),this._errorStateTracker=new f._ErrorStateTracker(this._defaultErrorStateMatcher,null,this._parentFormGroup,this._parentForm,this.stateChanges)}ngOnInit(){const V=this._injector.get(D.NgControl,null,{optional:!0,self:!0});V&&(this.ngControl=V,this._errorStateTracker.ngControl=V)}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 V=this._elementRef.nativeElement,he=V.value;return he.length>0?he:V.placeholder}updateErrorState(){this._errorStateTracker.updateErrorState()}_onInput(V){super._onInput(V),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:V}){return V!==this._rangeInput._startInput&&V!==this._rangeInput._endInput}_assignValueProgrammatically(V){super._assignValueProgrammatically(V),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return fn(this._elementRef.nativeElement)}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(Fi),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.ErrorStateMatcher),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(D.NgForm,8),c.\u0275\u0275directiveInject(D.FormGroupDirective,8),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,inputs:{errorStateMatcher:"errorStateMatcher"},standalone:!0,features:[c.\u0275\u0275InheritDefinitionFeature]})}return _e})(),Ji=(()=>{class _e extends si{constructor(V,he,de,We,wt,Yt,Kn,Pn){super(V,he,de,We,wt,Yt,Kn,Pn),this._startValidator=Tn=>{const vn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Tn.value)),oi=this._model?this._model.selection.end:null;return!vn||!oi||this._dateAdapter.compareDate(vn,oi)<=0?null:{matStartDateInvalid:{end:oi,actual:vn}}},this._validator=D.Validators.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(V){return V.start}_shouldHandleChangeEvent(V){return!(!super._shouldHandleChangeEvent(V)||(V.oldValue?.start?V.selection.start&&!this._dateAdapter.compareDate(V.oldValue.start,V.selection.start):!V.selection.start))}_assignValueToModel(V){if(this._model){const he=new Xe(V,this._model.selection.end);this._model.updateSelection(he,this)}}_formatValue(V){super._formatValue(V),this._rangeInput._handleChildValueChange()}_onKeydown(V){const he=this._rangeInput._endInput,de=this._elementRef.nativeElement,We="rtl"!==this._dir?.value;(V.keyCode===u.a4&&We||V.keyCode===u.Mx&&!We)&&de.selectionStart===de.value.length&&de.selectionEnd===de.value.length?(V.preventDefault(),he._elementRef.nativeElement.setSelectionRange(0,0),he.focus()):super._onKeydown(V)}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(Fi),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.ErrorStateMatcher),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(D.NgForm,8),c.\u0275\u0275directiveInject(D.FormGroupDirective,8),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(he,de){1&he&&c.\u0275\u0275listener("input",function(wt){return de._onInput(wt.target.value)})("change",function(){return de._onChange()})("keydown",function(wt){return de._onKeydown(wt)})("blur",function(){return de._onBlur()}),2&he&&(c.\u0275\u0275hostProperty("disabled",de.disabled),c.\u0275\u0275attribute("aria-haspopup",de._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==de._rangeInput.rangePicker?null:de._rangeInput.rangePicker.opened)&&de._rangeInput.rangePicker.id||null)("min",de._getMinDate()?de._dateAdapter.toIso8601(de._getMinDate()):null)("max",de._getMaxDate()?de._dateAdapter.toIso8601(de._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:D.NG_VALUE_ACCESSOR,useExisting:_e,multi:!0},{provide:D.NG_VALIDATORS,useExisting:_e,multi:!0}]),c.\u0275\u0275InheritDefinitionFeature]})}return _e})(),mi=(()=>{class _e extends si{constructor(V,he,de,We,wt,Yt,Kn,Pn){super(V,he,de,We,wt,Yt,Kn,Pn),this._endValidator=Tn=>{const vn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Tn.value)),oi=this._model?this._model.selection.start:null;return!vn||!oi||this._dateAdapter.compareDate(vn,oi)>=0?null:{matEndDateInvalid:{start:oi,actual:vn}}},this._validator=D.Validators.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(V){return V.end}_shouldHandleChangeEvent(V){return!(!super._shouldHandleChangeEvent(V)||(V.oldValue?.end?V.selection.end&&!this._dateAdapter.compareDate(V.oldValue.end,V.selection.end):!V.selection.end))}_assignValueToModel(V){if(this._model){const he=new Xe(this._model.selection.start,V);this._model.updateSelection(he,this)}}_onKeydown(V){const he=this._rangeInput._startInput,de=this._elementRef.nativeElement,We="rtl"!==this._dir?.value;if(V.keyCode!==u.y_||de.value)if((V.keyCode===u.Mx&&We||V.keyCode===u.a4&&!We)&&0===de.selectionStart&&0===de.selectionEnd){V.preventDefault();const wt=he._elementRef.nativeElement.value.length;he._elementRef.nativeElement.setSelectionRange(wt,wt),he.focus()}else super._onKeydown(V);else he.focus()}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(Fi),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.ErrorStateMatcher),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(D.NgForm,8),c.\u0275\u0275directiveInject(D.FormGroupDirective,8),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(he,de){1&he&&c.\u0275\u0275listener("input",function(wt){return de._onInput(wt.target.value)})("change",function(){return de._onChange()})("keydown",function(wt){return de._onKeydown(wt)})("blur",function(){return de._onBlur()}),2&he&&(c.\u0275\u0275hostProperty("disabled",de.disabled),c.\u0275\u0275attribute("aria-haspopup",de._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==de._rangeInput.rangePicker?null:de._rangeInput.rangePicker.opened)&&de._rangeInput.rangePicker.id||null)("min",de._getMinDate()?de._dateAdapter.toIso8601(de._getMinDate()):null)("max",de._getMaxDate()?de._dateAdapter.toIso8601(de._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:D.NG_VALUE_ACCESSOR,useExisting:_e,multi:!0},{provide:D.NG_VALIDATORS,useExisting:_e,multi:!0}]),c.\u0275\u0275InheritDefinitionFeature]})}return _e})(),ji=0,rr=(()=>{class _e{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const V=this._startInput?._getPlaceholder()||"",he=this._endInput?._getPlaceholder()||"";return V||he?`${V} ${this.separator} ${he}`:""}get rangePicker(){return this._rangePicker}set rangePicker(V){V&&(this._model=V.registerInput(this),this._rangePicker=V,this._closedSubscription.unsubscribe(),this._closedSubscription=V.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(V){this._required=V}get dateFilter(){return this._dateFilter}set dateFilter(V){const he=this._startInput,de=this._endInput,We=he&&he._matchesFilter(he.value),wt=de&&de._matchesFilter(he.value);this._dateFilter=V,he&&he._matchesFilter(he.value)!==We&&he._validatorOnChange(),de&&de._matchesFilter(de.value)!==wt&&de._validatorOnChange()}get min(){return this._min}set min(V){const he=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V));this._dateAdapter.sameDate(he,this._min)||(this._min=he,this._revalidate())}get max(){return this._max}set max(V){const he=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V));this._dateAdapter.sameDate(he,this._max)||(this._max=he,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(V){V!==this._groupDisabled&&(this._groupDisabled=V,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const V=!!this._startInput&&this._startInput.isEmpty(),he=!!this._endInput&&this._endInput.isEmpty();return V&&he}constructor(V,he,de,We,wt){this._changeDetectorRef=V,this._elementRef=he,this._dateAdapter=We,this._formField=wt,this._closedSubscription=l.wH.EMPTY,this.id="mat-date-range-input-"+ji++,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 d.E,wt?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&he.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=de}setDescribedByIds(V){this._ariaDescribedBy=V.length?V.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,a.U)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(V){Fe(V,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(V){const he="start"===V?this._startInput:this._endInput;return he?he.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 V=this._formField;return V&&V._hasFloatingLabel()?V._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(V){this.focused=null!==V,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(V){this._startInput&&this._startInput._registerModel(V),this._endInput&&this._endInput._registerModel(V)}_isTargetRequired(V){return V?.ngControl?.control?.hasValidator(D.Validators.required)}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(D.ControlContainer,10),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(I.MAT_FORM_FIELD,8))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-date-range-input"]],contentQueries:function(he,de,We){if(1&he&&(c.\u0275\u0275contentQuery(We,Ji,5),c.\u0275\u0275contentQuery(We,mi,5)),2&he){let wt;c.\u0275\u0275queryRefresh(wt=c.\u0275\u0275loadQuery())&&(de._startInput=wt.first),c.\u0275\u0275queryRefresh(wt=c.\u0275\u0275loadQuery())&&(de._endInput=wt.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(he,de){2&he&&(c.\u0275\u0275attribute("id",de.id)("aria-labelledby",de._getAriaLabelledby())("aria-describedby",de._ariaDescribedBy)("data-mat-calendar",de.rangePicker?de.rangePicker.id:null),c.\u0275\u0275classProp("mat-date-range-input-hide-placeholders",de._shouldHidePlaceholders())("mat-date-range-input-required",de.required))},inputs:{rangePicker:"rangePicker",required:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"required","required",c.booleanAttribute],dateFilter:"dateFilter",min:"min",max:"max",disabled:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",c.booleanAttribute],separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:I.MatFormFieldControl,useExisting:_e},{provide:Fi,useExisting:_e}]),c.\u0275\u0275InputTransformsFeature,c.\u0275\u0275NgOnChangesFeature,c.\u0275\u0275StandaloneFeature],ngContentSelectors:ue,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(he,de){1&he&&(c.\u0275\u0275projectionDef(le),c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275listener("cdkFocusChange",function(wt){return de._updateFocus(wt)}),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275projection(2),c.\u0275\u0275elementStart(3,"span",2),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(5,"span",3),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(7,"div",4),c.\u0275\u0275projection(8,1),c.\u0275\u0275elementStart(9,"span",2),c.\u0275\u0275text(10),c.\u0275\u0275elementEnd()()()),2&he&&(c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate(de._getInputMirrorValue("start")),c.\u0275\u0275advance(),c.\u0275\u0275classProp("mat-date-range-input-separator-hidden",de._shouldHideSeparator()),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(de.separator),c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate(de._getInputMirrorValue("end")))},dependencies:[t.Si],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;color:var(--mat-datepicker-range-input-separator-color)}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color)}._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-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color)}.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})}return _e})(),se=(()=>{class _e extends kt{_forwardContentValues(V){super._forwardContentValues(V);const he=this.datepickerInput;he&&(V.comparisonStart=he.comparisonStart,V.comparisonEnd=he.comparisonEnd,V.startDateAccessibleName=he._getStartDateAccessibleName(),V.endDateAccessibleName=he._getEndDateAccessibleName())}static#e=this.\u0275fac=(()=>{let V;return function(de){return(V||(V=c.\u0275\u0275getInheritedFactory(_e)))(de||_e)}})();static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([Gt,gn,{provide:kt,useExisting:_e}]),c.\u0275\u0275InheritDefinitionFeature,c.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(he,de){},encapsulation:2,changeDetection:0})}return _e})(),at=(()=>{class _e{constructor(V){this._datepicker=V}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(kt))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(he,de){1&he&&c.\u0275\u0275listener("click",function(){return de._applySelection()})},standalone:!0})}return _e})(),ae=(()=>{class _e{constructor(V){this._datepicker=V}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(kt))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(he,de){1&he&&c.\u0275\u0275listener("click",function(){return de._datepicker.close()})},standalone:!0})}return _e})(),fe=(()=>{class _e{constructor(V,he){this._datepicker=V,this._viewContainerRef=he}ngAfterViewInit(){this._portal=new C.CC(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(kt),c.\u0275\u0275directiveInject(c.ViewContainerRef))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(he,de){if(1&he&&c.\u0275\u0275viewQuery(c.TemplateRef,5),2&he){let We;c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de._template=We.first)}},standalone:!0,features:[c.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(he,de){1&he&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275template(0,ve,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})}return _e})(),Ae=(()=>{class _e{static#e=this.\u0275fac=function(he){return new(he||_e)};static#t=this.\u0275mod=c.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=c.\u0275\u0275defineInjector({providers:[_t,$e],imports:[E.CommonModule,b.MatButtonModule,v.Y1,t.Ux,C.g$,f.MatCommonModule,Ge,qt,He,s.uU]})}return _e})()},3584:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MatDivider:()=>E,MatDividerModule:()=>c});var t=g(4496),v=g(7712),C=g(3576);let E=(()=>{class b{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(f){this._vertical=(0,v.W6)(f)}get inset(){return this._inset}set inset(f){this._inset=(0,v.W6)(f)}static#e=this.\u0275fac=function(d){return new(d||b)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:b,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(d,l){2&d&&(t.\u0275\u0275attribute("aria-orientation",l.vertical?"vertical":"horizontal"),t.\u0275\u0275classProp("mat-divider-vertical",l.vertical)("mat-divider-horizontal",!l.vertical)("mat-divider-inset",l.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(d,l){},styles:[".mat-divider{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})}return b})(),c=(()=>{class b{static#e=this.\u0275fac=function(d){return new(d||b)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:b});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[C.MatCommonModule,C.MatCommonModule]})}return b})()},4060:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_ERROR:()=>Ct,MAT_FORM_FIELD:()=>on,MAT_FORM_FIELD_DEFAULT_OPTIONS:()=>tn,MAT_PREFIX:()=>Qe,MAT_SUFFIX:()=>Ie,MatError:()=>Re,MatFormField:()=>xe,MatFormFieldControl:()=>pt,MatFormFieldModule:()=>rt,MatHint:()=>pe,MatLabel:()=>_t,MatPrefix:()=>Be,MatSuffix:()=>je,getMatFormFieldDuplicatedHintError:()=>Gt,getMatFormFieldMissingControlError:()=>rn,getMatFormFieldPlaceholderConflictError:()=>Pt,matFormFieldAnimations:()=>ze});var t=g(4496),v=g(1900),C=g(5792),E=g(6928),c=g(5657),b=g(3412),s=g(3616),f=g(3252),d=g(6684),l=g(8716);class r{constructor(At){this._box=At,this._destroyed=new c.E,this._resizeSubject=new c.E,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(nt=>this._resizeSubject.next(nt)))}observe(At){return this._elementObservables.has(At)||this._elementObservables.set(At,new f._(nt=>{const vt=this._resizeSubject.subscribe(nt);return this._resizeObserver?.observe(At,{box:this._box}),()=>{this._resizeObserver?.unobserve(At),vt.unsubscribe(),this._elementObservables.delete(At)}}).pipe((0,d.I)(nt=>nt.some(vt=>vt.target===At)),(0,l.C)({bufferSize:1,refCount:!0}),(0,s.a)(this._destroyed))),this._elementObservables.get(At)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let u=(()=>{class lt{constructor(){this._observers=new Map,this._ngZone=(0,t.inject)(t.NgZone)}ngOnDestroy(){for(const[,nt]of this._observers)nt.destroy();this._observers.clear()}observe(nt,vt){const Le=vt?.box||"content-box";return this._observers.has(Le)||this._observers.set(Le,new r(Le)),this._observers.get(Le).observe(nt)}static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:lt,factory:lt.\u0275fac,providedIn:"root"})}return lt})();var h=g(7712),p=g(9684),_=g(1368),y=g(6640),M=g(3576);const w=["notch"],k=["matFormFieldNotchedOutline",""],D=["*"],I=["textField"],O=["iconPrefixContainer"],T=["textPrefixContainer"];function N(lt,At){1<&&t.\u0275\u0275element(0,"span",16)}function S(lt,At){if(1<&&(t.\u0275\u0275elementStart(0,"label",14),t.\u0275\u0275projection(1,1),t.\u0275\u0275template(2,N,1,0,"span",15),t.\u0275\u0275elementEnd()),2<){const nt=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("floating",nt._shouldLabelFloat())("monitorResize",nt._hasOutline())("id",nt._labelId),t.\u0275\u0275attribute("for",nt._control.id),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(2,!nt.hideRequiredMarker&&nt._control.required?2:-1)}}function F(lt,At){if(1<&&t.\u0275\u0275template(0,S,3,5,"label",14),2<){const nt=t.\u0275\u0275nextContext();t.\u0275\u0275conditional(0,nt._hasFloatingLabel()?0:-1)}}function L(lt,At){1<&&t.\u0275\u0275element(0,"div",17)}function A(lt,At){}function U(lt,At){if(1<&&t.\u0275\u0275template(0,A,0,0,"ng-template",9),2<){t.\u0275\u0275nextContext(2);const nt=t.\u0275\u0275reference(1);t.\u0275\u0275property("ngTemplateOutlet",nt)}}function K(lt,At){if(1<&&(t.\u0275\u0275elementStart(0,"div",5),t.\u0275\u0275template(1,U,1,1,null,9),t.\u0275\u0275elementEnd()),2<){const nt=t.\u0275\u0275nextContext();t.\u0275\u0275property("matFormFieldNotchedOutlineOpen",nt._shouldLabelFloat()),t.\u0275\u0275advance(),t.\u0275\u0275conditional(1,nt._forceDisplayInfixLabel()?-1:1)}}function ee(lt,At){1<&&(t.\u0275\u0275elementStart(0,"div",18,19),t.\u0275\u0275projection(2,2),t.\u0275\u0275elementEnd())}function ne(lt,At){1<&&(t.\u0275\u0275elementStart(0,"div",20,21),t.\u0275\u0275projection(2,3),t.\u0275\u0275elementEnd())}function B(lt,At){}function H(lt,At){if(1<&&t.\u0275\u0275template(0,B,0,0,"ng-template",9),2<){t.\u0275\u0275nextContext();const nt=t.\u0275\u0275reference(1);t.\u0275\u0275property("ngTemplateOutlet",nt)}}function z(lt,At){1<&&(t.\u0275\u0275elementStart(0,"div",22),t.\u0275\u0275projection(1,4),t.\u0275\u0275elementEnd())}function X(lt,At){1<&&(t.\u0275\u0275elementStart(0,"div",23),t.\u0275\u0275projection(1,5),t.\u0275\u0275elementEnd())}function G(lt,At){1<&&t.\u0275\u0275element(0,"div",12)}function j(lt,At){if(1<&&(t.\u0275\u0275elementStart(0,"div",24),t.\u0275\u0275projection(1,6),t.\u0275\u0275elementEnd()),2<){const nt=t.\u0275\u0275nextContext();t.\u0275\u0275property("@transitionMessages",nt._subscriptAnimationState)}}function le(lt,At){if(1<&&(t.\u0275\u0275elementStart(0,"mat-hint",26),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2<){const nt=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("id",nt._hintLabelId),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate(nt.hintLabel)}}function ue(lt,At){if(1<&&(t.\u0275\u0275elementStart(0,"div",25),t.\u0275\u0275template(1,le,2,2,"mat-hint",26),t.\u0275\u0275projection(2,7),t.\u0275\u0275element(3,"div",27),t.\u0275\u0275projection(4,8),t.\u0275\u0275elementEnd()),2<){const nt=t.\u0275\u0275nextContext();t.\u0275\u0275property("@transitionMessages",nt._subscriptAnimationState),t.\u0275\u0275advance(),t.\u0275\u0275conditional(1,nt.hintLabel?1:-1)}}const ve=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Je=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let _t=(()=>{class lt{static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["mat-label"]],standalone:!0})}return lt})(),ct=0;const Ct=new t.InjectionToken("MatError");let Re=(()=>{class lt{constructor(nt,vt){this.id="mat-mdc-error-"+ct++,nt||vt.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(vt){return new(vt||lt)(t.\u0275\u0275injectAttribute("aria-live"),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(vt,Le){2&vt&&t.\u0275\u0275hostProperty("id",Le.id)},inputs:{id:"id"},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ct,useExisting:lt}])]})}return lt})(),ke=0,pe=(()=>{class lt{constructor(){this.align="start",this.id="mat-mdc-hint-"+ke++}static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(vt,Le){2&vt&&(t.\u0275\u0275hostProperty("id",Le.id),t.\u0275\u0275attribute("align",null),t.\u0275\u0275classProp("mat-mdc-form-field-hint-end","end"===Le.align))},inputs:{align:"align",id:"id"},standalone:!0})}return lt})();const Qe=new t.InjectionToken("MatPrefix");let Be=(()=>{class lt{constructor(){this._isText=!1}set _isTextSelector(nt){this._isText=!0}static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[t.\u0275\u0275InputFlags.None,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Qe,useExisting:lt}])]})}return lt})();const Ie=new t.InjectionToken("MatSuffix");let je=(()=>{class lt{constructor(){this._isText=!1}set _isTextSelector(nt){this._isText=!0}static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[t.\u0275\u0275InputFlags.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ie,useExisting:lt}])]})}return lt})();const q=new t.InjectionToken("FloatingLabelParent");let ye=(()=>{class lt{get floating(){return this._floating}set floating(nt){this._floating=nt,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(nt){this._monitorResize=nt,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(nt){this._elementRef=nt,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,t.inject)(u),this._ngZone=(0,t.inject)(t.NgZone),this._parent=(0,t.inject)(q),this._resizeSubscription=new E.wH}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Oe(lt){if(null!==lt.offsetParent)return lt.scrollWidth;const nt=lt.cloneNode(!0);nt.style.setProperty("position","absolute"),nt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(nt);const vt=nt.scrollWidth;return nt.remove(),vt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(vt){return new(vt||lt)(t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(vt,Le){2&vt&&t.\u0275\u0275classProp("mdc-floating-label--float-above",Le.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return lt})();const Xe="mdc-line-ripple--active",ge="mdc-line-ripple--deactivating";let Ve=(()=>{class lt{constructor(nt,vt){this._elementRef=nt,this._handleTransitionEnd=Le=>{const He=this._elementRef.nativeElement.classList,st=He.contains(ge);"opacity"===Le.propertyName&&st&&He.remove(Xe,ge)},vt.runOutsideAngular(()=>{nt.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const nt=this._elementRef.nativeElement.classList;nt.remove(ge),nt.add(Xe)}deactivate(){this._elementRef.nativeElement.classList.add(ge)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(vt){return new(vt||lt)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return lt})(),ot=(()=>{class lt{constructor(nt,vt){this._elementRef=nt,this._ngZone=vt,this.open=!1}ngAfterViewInit(){const nt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");nt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(nt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>nt.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(nt){this._notch.nativeElement.style.width=this.open&&nt?`calc(${nt}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(vt){return new(vt||lt)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:lt,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(vt,Le){if(1&vt&&t.\u0275\u0275viewQuery(w,5),2&vt){let He;t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._notch=He.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(vt,Le){2&vt&&t.\u0275\u0275classProp("mdc-notched-outline--notched",Le.open)},inputs:{open:[t.\u0275\u0275InputFlags.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],attrs:k,ngContentSelectors:D,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(vt,Le){1&vt&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275element(0,"div",0),t.\u0275\u0275elementStart(1,"div",1,2),t.\u0275\u0275projection(3),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(4,"div",3))},encapsulation:2,changeDetection:0})}return lt})();const ze={transitionMessages:(0,p.gV)("transitionMessages",[(0,p.K2)("enter",(0,p.wb)({opacity:1,transform:"translateY(0%)"})),(0,p.aK)("void => enter",[(0,p.wb)({opacity:0,transform:"translateY(-5px)"}),(0,p.Cs)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pt=(()=>{class lt{static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt})}return lt})();function Pt(){return Error("Placeholder attribute and child element were both specified.")}function Gt(lt){return Error(`A hint was already declared for 'align="${lt}"'.`)}function rn(){return Error("mat-form-field must contain a MatFormFieldControl.")}const on=new t.InjectionToken("MatFormField"),tn=new t.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let gn=0,xe=(()=>{class lt{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(nt){this._hideRequiredMarker=(0,h.W6)(nt)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(nt){nt!==this._floatLabel&&(this._floatLabel=nt,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(nt){const vt=this._appearance;this._appearance=nt||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==vt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(nt){this._subscriptSizing=nt||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(nt){this._hintLabel=nt,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(nt){this._explicitFormFieldControl=nt}constructor(nt,vt,Le,He,st,Te,Pe,bt){this._elementRef=nt,this._changeDetectorRef=vt,this._ngZone=Le,this._dir=He,this._platform=st,this._defaults=Te,this._animationMode=Pe,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+gn++,this._hintLabelId="mat-mdc-hint-"+gn++,this._subscriptAnimationState="",this._destroyed=new c.E,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Te&&(Te.appearance&&(this.appearance=Te.appearance),this._hideRequiredMarker=!!Te?.hideRequiredMarker,Te.color&&(this.color=Te.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const nt=this._control;nt.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${nt.controlType}`),nt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),nt.ngControl&&nt.ngControl.valueChanges&&nt.ngControl.valueChanges.pipe((0,s.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(nt=>!nt._isText),this._hasTextPrefix=!!this._prefixChildren.find(nt=>nt._isText),this._hasIconSuffix=!!this._suffixChildren.find(nt=>!nt._isText),this._hasTextSuffix=!!this._suffixChildren.find(nt=>nt._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,b.U)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,s.a)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,s.a)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(nt){const vt=this._control?this._control.ngControl:null;return vt&&vt[nt]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let nt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&nt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const vt=this._hintChildren?this._hintChildren.find(He=>"start"===He.align):null,Le=this._hintChildren?this._hintChildren.find(He=>"end"===He.align):null;vt?nt.push(vt.id):this._hintLabel&&nt.push(this._hintLabelId),Le&&nt.push(Le.id)}else this._errorChildren&&nt.push(...this._errorChildren.map(vt=>vt.id));this._control.setDescribedByIds(nt)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const nt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(nt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const vt=this._iconPrefixContainer?.nativeElement,Le=this._textPrefixContainer?.nativeElement,He=vt?.getBoundingClientRect().width??0,st=Le?.getBoundingClientRect().width??0;nt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${He+st}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const nt=this._elementRef.nativeElement;if(nt.getRootNode){const vt=nt.getRootNode();return vt&&vt!==nt}return document.documentElement.contains(nt)}static#e=this.\u0275fac=function(vt){return new(vt||lt)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(v.yG),t.\u0275\u0275directiveInject(C.WU),t.\u0275\u0275directiveInject(tn,8),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(_.DOCUMENT))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:lt,selectors:[["mat-form-field"]],contentQueries:function(vt,Le,He){if(1&vt&&(t.\u0275\u0275contentQuery(He,_t,5),t.\u0275\u0275contentQuery(He,_t,7),t.\u0275\u0275contentQuery(He,pt,5),t.\u0275\u0275contentQuery(He,Qe,5),t.\u0275\u0275contentQuery(He,Ie,5),t.\u0275\u0275contentQuery(He,Ct,5),t.\u0275\u0275contentQuery(He,pe,5)),2&vt){let st;t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._labelChildNonStatic=st.first),t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._labelChildStatic=st.first),t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._formFieldControl=st.first),t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._prefixChildren=st),t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._suffixChildren=st),t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._errorChildren=st),t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._hintChildren=st)}},viewQuery:function(vt,Le){if(1&vt&&(t.\u0275\u0275viewQuery(I,5),t.\u0275\u0275viewQuery(O,5),t.\u0275\u0275viewQuery(T,5),t.\u0275\u0275viewQuery(ye,5),t.\u0275\u0275viewQuery(ot,5),t.\u0275\u0275viewQuery(Ve,5)),2&vt){let He;t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._textField=He.first),t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._iconPrefixContainer=He.first),t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._textPrefixContainer=He.first),t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._floatingLabel=He.first),t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._notchedOutline=He.first),t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._lineRipple=He.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(vt,Le){2&vt&&t.\u0275\u0275classProp("mat-mdc-form-field-label-always-float",Le._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Le._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Le._hasIconSuffix)("mat-form-field-invalid",Le._control.errorState)("mat-form-field-disabled",Le._control.disabled)("mat-form-field-autofilled",Le._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Le._animationMode)("mat-form-field-appearance-fill","fill"==Le.appearance)("mat-form-field-appearance-outline","outline"==Le.appearance)("mat-form-field-hide-placeholder",Le._hasFloatingLabel()&&!Le._shouldLabelFloat())("mat-focused",Le._control.focused)("mat-primary","accent"!==Le.color&&"warn"!==Le.color)("mat-accent","accent"===Le.color)("mat-warn","warn"===Le.color)("ng-untouched",Le._shouldForward("untouched"))("ng-touched",Le._shouldForward("touched"))("ng-pristine",Le._shouldForward("pristine"))("ng-dirty",Le._shouldForward("dirty"))("ng-valid",Le._shouldForward("valid"))("ng-invalid",Le._shouldForward("invalid"))("ng-pending",Le._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:on,useExisting:lt},{provide:q,useExisting:lt}]),t.\u0275\u0275StandaloneFeature],ngContentSelectors:Je,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(vt,Le){if(1&vt&&(t.\u0275\u0275projectionDef(ve),t.\u0275\u0275template(0,F,1,1,"ng-template",null,0,t.\u0275\u0275templateRefExtractor),t.\u0275\u0275elementStart(2,"div",1,2),t.\u0275\u0275listener("click",function(st){return Le._control.onContainerClick(st)}),t.\u0275\u0275template(4,L,1,0,"div",3),t.\u0275\u0275elementStart(5,"div",4),t.\u0275\u0275template(6,K,2,2,"div",5)(7,ee,3,0,"div",6)(8,ne,3,0,"div",7),t.\u0275\u0275elementStart(9,"div",8),t.\u0275\u0275template(10,H,1,1,null,9),t.\u0275\u0275projection(11),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(12,z,2,0,"div",10)(13,X,2,0,"div",11),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(14,G,1,0,"div",12),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(15,"div",13),t.\u0275\u0275template(16,j,2,1)(17,ue,5,2),t.\u0275\u0275elementEnd()),2&vt){let He;t.\u0275\u0275advance(2),t.\u0275\u0275classProp("mdc-text-field--filled",!Le._hasOutline())("mdc-text-field--outlined",Le._hasOutline())("mdc-text-field--no-label",!Le._hasFloatingLabel())("mdc-text-field--disabled",Le._control.disabled)("mdc-text-field--invalid",Le._control.errorState),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(4,Le._hasOutline()||Le._control.disabled?-1:4),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(6,Le._hasOutline()?6:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(7,Le._hasIconPrefix?7:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(8,Le._hasTextPrefix?8:-1),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(10,!Le._hasOutline()||Le._forceDisplayInfixLabel()?10:-1),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(12,Le._hasTextSuffix?12:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(13,Le._hasIconSuffix?13:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(14,Le._hasOutline()?-1:14),t.\u0275\u0275advance(),t.\u0275\u0275classProp("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Le.subscriptSizing),t.\u0275\u0275advance(),t.\u0275\u0275conditional(16,"error"===(He=Le._getDisplayedMessages())?16:"hint"===He?17:-1)}},dependencies:[ye,ot,_.NgTemplateOutlet,Ve,pe],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";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;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[ze.transitionMessages]},changeDetection:0})}return lt})(),rt=(()=>{class lt{static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:lt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[M.MatCommonModule,_.CommonModule,y.IT,M.MatCommonModule]})}return lt})()},1560:(De,te,g)=>{"use strict";g.r(te),g.d(te,{ICON_REGISTRY_PROVIDER:()=>F,ICON_REGISTRY_PROVIDER_FACTORY:()=>S,MAT_ICON_DEFAULT_OPTIONS:()=>K,MAT_ICON_LOCATION:()=>ee,MAT_ICON_LOCATION_FACTORY:()=>ne,MatIcon:()=>X,MatIconModule:()=>G,MatIconRegistry:()=>N,getMatIconFailedToSanitizeLiteralError:()=>O,getMatIconFailedToSanitizeUrlError:()=>I,getMatIconNameNotFoundError:()=>k,getMatIconNoHttpProviderError:()=>D});var t=g(4496),v=g(3576),C=g(1368),E=g(2700),c=g(3800),b=g(9336),s=g(6928),f=g(9212),d=g(4704),l=g(9144),a=g(8824),r=g(7648),u=g(3992),h=g(7048),p=g(4476);const _=["*"];let y;function w(j){return function M(){if(void 0===y&&(y=null,typeof window<"u")){const j=window;void 0!==j.trustedTypes&&(y=j.trustedTypes.createPolicy("angular#components",{createHTML:le=>le}))}return y}()?.createHTML(j)||j}function k(j){return Error(`Unable to find icon with the name "${j}"`)}function D(){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 I(j){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${j}".`)}function O(j){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${j}".`)}class T{constructor(le,ue,ve){this.url=le,this.svgText=ue,this.options=ve}}let N=(()=>{class j{constructor(ue,ve,Je,_t){this._httpClient=ue,this._sanitizer=ve,this._errorHandler=_t,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=Je}addSvgIcon(ue,ve,Je){return this.addSvgIconInNamespace("",ue,ve,Je)}addSvgIconLiteral(ue,ve,Je){return this.addSvgIconLiteralInNamespace("",ue,ve,Je)}addSvgIconInNamespace(ue,ve,Je,_t){return this._addSvgIconConfig(ue,ve,new T(Je,null,_t))}addSvgIconResolver(ue){return this._resolvers.push(ue),this}addSvgIconLiteralInNamespace(ue,ve,Je,_t){const ct=this._sanitizer.sanitize(t.SecurityContext.HTML,Je);if(!ct)throw O(Je);const Ct=w(ct);return this._addSvgIconConfig(ue,ve,new T("",Ct,_t))}addSvgIconSet(ue,ve){return this.addSvgIconSetInNamespace("",ue,ve)}addSvgIconSetLiteral(ue,ve){return this.addSvgIconSetLiteralInNamespace("",ue,ve)}addSvgIconSetInNamespace(ue,ve,Je){return this._addSvgIconSetConfig(ue,new T(ve,null,Je))}addSvgIconSetLiteralInNamespace(ue,ve,Je){const _t=this._sanitizer.sanitize(t.SecurityContext.HTML,ve);if(!_t)throw O(ve);const ct=w(_t);return this._addSvgIconSetConfig(ue,new T("",ct,Je))}registerFontClassAlias(ue,ve=ue){return this._fontCssClassesByAlias.set(ue,ve),this}classNameForFontAlias(ue){return this._fontCssClassesByAlias.get(ue)||ue}setDefaultFontSetClass(...ue){return this._defaultFontSetClass=ue,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(ue){const ve=this._sanitizer.sanitize(t.SecurityContext.RESOURCE_URL,ue);if(!ve)throw I(ue);const Je=this._cachedIconsByUrl.get(ve);return Je?(0,E.of)(L(Je)):this._loadSvgIconFromConfig(new T(ue,null)).pipe((0,f.y)(_t=>this._cachedIconsByUrl.set(ve,_t)),(0,d.k)(_t=>L(_t)))}getNamedSvgIcon(ue,ve=""){const Je=A(ve,ue);let _t=this._svgIconConfigs.get(Je);if(_t)return this._getSvgFromConfig(_t);if(_t=this._getIconConfigFromResolvers(ve,ue),_t)return this._svgIconConfigs.set(Je,_t),this._getSvgFromConfig(_t);const ct=this._iconSetConfigs.get(ve);return ct?this._getSvgFromIconSetConfigs(ue,ct):(0,c.c)(k(Je))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ue){return ue.svgText?(0,E.of)(L(this._svgElementFromConfig(ue))):this._loadSvgIconFromConfig(ue).pipe((0,d.k)(ve=>L(ve)))}_getSvgFromIconSetConfigs(ue,ve){const Je=this._extractIconWithNameFromAnySet(ue,ve);if(Je)return(0,E.of)(Je);const _t=ve.filter(ct=>!ct.svgText).map(ct=>this._loadSvgIconSetFromConfig(ct).pipe((0,l.a)(Ct=>{const ke=`Loading icon set URL: ${this._sanitizer.sanitize(t.SecurityContext.RESOURCE_URL,ct.url)} failed: ${Ct.message}`;return this._errorHandler.handleError(new Error(ke)),(0,E.of)(null)})));return(0,b.y)(_t).pipe((0,d.k)(()=>{const ct=this._extractIconWithNameFromAnySet(ue,ve);if(!ct)throw k(ue);return ct}))}_extractIconWithNameFromAnySet(ue,ve){for(let Je=ve.length-1;Je>=0;Je--){const _t=ve[Je];if(_t.svgText&&_t.svgText.toString().indexOf(ue)>-1){const ct=this._svgElementFromConfig(_t),Ct=this._extractSvgIconFromSet(ct,ue,_t.options);if(Ct)return Ct}}return null}_loadSvgIconFromConfig(ue){return this._fetchIcon(ue).pipe((0,f.y)(ve=>ue.svgText=ve),(0,d.k)(()=>this._svgElementFromConfig(ue)))}_loadSvgIconSetFromConfig(ue){return ue.svgText?(0,E.of)(null):this._fetchIcon(ue).pipe((0,f.y)(ve=>ue.svgText=ve))}_extractSvgIconFromSet(ue,ve,Je){const _t=ue.querySelector(`[id="${ve}"]`);if(!_t)return null;const ct=_t.cloneNode(!0);if(ct.removeAttribute("id"),"svg"===ct.nodeName.toLowerCase())return this._setSvgAttributes(ct,Je);if("symbol"===ct.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ct),Je);const Ct=this._svgElementFromString(w(""));return Ct.appendChild(ct),this._setSvgAttributes(Ct,Je)}_svgElementFromString(ue){const ve=this._document.createElement("DIV");ve.innerHTML=ue;const Je=ve.querySelector("svg");if(!Je)throw Error(" tag not found");return Je}_toSvgElement(ue){const ve=this._svgElementFromString(w("")),Je=ue.attributes;for(let _t=0;_tw(ke)),(0,a.U)(()=>this._inProgressUrlFetches.delete(ct)),(0,r.o)());return this._inProgressUrlFetches.set(ct,Re),Re}_addSvgIconConfig(ue,ve,Je){return this._svgIconConfigs.set(A(ue,ve),Je),this}_addSvgIconSetConfig(ue,ve){const Je=this._iconSetConfigs.get(ue);return Je?Je.push(ve):this._iconSetConfigs.set(ue,[ve]),this}_svgElementFromConfig(ue){if(!ue.svgElement){const ve=this._svgElementFromString(ue.svgText);this._setSvgAttributes(ve,ue.options),ue.svgElement=ve}return ue.svgElement}_getIconConfigFromResolvers(ue,ve){for(let Je=0;Jele?le.pathname+le.search:""}}const B=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],H=B.map(j=>`[${j}]`).join(", "),z=/^url\(['"]?#(.*?)['"]?\)$/;let X=(()=>{class j{get color(){return this._color||this._defaultColor}set color(ue){this._color=ue}get svgIcon(){return this._svgIcon}set svgIcon(ue){ue!==this._svgIcon&&(ue?this._updateSvgIcon(ue):this._svgIcon&&this._clearSvgElement(),this._svgIcon=ue)}get fontSet(){return this._fontSet}set fontSet(ue){const ve=this._cleanupFontValue(ue);ve!==this._fontSet&&(this._fontSet=ve,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(ue){const ve=this._cleanupFontValue(ue);ve!==this._fontIcon&&(this._fontIcon=ve,this._updateFontIconClasses())}constructor(ue,ve,Je,_t,ct,Ct){this._elementRef=ue,this._iconRegistry=ve,this._location=_t,this._errorHandler=ct,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=s.wH.EMPTY,Ct&&(Ct.color&&(this.color=this._defaultColor=Ct.color),Ct.fontSet&&(this.fontSet=Ct.fontSet)),Je||ue.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(ue){if(!ue)return["",""];const ve=ue.split(":");switch(ve.length){case 1:return["",ve[0]];case 2:return ve;default:throw Error(`Invalid icon name: "${ue}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const ue=this._elementsWithExternalReferences;if(ue&&ue.size){const ve=this._location.getPathname();ve!==this._previousPath&&(this._previousPath=ve,this._prependPathToReferences(ve))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(ue){this._clearSvgElement();const ve=this._location.getPathname();this._previousPath=ve,this._cacheChildrenWithExternalReferences(ue),this._prependPathToReferences(ve),this._elementRef.nativeElement.appendChild(ue)}_clearSvgElement(){const ue=this._elementRef.nativeElement;let ve=ue.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ve--;){const Je=ue.childNodes[ve];(1!==Je.nodeType||"svg"===Je.nodeName.toLowerCase())&&Je.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ue=this._elementRef.nativeElement,ve=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Je=>Je.length>0);this._previousFontSetClass.forEach(Je=>ue.classList.remove(Je)),ve.forEach(Je=>ue.classList.add(Je)),this._previousFontSetClass=ve,this.fontIcon!==this._previousFontIconClass&&!ve.includes("mat-ligature-font")&&(this._previousFontIconClass&&ue.classList.remove(this._previousFontIconClass),this.fontIcon&&ue.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(ue){return"string"==typeof ue?ue.trim().split(" ")[0]:ue}_prependPathToReferences(ue){const ve=this._elementsWithExternalReferences;ve&&ve.forEach((Je,_t)=>{Je.forEach(ct=>{_t.setAttribute(ct.name,`url('${ue}#${ct.value}')`)})})}_cacheChildrenWithExternalReferences(ue){const ve=ue.querySelectorAll(H),Je=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let _t=0;_t{const Ct=ve[_t],Re=Ct.getAttribute(ct),ke=Re?Re.match(z):null;if(ke){let pe=Je.get(Ct);pe||(pe=[],Je.set(Ct,pe)),pe.push({name:ct,value:ke[1]})}})}_updateSvgIcon(ue){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ue){const[ve,Je]=this._splitIconName(ue);ve&&(this._svgNamespace=ve),Je&&(this._svgName=Je),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Je,ve).pipe((0,u.U)(1)).subscribe(_t=>this._setSvgElement(_t),_t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ve}:${Je}! ${_t.message}`))})}}static#e=this.\u0275fac=function(ve){return new(ve||j)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(N),t.\u0275\u0275injectAttribute("aria-hidden"),t.\u0275\u0275directiveInject(ee),t.\u0275\u0275directiveInject(t.ErrorHandler),t.\u0275\u0275directiveInject(K,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:j,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(ve,Je){2&ve&&(t.\u0275\u0275attribute("data-mat-icon-type",Je._usingFontIcon()?"font":"svg")("data-mat-icon-name",Je._svgName||Je.fontIcon)("data-mat-icon-namespace",Je._svgNamespace||Je.fontSet)("fontIcon",Je._usingFontIcon()?Je.fontIcon:null),t.\u0275\u0275classMap(Je.color?"mat-"+Je.color:""),t.\u0275\u0275classProp("mat-icon-inline",Je.inline)("mat-icon-no-color","primary"!==Je.color&&"accent"!==Je.color&&"warn"!==Je.color))},inputs:{color:"color",inline:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"inline","inline",t.booleanAttribute],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:_,decls:1,vars:0,template:function(ve,Je){1&ve&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.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})}return j})(),G=(()=>{class j{static#e=this.\u0275fac=function(ve){return new(ve||j)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:j});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[v.MatCommonModule,v.MatCommonModule]})}return j})()},5155:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_INPUT_VALUE_ACCESSOR:()=>p,MatError:()=>u.MatError,MatFormField:()=>u.MatFormField,MatHint:()=>u.MatHint,MatInput:()=>M,MatInputModule:()=>w,MatLabel:()=>u.MatLabel,MatPrefix:()=>u.MatPrefix,MatSuffix:()=>u.MatSuffix,getMatInputUnsupportedTypeError:()=>h});var t=g(7712),v=g(5792),C=g(4496),E=g(8960),c=g(5657);const b=(0,v.W4)({passive:!0});let s=(()=>{class k{constructor(I,O){this._platform=I,this._ngZone=O,this._monitoredElements=new Map}monitor(I){if(!this._platform.isBrowser)return E.k;const O=(0,t.mk)(I),T=this._monitoredElements.get(O);if(T)return T.subject;const N=new c.E,S="cdk-text-field-autofilled",F=L=>{"cdk-text-field-autofill-start"!==L.animationName||O.classList.contains(S)?"cdk-text-field-autofill-end"===L.animationName&&O.classList.contains(S)&&(O.classList.remove(S),this._ngZone.run(()=>N.next({target:L.target,isAutofilled:!1}))):(O.classList.add(S),this._ngZone.run(()=>N.next({target:L.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{O.addEventListener("animationstart",F,b),O.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(O,{subject:N,unlisten:()=>{O.removeEventListener("animationstart",F,b)}}),N}stopMonitoring(I){const O=(0,t.mk)(I),T=this._monitoredElements.get(O);T&&(T.unlisten(),T.subject.complete(),O.classList.remove("cdk-text-field-autofill-monitored"),O.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(O))}ngOnDestroy(){this._monitoredElements.forEach((I,O)=>this.stopMonitoring(O))}static#e=this.\u0275fac=function(O){return new(O||k)(C.\u0275\u0275inject(v.WU),C.\u0275\u0275inject(C.NgZone))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})(),l=(()=>{class k{static#e=this.\u0275fac=function(O){return new(O||k)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:k});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({})}return k})();var a=g(6504),r=g(3576),u=g(4060);function h(k){return Error(`Input type "${k}" isn't supported by matInput.`)}const p=new C.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),_=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let y=0,M=(()=>{class k{get disabled(){return this._disabled}set disabled(I){this._disabled=(0,t.W6)(I),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(I){this._id=I||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(a.Validators.required)??!1}set required(I){this._required=(0,t.W6)(I)}get type(){return this._type}set type(I){this._type=I||"text",this._validateType(),!this._isTextarea&&(0,v.mU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(I){this._errorStateTracker.matcher=I}get value(){return this._inputValueAccessor.value}set value(I){I!==this.value&&(this._inputValueAccessor.value=I,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(I){this._readonly=(0,t.W6)(I)}get errorState(){return this._errorStateTracker.errorState}set errorState(I){this._errorStateTracker.errorState=I}constructor(I,O,T,N,S,F,L,A,U,K){this._elementRef=I,this._platform=O,this.ngControl=T,this._autofillMonitor=A,this._formField=K,this._uid="mat-input-"+y++,this.focused=!1,this.stateChanges=new c.E,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(B=>(0,v.mU)().has(B)),this._iOSKeyupListener=B=>{const H=B.target;!H.value&&0===H.selectionStart&&0===H.selectionEnd&&(H.setSelectionRange(1,1),H.setSelectionRange(0,0))};const ee=this._elementRef.nativeElement,ne=ee.nodeName.toLowerCase();this._inputValueAccessor=L||ee,this._previousNativeValue=this.value,this.id=this.id,O.IOS&&U.runOutsideAngular(()=>{I.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new r._ErrorStateTracker(F,T,S,N,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ne,this._isTextarea="textarea"===ne,this._isInFormField=!!K,this._isNativeSelect&&(this.controlType=ee.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(I=>{this.autofilled=I.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(I){this._elementRef.nativeElement.focus(I)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(I){I!==this.focused&&(this.focused=I,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const I=this._elementRef.nativeElement.value;this._previousNativeValue!==I&&(this._previousNativeValue=I,this.stateChanges.next())}_dirtyCheckPlaceholder(){const I=this._getPlaceholder();if(I!==this._previousPlaceholder){const O=this._elementRef.nativeElement;this._previousPlaceholder=I,I?O.setAttribute("placeholder",I):O.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){_.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let I=this._elementRef.nativeElement.validity;return I&&I.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const I=this._elementRef.nativeElement,O=I.options[0];return this.focused||I.multiple||!this.empty||!!(I.selectedIndex>-1&&O&&O.label)}return this.focused||!this.empty}setDescribedByIds(I){I.length?this._elementRef.nativeElement.setAttribute("aria-describedby",I.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const I=this._elementRef.nativeElement;return this._isNativeSelect&&(I.multiple||I.size>1)}static#e=this.\u0275fac=function(O){return new(O||k)(C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(v.WU),C.\u0275\u0275directiveInject(a.NgControl,10),C.\u0275\u0275directiveInject(a.NgForm,8),C.\u0275\u0275directiveInject(a.FormGroupDirective,8),C.\u0275\u0275directiveInject(r.ErrorStateMatcher),C.\u0275\u0275directiveInject(p,10),C.\u0275\u0275directiveInject(s),C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(u.MAT_FORM_FIELD,8))};static#t=this.\u0275dir=C.\u0275\u0275defineDirective({type:k,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(O,T){1&O&&C.\u0275\u0275listener("focus",function(){return T._focusChanged(!0)})("blur",function(){return T._focusChanged(!1)})("input",function(){return T._onInput()}),2&O&&(C.\u0275\u0275hostProperty("id",T.id)("disabled",T.disabled)("required",T.required),C.\u0275\u0275attribute("name",T.name||null)("readonly",T.readonly&&!T._isNativeSelect||null)("aria-invalid",T.empty&&T.required?null:T.errorState)("aria-required",T.required)("id",T.id),C.\u0275\u0275classProp("mat-input-server",T._isServer)("mat-mdc-form-field-textarea-control",T._isInFormField&&T._isTextarea)("mat-mdc-form-field-input-control",T._isInFormField)("mdc-text-field__input",T._isInFormField)("mat-mdc-native-select-inline",T._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[C.\u0275\u0275InputFlags.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[C.\u0275\u0275ProvidersFeature([{provide:u.MatFormFieldControl,useExisting:k}]),C.\u0275\u0275NgOnChangesFeature]})}return k})(),w=(()=>{class k{static#e=this.\u0275fac=function(O){return new(O||k)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:k});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({imports:[r.MatCommonModule,u.MatFormFieldModule,u.MatFormFieldModule,l,r.MatCommonModule]})}return k})()},9880:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_MENU_CONTENT:()=>B,MAT_MENU_DEFAULT_OPTIONS:()=>le,MAT_MENU_PANEL:()=>A,MAT_MENU_SCROLL_STRATEGY:()=>Je,MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>ct,MENU_PANEL_TOP_PADDING:()=>Re,MatMenu:()=>ve,MatMenuContent:()=>H,MatMenuItem:()=>U,MatMenuModule:()=>pe,MatMenuTrigger:()=>ke,fadeInItems:()=>X,matMenuAnimations:()=>z,transformMenu:()=>G});var t=g(4496),v=g(1336),C=g(5420),E=g(5657),c=g(3412),b=g(6928),s=g(2700),f=g(1472),d=g(5568),l=g(7368),a=g(3992),r=g(3616),u=g(6684),h=g(1224),p=g(1368),_=g(3576),y=g(2488),M=g(9684),w=g(1900),k=g(7556),D=g(5792),I=g(1904);const O=["mat-menu-item",""];function T(Qe,Be){1&Qe&&(t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(0,"svg",3),t.\u0275\u0275element(1,"polygon",4),t.\u0275\u0275elementEnd())}const N=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],S=["mat-icon, [matMenuItemIcon]","*"];function F(Qe,Be){if(1&Qe){const Ie=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",0),t.\u0275\u0275listener("keydown",function(q){t.\u0275\u0275restoreView(Ie);const ye=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(ye._handleKeydown(q))})("click",function(){t.\u0275\u0275restoreView(Ie);const q=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(q.closed.emit("click"))})("@transformMenu.start",function(q){t.\u0275\u0275restoreView(Ie);const ye=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(ye._onAnimationStart(q))})("@transformMenu.done",function(q){t.\u0275\u0275restoreView(Ie);const ye=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(ye._onAnimationDone(q))}),t.\u0275\u0275elementStart(1,"div",1),t.\u0275\u0275projection(2),t.\u0275\u0275elementEnd()()}if(2&Qe){const Ie=t.\u0275\u0275nextContext();t.\u0275\u0275property("id",Ie.panelId)("ngClass",Ie._classList)("@transformMenu",Ie._panelAnimationState),t.\u0275\u0275attribute("aria-label",Ie.ariaLabel||null)("aria-labelledby",Ie.ariaLabelledby||null)("aria-describedby",Ie.ariaDescribedby||null)}}const L=["*"],A=new t.InjectionToken("MAT_MENU_PANEL");let U=(()=>{class Qe{constructor(Ie,je,q,ye,Oe){this._elementRef=Ie,this._document=je,this._focusMonitor=q,this._parentMenu=ye,this._changeDetectorRef=Oe,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new E.E,this._focused=new E.E,this._highlighted=!1,this._triggersSubmenu=!1,ye?.addItem?.(this)}focus(Ie,je){this._focusMonitor&&Ie?this._focusMonitor.focusVia(this._getHostElement(),Ie,je):this._getHostElement().focus(je),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(Ie){this.disabled&&(Ie.preventDefault(),Ie.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ie=this._elementRef.nativeElement.cloneNode(!0),je=Ie.querySelectorAll("mat-icon, .material-icons");for(let q=0;q{class Qe{constructor(Ie,je,q,ye,Oe,Xe,ge){this._template=Ie,this._componentFactoryResolver=je,this._appRef=q,this._injector=ye,this._viewContainerRef=Oe,this._document=Xe,this._changeDetectorRef=ge,this._attached=new E.E}attach(Ie={}){this._portal||(this._portal=new y.CC(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new y.S4(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const je=this._template.elementRef.nativeElement;je.parentNode.insertBefore(this._outlet.outletElement,je),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,Ie),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}static#e=this.\u0275fac=function(je){return new(je||Qe)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.ComponentFactoryResolver),t.\u0275\u0275directiveInject(t.ApplicationRef),t.\u0275\u0275directiveInject(t.Injector),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(p.DOCUMENT),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Qe,selectors:[["ng-template","matMenuContent",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:B,useExisting:Qe}])]})}return Qe})();const z={transformMenu:(0,M.gV)("transformMenu",[(0,M.K2)("void",(0,M.wb)({opacity:0,transform:"scale(0.8)"})),(0,M.aK)("void => enter",(0,M.Cs)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,M.wb)({opacity:1,transform:"scale(1)"}))),(0,M.aK)("* => void",(0,M.Cs)("100ms 25ms linear",(0,M.wb)({opacity:0})))]),fadeInItems:(0,M.gV)("fadeInItems",[(0,M.K2)("showing",(0,M.wb)({opacity:1})),(0,M.aK)("void => *",[(0,M.wb)({opacity:0}),(0,M.Cs)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},X=z.fadeInItems,G=z.transformMenu;let j=0;const le=new t.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function ue(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ve=(()=>{class Qe{get xPosition(){return this._xPosition}set xPosition(Ie){this._xPosition=Ie,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ie){this._yPosition=Ie,this.setPositionClasses()}set panelClass(Ie){const je=this._previousPanelClass;je&&je.length&&je.split(" ").forEach(q=>{this._classList[q]=!1}),this._previousPanelClass=Ie,Ie&&Ie.length&&(Ie.split(" ").forEach(q=>{this._classList[q]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Ie){this.panelClass=Ie}constructor(Ie,je,q,ye){this._elementRef=Ie,this._ngZone=je,this._changeDetectorRef=ye,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new t.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new E.E,this.closed=new t.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+j++,this.overlayPanelClass=q.overlayPanelClass||"",this._xPosition=q.xPosition,this._yPosition=q.yPosition,this.backdropClass=q.backdropClass,this.overlapTrigger=q.overlapTrigger,this.hasBackdrop=q.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new v.IH(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,d.W)(this._directDescendantItems),(0,l.G)(Ie=>(0,c.U)(...Ie.map(je=>je._focused)))).subscribe(Ie=>this._keyManager.updateActiveItem(Ie)),this._directDescendantItems.changes.subscribe(Ie=>{const je=this._keyManager;if("enter"===this._panelAnimationState&&je.activeItem?._hasFocus()){const q=Ie.toArray(),ye=Math.max(0,Math.min(q.length-1,je.activeItemIndex||0));q[ye]&&!q[ye].disabled?je.setActiveItem(ye):je.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,d.W)(this._directDescendantItems),(0,l.G)(je=>(0,c.U)(...je.map(q=>q._hovered))))}addItem(Ie){}removeItem(Ie){}_handleKeydown(Ie){const je=Ie.keyCode,q=this._keyManager;switch(je){case C.UX:(0,C.Yp)(Ie)||(Ie.preventDefault(),this.closed.emit("keydown"));break;case C.Mx:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case C.a4:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(je===C.qI||je===C.Oq)&&q.setFocusOrigin("keyboard"),void q.onKeydown(Ie)}Ie.stopPropagation()}focusFirstItem(Ie="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,a.U)(1)).subscribe(()=>{let je=null;if(this._directDescendantItems.length&&(je=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!je||!je.contains(document.activeElement)){const q=this._keyManager;q.setFocusOrigin(Ie).setFirstItemActive(),!q.activeItem&&je&&je.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ie){const je=Math.min(this._baseElevation+Ie,24),q=`${this._elevationPrefix}${je}`,ye=Object.keys(this._classList).find(Oe=>Oe.startsWith(this._elevationPrefix));(!ye||ye===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[q]=!0,this._previousElevation=q)}setPositionClasses(Ie=this.xPosition,je=this.yPosition){const q=this._classList;q["mat-menu-before"]="before"===Ie,q["mat-menu-after"]="after"===Ie,q["mat-menu-above"]="above"===je,q["mat-menu-below"]="below"===je,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Ie){this._animationDone.next(Ie),this._isAnimating=!1}_onAnimationStart(Ie){this._isAnimating=!0,"enter"===Ie.toState&&0===this._keyManager.activeItemIndex&&(Ie.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.W)(this._allItems)).subscribe(Ie=>{this._directDescendantItems.reset(Ie.filter(je=>je._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(je){return new(je||Qe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(le),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Qe,selectors:[["mat-menu"]],contentQueries:function(je,q,ye){if(1&je&&(t.\u0275\u0275contentQuery(ye,B,5),t.\u0275\u0275contentQuery(ye,U,5),t.\u0275\u0275contentQuery(ye,U,4)),2&je){let Oe;t.\u0275\u0275queryRefresh(Oe=t.\u0275\u0275loadQuery())&&(q.lazyContent=Oe.first),t.\u0275\u0275queryRefresh(Oe=t.\u0275\u0275loadQuery())&&(q._allItems=Oe),t.\u0275\u0275queryRefresh(Oe=t.\u0275\u0275loadQuery())&&(q.items=Oe)}},viewQuery:function(je,q){if(1&je&&t.\u0275\u0275viewQuery(t.TemplateRef,5),2&je){let ye;t.\u0275\u0275queryRefresh(ye=t.\u0275\u0275loadQuery())&&(q.templateRef=ye.first)}},hostVars:3,hostBindings:function(je,q){2&je&&t.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[t.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[t.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[t.\u0275\u0275InputFlags.None,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"overlapTrigger","overlapTrigger",t.booleanAttribute],hasBackdrop:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"hasBackdrop","hasBackdrop",Ie=>null==Ie?null:(0,t.booleanAttribute)(Ie)],panelClass:[t.\u0275\u0275InputFlags.None,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:A,useExisting:Qe}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:L,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(je,q){1&je&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,F,3,6,"ng-template"))},dependencies:[p.NgClass],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;padding-right:var(--mat-menu-item-spacing);padding-left:0}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[z.transformMenu,z.fadeInItems]},changeDetection:0})}return Qe})();const Je=new t.InjectionToken("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Qe=(0,t.inject)(k.mc);return()=>Qe.scrollStrategies.reposition()}}),ct={provide:Je,deps:[k.mc],useFactory:function _t(Qe){return()=>Qe.scrollStrategies.reposition()}},Ct=(0,D.W4)({passive:!0}),Re=8;let ke=(()=>{class Qe{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ie){this.menu=Ie}get menu(){return this._menu}set menu(Ie){Ie!==this._menu&&(this._menu=Ie,this._menuCloseSubscription.unsubscribe(),Ie&&(this._menuCloseSubscription=Ie.close.subscribe(je=>{this._destroyMenu(je),("click"===je||"tab"===je)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(je)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Ie,je,q,ye,Oe,Xe,ge,Ve,ot){this._overlay=Ie,this._element=je,this._viewContainerRef=q,this._menuItemInstance=Xe,this._dir=ge,this._focusMonitor=Ve,this._ngZone=ot,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=b.wH.EMPTY,this._hoverSubscription=b.wH.EMPTY,this._menuCloseSubscription=b.wH.EMPTY,this._changeDetectorRef=(0,t.inject)(t.ChangeDetectorRef),this._handleTouchStart=ze=>{(0,v.q0)(ze)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new t.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new t.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=ye,this._parentMaterialMenu=Oe instanceof ve?Oe:void 0,je.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ct)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ct),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 Ie=this.menu;if(this._menuOpen||!Ie)return;const je=this._createOverlay(Ie),q=je.getConfig(),ye=q.positionStrategy;this._setPosition(Ie,ye),q.hasBackdrop=null==Ie.hasBackdrop?!this.triggersSubmenu():Ie.hasBackdrop,je.attach(this._getPortal(Ie)),Ie.lazyContent&&Ie.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Ie),Ie instanceof ve&&(Ie._startAnimation(),Ie._directDescendantItems.changes.pipe((0,r.a)(Ie.close)).subscribe(()=>{ye.withLockedPosition(!1).reapplyLastPosition(),ye.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Ie,je){this._focusMonitor&&Ie?this._focusMonitor.focusVia(this._element,Ie,je):this._element.nativeElement.focus(je)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Ie){if(!this._overlayRef||!this.menuOpen)return;const je=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Ie||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,je instanceof ve?(je._resetAnimation(),je.lazyContent?je._animationDone.pipe((0,u.I)(q=>"void"===q.toState),(0,a.U)(1),(0,r.a)(je.lazyContent._attached)).subscribe({next:()=>je.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),je?.lazyContent?.detach())}_initMenu(Ie){Ie.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Ie.direction=this.dir,this._setMenuElevation(Ie),Ie.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Ie){if(Ie.setElevation){let je=0,q=Ie.parentMenu;for(;q;)je++,q=q.parentMenu;Ie.setElevation(je)}}_setIsMenuOpen(Ie){Ie!==this._menuOpen&&(this._menuOpen=Ie,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ie),this._changeDetectorRef.markForCheck())}_createOverlay(Ie){if(!this._overlayRef){const je=this._getOverlayConfig(Ie);this._subscribeToPositions(Ie,je.positionStrategy),this._overlayRef=this._overlay.create(je),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Ie){return new k.o9({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ie.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ie.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Ie,je){Ie.setPositionClasses&&je.positionChanges.subscribe(q=>{const ye="start"===q.connectionPair.overlayX?"after":"before",Oe="top"===q.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Ie.setPositionClasses(ye,Oe)):Ie.setPositionClasses(ye,Oe)})}_setPosition(Ie,je){let[q,ye]="before"===Ie.xPosition?["end","start"]:["start","end"],[Oe,Xe]="above"===Ie.yPosition?["bottom","top"]:["top","bottom"],[ge,Ve]=[Oe,Xe],[ot,ze]=[q,ye],pt=0;if(this.triggersSubmenu()){if(ze=q="before"===Ie.xPosition?"start":"end",ye=ot="end"===q?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Pt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Pt?Pt._getHostElement().offsetTop:0}pt="bottom"===Oe?this._parentInnerPadding:-this._parentInnerPadding}}else Ie.overlapTrigger||(ge="top"===Oe?"bottom":"top",Ve="top"===Xe?"bottom":"top");je.withPositions([{originX:q,originY:ge,overlayX:ot,overlayY:Oe,offsetY:pt},{originX:ye,originY:ge,overlayX:ze,overlayY:Oe,offsetY:pt},{originX:q,originY:Ve,overlayX:ot,overlayY:Xe,offsetY:-pt},{originX:ye,originY:Ve,overlayX:ze,overlayY:Xe,offsetY:-pt}])}_menuClosingActions(){const Ie=this._overlayRef.backdropClick(),je=this._overlayRef.detachments(),q=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,s.of)(),ye=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,u.I)(Oe=>Oe!==this._menuItemInstance),(0,u.I)(()=>this._menuOpen)):(0,s.of)();return(0,c.U)(Ie,q,ye,je)}_handleMousedown(Ie){(0,v.G3)(Ie)||(this._openedBy=0===Ie.button?"mouse":void 0,this.triggersSubmenu()&&Ie.preventDefault())}_handleKeydown(Ie){const je=Ie.keyCode;(je===C.wJ||je===C.Gi)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(je===C.a4&&"ltr"===this.dir||je===C.Mx&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ie){this.triggersSubmenu()?(Ie.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,u.I)(Ie=>Ie===this._menuItemInstance&&!Ie.disabled),(0,h.o)(0,f.u)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ve&&this.menu._isAnimating?this.menu._animationDone.pipe((0,a.U)(1),(0,h.o)(0,f.u),(0,r.a)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Ie){return(!this._portal||this._portal.templateRef!==Ie.templateRef)&&(this._portal=new y.CC(Ie.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(je){return new(je||Qe)(t.\u0275\u0275directiveInject(k.mc),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(Je),t.\u0275\u0275directiveInject(A,8),t.\u0275\u0275directiveInject(U,10),t.\u0275\u0275directiveInject(w.yG,8),t.\u0275\u0275directiveInject(v.Kk),t.\u0275\u0275directiveInject(t.NgZone))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Qe,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(je,q){1&je&&t.\u0275\u0275listener("click",function(Oe){return q._handleClick(Oe)})("mousedown",function(Oe){return q._handleMousedown(Oe)})("keydown",function(Oe){return q._handleKeydown(Oe)}),2&je&&t.\u0275\u0275attribute("aria-haspopup",q.menu?"menu":null)("aria-expanded",q.menuOpen)("aria-controls",q.menuOpen?q.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[t.\u0275\u0275InputFlags.None,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[t.\u0275\u0275InputFlags.None,"matMenuTriggerFor","menu"],menuData:[t.\u0275\u0275InputFlags.None,"matMenuTriggerData","menuData"],restoreFocus:[t.\u0275\u0275InputFlags.None,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}return Qe})(),pe=(()=>{class Qe{static#e=this.\u0275fac=function(je){return new(je||Qe)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:Qe});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[ct],imports:[p.CommonModule,_.MatRippleModule,_.MatCommonModule,k.Y1,I.uU,_.MatCommonModule]})}return Qe})()},9776:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_PAGINATOR_DEFAULT_OPTIONS:()=>w,MAT_PAGINATOR_INTL_PROVIDER:()=>_,MAT_PAGINATOR_INTL_PROVIDER_FACTORY:()=>p,MatPaginator:()=>I,MatPaginatorIntl:()=>h,MatPaginatorModule:()=>O,PageEvent:()=>M});var t=g(4496),v=g(5657),C=g(7816),E=g(9716),c=g(6496),b=g(4060),s=g(3576);function f(T,N){if(1&T&&(t.\u0275\u0275elementStart(0,"mat-option",18),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&T){const S=N.$implicit;t.\u0275\u0275property("value",S),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",S," ")}}function d(T,N){if(1&T){const S=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),t.\u0275\u0275listener("selectionChange",function(L){t.\u0275\u0275restoreView(S);const A=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(A._changePageSize(L.value))}),t.\u0275\u0275repeaterCreate(2,f,2,2,"mat-option",18,t.\u0275\u0275repeaterTrackByIdentity),t.\u0275\u0275elementEnd()()}if(2&T){const S=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("appearance",S._formFieldAppearance)("color",S.color),t.\u0275\u0275advance(),t.\u0275\u0275property("value",S.pageSize)("disabled",S.disabled)("aria-labelledby",S._pageSizeLabelId)("panelClass",S.selectConfig.panelClass||"")("disableOptionCentering",S.selectConfig.disableOptionCentering),t.\u0275\u0275advance(),t.\u0275\u0275repeater(S._displayedPageSizeOptions)}}function l(T,N){if(1&T&&(t.\u0275\u0275elementStart(0,"div",19),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&T){const S=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate(S.pageSize)}}function a(T,N){if(1&T&&(t.\u0275\u0275elementStart(0,"div",12)(1,"div",13),t.\u0275\u0275text(2),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(3,d,4,7,"mat-form-field",14)(4,l,2,1,"div",15),t.\u0275\u0275elementEnd()),2&T){const S=t.\u0275\u0275nextContext();t.\u0275\u0275advance(),t.\u0275\u0275attribute("id",S._pageSizeLabelId),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",S._intl.itemsPerPageLabel," "),t.\u0275\u0275advance(),t.\u0275\u0275conditional(3,S._displayedPageSizeOptions.length>1?3:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(4,S._displayedPageSizeOptions.length<=1?4:-1)}}function r(T,N){if(1&T){const S=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"button",20),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(S);const L=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(L.firstPage())}),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(1,"svg",7),t.\u0275\u0275element(2,"path",21),t.\u0275\u0275elementEnd()()}if(2&T){const S=t.\u0275\u0275nextContext();t.\u0275\u0275property("matTooltip",S._intl.firstPageLabel)("matTooltipDisabled",S._previousButtonsDisabled())("matTooltipPosition","above")("disabled",S._previousButtonsDisabled()),t.\u0275\u0275attribute("aria-label",S._intl.firstPageLabel)}}function u(T,N){if(1&T){const S=t.\u0275\u0275getCurrentView();t.\u0275\u0275namespaceSVG(),t.\u0275\u0275namespaceHTML(),t.\u0275\u0275elementStart(0,"button",22),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(S);const L=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(L.lastPage())}),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(1,"svg",7),t.\u0275\u0275element(2,"path",23),t.\u0275\u0275elementEnd()()}if(2&T){const S=t.\u0275\u0275nextContext();t.\u0275\u0275property("matTooltip",S._intl.lastPageLabel)("matTooltipDisabled",S._nextButtonsDisabled())("matTooltipPosition","above")("disabled",S._nextButtonsDisabled()),t.\u0275\u0275attribute("aria-label",S._intl.lastPageLabel)}}let h=(()=>{class T{constructor(){this.changes=new v.E,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(S,F,L)=>{if(0==L||0==F)return`0 of ${L}`;const A=S*F;return`${A+1} \u2013 ${A<(L=Math.max(L,0))?Math.min(A+F,L):A+F} of ${L}`}}static#e=this.\u0275fac=function(F){return new(F||T)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})();function p(T){return T||new h}const _={provide:h,deps:[[new t.Optional,new t.SkipSelf,h]],useFactory:p};class M{}const w=new t.InjectionToken("MAT_PAGINATOR_DEFAULT_OPTIONS"),k=(0,s.mixinInitialized)(class{});let D=0,I=(()=>{class T extends k{get pageIndex(){return this._pageIndex}set pageIndex(S){this._pageIndex=Math.max(S||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(S){this._length=S||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(S){this._pageSize=Math.max(S||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(S){this._pageSizeOptions=(S||[]).map(F=>(0,t.numberAttribute)(F,0)),this._updateDisplayedPageSizeOptions()}constructor(S,F,L){if(super(),this._intl=S,this._changeDetectorRef=F,this._pageSizeLabelId="mat-paginator-page-size-label-"+D++,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this.hidePageSize=!1,this.showFirstLastButtons=!1,this.selectConfig={},this.disabled=!1,this.page=new t.EventEmitter,this._intlChanges=S.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),L){const{pageSize:A,pageSizeOptions:U,hidePageSize:K,showFirstLastButtons:ee}=L;null!=A&&(this._pageSize=A),null!=U&&(this._pageSizeOptions=U),null!=K&&(this.hidePageSize=K),null!=ee&&(this.showFirstLastButtons=ee)}this._formFieldAppearance=L?.formFieldAppearance||"outline"}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const S=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(S)}previousPage(){if(!this.hasPreviousPage())return;const S=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(S)}firstPage(){if(!this.hasPreviousPage())return;const S=this.pageIndex;this.pageIndex=0,this._emitPageEvent(S)}lastPage(){if(!this.hasNextPage())return;const S=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(S)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const S=this.getNumberOfPages()-1;return this.pageIndexS-F),this._changeDetectorRef.markForCheck())}_emitPageEvent(S){this.page.emit({previousPageIndex:S,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(F){return new(F||T)(t.\u0275\u0275directiveInject(h),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(w,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:T,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"pageIndex","pageIndex",t.numberAttribute],length:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"length","length",t.numberAttribute],pageSize:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"pageSize","pageSize",t.numberAttribute],pageSizeOptions:"pageSizeOptions",hidePageSize:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"hidePageSize","hidePageSize",t.booleanAttribute],showFirstLastButtons:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"showFirstLastButtons","showFirstLastButtons",t.booleanAttribute],selectConfig:"selectConfig",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute]},outputs:{page:"page"},exportAs:["matPaginator"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-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-mdc-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-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color"],["class","mat-mdc-paginator-page-size-value"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-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-mdc-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(F,L){1&F&&(t.\u0275\u0275elementStart(0,"div",0)(1,"div",1),t.\u0275\u0275template(2,a,5,4,"div",2),t.\u0275\u0275elementStart(3,"div",3)(4,"div",4),t.\u0275\u0275text(5),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(6,r,3,5,"button",5),t.\u0275\u0275elementStart(7,"button",6),t.\u0275\u0275listener("click",function(){return L.previousPage()}),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(8,"svg",7),t.\u0275\u0275element(9,"path",8),t.\u0275\u0275elementEnd()(),t.\u0275\u0275namespaceHTML(),t.\u0275\u0275elementStart(10,"button",9),t.\u0275\u0275listener("click",function(){return L.nextPage()}),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(11,"svg",7),t.\u0275\u0275element(12,"path",10),t.\u0275\u0275elementEnd()(),t.\u0275\u0275template(13,u,3,5,"button",11),t.\u0275\u0275elementEnd()()()),2&F&&(t.\u0275\u0275advance(2),t.\u0275\u0275conditional(2,L.hidePageSize?-1:2),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate1(" ",L._intl.getRangeLabel(L.pageIndex,L.pageSize,L.length)," "),t.\u0275\u0275advance(),t.\u0275\u0275conditional(6,L.showFirstLastButtons?6:-1),t.\u0275\u0275advance(),t.\u0275\u0275property("matTooltip",L._intl.previousPageLabel)("matTooltipDisabled",L._previousButtonsDisabled())("matTooltipPosition","above")("disabled",L._previousButtonsDisabled()),t.\u0275\u0275attribute("aria-label",L._intl.previousPageLabel),t.\u0275\u0275advance(3),t.\u0275\u0275property("matTooltip",L._intl.nextPageLabel)("matTooltipDisabled",L._nextButtonsDisabled())("matTooltipPosition","above")("disabled",L._nextButtonsDisabled()),t.\u0275\u0275attribute("aria-label",L._intl.nextPageLabel),t.\u0275\u0275advance(3),t.\u0275\u0275conditional(13,L.showFirstLastButtons?13:-1))},dependencies:[b.MatFormField,E.MatSelect,s.MatOption,C.MatIconButton,c.a4],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking);--mat-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return T})(),O=(()=>{class T{static#e=this.\u0275fac=function(F){return new(F||T)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:T});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[_],imports:[C.MatButtonModule,E.MatSelectModule,c.KO,I]})}return T})()},7488:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>b,MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>s,MatProgressSpinner:()=>l,MatProgressSpinnerModule:()=>r,MatSpinner:()=>a});var t=g(4496),v=g(1368),C=g(3576);const E=["determinateSpinner"];function c(u,h){if(1&u&&(t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(0,"svg",11),t.\u0275\u0275element(1,"circle",12),t.\u0275\u0275elementEnd()),2&u){const p=t.\u0275\u0275nextContext();t.\u0275\u0275attribute("viewBox",p._viewBox()),t.\u0275\u0275advance(),t.\u0275\u0275styleProp("stroke-dasharray",p._strokeCircumference(),"px")("stroke-dashoffset",p._strokeCircumference()/2,"px")("stroke-width",p._circleStrokeWidth(),"%"),t.\u0275\u0275attribute("r",p._circleRadius())}}const b=new t.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:s});function s(){return{diameter:f}}const f=100;let l=(()=>{class u{get color(){return this._color||this._defaultColor}set color(p){this._color=p}constructor(p,_,y){this._elementRef=p,this._defaultColor="primary",this._value=0,this._diameter=f,this._noopAnimations="NoopAnimations"===_&&!!y&&!y._forceAnimations,this.mode="mat-spinner"===p.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",y&&(y.color&&(this.color=this._defaultColor=y.color),y.diameter&&(this.diameter=y.diameter),y.strokeWidth&&(this.strokeWidth=y.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(p){this._value=Math.max(0,Math.min(100,p||0))}get diameter(){return this._diameter}set diameter(p){this._diameter=p||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(p){this._strokeWidth=p||0}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const p=2*this._circleRadius()+this.strokeWidth;return`0 0 ${p} ${p}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static#e=this.\u0275fac=function(_){return new(_||u)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(b))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:u,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(_,y){if(1&_&&t.\u0275\u0275viewQuery(E,5),2&_){let M;t.\u0275\u0275queryRefresh(M=t.\u0275\u0275loadQuery())&&(y._determinateCircle=M.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(_,y){2&_&&(t.\u0275\u0275attribute("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===y.mode?y.value:null)("mode",y.mode),t.\u0275\u0275classMap("mat-"+y.color),t.\u0275\u0275styleProp("width",y.diameter,"px")("height",y.diameter,"px")("--mdc-circular-progress-size",y.diameter+"px")("--mdc-circular-progress-active-indicator-width",y.diameter+"px"),t.\u0275\u0275classProp("_mat-animation-noopable",y._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===y.mode))},inputs:{color:"color",mode:"mode",value:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"value","value",t.numberAttribute],diameter:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"diameter","diameter",t.numberAttribute],strokeWidth:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"strokeWidth","strokeWidth",t.numberAttribute]},exportAs:["matProgressSpinner"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(_,y){if(1&_&&(t.\u0275\u0275template(0,c,2,8,"ng-template",null,0,t.\u0275\u0275templateRefExtractor),t.\u0275\u0275elementStart(2,"div",1,2),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(4,"svg",3),t.\u0275\u0275element(5,"circle",4),t.\u0275\u0275elementEnd()(),t.\u0275\u0275namespaceHTML(),t.\u0275\u0275elementStart(6,"div",5)(7,"div",6)(8,"div",7),t.\u0275\u0275elementContainer(9,8),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(10,"div",9),t.\u0275\u0275elementContainer(11,8),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(12,"div",10),t.\u0275\u0275elementContainer(13,8),t.\u0275\u0275elementEnd()()()),2&_){const M=t.\u0275\u0275reference(1);t.\u0275\u0275advance(4),t.\u0275\u0275attribute("viewBox",y._viewBox()),t.\u0275\u0275advance(),t.\u0275\u0275styleProp("stroke-dasharray",y._strokeCircumference(),"px")("stroke-dashoffset",y._strokeDashOffset(),"px")("stroke-width",y._circleStrokeWidth(),"%"),t.\u0275\u0275attribute("r",y._circleRadius()),t.\u0275\u0275advance(4),t.\u0275\u0275property("ngTemplateOutlet",M),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngTemplateOutlet",M),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngTemplateOutlet",M)}},dependencies:[v.NgTemplateOutlet],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return u})();const a=l;let r=(()=>{class u{static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:u});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[v.CommonModule,C.MatCommonModule]})}return u})()},8568:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_RADIO_DEFAULT_OPTIONS:()=>h,MAT_RADIO_DEFAULT_OPTIONS_FACTORY:()=>p,MAT_RADIO_GROUP:()=>u,MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>r,MatRadioButton:()=>y,MatRadioChange:()=>a,MatRadioGroup:()=>_,MatRadioModule:()=>M});var t=g(4496),v=g(3576),C=g(1336),E=g(1032),c=g(6504),b=g(1368);const s=["input"],f=["formField"],d=["*"];let l=0;class a{constructor(k,D){this.source=k,this.value=D}}const r={provide:c.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(()=>_),multi:!0},u=new t.InjectionToken("MatRadioGroup"),h=new t.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:p});function p(){return{color:"accent"}}let _=(()=>{class w{get name(){return this._name}set name(D){this._name=D,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(D){this._labelPosition="before"===D?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(D){this._value!==D&&(this._value=D,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(D){this._selected=D,this.value=D?D.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(D){this._disabled=D,this._markRadiosForCheck()}get required(){return this._required}set required(D){this._required=D,this._markRadiosForCheck()}constructor(D){this._changeDetector=D,this._value=null,this._name="mat-radio-group-"+l++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new t.EventEmitter}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(D=>D===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(D=>{D.name=this.name,D._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(I=>{I.checked=this.value===I.value,I.checked&&(this._selected=I)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new a(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(D=>D._markForCheck())}writeValue(D){this.value=D,this._changeDetector.markForCheck()}registerOnChange(D){this._controlValueAccessorChangeFn=D}registerOnTouched(D){this.onTouched=D}setDisabledState(D){this.disabled=D,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(I){return new(I||w)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:w,selectors:[["mat-radio-group"]],contentQueries:function(I,O,T){if(1&I&&t.\u0275\u0275contentQuery(T,y,5),2&I){let N;t.\u0275\u0275queryRefresh(N=t.\u0275\u0275loadQuery())&&(O._radios=N)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],required:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"required","required",t.booleanAttribute]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([r,{provide:u,useExisting:w}]),t.\u0275\u0275InputTransformsFeature]})}return w})(),y=(()=>{class w{get checked(){return this._checked}set checked(D){this._checked!==D&&(this._checked=D,D&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!D&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),D&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(D){this._value!==D&&(this._value=D,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===D),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(D){this._labelPosition=D}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(D){this._setDisabled(D)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(D){this._required=D}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(D){this._color=D}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(D,I,O,T,N,S,F,L){this._elementRef=I,this._changeDetector=O,this._focusMonitor=T,this._radioDispatcher=N,this._providerOverride=F,this._uniqueId="mat-radio-"+ ++l,this.id=this._uniqueId,this.disableRipple=!1,this.tabIndex=0,this.change=new t.EventEmitter,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=D,this._noopAnimations="NoopAnimations"===S,L&&(this.tabIndex=(0,t.numberAttribute)(L,0))}focus(D,I){I?this._focusMonitor.focusVia(this._inputElement,I,D):this._inputElement.nativeElement.focus(D)}_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((D,I)=>{D!==this.id&&I===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(D=>{!D&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new a(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(D){D.stopPropagation()}_onInputInteraction(D){if(D.stopPropagation(),!this.checked&&!this.disabled){const I=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),I&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(D){this._onInputInteraction(D),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(D){this._disabled!==D&&(this._disabled=D,this._changeDetector.markForCheck())}_updateTabIndex(){const D=this.radioGroup;let I;if(I=D&&D.selected&&!this.disabled?D.selected===this?this.tabIndex:-1:this.tabIndex,I!==this._previousTabIndex){const O=this._inputElement?.nativeElement;O&&(O.setAttribute("tabindex",I+""),this._previousTabIndex=I)}}static#e=this.\u0275fac=function(I){return new(I||w)(t.\u0275\u0275directiveInject(u,8),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(C.Kk),t.\u0275\u0275directiveInject(E.kT),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(h,8),t.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:w,selectors:[["mat-radio-button"]],viewQuery:function(I,O){if(1&I&&(t.\u0275\u0275viewQuery(s,5),t.\u0275\u0275viewQuery(f,7,t.ElementRef)),2&I){let T;t.\u0275\u0275queryRefresh(T=t.\u0275\u0275loadQuery())&&(O._inputElement=T.first),t.\u0275\u0275queryRefresh(T=t.\u0275\u0275loadQuery())&&(O._rippleTrigger=T.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(I,O){1&I&&t.\u0275\u0275listener("focus",function(){return O._inputElement.nativeElement.focus()}),2&I&&(t.\u0275\u0275attribute("id",O.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),t.\u0275\u0275classProp("mat-primary","primary"===O.color)("mat-accent","accent"===O.color)("mat-warn","warn"===O.color)("mat-mdc-radio-checked",O.checked)("_mat-animation-noopable",O._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[t.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[t.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[t.\u0275\u0275InputFlags.None,"aria-describedby","ariaDescribedby"],disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute],tabIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",D=>null==D?0:(0,t.numberAttribute)(D)],checked:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"checked","checked",t.booleanAttribute],value:"value",labelPosition:"labelPosition",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],required:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"required","required",t.booleanAttribute],color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:d,decls:13,vars:16,consts:[["mat-internal-form-field","",3,"labelPosition"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(I,O){1&I&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"div",0,1)(2,"div",2)(3,"div",3),t.\u0275\u0275listener("click",function(N){return O._onTouchTargetClick(N)}),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"input",4,5),t.\u0275\u0275listener("change",function(N){return O._onInputInteraction(N)}),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(6,"div",6),t.\u0275\u0275element(7,"div",7)(8,"div",8),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(9,"div",9),t.\u0275\u0275element(10,"div",10),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(11,"label",11),t.\u0275\u0275projection(12),t.\u0275\u0275elementEnd()()),2&I&&(t.\u0275\u0275property("labelPosition",O.labelPosition),t.\u0275\u0275advance(2),t.\u0275\u0275classProp("mdc-radio--disabled",O.disabled),t.\u0275\u0275advance(2),t.\u0275\u0275property("id",O.inputId)("checked",O.checked)("disabled",O.disabled)("required",O.required),t.\u0275\u0275attribute("name",O.name)("value",O.value)("aria-label",O.ariaLabel)("aria-labelledby",O.ariaLabelledby)("aria-describedby",O.ariaDescribedby),t.\u0275\u0275advance(5),t.\u0275\u0275property("matRippleTrigger",O._rippleTrigger.nativeElement)("matRippleDisabled",O._isRippleDisabled())("matRippleCentered",!0),t.\u0275\u0275advance(2),t.\u0275\u0275property("for",O.inputId))},dependencies:[v.MatRipple,v._MatInternalFormField],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__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%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__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-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return w})(),M=(()=>{class w{static#e=this.\u0275fac=function(I){return new(I||w)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:w});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[v.MatCommonModule,b.CommonModule,v.MatRippleModule,y,v.MatCommonModule]})}return w})()},9716:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_SELECT_CONFIG:()=>j,MAT_SELECT_SCROLL_STRATEGY:()=>X,MAT_SELECT_SCROLL_STRATEGY_PROVIDER:()=>le,MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>G,MAT_SELECT_TRIGGER:()=>ue,MatError:()=>c.MatError,MatFormField:()=>c.MatFormField,MatHint:()=>c.MatHint,MatLabel:()=>c.MatLabel,MatOptgroup:()=>E.MatOptgroup,MatOption:()=>E.MatOption,MatPrefix:()=>c.MatPrefix,MatSelect:()=>Je,MatSelectChange:()=>ve,MatSelectModule:()=>ct,MatSelectTrigger:()=>_t,MatSuffix:()=>c.MatSuffix,matSelectAnimations:()=>ee});var t=g(7556),v=g(1368),C=g(4496),E=g(3576),c=g(4060),b=g(1904),s=g(1336),f=g(1900),d=g(1032),l=g(5420),a=g(6504),r=g(5657),u=g(1424),h=g(3412),p=g(5568),_=g(7368),y=g(3992),M=g(6684),w=g(4704),k=g(4e3),D=g(3616),I=g(9684);const O=["trigger"],T=["panel"];function N(Ct,Re){if(1&Ct&&(C.\u0275\u0275elementStart(0,"span",9),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&Ct){const ke=C.\u0275\u0275nextContext();C.\u0275\u0275advance(),C.\u0275\u0275textInterpolate(ke.placeholder)}}function S(Ct,Re){1&Ct&&C.\u0275\u0275projection(0)}function F(Ct,Re){if(1&Ct&&(C.\u0275\u0275elementStart(0,"span",11),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&Ct){const ke=C.\u0275\u0275nextContext(2);C.\u0275\u0275advance(),C.\u0275\u0275textInterpolate(ke.triggerValue)}}function L(Ct,Re){if(1&Ct&&(C.\u0275\u0275elementStart(0,"span",10),C.\u0275\u0275template(1,S,1,0)(2,F,2,1),C.\u0275\u0275elementEnd()),2&Ct){const ke=C.\u0275\u0275nextContext();C.\u0275\u0275advance(),C.\u0275\u0275conditional(1,ke.customTrigger?1:2)}}function A(Ct,Re){if(1&Ct){const ke=C.\u0275\u0275getCurrentView();C.\u0275\u0275namespaceSVG(),C.\u0275\u0275namespaceHTML(),C.\u0275\u0275elementStart(0,"div",12,13),C.\u0275\u0275listener("@transformPanel.done",function(Qe){C.\u0275\u0275restoreView(ke);const Be=C.\u0275\u0275nextContext();return C.\u0275\u0275resetView(Be._panelDoneAnimatingStream.next(Qe.toState))})("keydown",function(Qe){C.\u0275\u0275restoreView(ke);const Be=C.\u0275\u0275nextContext();return C.\u0275\u0275resetView(Be._handleKeydown(Qe))}),C.\u0275\u0275projection(2,1),C.\u0275\u0275elementEnd()}if(2&Ct){const ke=C.\u0275\u0275nextContext();C.\u0275\u0275classMapInterpolate1("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",ke._getPanelTheme(),""),C.\u0275\u0275property("ngClass",ke.panelClass)("@transformPanel","showing"),C.\u0275\u0275attribute("id",ke.id+"-panel")("aria-multiselectable",ke.multiple)("aria-label",ke.ariaLabel||null)("aria-labelledby",ke._getPanelAriaLabelledby())}}const U=[[["mat-select-trigger"]],"*"],K=["mat-select-trigger","*"],ee={transformPanelWrap:(0,I.gV)("transformPanelWrap",[(0,I.aK)("* => void",(0,I.kt)("@transformPanel",[(0,I.Ql)()],{optional:!0}))]),transformPanel:(0,I.gV)("transformPanel",[(0,I.K2)("void",(0,I.wb)({opacity:0,transform:"scale(1, 0.8)"})),(0,I.aK)("void => showing",(0,I.Cs)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,I.wb)({opacity:1,transform:"scale(1, 1)"}))),(0,I.aK)("* => void",(0,I.Cs)("100ms linear",(0,I.wb)({opacity:0})))])};let z=0;const X=new C.InjectionToken("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const Ct=(0,C.inject)(t.mc);return()=>Ct.scrollStrategies.reposition()}});function G(Ct){return()=>Ct.scrollStrategies.reposition()}const j=new C.InjectionToken("MAT_SELECT_CONFIG"),le={provide:X,deps:[t.mc],useFactory:G},ue=new C.InjectionToken("MatSelectTrigger");class ve{constructor(Re,ke){this.source=Re,this.value=ke}}let Je=(()=>{class Ct{_scrollOptionIntoView(ke){const pe=this.options.toArray()[ke];if(pe){const Qe=this.panel.nativeElement,Be=(0,E._countGroupLabelsBeforeOption)(ke,this.options,this.optionGroups),Ie=pe._getHostElement();Qe.scrollTop=0===ke&&1===Be?0:(0,E._getOptionScrollPosition)(Ie.offsetTop,Ie.offsetHeight,Qe.scrollTop,Qe.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(ke){return new ve(this,ke)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(ke){this._hideSingleSelectionIndicator=ke,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(ke){this._placeholder=ke,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(a.Validators.required)??!1}set required(ke){this._required=ke,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(ke){this._multiple=ke}get compareWith(){return this._compareWith}set compareWith(ke){this._compareWith=ke,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(ke){this._assignValue(ke)&&this._onChange(ke)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(ke){this._errorStateTracker.matcher=ke}get id(){return this._id}set id(ke){this._id=ke||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(ke){this._errorStateTracker.errorState=ke}constructor(ke,pe,Qe,Be,Ie,je,q,ye,Oe,Xe,ge,Ve,ot,ze){this._viewportRuler=ke,this._changeDetectorRef=pe,this._ngZone=Qe,this._elementRef=Ie,this._dir=je,this._parentFormField=Oe,this.ngControl=Xe,this._liveAnnouncer=ot,this._defaultOptions=ze,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(pt,Pt)=>pt===Pt,this._uid="mat-select-"+z++,this._triggerAriaLabelledBy=null,this._destroy=new r.E,this.stateChanges=new r.E,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+z++,this._panelDoneAnimatingStream=new r.E,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=(0,u.Q)(()=>{const pt=this.options;return pt?pt.changes.pipe((0,p.W)(pt),(0,_.G)(()=>(0,h.U)(...pt.map(Pt=>Pt.onSelectionChange)))):this._ngZone.onStable.pipe((0,y.U)(1),(0,_.G)(()=>this.optionSelectionChanges))}),this.openedChange=new C.EventEmitter,this._openedStream=this.openedChange.pipe((0,M.I)(pt=>pt),(0,w.k)(()=>{})),this._closedStream=this.openedChange.pipe((0,M.I)(pt=>!pt),(0,w.k)(()=>{})),this.selectionChange=new C.EventEmitter,this.valueChange=new C.EventEmitter,this._trackedModal=null,this._skipPredicate=pt=>!this.panelOpen&&pt.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=ze?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=ze.typeaheadDebounceInterval),this._errorStateTracker=new E._ErrorStateTracker(Be,Xe,ye,q,this.stateChanges),this._scrollStrategyFactory=Ve,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(ge)||0,this.id=this.id}ngOnInit(){this._selectionModel=new d.e2(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,k.a)(),(0,D.a)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,D.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,D.a)(this._destroy)).subscribe(ke=>{ke.added.forEach(pe=>pe.select()),ke.removed.forEach(pe=>pe.deselect())}),this.options.changes.pipe((0,p.W)(null),(0,D.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const ke=this._getTriggerAriaLabelledby(),pe=this.ngControl;if(ke!==this._triggerAriaLabelledBy){const Qe=this._elementRef.nativeElement;this._triggerAriaLabelledBy=ke,ke?Qe.setAttribute("aria-labelledby",ke):Qe.removeAttribute("aria-labelledby")}pe&&(this._previousControl!==pe.control&&(void 0!==this._previousControl&&null!==pe.disabled&&pe.disabled!==this.disabled&&(this.disabled=pe.disabled),this._previousControl=pe.control),this.updateErrorState())}ngOnChanges(ke){(ke.disabled||ke.userAriaDescribedBy)&&this.stateChanges.next(),ke.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._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const ke=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!ke)return;const pe=`${this.id}-panel`;this._trackedModal&&(0,s.Cs)(this._trackedModal,"aria-owns",pe),(0,s.AZ)(ke,"aria-owns",pe),this._trackedModal=ke}_clearFromModal(){this._trackedModal&&((0,s.Cs)(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(),this.stateChanges.next())}writeValue(ke){this._assignValue(ke)}registerOnChange(ke){this._onChange=ke}registerOnTouched(ke){this._onTouched=ke}setDisabledState(ke){this.disabled=ke,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 ke=this._selectionModel.selected.map(pe=>pe.viewValue);return this._isRtl()&&ke.reverse(),ke.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(ke){this.disabled||(this.panelOpen?this._handleOpenKeydown(ke):this._handleClosedKeydown(ke))}_handleClosedKeydown(ke){const pe=ke.keyCode,Qe=pe===l.Oq||pe===l.qI||pe===l.Mx||pe===l.a4,Be=pe===l.wJ||pe===l.Gi,Ie=this._keyManager;if(!Ie.isTyping()&&Be&&!(0,l.Yp)(ke)||(this.multiple||ke.altKey)&&Qe)ke.preventDefault(),this.open();else if(!this.multiple){const je=this.selected;Ie.onKeydown(ke);const q=this.selected;q&&je!==q&&this._liveAnnouncer.announce(q.viewValue,1e4)}}_handleOpenKeydown(ke){const pe=this._keyManager,Qe=ke.keyCode,Be=Qe===l.Oq||Qe===l.qI,Ie=pe.isTyping();if(Be&&ke.altKey)ke.preventDefault(),this.close();else if(Ie||Qe!==l.wJ&&Qe!==l.Gi||!pe.activeItem||(0,l.Yp)(ke))if(!Ie&&this._multiple&&Qe===l.A&&ke.ctrlKey){ke.preventDefault();const je=this.options.some(q=>!q.disabled&&!q.selected);this.options.forEach(q=>{q.disabled||(je?q.select():q.deselect())})}else{const je=pe.activeItemIndex;pe.onKeydown(ke),this._multiple&&Be&&ke.shiftKey&&pe.activeItem&&pe.activeItemIndex!==je&&pe.activeItem._selectViaInteraction()}else ke.preventDefault(),pe.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,y.U)(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(ke){if(this.options.forEach(pe=>pe.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&ke)Array.isArray(ke),ke.forEach(pe=>this._selectOptionByValue(pe)),this._sortValues();else{const pe=this._selectOptionByValue(ke);pe?this._keyManager.updateActiveItem(pe):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(ke){const pe=this.options.find(Qe=>{if(this._selectionModel.isSelected(Qe))return!1;try{return null!=Qe.value&&this._compareWith(Qe.value,ke)}catch{return!1}});return pe&&this._selectionModel.select(pe),pe}_assignValue(ke){return!!(ke!==this._value||this._multiple&&Array.isArray(ke))&&(this.options&&this._setSelectionByValue(ke),this._value=ke,!0)}_getOverlayWidth(ke){return"auto"===this.panelWidth?(ke instanceof t.wW?ke.elementRef:ke||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const ke of this.options)ke._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new s.mJ(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 ke=(0,h.U)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,D.a)(ke)).subscribe(pe=>{this._onSelect(pe.source,pe.isUserInput),pe.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,h.U)(...this.options.map(pe=>pe._stateChanges)).pipe((0,D.a)(ke)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(ke,pe){const Qe=this._selectionModel.isSelected(ke);null!=ke.value||this._multiple?(Qe!==ke.selected&&(ke.selected?this._selectionModel.select(ke):this._selectionModel.deselect(ke)),pe&&this._keyManager.setActiveItem(ke),this.multiple&&(this._sortValues(),pe&&this.focus())):(ke.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(ke.value)),Qe!==this._selectionModel.isSelected(ke)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const ke=this.options.toArray();this._selectionModel.sort((pe,Qe)=>this.sortComparator?this.sortComparator(pe,Qe,ke):ke.indexOf(pe)-ke.indexOf(Qe)),this.stateChanges.next()}}_propagateChanges(ke){let pe;pe=this.multiple?this.selected.map(Qe=>Qe.value):this.selected?this.selected.value:ke,this._value=pe,this.valueChange.emit(pe),this._onChange(pe),this.selectionChange.emit(this._getChangeEvent(pe)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let ke=-1;for(let pe=0;pe0}focus(ke){this._elementRef.nativeElement.focus(ke)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const ke=this._parentFormField?.getLabelId();return this.ariaLabelledby?(ke?ke+" ":"")+this.ariaLabelledby:ke}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const ke=this._parentFormField?.getLabelId();let pe=(ke?ke+" ":"")+this._valueId;return this.ariaLabelledby&&(pe+=" "+this.ariaLabelledby),pe}_panelDoneAnimating(ke){this.openedChange.emit(ke)}setDescribedByIds(ke){ke.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ke.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static#e=this.\u0275fac=function(pe){return new(pe||Ct)(C.\u0275\u0275directiveInject(b.S8),C.\u0275\u0275directiveInject(C.ChangeDetectorRef),C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(E.ErrorStateMatcher),C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(f.yG,8),C.\u0275\u0275directiveInject(a.NgForm,8),C.\u0275\u0275directiveInject(a.FormGroupDirective,8),C.\u0275\u0275directiveInject(c.MAT_FORM_FIELD,8),C.\u0275\u0275directiveInject(a.NgControl,10),C.\u0275\u0275injectAttribute("tabindex"),C.\u0275\u0275directiveInject(X),C.\u0275\u0275directiveInject(s.mE),C.\u0275\u0275directiveInject(j,8))};static#t=this.\u0275cmp=C.\u0275\u0275defineComponent({type:Ct,selectors:[["mat-select"]],contentQueries:function(pe,Qe,Be){if(1&pe&&(C.\u0275\u0275contentQuery(Be,ue,5),C.\u0275\u0275contentQuery(Be,E.MatOption,5),C.\u0275\u0275contentQuery(Be,E.MAT_OPTGROUP,5)),2&pe){let Ie;C.\u0275\u0275queryRefresh(Ie=C.\u0275\u0275loadQuery())&&(Qe.customTrigger=Ie.first),C.\u0275\u0275queryRefresh(Ie=C.\u0275\u0275loadQuery())&&(Qe.options=Ie),C.\u0275\u0275queryRefresh(Ie=C.\u0275\u0275loadQuery())&&(Qe.optionGroups=Ie)}},viewQuery:function(pe,Qe){if(1&pe&&(C.\u0275\u0275viewQuery(O,5),C.\u0275\u0275viewQuery(T,5),C.\u0275\u0275viewQuery(t.eC,5)),2&pe){let Be;C.\u0275\u0275queryRefresh(Be=C.\u0275\u0275loadQuery())&&(Qe.trigger=Be.first),C.\u0275\u0275queryRefresh(Be=C.\u0275\u0275loadQuery())&&(Qe.panel=Be.first),C.\u0275\u0275queryRefresh(Be=C.\u0275\u0275loadQuery())&&(Qe._overlayDir=Be.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(pe,Qe){1&pe&&C.\u0275\u0275listener("keydown",function(Ie){return Qe._handleKeydown(Ie)})("focus",function(){return Qe._onFocus()})("blur",function(){return Qe._onBlur()}),2&pe&&(C.\u0275\u0275attribute("id",Qe.id)("tabindex",Qe.disabled?-1:Qe.tabIndex)("aria-controls",Qe.panelOpen?Qe.id+"-panel":null)("aria-expanded",Qe.panelOpen)("aria-label",Qe.ariaLabel||null)("aria-required",Qe.required.toString())("aria-disabled",Qe.disabled.toString())("aria-invalid",Qe.errorState)("aria-activedescendant",Qe._getAriaActiveDescendant()),C.\u0275\u0275classProp("mat-mdc-select-disabled",Qe.disabled)("mat-mdc-select-invalid",Qe.errorState)("mat-mdc-select-required",Qe.required)("mat-mdc-select-empty",Qe.empty)("mat-mdc-select-multiple",Qe.multiple))},inputs:{userAriaDescribedBy:[C.\u0275\u0275InputFlags.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",C.booleanAttribute],disableRipple:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",C.booleanAttribute],tabIndex:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",ke=>null==ke?0:(0,C.numberAttribute)(ke)],hideSingleSelectionIndicator:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",C.booleanAttribute],placeholder:"placeholder",required:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"required","required",C.booleanAttribute],multiple:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"multiple","multiple",C.booleanAttribute],disableOptionCentering:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",C.booleanAttribute],compareWith:"compareWith",value:"value",ariaLabel:[C.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[C.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",C.numberAttribute],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[C.\u0275\u0275ProvidersFeature([{provide:c.MatFormFieldControl,useExisting:Ct},{provide:E.MAT_OPTION_PARENT_COMPONENT,useExisting:Ct}]),C.\u0275\u0275InputTransformsFeature,C.\u0275\u0275NgOnChangesFeature,C.\u0275\u0275StandaloneFeature],ngContentSelectors:K,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(pe,Qe){if(1&pe&&(C.\u0275\u0275projectionDef(U),C.\u0275\u0275elementStart(0,"div",0,1),C.\u0275\u0275listener("click",function(){return Qe.open()}),C.\u0275\u0275elementStart(3,"div",2),C.\u0275\u0275template(4,N,2,1,"span",3)(5,L,3,1),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(6,"div",4)(7,"div",5),C.\u0275\u0275namespaceSVG(),C.\u0275\u0275elementStart(8,"svg",6),C.\u0275\u0275element(9,"path",7),C.\u0275\u0275elementEnd()()()(),C.\u0275\u0275template(10,A,3,9,"ng-template",8),C.\u0275\u0275listener("backdropClick",function(){return Qe.close()})("attach",function(){return Qe._onAttached()})("detach",function(){return Qe.close()})),2&pe){const Be=C.\u0275\u0275reference(1);C.\u0275\u0275advance(3),C.\u0275\u0275attribute("id",Qe._valueId),C.\u0275\u0275advance(),C.\u0275\u0275conditional(4,Qe.empty?4:5),C.\u0275\u0275advance(6),C.\u0275\u0275property("cdkConnectedOverlayPanelClass",Qe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Qe._scrollStrategy)("cdkConnectedOverlayOrigin",Qe._preferredOverlayOrigin||Be)("cdkConnectedOverlayOpen",Qe.panelOpen)("cdkConnectedOverlayPositions",Qe._positions)("cdkConnectedOverlayWidth",Qe._overlayWidth)}},dependencies:[t.wW,t.eC,v.NgClass],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[ee.transformPanel]},changeDetection:0})}return Ct})(),_t=(()=>{class Ct{static#e=this.\u0275fac=function(pe){return new(pe||Ct)};static#t=this.\u0275dir=C.\u0275\u0275defineDirective({type:Ct,selectors:[["mat-select-trigger"]],standalone:!0,features:[C.\u0275\u0275ProvidersFeature([{provide:ue,useExisting:Ct}])]})}return Ct})(),ct=(()=>{class Ct{static#e=this.\u0275fac=function(pe){return new(pe||Ct)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:Ct});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({providers:[le],imports:[v.CommonModule,t.Y1,E.MatOptionModule,E.MatCommonModule,b.uU,c.MatFormFieldModule,E.MatOptionModule,E.MatCommonModule]})}return Ct})()},7760:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>f,MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>u,MAT_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>d,MatSlideToggle:()=>r,MatSlideToggleChange:()=>l,MatSlideToggleModule:()=>_,MatSlideToggleRequiredValidator:()=>h,_MatSlideToggleRequiredValidatorModule:()=>p});var t=g(4496),v=g(6504),C=g(1336),E=g(3576);const c=["switch"];function b(y,M){1&y&&(t.\u0275\u0275elementStart(0,"div",12),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(1,"svg",13),t.\u0275\u0275element(2,"path",14),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"svg",15),t.\u0275\u0275element(4,"path",16),t.\u0275\u0275elementEnd()())}const s=["*"],f=new t.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),d={provide:v.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(()=>r),multi:!0};class l{constructor(M,w){this.source=M,this.checked=w}}let a=0,r=(()=>{class y{_createChangeEvent(w){return new l(this,w)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(w){this._checked=w,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(w,k,D,I,O,T){this._elementRef=w,this._focusMonitor=k,this._changeDetectorRef=D,this.defaults=O,this._onChange=N=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new t.EventEmitter,this.toggleChange=new t.EventEmitter,this.tabIndex=parseInt(I)||0,this.color=O.color||"accent",this._noopAnimations="NoopAnimations"===T,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++a,this.hideIcon=O.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(w=>{"keyboard"===w||"program"===w?(this._focused=!0,this._changeDetectorRef.markForCheck()):w||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(w){w.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(w){this.checked=!!w}registerOnChange(w){this._onChange=w}registerOnTouched(w){this._onTouched=w}validate(w){return this.required&&!0!==w.value?{required:!0}:null}registerOnValidatorChange(w){this._validatorOnChange=w}setDisabledState(w){this.disabled=w,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new l(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(k){return new(k||y)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(C.Kk),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275injectAttribute("tabindex"),t.\u0275\u0275directiveInject(f),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:y,selectors:[["mat-slide-toggle"]],viewQuery:function(k,D){if(1&k&&t.\u0275\u0275viewQuery(c,5),2&k){let I;t.\u0275\u0275queryRefresh(I=t.\u0275\u0275loadQuery())&&(D._switchElement=I.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(k,D){2&k&&(t.\u0275\u0275hostProperty("id",D.id),t.\u0275\u0275attribute("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),t.\u0275\u0275classMap(D.color?"mat-"+D.color:""),t.\u0275\u0275classProp("mat-mdc-slide-toggle-focused",D._focused)("mat-mdc-slide-toggle-checked",D.checked)("_mat-animation-noopable",D._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[t.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[t.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[t.\u0275\u0275InputFlags.None,"aria-describedby","ariaDescribedby"],required:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"required","required",t.booleanAttribute],color:"color",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute],tabIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",w=>null==w?0:(0,t.numberAttribute)(w)],checked:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"checked","checked",t.booleanAttribute],hideIcon:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"hideIcon","hideIcon",t.booleanAttribute]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([d,{provide:v.NG_VALIDATORS,useExisting:y,multi:!0}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:s,decls:13,vars:24,consts:[["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],["class","mdc-switch__icons"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(k,D){if(1&k&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"div",0)(1,"button",1,2),t.\u0275\u0275listener("click",function(){return D._handleClick()}),t.\u0275\u0275element(3,"div",3),t.\u0275\u0275elementStart(4,"div",4)(5,"div",5)(6,"div",6),t.\u0275\u0275element(7,"div",7),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(8,"div",8),t.\u0275\u0275element(9,"div",9),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(10,b,5,0,"div",10),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275elementStart(11,"label",11),t.\u0275\u0275listener("click",function(O){return O.stopPropagation()}),t.\u0275\u0275projection(12),t.\u0275\u0275elementEnd()()),2&k){const I=t.\u0275\u0275reference(2);t.\u0275\u0275property("labelPosition",D.labelPosition),t.\u0275\u0275advance(),t.\u0275\u0275classProp("mdc-switch--selected",D.checked)("mdc-switch--unselected",!D.checked)("mdc-switch--checked",D.checked)("mdc-switch--disabled",D.disabled),t.\u0275\u0275property("tabIndex",D.disabled?-1:D.tabIndex)("disabled",D.disabled),t.\u0275\u0275attribute("id",D.buttonId)("name",D.name)("aria-label",D.ariaLabel)("aria-labelledby",D._getAriaLabelledBy())("aria-describedby",D.ariaDescribedby)("aria-required",D.required||null)("aria-checked",D.checked),t.\u0275\u0275advance(8),t.\u0275\u0275property("matRippleTrigger",I)("matRippleDisabled",D.disableRipple||D.disabled)("matRippleCentered",!0),t.\u0275\u0275advance(),t.\u0275\u0275conditional(10,D.hideIcon?-1:10),t.\u0275\u0275advance(),t.\u0275\u0275property("for",D.buttonId),t.\u0275\u0275attribute("id",D._labelId)}},dependencies:[E.MatRipple,E._MatInternalFormField],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0})}return y})();const u={provide:v.NG_VALIDATORS,useExisting:(0,t.forwardRef)(()=>h),multi:!0};let h=(()=>{class y extends v.CheckboxRequiredValidator{static#e=this.\u0275fac=(()=>{let w;return function(D){return(w||(w=t.\u0275\u0275getInheritedFactory(y)))(D||y)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:y,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([u]),t.\u0275\u0275InheritDefinitionFeature]})}return y})(),p=(()=>{class y{static#e=this.\u0275fac=function(k){return new(k||y)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:y});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return y})(),_=(()=>{class y{static#e=this.\u0275fac=function(k){return new(k||y)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:y});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[r,E.MatCommonModule,E.MatCommonModule]})}return y})()},7300:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MatSlider:()=>T,MatSliderChange:()=>I,MatSliderModule:()=>K,MatSliderRangeThumb:()=>U,MatSliderThumb:()=>A,MatSliderVisualThumb:()=>O});var t=g(1900),v=g(5792),C=g(4496),E=g(3576),c=g(6504),b=g(5657);const s=["knob"],f=["valueIndicatorContainer"];function d(ee,ne){if(1&ee&&(C.\u0275\u0275elementStart(0,"div",4,5)(2,"div",6)(3,"span",7),C.\u0275\u0275text(4),C.\u0275\u0275elementEnd()()()),2&ee){const B=C.\u0275\u0275nextContext();C.\u0275\u0275advance(4),C.\u0275\u0275textInterpolate(B.valueIndicatorText)}}const l=["trackActive"];function a(ee,ne){if(1&ee&&C.\u0275\u0275element(0,"div"),2&ee){const B=ne.$implicit,H=ne.$index,z=C.\u0275\u0275nextContext(3);C.\u0275\u0275classMap(0===B?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),C.\u0275\u0275styleProp("transform",z._calcTickMarkTransform(H))}}function r(ee,ne){if(1&ee&&C.\u0275\u0275repeaterCreate(0,a,1,4,"div",9,C.\u0275\u0275repeaterTrackByIdentity),2&ee){const B=C.\u0275\u0275nextContext(2);C.\u0275\u0275repeater(B._tickMarks)}}function u(ee,ne){if(1&ee&&(C.\u0275\u0275elementStart(0,"div",7,8),C.\u0275\u0275template(2,r,2,0),C.\u0275\u0275elementEnd()),2&ee){const B=C.\u0275\u0275nextContext();C.\u0275\u0275advance(2),C.\u0275\u0275conditional(2,B._cachedWidth?2:-1)}}function h(ee,ne){if(1&ee&&C.\u0275\u0275element(0,"mat-slider-visual-thumb",6),2&ee){const B=C.\u0275\u0275nextContext();C.\u0275\u0275property("discrete",B.discrete)("thumbPosition",1)("valueIndicatorText",B.startValueIndicatorText)}}const p=["*"];var _=function(ee){return ee[ee.START=1]="START",ee[ee.END=2]="END",ee}(_||{}),y=function(ee){return ee[ee.ACTIVE=0]="ACTIVE",ee[ee.INACTIVE=1]="INACTIVE",ee}(y||{});const M=new C.InjectionToken("_MatSlider"),w=new C.InjectionToken("_MatSliderThumb"),k=new C.InjectionToken("_MatSliderRangeThumb"),D=new C.InjectionToken("_MatSliderVisualThumb");class I{}let O=(()=>{class ee{constructor(B,H,z,X){this._cdr=B,this._ngZone=H,this._slider=X,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._platform=(0,C.inject)(v.WU),this._onPointerMove=G=>{if(this._sliderInput._isFocused)return;const j=this._hostElement.getBoundingClientRect(),le=this._slider._isCursorOnSliderThumb(G,j);this._isHovered=le,le?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=G=>{0===G.button&&(this._isActive=!0,this._showActiveRipple())},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef),this._platform.SAFARI&&this._showHoverRipple()},this._hostElement=z.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const B=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{B.addEventListener("pointermove",this._onPointerMove),B.addEventListener("pointerdown",this._onDragStart),B.addEventListener("pointerup",this._onDragEnd),B.addEventListener("pointerleave",this._onMouseLeave),B.addEventListener("focus",this._onFocus),B.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const B=this._sliderInputEl;B&&(B.removeEventListener("pointermove",this._onPointerMove),B.removeEventListener("pointerdown",this._onDragStart),B.removeEventListener("pointerup",this._onDragEnd),B.removeEventListener("pointerleave",this._onMouseLeave),B.removeEventListener("focus",this._onFocus),B.removeEventListener("blur",this._onBlur))}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(B){return B?.state===E.RippleState.FADING_IN||B?.state===E.RippleState.VISIBLE}_showRipple(B,H){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(this.thumbPosition===_.START?_.END:_.START)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||H))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:B,centered:!0,persistent:!0})}_hideRipple(B){if(B?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const H=this._getSibling();H._isShowingAnyRipple()||(this._hideValueIndicator(),H._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(this.thumbPosition===_.START?_.END:_.START)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static#e=this.\u0275fac=function(H){return new(H||ee)(C.\u0275\u0275directiveInject(C.ChangeDetectorRef),C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(M))};static#t=this.\u0275cmp=C.\u0275\u0275defineComponent({type:ee,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(H,z){if(1&H&&(C.\u0275\u0275viewQuery(E.MatRipple,5),C.\u0275\u0275viewQuery(s,5),C.\u0275\u0275viewQuery(f,5)),2&H){let X;C.\u0275\u0275queryRefresh(X=C.\u0275\u0275loadQuery())&&(z._ripple=X.first),C.\u0275\u0275queryRefresh(X=C.\u0275\u0275loadQuery())&&(z._knob=X.first),C.\u0275\u0275queryRefresh(X=C.\u0275\u0275loadQuery())&&(z._valueIndicatorContainer=X.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},standalone:!0,features:[C.\u0275\u0275ProvidersFeature([{provide:D,useExisting:ee}]),C.\u0275\u0275StandaloneFeature],decls:4,vars:2,consts:[["class","mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["knob",""],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator-container"],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(H,z){1&H&&(C.\u0275\u0275template(0,d,5,1,"div",0),C.\u0275\u0275element(1,"div",1,2)(3,"div",3)),2&H&&(C.\u0275\u0275conditional(0,z.discrete?0:-1),C.\u0275\u0275advance(3),C.\u0275\u0275property("matRippleDisabled",!0))},dependencies:[E.MatRipple],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0})}return ee})(),T=(()=>{class ee{get disabled(){return this._disabled}set disabled(B){this._disabled=B;const H=this._getInput(_.END),z=this._getInput(_.START);H&&(H.disabled=this._disabled),z&&(z.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(B){this._discrete=B,this._updateValueIndicatorUIs()}get min(){return this._min}set min(B){const H=isNaN(B)?this._min:B;this._min!==H&&this._updateMin(H)}_updateMin(B){const H=this._min;this._min=B,this._isRange?this._updateMinRange({old:H,new:B}):this._updateMinNonRange(B),this._onMinMaxOrStepChange()}_updateMinRange(B){const H=this._getInput(_.END),z=this._getInput(_.START),X=H.value,G=z.value;z.min=B.new,H.min=Math.max(B.new,z.value),z.max=Math.min(H.max,H.value),z._updateWidthInactive(),H._updateWidthInactive(),B.newB.old?this._onTranslateXChangeBySideEffect(z,H):this._onTranslateXChangeBySideEffect(H,z),X!==H.value&&this._onValueChange(H),G!==z.value&&this._onValueChange(z)}_updateMaxNonRange(B){const H=this._getInput(_.END);if(H){const z=H.value;H.max=B,H._updateThumbUIByValue(),this._updateTrackUI(H),z!==H.value&&this._onValueChange(H)}}get step(){return this._step}set step(B){const H=isNaN(B)?this._step:B;this._step!==H&&this._updateStep(H)}_updateStep(B){this._step=B,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const B=this._getInput(_.END),H=this._getInput(_.START),z=B.value,X=H.value,G=H.value;B.min=this._min,H.max=this._max,B.step=this._step,H.step=this._step,this._platform.SAFARI&&(B.value=B.value,H.value=H.value),B.min=Math.max(this._min,H.value),H.max=Math.min(this._max,B.value),H._updateWidthInactive(),B._updateWidthInactive(),B.value`${le}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._platform=(0,C.inject)(v.WU),this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===j,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const B=this._getInput(_.END),H=this._getInput(_.START);this._isRange=!!B&&!!H,this._cdr.detectChanges();const z=this._getThumb(_.END);this._rippleRadius=z._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._isRange?this._initUIRange(B,H):this._initUINonRange(B),this._updateTrackUI(B),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(B){B.initProps(),B.initUI(),this._updateValueIndicatorUI(B),this._hasViewInitialized=!0,B._updateThumbUIByValue()}_initUIRange(B,H){B.initProps(),B.initUI(),H.initProps(),H.initUI(),B._updateMinMax(),H._updateMinMax(),B._updateStaticStyles(),H._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,B._updateThumbUIByValue(),H._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const B=this._getInput(_.END),H=this._getInput(_.START);B._setIsLeftThumb(),H._setIsLeftThumb(),B.translateX=B._calcTranslateXByValue(),H.translateX=H._calcTranslateXByValue(),B._updateStaticStyles(),H._updateStaticStyles(),B._updateWidthInactive(),H._updateWidthInactive(),B._updateThumbUIByValue(),H._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(_.END)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(_.START)._isActive||this._getThumb(_.END)._isActive}_getValue(B=_.END){const H=this._getInput(B);return H?H.value:this.min}_skipUpdate(){return!(!this._getInput(_.START)?._skipUIUpdate&&!this._getInput(_.END)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(B){const H=this._trackActive.nativeElement.style;H.left=B.left,H.right=B.right,H.transformOrigin=B.transformOrigin,H.transform=B.transform}_calcTickMarkTransform(B){return`translateX(${B*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(B){this._hasViewInitialized&&(this._updateThumbUI(B),this._updateTrackUI(B),this._updateOverlappingThumbUI(B))}_onTranslateXChangeBySideEffect(B,H){this._hasViewInitialized&&(B._updateThumbUIByValue(),H._updateThumbUIByValue())}_onValueChange(B){this._hasViewInitialized&&(this._updateValueIndicatorUI(B),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const B=this._getInput(_.END),H=this._getInput(_.START);B._updateThumbUIByValue(),H._updateThumbUIByValue(),B._updateStaticStyles(),H._updateStaticStyles(),B._updateMinMax(),H._updateMinMax(),B._updateWidthInactive(),H._updateWidthInactive()}else{const B=this._getInput(_.END);B&&B._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const B=this._getInput(_.START),H=this._getInput(_.END);return!(!B||!H)&&H.translateX-B.translateX<20}_updateOverlappingThumbClassNames(B){const H=B.getSibling(),z=this._getThumb(B.thumbPosition);this._getThumb(H.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),z._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(B){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(B))}_updateThumbUI(B){this._skipUpdate()||(this._getThumb(B.thumbPosition===_.END?_.END:_.START)._hostElement.style.transform=`translateX(${B.translateX}px)`)}_updateValueIndicatorUI(B){if(this._skipUpdate())return;const H=this.displayWith(B.value);if(this._hasViewInitialized?B._valuetext=H:B._hostElement.setAttribute("aria-valuetext",H),this.discrete){B.thumbPosition===_.START?this.startValueIndicatorText=H:this.endValueIndicatorText=H;const z=this._getThumb(B.thumbPosition);H.length<3?z._hostElement.classList.add("mdc-slider__thumb--short-value"):z._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const B=this._getInput(_.END),H=this._getInput(_.START);B&&this._updateValueIndicatorUI(B),H&&this._updateValueIndicatorUI(H)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const B=this._step&&this._step>0?this._step:1,z=(Math.floor(this.max/B)*B-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*z-6}_updateTrackUI(B){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(B):this._updateTrackUINonRange(B))}_updateTrackUIRange(B){const H=B.getSibling();if(!H||!this._cachedWidth)return;const z=Math.abs(H.translateX-B.translateX)/this._cachedWidth;this._setTrackActiveStyles(B._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-H.translateX+"px",transformOrigin:"right",transform:`scaleX(${z})`}:{left:`${H.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${z})`})}_updateTrackUINonRange(B){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-B.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${B.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const B=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(B):this._updateTickMarkUINonRange(B),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(B){const H=this._getValue();let z=Math.max(Math.floor((H-this.min)/B),0),X=Math.max(Math.floor((this.max-H)/B),0);this._isRtl?z++:X++,this._tickMarks=Array(z).fill(y.ACTIVE).concat(Array(X).fill(y.INACTIVE))}_updateTickMarkUIRange(B){const H=this._getValue(),z=this._getValue(_.START),X=Math.max(Math.floor((z-this.min)/B),0),G=Math.max(Math.floor((H-z)/B)+1,0),j=Math.max(Math.floor((this.max-H)/B),0);this._tickMarks=Array(X).fill(y.INACTIVE).concat(Array(G).fill(y.ACTIVE),Array(j).fill(y.INACTIVE))}_getInput(B){return B===_.END&&this._input?this._input:this._inputs?.length?B===_.START?this._inputs.first:this._inputs.last:void 0}_getThumb(B){return B===_.END?this._thumbs?.last:this._thumbs?.first}_setTransition(B){this._hasAnimation=!this._platform.IOS&&B&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(B,H){const z=H.width/2,le=B.clientY-(H.y+z);return Math.pow(B.clientX-(H.x+z),2)+Math.pow(le,2)A),multi:!0},L={provide:c.NG_VALUE_ACCESSOR,useExisting:(0,C.forwardRef)(()=>U),multi:!0};let A=(()=>{class ee{get value(){return(0,C.numberAttribute)(this._hostElement.value,0)}set value(B){const H=(B=isNaN(B)?0:B)+"";this._hasSetInitialValue?this._isActive||this._setValue(H):this._initialValue=H}_setValue(B){this._hostElement.value=B,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=this._tickMarkOffset,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(B){this._translateX=B}get min(){return(0,C.numberAttribute)(this._hostElement.min,0)}set min(B){this._hostElement.min=B+"",this._cdr.detectChanges()}get max(){return(0,C.numberAttribute)(this._hostElement.max,0)}set max(B){this._hostElement.max=B+"",this._cdr.detectChanges()}get step(){return(0,C.numberAttribute)(this._hostElement.step,0)}set step(B){this._hostElement.step=B+"",this._cdr.detectChanges()}get disabled(){return(0,C.booleanAttribute)(this._hostElement.disabled)}set disabled(B){this._hostElement.disabled=B,this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(B){this._isFocused=B}constructor(B,H,z,X){this._ngZone=B,this._elementRef=H,this._cdr=z,this._slider=X,this.valueChange=new C.EventEmitter,this.dragStart=new C.EventEmitter,this.dragEnd=new C.EventEmitter,this.thumbPosition=_.END,this._knobRadius=8,this._tickMarkOffset=3,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new b.E,this._skipUIUpdate=!1,this._onTouchedFn=()=>{},this._isControlInitialized=!1,this._platform=(0,C.inject)(v.WU),this._hostElement=H.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(B){if(!this.disabled&&0===B.button){if(this._platform.IOS){const H=this._slider._isCursorOnSliderThumb(B,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());return this._isActive=H,this._updateWidthActive(),void this._slider._updateDimensions()}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(B,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(B),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(B){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(B)},0)}_fixValue(B){const H=B.clientX-this._slider._cachedLeft,z=this._slider._cachedWidth,X=0===this._slider.step?1:this._slider.step,G=Math.floor((this._slider.max-this._slider.min)/X),ue=Math.round((this._slider._isRtl?1-H/z:H/z)*G)/G*(this._slider.max-this._slider.min)+this._slider.min,ve=Math.round(ue/X)*X;if(ve===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(B,{withAnimation:this._slider._hasAnimation}));this.value=ve,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(B,{withAnimation:this._slider._hasAnimation})}_onPointerMove(B){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(B)}_onPointerUp(){this._isActive&&(this._isActive=!1,this._platform.SAFARI&&this._setIsFocused(!1),this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(B){const H=this._tickMarkOffset;return Math.max(Math.min(B,this._slider._cachedWidth-this._tickMarkOffset),H)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*(this._slider._cachedWidth-2*this._tickMarkOffset)+this._tickMarkOffset:this.percentage*(this._slider._cachedWidth-2*this._tickMarkOffset)+this._tickMarkOffset}_calcTranslateXByPointerEvent(B){return B.clientX-this._slider._cachedLeft}_updateWidthActive(){}_updateWidthInactive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding-2*this._tickMarkOffset}px)`,this._hostElement.style.left=`-${this._slider._rippleRadius-this._tickMarkOffset}px`}_updateThumbUIByValue(B){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(B)}_updateThumbUIByPointerEvent(B,H){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(B)),this._updateThumbUI(H)}_updateThumbUI(B){this._slider._setTransition(!!B?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(B){(this._isControlInitialized||null!==B)&&(this.value=B)}registerOnChange(B){this._onChangeFn=B,this._isControlInitialized=!0}registerOnTouched(B){this._onTouchedFn=B}setDisabledState(B){this.disabled=B}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static#e=this.\u0275fac=function(H){return new(H||ee)(C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(C.ChangeDetectorRef),C.\u0275\u0275directiveInject(M))};static#t=this.\u0275dir=C.\u0275\u0275defineDirective({type:ee,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(H,z){1&H&&C.\u0275\u0275listener("change",function(){return z._onChange()})("input",function(){return z._onInput()})("blur",function(){return z._onBlur()})("focus",function(){return z._onFocus()}),2&H&&C.\u0275\u0275attribute("aria-valuetext",z._valuetext)},inputs:{value:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"value","value",C.numberAttribute]},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],standalone:!0,features:[C.\u0275\u0275ProvidersFeature([F,{provide:w,useExisting:ee}]),C.\u0275\u0275InputTransformsFeature]})}return ee})(),U=(()=>{class ee extends A{getSibling(){return this._sibling||(this._sibling=this._slider._getInput(this._isEndThumb?_.START:_.END)),this._sibling}getMinPos(){const B=this.getSibling();return!this._isLeftThumb&&B?B.translateX:this._tickMarkOffset}getMaxPos(){const B=this.getSibling();return this._isLeftThumb&&B?B.translateX:this._slider._cachedWidth-this._tickMarkOffset}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}constructor(B,H,z,X){super(B,z,X,H),this._cdr=X,this._isEndThumb=this._hostElement.hasAttribute("matSliderEndThumb"),this._setIsLeftThumb(),this.thumbPosition=this._isEndThumb?_.END:_.START}_getDefaultValue(){return this._isEndThumb&&this._slider._isRange?this.max:this.min}_onInput(){super._onInput(),this._updateSibling(),this._isActive||this._updateWidthInactive()}_onNgControlValueChange(){super._onNgControlValueChange(),this.getSibling()?._updateMinMax()}_onPointerDown(B){this.disabled||0!==B.button||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown(B))}_onPointerUp(){super._onPointerUp(),this._sibling&&setTimeout(()=>{this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events")})}_onPointerMove(B){super._onPointerMove(B),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue(B){super._fixValue(B),this._sibling?._updateMinMax()}_clamp(B){return Math.max(Math.min(B,this.getMaxPos()),this.getMinPos())}_updateMinMax(){const B=this.getSibling();B&&(this._isEndThumb?(this.min=Math.max(this._slider.min,B.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,B.value)))}_updateWidthActive(){const B=2*this._slider._rippleRadius-2*this._slider._inputPadding;this._hostElement.style.width=`${(this._slider._cachedWidth+this._slider._inputPadding-B-2*this._tickMarkOffset)*(this._slider.min{class ee{static#e=this.\u0275fac=function(H){return new(H||ee)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:ee});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({imports:[E.MatCommonModule,E.MatRippleModule]})}return ee})()},8818:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MatCell:()=>ft,MatCellDef:()=>dt,MatColumnDef:()=>Fe,MatFooterCell:()=>Ke,MatFooterCellDef:()=>qe,MatFooterRow:()=>fi,MatFooterRowDef:()=>fn,MatHeaderCell:()=>et,MatHeaderCellDef:()=>xt,MatHeaderRow:()=>An,MatHeaderRowDef:()=>qt,MatNoDataRow:()=>Fi,MatRecycleRows:()=>Ge,MatRow:()=>Si,MatRowDef:()=>ln,MatTable:()=>kt,MatTableDataSource:()=>rr,MatTableModule:()=>mi,MatTextColumn:()=>si});var t=g(4496),v=g(1900),C=g(1032),E=g(5792),c=g(1904),b=g(1368),s=g(5657),f=g(9900),d=g(6700),l=g(1116),a=g(2700),r=g(3616),u=g(3992),h=g(7712);function p(se,at){1&se&&t.\u0275\u0275projection(0,2)}function _(se,at){1&se&&(t.\u0275\u0275elementStart(0,"thead",0),t.\u0275\u0275elementContainer(1,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(2,"tbody",0),t.\u0275\u0275elementContainer(3,2)(4,3),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(5,"tfoot",0),t.\u0275\u0275elementContainer(6,4),t.\u0275\u0275elementEnd())}function y(se,at){1&se&&t.\u0275\u0275elementContainer(0,1)(1,2)(2,3)(3,4)}const M=[[["caption"]],[["colgroup"],["col"]],"*"],w=["caption","colgroup, col","*"];function k(se,at){if(1&se&&(t.\u0275\u0275elementStart(0,"th",3),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&se){const ae=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("text-align",ae.justify),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",ae.headerText," ")}}function D(se,at){if(1&se&&(t.\u0275\u0275elementStart(0,"td",4),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&se){const ae=at.$implicit,fe=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("text-align",fe.justify),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",fe.dataAccessor(ae,fe.name)," ")}}function I(se){return class extends se{get sticky(){return this._sticky}set sticky(at){const ae=this._sticky;this._sticky=(0,h.W6)(at),this._hasStickyChanged=ae!==this._sticky}hasStickyChanged(){const at=this._hasStickyChanged;return this._hasStickyChanged=!1,at}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...at){super(...at),this._sticky=!1,this._hasStickyChanged=!1}}}const O=new t.InjectionToken("CDK_TABLE"),T=new t.InjectionToken("text-column-options");let N=(()=>{class se{constructor(ae){this.template=ae}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkCellDef",""]],standalone:!0})}return se})(),S=(()=>{class se{constructor(ae){this.template=ae}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}return se})(),F=(()=>{class se{constructor(ae){this.template=ae}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}return se})();class L{}const A=I(L);let U=(()=>{class se extends A{get name(){return this._name}set name(ae){this._setNameInput(ae)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ae){ae!==this._stickyEnd&&(this._stickyEnd=ae,this._hasStickyChanged=!0)}constructor(ae){super(),this._table=ae,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ae){ae&&(this._name=ae,this.cssClassFriendlyName=ae.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(O,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkColumnDef",""]],contentQueries:function(fe,Ae,_e){if(1&fe&&(t.\u0275\u0275contentQuery(_e,N,5),t.\u0275\u0275contentQuery(_e,S,5),t.\u0275\u0275contentQuery(_e,F,5)),2&fe){let mt;t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae.cell=mt.first),t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae.headerCell=mt.first),t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae.footerCell=mt.first)}},inputs:{sticky:"sticky",name:[t.\u0275\u0275InputFlags.None,"cdkColumnDef","name"],stickyEnd:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"stickyEnd","stickyEnd",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:se}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature]})}return se})();class K{constructor(at,ae){ae.nativeElement.classList.add(...at._columnCssClassName)}}let ee=(()=>{class se extends K{constructor(ae,fe){super(ae,fe)}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(U),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})(),ne=(()=>{class se extends K{constructor(ae,fe){super(ae,fe);const Ae=ae._table?._getCellRole();Ae&&fe.nativeElement.setAttribute("role",Ae)}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(U),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})(),B=(()=>{class se extends K{constructor(ae,fe){super(ae,fe);const Ae=ae._table?._getCellRole();Ae&&fe.nativeElement.setAttribute("role",Ae)}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(U),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})();class H{constructor(){this.tasks=[],this.endTasks=[]}}const z=new t.InjectionToken("_COALESCED_STYLE_SCHEDULER");let X=(()=>{class se{constructor(ae){this._ngZone=ae,this._currentSchedule=null,this._destroyed=new s.E}schedule(ae){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ae)}scheduleEnd(ae){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ae)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new H,this._getScheduleObservable().pipe((0,r.a)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ae=this._currentSchedule;this._currentSchedule=new H;for(const fe of ae.tasks)fe();for(const fe of ae.endTasks)fe()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,f.Q)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,u.U)(1))}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275inject(t.NgZone))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})(),j=(()=>{class se{constructor(ae,fe){this.template=ae,this._differs=fe}ngOnChanges(ae){if(!this._columnsDiffer){const fe=ae.columns&&ae.columns.currentValue||[];this._columnsDiffer=this._differs.find(fe).create(),this._columnsDiffer.diff(fe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ae){return this instanceof ve?ae.headerCell.template:this instanceof ct?ae.footerCell.template:ae.cell.template}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,features:[t.\u0275\u0275NgOnChangesFeature]})}return se})();class le extends j{}const ue=I(le);let ve=(()=>{class se extends ue{constructor(ae,fe,Ae){super(ae,fe),this._table=Ae}ngOnChanges(ae){super.ngOnChanges(ae)}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275directiveInject(O,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"cdkHeaderRowDef","columns"],sticky:[t.\u0275\u0275InputFlags.None,"cdkHeaderRowDefSticky","sticky"]},standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return se})();class Je extends j{}const _t=I(Je);let ct=(()=>{class se extends _t{constructor(ae,fe,Ae){super(ae,fe),this._table=Ae}ngOnChanges(ae){super.ngOnChanges(ae)}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275directiveInject(O,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"cdkFooterRowDef","columns"],sticky:[t.\u0275\u0275InputFlags.None,"cdkFooterRowDefSticky","sticky"]},standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return se})(),Ct=(()=>{class se extends j{constructor(ae,fe,Ae){super(ae,fe),this._table=Ae}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275directiveInject(O,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"cdkRowDefColumns","columns"],when:[t.\u0275\u0275InputFlags.None,"cdkRowDefWhen","when"]},standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})(),Re=(()=>{class se{static#e=this.mostRecentCellOutlet=null;constructor(ae){this._viewContainer=ae,se.mostRecentCellOutlet=this}ngOnDestroy(){se.mostRecentCellOutlet===this&&(se.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.ViewContainerRef))};static#n=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkCellOutlet",""]],standalone:!0})}return se})(),ke=(()=>{class se{static#e=this.\u0275fac=function(fe){return new(fe||se)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(fe,Ae){1&fe&&t.\u0275\u0275elementContainer(0,0)},dependencies:[Re],encapsulation:2})}return se})(),pe=(()=>{class se{static#e=this.\u0275fac=function(fe){return new(fe||se)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(fe,Ae){1&fe&&t.\u0275\u0275elementContainer(0,0)},dependencies:[Re],encapsulation:2})}return se})(),Qe=(()=>{class se{static#e=this.\u0275fac=function(fe){return new(fe||se)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(fe,Ae){1&fe&&t.\u0275\u0275elementContainer(0,0)},dependencies:[Re],encapsulation:2})}return se})(),Be=(()=>{class se{constructor(ae){this.templateRef=ae,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}return se})();const Ie=["top","bottom","left","right"];class je{constructor(at,ae,fe,Ae,_e=!0,mt=!0,V){this._isNativeHtmlTable=at,this._stickCellCss=ae,this.direction=fe,this._coalescedStyleScheduler=Ae,this._isBrowser=_e,this._needsPositionStickyOnElement=mt,this._positionListener=V,this._cachedCellWidths=[],this._borderCellCss={top:`${ae}-border-elem-top`,bottom:`${ae}-border-elem-bottom`,left:`${ae}-border-elem-left`,right:`${ae}-border-elem-right`}}clearStickyPositioning(at,ae){const fe=[];for(const Ae of at)if(Ae.nodeType===Ae.ELEMENT_NODE){fe.push(Ae);for(let _e=0;_e{for(const Ae of fe)this._removeStickyStyle(Ae,ae)})}updateStickyColumns(at,ae,fe,Ae=!0){at.length&&this._isBrowser&&(ae.some(_e=>_e)||fe.some(_e=>_e))?this._coalescedStyleScheduler.schedule(()=>{const _e=at[0],mt=_e.children.length,V=this._getCellWidths(_e,Ae),he=this._getStickyStartColumnPositions(V,ae),de=this._getStickyEndColumnPositions(V,fe),We=ae.lastIndexOf(!0),wt=fe.indexOf(!0),Yt="rtl"===this.direction,Kn=Yt?"right":"left",Pn=Yt?"left":"right";for(const Tn of at)for(let vn=0;vnae[vn]?Tn:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===wt?[]:V.slice(wt).map((Tn,vn)=>fe[vn+wt]?Tn:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(at,ae,fe){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const Ae="bottom"===fe?at.slice().reverse():at,_e="bottom"===fe?ae.slice().reverse():ae,mt=[],V=[],he=[];for(let We=0,wt=0;We{const fe=at.querySelector("tfoot");fe&&(ae.some(Ae=>!Ae)?this._removeStickyStyle(fe,["bottom"]):this._addStickyStyle(fe,"bottom",0,!1))})}_removeStickyStyle(at,ae){for(const Ae of ae)at.style[Ae]="",at.classList.remove(this._borderCellCss[Ae]);Ie.some(Ae=>-1===ae.indexOf(Ae)&&at.style[Ae])?at.style.zIndex=this._getCalculatedZIndex(at):(at.style.zIndex="",this._needsPositionStickyOnElement&&(at.style.position=""),at.classList.remove(this._stickCellCss))}_addStickyStyle(at,ae,fe,Ae){at.classList.add(this._stickCellCss),Ae&&at.classList.add(this._borderCellCss[ae]),at.style[ae]=`${fe}px`,at.style.zIndex=this._getCalculatedZIndex(at),this._needsPositionStickyOnElement&&(at.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(at){const ae={top:100,bottom:10,left:1,right:1};let fe=0;for(const Ae of Ie)at.style[Ae]&&(fe+=ae[Ae]);return fe?`${fe}`:""}_getCellWidths(at,ae=!0){if(!ae&&this._cachedCellWidths.length)return this._cachedCellWidths;const fe=[],Ae=at.children;for(let _e=0;_e0;_e--)ae[_e]&&(fe[_e]=Ae,Ae+=at[_e]);return fe}}const pt=new t.InjectionToken("CDK_SPL");let Gt=(()=>{class se{constructor(ae,fe){this.viewContainer=ae,this.elementRef=fe;const Ae=(0,t.inject)(O);Ae._rowOutlet=this,Ae._outletAssigned()}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","rowOutlet",""]],standalone:!0})}return se})(),rn=(()=>{class se{constructor(ae,fe){this.viewContainer=ae,this.elementRef=fe;const Ae=(0,t.inject)(O);Ae._headerRowOutlet=this,Ae._outletAssigned()}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","headerRowOutlet",""]],standalone:!0})}return se})(),on=(()=>{class se{constructor(ae,fe){this.viewContainer=ae,this.elementRef=fe;const Ae=(0,t.inject)(O);Ae._footerRowOutlet=this,Ae._outletAssigned()}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","footerRowOutlet",""]],standalone:!0})}return se})(),tn=(()=>{class se{constructor(ae,fe){this.viewContainer=ae,this.elementRef=fe;const Ae=(0,t.inject)(O);Ae._noDataRowOutlet=this,Ae._outletAssigned()}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","noDataRowOutlet",""]],standalone:!0})}return se})(),an=(()=>{class se{_getCellRole(){if(void 0===this._cellRoleInternal){const ae=this._elementRef.nativeElement.getAttribute("role"),fe="grid"===ae||"treegrid"===ae?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===fe?null:fe}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(ae){this._trackByFn=ae}get dataSource(){return this._dataSource}set dataSource(ae){this._dataSource!==ae&&this._switchDataSource(ae)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ae){this._multiTemplateDataRows=ae,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ae){this._fixedLayout=ae,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(ae,fe,Ae,_e,mt,V,he,de,We,wt,Yt,Kn){this._differs=ae,this._changeDetectorRef=fe,this._elementRef=Ae,this._dir=mt,this._platform=he,this._viewRepeater=de,this._coalescedStyleScheduler=We,this._viewportRuler=wt,this._stickyPositioningListener=Yt,this._ngZone=Kn,this._onDestroy=new s.E,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._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new t.EventEmitter,this.viewChange=new d.g({start:0,end:Number.MAX_VALUE}),_e||Ae.nativeElement.setAttribute("role","table"),this._document=V,this._isServer=!he.isBrowser,this._isNativeHtmlTable="TABLE"===Ae.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((ae,fe)=>this.trackBy?this.trackBy(fe.dataIndex,fe.data):fe),this._viewportRuler.change().pipe((0,r.a)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(ae=>{ae?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,C.cz)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ae=this._dataDiffer.diff(this._renderRows);if(!ae)return this._updateNoDataRow(),void this.contentChanged.next();const fe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ae,fe,(Ae,_e,mt)=>this._getEmbeddedViewArgs(Ae.item,mt),Ae=>Ae.item.data,Ae=>{Ae.operation===C.mj.INSERTED&&Ae.context&&this._renderCellTemplateForItem(Ae.record.item.rowDef,Ae.context)}),this._updateRowIndexContext(),ae.forEachIdentityChange(Ae=>{fe.get(Ae.currentIndex).context.$implicit=Ae.item.data}),this._updateNoDataRow(),this._ngZone&&t.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,u.U)(1),(0,r.a)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ae){this._customColumnDefs.add(ae)}removeColumnDef(ae){this._customColumnDefs.delete(ae)}addRowDef(ae){this._customRowDefs.add(ae)}removeRowDef(ae){this._customRowDefs.delete(ae)}addHeaderRowDef(ae){this._customHeaderRowDefs.add(ae),this._headerRowDefChanged=!0}removeHeaderRowDef(ae){this._customHeaderRowDefs.delete(ae),this._headerRowDefChanged=!0}addFooterRowDef(ae){this._customFooterRowDefs.add(ae),this._footerRowDefChanged=!0}removeFooterRowDef(ae){this._customFooterRowDefs.delete(ae),this._footerRowDefChanged=!0}setNoDataRow(ae){this._customNoDataRow=ae}updateStickyHeaderRowStyles(){const ae=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const Ae=Ut(this._headerRowOutlet,"thead");Ae&&(Ae.style.display=ae.length?"":"none")}const fe=this._headerRowDefs.map(Ae=>Ae.sticky);this._stickyStyler.clearStickyPositioning(ae,["top"]),this._stickyStyler.stickRows(ae,fe,"top"),this._headerRowDefs.forEach(Ae=>Ae.resetStickyChanged())}updateStickyFooterRowStyles(){const ae=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const Ae=Ut(this._footerRowOutlet,"tfoot");Ae&&(Ae.style.display=ae.length?"":"none")}const fe=this._footerRowDefs.map(Ae=>Ae.sticky);this._stickyStyler.clearStickyPositioning(ae,["bottom"]),this._stickyStyler.stickRows(ae,fe,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,fe),this._footerRowDefs.forEach(Ae=>Ae.resetStickyChanged())}updateStickyColumnStyles(){const ae=this._getRenderedRows(this._headerRowOutlet),fe=this._getRenderedRows(this._rowOutlet),Ae=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ae,...fe,...Ae],["left","right"]),this._stickyColumnStylesNeedReset=!1),ae.forEach((_e,mt)=>{this._addStickyColumnStyles([_e],this._headerRowDefs[mt])}),this._rowDefs.forEach(_e=>{const mt=[];for(let V=0;V{this._addStickyColumnStyles([_e],this._footerRowDefs[mt])}),Array.from(this._columnDefsByName.values()).forEach(_e=>_e.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const fe=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||fe,this._forceRecalculateCellWidths=fe,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const ae=[],fe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ae=0;Ae{const V=Ae&&Ae.has(mt)?Ae.get(mt):[];if(V.length){const he=V.shift();return he.dataIndex=fe,he}return{data:ae,rowDef:mt,dataIndex:fe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ot(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(fe=>{this._columnDefsByName.has(fe.name),this._columnDefsByName.set(fe.name,fe)})}_cacheRowDefs(){this._headerRowDefs=Ot(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ot(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ot(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ae=this._rowDefs.filter(fe=>!fe.when);this._defaultRowDef=ae[0]}_renderUpdatedColumns(){const ae=(mt,V)=>mt||!!V.getColumnsDiff(),fe=this._rowDefs.reduce(ae,!1);fe&&this._forceRenderDataRows();const Ae=this._headerRowDefs.reduce(ae,!1);Ae&&this._forceRenderHeaderRows();const _e=this._footerRowDefs.reduce(ae,!1);return _e&&this._forceRenderFooterRows(),fe||Ae||_e}_switchDataSource(ae){this._data=[],(0,C.cz)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ae||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=ae}_observeRenderChanges(){if(!this.dataSource)return;let ae;(0,C.cz)(this.dataSource)?ae=this.dataSource.connect(this):(0,l.X)(this.dataSource)?ae=this.dataSource:Array.isArray(this.dataSource)&&(ae=(0,a.of)(this.dataSource)),this._renderChangeSubscription=ae.pipe((0,r.a)(this._onDestroy)).subscribe(fe=>{this._data=fe||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ae,fe)=>this._renderRow(this._headerRowOutlet,ae,fe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ae,fe)=>this._renderRow(this._footerRowOutlet,ae,fe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ae,fe){const Ae=Array.from(fe.columns||[]).map(V=>this._columnDefsByName.get(V)),_e=Ae.map(V=>V.sticky),mt=Ae.map(V=>V.stickyEnd);this._stickyStyler.updateStickyColumns(ae,_e,mt,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ae){const fe=[];for(let Ae=0;Ae!_e.when||_e.when(fe,ae));else{let _e=this._rowDefs.find(mt=>mt.when&&mt.when(fe,ae))||this._defaultRowDef;_e&&Ae.push(_e)}return Ae}_getEmbeddedViewArgs(ae,fe){return{templateRef:ae.rowDef.template,context:{$implicit:ae.data},index:fe}}_renderRow(ae,fe,Ae,_e={}){const mt=ae.viewContainer.createEmbeddedView(fe.template,_e,Ae);return this._renderCellTemplateForItem(fe,_e),mt}_renderCellTemplateForItem(ae,fe){for(let Ae of this._getCellTemplates(ae))Re.mostRecentCellOutlet&&Re.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ae,fe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ae=this._rowOutlet.viewContainer;for(let fe=0,Ae=ae.length;fe{const Ae=this._columnDefsByName.get(fe);return ae.extractCellTemplate(Ae)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ae=(fe,Ae)=>fe||Ae.hasStickyChanged();this._headerRowDefs.reduce(ae,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ae,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ae,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new je(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,a.of)()).pipe((0,r.a)(this._onDestroy)).subscribe(fe=>{this._stickyStyler.direction=fe,this.updateStickyColumnStyles()})}_getOwnDefs(ae){return ae.filter(fe=>!fe._table||fe._table===this)}_updateNoDataRow(){const ae=this._customNoDataRow||this._noDataRow;if(!ae)return;const fe=0===this._rowOutlet.viewContainer.length;if(fe===this._isShowingNoDataRow)return;const Ae=this._noDataRowOutlet.viewContainer;if(fe){const _e=Ae.createEmbeddedView(ae.templateRef),mt=_e.rootNodes[0];1===_e.rootNodes.length&&mt?.nodeType===this._document.ELEMENT_NODE&&(mt.setAttribute("role","row"),mt.classList.add(ae._contentClassName))}else Ae.clear();this._isShowingNoDataRow=fe,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275injectAttribute("role"),t.\u0275\u0275directiveInject(v.yG,8),t.\u0275\u0275directiveInject(b.DOCUMENT),t.\u0275\u0275directiveInject(E.WU),t.\u0275\u0275directiveInject(C.ys),t.\u0275\u0275directiveInject(z),t.\u0275\u0275directiveInject(c.S8),t.\u0275\u0275directiveInject(pt,12),t.\u0275\u0275directiveInject(t.NgZone,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(fe,Ae,_e){if(1&fe&&(t.\u0275\u0275contentQuery(_e,Be,5),t.\u0275\u0275contentQuery(_e,U,5),t.\u0275\u0275contentQuery(_e,Ct,5),t.\u0275\u0275contentQuery(_e,ve,5),t.\u0275\u0275contentQuery(_e,ct,5)),2&fe){let mt;t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae._noDataRow=mt.first),t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae._contentColumnDefs=mt),t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae._contentRowDefs=mt),t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae._contentHeaderRowDefs=mt),t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae._contentFooterRowDefs=mt)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(fe,Ae){2&fe&&t.\u0275\u0275classProp("cdk-table-fixed-layout",Ae.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",t.booleanAttribute],fixedLayout:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fixedLayout","fixedLayout",t.booleanAttribute]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:O,useExisting:se},{provide:C.ys,useClass:C.eo},{provide:z,useClass:X},{provide:pt,useValue:null}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:w,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(fe,Ae){1&fe&&(t.\u0275\u0275projectionDef(M),t.\u0275\u0275projection(0),t.\u0275\u0275projection(1,1),t.\u0275\u0275template(2,p,1,0)(3,_,7,0)(4,y,4,0)),2&fe&&(t.\u0275\u0275advance(2),t.\u0275\u0275conditional(2,Ae._isServer?2:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(3,Ae._isNativeHtmlTable?3:4))},dependencies:[rn,Gt,tn,on],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return se})();function Ot(se,at){return se.concat(Array.from(at))}function Ut(se,at){const ae=at.toUpperCase();let fe=se.viewContainer.element.nativeElement;for(;fe;){const Ae=1===fe.nodeType?fe.nodeName:null;if(Ae===ae)return fe;if("TABLE"===Ae)break;fe=fe.parentNode}return null}let xe=(()=>{class se{get name(){return this._name}set name(ae){this._name=ae,this._syncColumnDefName()}constructor(ae,fe){this._table=ae,this._options=fe,this.justify="start",this._options=fe||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((ae,fe)=>ae[fe])),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 ae=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(ae):ae[0].toUpperCase()+ae.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}static#e=this.\u0275fac=function(fe){return new(fe||se)(t.\u0275\u0275directiveInject(an,8),t.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["cdk-text-column"]],viewQuery:function(fe,Ae){if(1&fe&&(t.\u0275\u0275viewQuery(U,7),t.\u0275\u0275viewQuery(N,7),t.\u0275\u0275viewQuery(S,7)),2&fe){let _e;t.\u0275\u0275queryRefresh(_e=t.\u0275\u0275loadQuery())&&(Ae.columnDef=_e.first),t.\u0275\u0275queryRefresh(_e=t.\u0275\u0275loadQuery())&&(Ae.cell=_e.first),t.\u0275\u0275queryRefresh(_e=t.\u0275\u0275loadQuery())&&(Ae.headerCell=_e.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],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(fe,Ae){1&fe&&(t.\u0275\u0275elementContainerStart(0,0),t.\u0275\u0275template(1,k,2,3,"th",1)(2,D,2,3,"td",2),t.\u0275\u0275elementContainerEnd())},dependencies:[U,S,ee,N,B],encapsulation:2})}return se})(),lt=(()=>{class se{static#e=this.\u0275fac=function(fe){return new(fe||se)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:se});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[c.c$]})}return se})();var At=g(3576),nt=g(3412),vt=g(6040),Le=g(4704);function He(se,at){1&se&&t.\u0275\u0275projection(0,2)}function st(se,at){1&se&&(t.\u0275\u0275elementStart(0,"thead",0),t.\u0275\u0275elementContainer(1,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(2,"tbody",2),t.\u0275\u0275elementContainer(3,3)(4,4),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(5,"tfoot",0),t.\u0275\u0275elementContainer(6,5),t.\u0275\u0275elementEnd())}function Te(se,at){1&se&&t.\u0275\u0275elementContainer(0,1)(1,3)(2,4)(3,5)}const Pe=[[["caption"]],[["colgroup"],["col"]],"*"],bt=["caption","colgroup, col","*"];function Me(se,at){if(1&se&&(t.\u0275\u0275elementStart(0,"th",3),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&se){const ae=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("text-align",ae.justify),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",ae.headerText," ")}}function $e(se,at){if(1&se&&(t.\u0275\u0275elementStart(0,"td",4),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&se){const ae=at.$implicit,fe=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("text-align",fe.justify),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",fe.dataAccessor(ae,fe.name)," ")}}let Ge=(()=>{class se{static#e=this.\u0275fac=function(fe){return new(fe||se)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:C.ys,useClass:C.Yx}])]})}return se})(),kt=(()=>{class se extends an{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(fe,Ae){2&fe&&t.\u0275\u0275classProp("mdc-table-fixed-layout",Ae.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:an,useExisting:se},{provide:O,useExisting:se},{provide:z,useClass:X},{provide:C.ys,useClass:C.eo},{provide:pt,useValue:null}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:bt,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(fe,Ae){1&fe&&(t.\u0275\u0275projectionDef(Pe),t.\u0275\u0275projection(0),t.\u0275\u0275projection(1,1),t.\u0275\u0275template(2,He,1,0)(3,st,7,0)(4,Te,4,0)),2&fe&&(t.\u0275\u0275advance(2),t.\u0275\u0275conditional(2,Ae._isServer?2:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(3,Ae._isNativeHtmlTable?3:4))},dependencies:[rn,Gt,tn,on],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}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}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return se})(),dt=(()=>{class se extends N{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matCellDef",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:N,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),xt=(()=>{class se extends S{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:S,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),qe=(()=>{class se extends F{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:F,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),Fe=(()=>{class se extends U{get name(){return this._name}set name(ae){this._setNameInput(ae)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:[t.\u0275\u0275InputFlags.None,"matColumnDef","name"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:U,useExisting:se},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),et=(()=>{class se extends ee{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})(),Ke=(()=>{class se extends ne{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})(),ft=(()=>{class se extends B{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})(),qt=(()=>{class se extends ve{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"matHeaderRowDef","columns"],sticky:[t.\u0275\u0275InputFlags.None,"matHeaderRowDefSticky","sticky"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:ve,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),fn=(()=>{class se extends ct{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matFooterRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"matFooterRowDef","columns"],sticky:[t.\u0275\u0275InputFlags.None,"matFooterRowDefSticky","sticky"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:ct,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),ln=(()=>{class se extends Ct{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"matRowDefColumns","columns"],when:[t.\u0275\u0275InputFlags.None,"matRowDefWhen","when"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ct,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),An=(()=>{class se extends ke{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:ke,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(fe,Ae){1&fe&&t.\u0275\u0275elementContainer(0,0)},dependencies:[Re],encapsulation:2})}return se})(),fi=(()=>{class se extends pe{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:pe,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(fe,Ae){1&fe&&t.\u0275\u0275elementContainer(0,0)},dependencies:[Re],encapsulation:2})}return se})(),Si=(()=>{class se extends Qe{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Qe,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(fe,Ae){1&fe&&t.\u0275\u0275elementContainer(0,0)},dependencies:[Re],encapsulation:2})}return se})(),Fi=(()=>{class se extends Be{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),si=(()=>{class se extends xe{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["mat-text-column"]],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],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(fe,Ae){1&fe&&(t.\u0275\u0275elementContainerStart(0,0),t.\u0275\u0275template(1,Me,2,3,"th",1)(2,$e,2,3,"td",2),t.\u0275\u0275elementContainerEnd())},dependencies:[Fe,xt,et,dt,ft],encapsulation:2})}return se})(),mi=(()=>{class se{static#e=this.\u0275fac=function(fe){return new(fe||se)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:se});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[At.MatCommonModule,lt,At.MatCommonModule]})}return se})();class rr extends C.Cc{get data(){return this._data.value}set data(at){at=Array.isArray(at)?at:[],this._data.next(at),this._renderChangesSubscription||this._filterData(at)}get filter(){return this._filter.value}set filter(at){this._filter.next(at),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(at){this._sort=at,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(at){this._paginator=at,this._updateChangeSubscription()}constructor(at=[]){super(),this._renderData=new d.g([]),this._filter=new d.g(""),this._internalPageChanges=new s.E,this._renderChangesSubscription=null,this.sortingDataAccessor=(ae,fe)=>{const Ae=ae[fe];if((0,h.s3)(Ae)){const _e=Number(Ae);return _e<9007199254740991?_e:Ae}return Ae},this.sortData=(ae,fe)=>{const Ae=fe.active,_e=fe.direction;return Ae&&""!=_e?ae.sort((mt,V)=>{let he=this.sortingDataAccessor(mt,Ae),de=this.sortingDataAccessor(V,Ae);const We=typeof he,wt=typeof de;We!==wt&&("number"===We&&(he+=""),"number"===wt&&(de+=""));let Yt=0;return null!=he&&null!=de?he>de?Yt=1:he{const Ae=Object.keys(ae).reduce((mt,V)=>mt+ae[V]+"\u25ec","").toLowerCase(),_e=fe.trim().toLowerCase();return-1!=Ae.indexOf(_e)},this._data=new d.g(at),this._updateChangeSubscription()}_updateChangeSubscription(){const at=this._sort?(0,nt.U)(this._sort.sortChange,this._sort.initialized):(0,a.of)(null),ae=this._paginator?(0,nt.U)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,a.of)(null),Ae=(0,vt.E)([this._data,this._filter]).pipe((0,Le.k)(([V])=>this._filterData(V))),_e=(0,vt.E)([Ae,at]).pipe((0,Le.k)(([V])=>this._orderData(V))),mt=(0,vt.E)([_e,ae]).pipe((0,Le.k)(([V])=>this._pageData(V)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=mt.subscribe(V=>this._renderData.next(V))}_filterData(at){return this.filteredData=null==this.filter||""===this.filter?at:at.filter(ae=>this.filterPredicate(ae,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(at){return this.sort?this.sortData(at.slice(),this.sort):at}_pageData(at){if(!this.paginator)return at;const ae=this.paginator.pageIndex*this.paginator.pageSize;return at.slice(ae,ae+this.paginator.pageSize)}_updatePaginator(at){Promise.resolve().then(()=>{const ae=this.paginator;if(ae&&(ae.length=at,ae.pageIndex>0)){const fe=Math.ceil(ae.length/ae.pageSize)-1||0,Ae=Math.min(ae.pageIndex,fe);Ae!==ae.pageIndex&&(ae.pageIndex=Ae,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},180:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_TAB:()=>Ie,MAT_TABS_CONFIG:()=>Jt,MAT_TAB_CONTENT:()=>pe,MAT_TAB_GROUP:()=>q,MAT_TAB_LABEL:()=>Be,MatInkBar:()=>ge,MatPaginatedTabHeader:()=>tn,MatTab:()=>ye,MatTabBody:()=>Ut,MatTabBodyPortal:()=>Ot,MatTabChangeEvent:()=>At,MatTabContent:()=>Qe,MatTabGroup:()=>lt,MatTabHeader:()=>gn,MatTabLabel:()=>je,MatTabLabelWrapper:()=>Pt,MatTabLink:()=>He,MatTabNav:()=>vt,MatTabNavPanel:()=>st,MatTabsModule:()=>Te,_MAT_INK_BAR_POSITIONER:()=>ze,_MAT_INK_BAR_POSITIONER_FACTORY:()=>ot,matTabsAnimations:()=>an});var t=g(4496),v=g(3576),C=g(2488),E=g(5657),c=g(800),b=g(2700),s=g(3412),f=g(8960),d=g(3252),l=g(3120),a=g(6928),r=g(6700),u=g(1904),h=g(5792),p=g(1900),_=g(7712),y=g(1336),M=g(5420),w=g(3616),k=g(3992),D=g(5568),I=g(7368),O=g(2644),T=g(6684),N=g(4e3),S=g(6640),F=g(1368),L=g(9684);function A(Pe,bt){1&Pe&&t.\u0275\u0275projection(0)}const U=["*"],K=["tabListContainer"],ee=["tabList"],ne=["tabListInner"],B=["nextPaginator"],H=["previousPaginator"];function z(Pe,bt){}const X=Pe=>({animationDuration:Pe}),G=(Pe,bt)=>({value:Pe,params:bt}),j=["tabBodyWrapper"],le=["tabHeader"];function ue(Pe,bt){}function ve(Pe,bt){if(1&Pe&&t.\u0275\u0275template(0,ue,0,0,"ng-template",10),2&Pe){const Me=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275property("cdkPortalOutlet",Me.templateLabel)}}function Je(Pe,bt){if(1&Pe&&t.\u0275\u0275text(0),2&Pe){const Me=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275textInterpolate(Me.textLabel)}}function _t(Pe,bt){if(1&Pe){const Me=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",4,5),t.\u0275\u0275listener("click",function(){const Ge=t.\u0275\u0275restoreView(Me),kt=Ge.$implicit,dt=Ge.$index,xt=t.\u0275\u0275nextContext(),qe=t.\u0275\u0275reference(1);return t.\u0275\u0275resetView(xt._handleClick(kt,qe,dt))})("cdkFocusChange",function(Ge){const dt=t.\u0275\u0275restoreView(Me).$index,xt=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(xt._tabFocusChanged(Ge,dt))}),t.\u0275\u0275element(2,"span",6)(3,"div",7),t.\u0275\u0275elementStart(4,"span",8)(5,"span",9),t.\u0275\u0275template(6,ve,1,1,null,10)(7,Je,1,1),t.\u0275\u0275elementEnd()()()}if(2&Pe){const Me=bt.$implicit,$e=bt.$index,Ge=t.\u0275\u0275reference(1),kt=t.\u0275\u0275nextContext();t.\u0275\u0275classProp("mdc-tab--active",kt.selectedIndex===$e),t.\u0275\u0275property("id",kt._getTabLabelId($e))("ngClass",Me.labelClass)("disabled",Me.disabled)("fitInkBarToContent",kt.fitInkBarToContent),t.\u0275\u0275attribute("tabIndex",kt._getTabIndex($e))("aria-posinset",$e+1)("aria-setsize",kt._tabs.length)("aria-controls",kt._getTabContentId($e))("aria-selected",kt.selectedIndex===$e)("aria-label",Me.ariaLabel||null)("aria-labelledby",!Me.ariaLabel&&Me.ariaLabelledby?Me.ariaLabelledby:null),t.\u0275\u0275advance(3),t.\u0275\u0275property("matRippleTrigger",Ge)("matRippleDisabled",Me.disabled||kt.disableRipple),t.\u0275\u0275advance(3),t.\u0275\u0275conditional(6,Me.templateLabel?6:7)}}function ct(Pe,bt){1&Pe&&t.\u0275\u0275projection(0)}function Ct(Pe,bt){if(1&Pe){const Me=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"mat-tab-body",11),t.\u0275\u0275listener("_onCentered",function(){t.\u0275\u0275restoreView(Me);const Ge=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(Ge._removeTabBodyWrapperHeight())})("_onCentering",function(Ge){t.\u0275\u0275restoreView(Me);const kt=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(kt._setTabBodyWrapperHeight(Ge))}),t.\u0275\u0275elementEnd()}if(2&Pe){const Me=bt.$implicit,$e=bt.$index,Ge=t.\u0275\u0275nextContext();t.\u0275\u0275classProp("mat-mdc-tab-body-active",Ge.selectedIndex===$e),t.\u0275\u0275property("id",Ge._getTabContentId($e))("ngClass",Me.bodyClass)("content",Me.content)("position",Me.position)("origin",Me.origin)("animationDuration",Ge.animationDuration)("preserveContent",Ge.preserveContent),t.\u0275\u0275attribute("tabindex",null!=Ge.contentTabIndex&&Ge.selectedIndex===$e?Ge.contentTabIndex:null)("aria-labelledby",Ge._getTabLabelId($e))("aria-hidden",Ge.selectedIndex!==$e)}}const Re=["mat-tab-nav-bar",""],ke=["mat-tab-link",""],pe=new t.InjectionToken("MatTabContent");let Qe=(()=>{class Pe{constructor(Me){this.template=Me}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabContent",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:pe,useExisting:Pe}])]})}return Pe})();const Be=new t.InjectionToken("MatTabLabel"),Ie=new t.InjectionToken("MAT_TAB");let je=(()=>{class Pe extends C.YT{constructor(Me,$e,Ge){super(Me,$e),this._closestTab=Ge}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(Ie,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:Pe}]),t.\u0275\u0275InheritDefinitionFeature]})}return Pe})();const q=new t.InjectionToken("MAT_TAB_GROUP");let ye=(()=>{class Pe{get templateLabel(){return this._templateLabel}set templateLabel(Me){this._setTemplateLabelInput(Me)}get content(){return this._contentPortal}constructor(Me,$e){this._viewContainerRef=Me,this._closestTabGroup=$e,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new E.E,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(Me){(Me.hasOwnProperty("textLabel")||Me.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new C.CC(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Me){Me&&Me._closestTab===this&&(this._templateLabel=Me)}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(q,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab"]],contentQueries:function($e,Ge,kt){if(1&$e&&(t.\u0275\u0275contentQuery(kt,je,5),t.\u0275\u0275contentQuery(kt,Qe,7,t.TemplateRef)),2&$e){let dt;t.\u0275\u0275queryRefresh(dt=t.\u0275\u0275loadQuery())&&(Ge.templateLabel=dt.first),t.\u0275\u0275queryRefresh(dt=t.\u0275\u0275loadQuery())&&(Ge._explicitContent=dt.first)}},viewQuery:function($e,Ge){if(1&$e&&t.\u0275\u0275viewQuery(t.TemplateRef,7),2&$e){let kt;t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._implicitContent=kt.first)}},hostAttrs:["hidden",""],inputs:{disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],textLabel:[t.\u0275\u0275InputFlags.None,"label","textLabel"],ariaLabel:[t.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[t.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ie,useExisting:Pe}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:1,vars:0,template:function($e,Ge){1&$e&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,A,1,0,"ng-template"))},encapsulation:2})}return Pe})();const Oe="mdc-tab-indicator--active",Xe="mdc-tab-indicator--no-transition";class ge{constructor(bt){this._items=bt}hide(){this._items.forEach(bt=>bt.deactivateInkBar())}alignToElement(bt){const Me=this._items.find(Ge=>Ge.elementRef.nativeElement===bt),$e=this._currentItem;if(Me!==$e&&($e?.deactivateInkBar(),Me)){const Ge=$e?.elementRef.nativeElement.getBoundingClientRect?.();Me.activateInkBar(Ge),this._currentItem=Me}}}function Ve(Pe){return class extends Pe{constructor(...bt){super(...bt),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(bt){const Me=(0,_.W6)(bt);this._fitToContent!==Me&&(this._fitToContent=Me,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(bt){const Me=this.elementRef.nativeElement;if(!bt||!Me.getBoundingClientRect||!this._inkBarContentElement)return void Me.classList.add(Oe);const $e=Me.getBoundingClientRect(),Ge=bt.width/$e.width,kt=bt.left-$e.left;Me.classList.add(Xe),this._inkBarContentElement.style.setProperty("transform",`translateX(${kt}px) scaleX(${Ge})`),Me.getBoundingClientRect(),Me.classList.remove(Xe),Me.classList.add(Oe),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Oe)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const bt=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=bt.createElement("span"),this._inkBarContentElement=bt.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}function ot(){return bt=>({left:bt?(bt.offsetLeft||0)+"px":"0",width:bt?(bt.offsetWidth||0)+"px":"0"})}const ze=new t.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:ot}),pt=Ve(class{});let Pt=(()=>{class Pe extends pt{constructor(Me){super(),this.elementRef=Me,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function($e,Ge){2&$e&&(t.\u0275\u0275attribute("aria-disabled",!!Ge.disabled),t.\u0275\u0275classProp("mat-mdc-tab-disabled",Ge.disabled))},inputs:{fitInkBarToContent:"fitInkBarToContent",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature]})}return Pe})();const Gt=(0,h.W4)({passive:!0});let tn=(()=>{class Pe{get selectedIndex(){return this._selectedIndex}set selectedIndex(Me){const $e=isNaN(Me)?0:Me;this._selectedIndex!=$e&&(this._selectedIndexChanged=!0,this._selectedIndex=$e,this._keyManager&&this._keyManager.updateActiveItem($e))}constructor(Me,$e,Ge,kt,dt,xt,qe){this._elementRef=Me,this._changeDetectorRef=$e,this._viewportRuler=Ge,this._dir=kt,this._ngZone=dt,this._platform=xt,this._animationMode=qe,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new E.E,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new E.E,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.EventEmitter,this.indexFocused=new t.EventEmitter,dt.runOutsideAngular(()=>{(0,c.w)(Me.nativeElement,"mouseleave").pipe((0,w.a)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,c.w)(this._previousPaginator.nativeElement,"touchstart",Gt).pipe((0,w.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,c.w)(this._nextPaginator.nativeElement,"touchstart",Gt).pipe((0,w.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Me=this._dir?this._dir.change:(0,b.of)("ltr"),$e=this._viewportRuler.change(150),Ge=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new y.IH(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,k.U)(1)).subscribe(Ge),(0,s.U)(Me,$e,this._items.changes,this._itemsResized()).pipe((0,w.a)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Ge()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(kt=>{this.indexFocused.emit(kt),this._setTabFocus(kt)})}_itemsResized(){return"function"!=typeof ResizeObserver?f.k:this._items.changes.pipe((0,D.W)(this._items),(0,I.G)(Me=>new d._($e=>this._ngZone.runOutsideAngular(()=>{const Ge=new ResizeObserver(kt=>$e.next(kt));return Me.forEach(kt=>Ge.observe(kt.elementRef.nativeElement)),()=>{Ge.disconnect()}}))),(0,O.s)(1),(0,T.I)(Me=>Me.some($e=>$e.contentRect.width>0&&$e.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(Me){if(!(0,M.Yp)(Me))switch(Me.keyCode){case M.wJ:case M.Gi:if(this.focusIndex!==this.selectedIndex){const $e=this._items.get(this.focusIndex);$e&&!$e.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Me))}break;default:this._keyManager.onKeydown(Me)}}_onContentChanges(){const Me=this._elementRef.nativeElement.textContent;Me!==this._currentTextContent&&(this._currentTextContent=Me||"",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(Me){!this._isValidIndex(Me)||this.focusIndex===Me||!this._keyManager||this._keyManager.setActiveItem(Me)}_isValidIndex(Me){return!this._items||!!this._items.toArray()[Me]}_setTabFocus(Me){if(this._showPaginationControls&&this._scrollToLabel(Me),this._items&&this._items.length){this._items.toArray()[Me].focus();const $e=this._tabListContainer.nativeElement;$e.scrollLeft="ltr"==this._getLayoutDirection()?0:$e.scrollWidth-$e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Me=this.scrollDistance,$e="ltr"===this._getLayoutDirection()?-Me:Me;this._tabList.nativeElement.style.transform=`translateX(${Math.round($e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Me){this._scrollTo(Me)}_scrollHeader(Me){return this._scrollTo(this._scrollDistance+("before"==Me?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Me){this._stopInterval(),this._scrollHeader(Me)}_scrollToLabel(Me){if(this.disablePagination)return;const $e=this._items?this._items.toArray()[Me]:null;if(!$e)return;const Ge=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:kt,offsetWidth:dt}=$e.elementRef.nativeElement;let xt,qe;"ltr"==this._getLayoutDirection()?(xt=kt,qe=xt+dt):(qe=this._tabListInner.nativeElement.offsetWidth-kt,xt=qe-dt);const Fe=this.scrollDistance,et=this.scrollDistance+Ge;xtet&&(this.scrollDistance+=Math.min(qe-et,xt-Fe))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Me=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Me||(this.scrollDistance=0),Me!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Me}}_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 Me=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,$e=Me?Me.elementRef.nativeElement:null;$e?this._inkBar.alignToElement($e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Me,$e){$e&&null!=$e.button&&0!==$e.button||(this._stopInterval(),(0,l.k)(650,100).pipe((0,w.a)((0,s.U)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Ge,distance:kt}=this._scrollHeader(Me);(0===kt||kt>=Ge)&&this._stopInterval()}))}_scrollTo(Me){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const $e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min($e,Me)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:$e,distance:this._scrollDistance}}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(u.S8),t.\u0275\u0275directiveInject(p.yG,8),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(h.WU),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Pe,inputs:{disablePagination:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disablePagination","disablePagination",t.booleanAttribute],selectedIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"selectedIndex","selectedIndex",t.numberAttribute]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[t.\u0275\u0275InputTransformsFeature]})}return Pe})(),gn=(()=>{class Pe extends tn{constructor(Me,$e,Ge,kt,dt,xt,qe){super(Me,$e,Ge,kt,dt,xt,qe),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new ge(this._items),super.ngAfterContentInit()}_itemSelected(Me){Me.preventDefault()}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(u.S8),t.\u0275\u0275directiveInject(p.yG,8),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(h.WU),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-header"]],contentQueries:function($e,Ge,kt){if(1&$e&&t.\u0275\u0275contentQuery(kt,Pt,4),2&$e){let dt;t.\u0275\u0275queryRefresh(dt=t.\u0275\u0275loadQuery())&&(Ge._items=dt)}},viewQuery:function($e,Ge){if(1&$e&&(t.\u0275\u0275viewQuery(K,7),t.\u0275\u0275viewQuery(ee,7),t.\u0275\u0275viewQuery(ne,7),t.\u0275\u0275viewQuery(B,5),t.\u0275\u0275viewQuery(H,5)),2&$e){let kt;t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._tabListContainer=kt.first),t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._tabList=kt.first),t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._tabListInner=kt.first),t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._nextPaginator=kt.first),t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._previousPaginator=kt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function($e,Ge){2&$e&&t.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",Ge._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Ge._getLayoutDirection())},inputs:{disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function($e,Ge){1&$e&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"button",0,1),t.\u0275\u0275listener("click",function(){return Ge._handlePaginatorClick("before")})("mousedown",function(dt){return Ge._handlePaginatorPress("before",dt)})("touchend",function(){return Ge._stopInterval()}),t.\u0275\u0275element(2,"div",2),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"div",3,4),t.\u0275\u0275listener("keydown",function(dt){return Ge._handleKeydown(dt)}),t.\u0275\u0275elementStart(5,"div",5,6),t.\u0275\u0275listener("cdkObserveContent",function(){return Ge._onContentChanges()}),t.\u0275\u0275elementStart(7,"div",7,8),t.\u0275\u0275projection(9),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275elementStart(10,"button",9,10),t.\u0275\u0275listener("mousedown",function(dt){return Ge._handlePaginatorPress("after",dt)})("click",function(){return Ge._handlePaginatorClick("after")})("touchend",function(){return Ge._stopInterval()}),t.\u0275\u0275element(12,"div",2),t.\u0275\u0275elementEnd()),2&$e&&(t.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Ge._disableScrollBefore),t.\u0275\u0275property("matRippleDisabled",Ge._disableScrollBefore||Ge.disableRipple)("disabled",Ge._disableScrollBefore||null),t.\u0275\u0275advance(3),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Ge._animationMode),t.\u0275\u0275advance(7),t.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Ge._disableScrollAfter),t.\u0275\u0275property("matRippleDisabled",Ge._disableScrollAfter||Ge.disableRipple)("disabled",Ge._disableScrollAfter||null))},dependencies:[v.MatRipple,S.Wk],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-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-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return Pe})();const Jt=new t.InjectionToken("MAT_TABS_CONFIG"),an={translateTab:(0,L.gV)("translateTab",[(0,L.K2)("center, void, left-origin-center, right-origin-center",(0,L.wb)({transform:"none"})),(0,L.K2)("left",(0,L.wb)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,L.K2)("right",(0,L.wb)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,L.aK)("* => left, * => right, left => center, right => center",(0,L.Cs)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,L.aK)("void => left-origin-center",[(0,L.wb)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,L.Cs)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,L.aK)("void => right-origin-center",[(0,L.wb)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,L.Cs)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Ot=(()=>{class Pe extends C.IP{constructor(Me,$e,Ge,kt){super(Me,$e,kt),this._host=Ge,this._centeringSub=a.wH.EMPTY,this._leavingSub=a.wH.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,D.W)(this._host._isCenterPosition(this._host._position))).subscribe(Me=>{Me&&!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()}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ComponentFactoryResolver),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject((0,t.forwardRef)(()=>Ut)),t.\u0275\u0275directiveInject(F.DOCUMENT))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return Pe})(),Ut=(()=>{class Pe{set position(Me){this._positionIndex=Me,this._computePositionAnimationState()}constructor(Me,$e,Ge){this._elementRef=Me,this._dir=$e,this._dirChangeSubscription=a.wH.EMPTY,this._translateTabComplete=new E.E,this._onCentering=new t.EventEmitter,this._beforeCentering=new t.EventEmitter,this._afterLeavingCenter=new t.EventEmitter,this._onCentered=new t.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,$e&&(this._dirChangeSubscription=$e.change.subscribe(kt=>{this._computePositionAnimationState(kt),Ge.markForCheck()})),this._translateTabComplete.pipe((0,N.a)((kt,dt)=>kt.fromState===dt.fromState&&kt.toState===dt.toState)).subscribe(kt=>{this._isCenterPosition(kt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(kt.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(Me){const $e=this._isCenterPosition(Me.toState);this._beforeCentering.emit($e),$e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Me){return"center"==Me||"left-origin-center"==Me||"right-origin-center"==Me}_computePositionAnimationState(Me=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Me?"left":"right":this._positionIndex>0?"ltr"==Me?"right":"left":"center"}_computePositionFromOrigin(Me){const $e=this._getLayoutDirection();return"ltr"==$e&&Me<=0||"rtl"==$e&&Me>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(p.yG,8),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-body"]],viewQuery:function($e,Ge){if(1&$e&&t.\u0275\u0275viewQuery(C.IP,5),2&$e){let kt;t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._portalHost=kt.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[t.\u0275\u0275InputFlags.None,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function($e,Ge){1&$e&&(t.\u0275\u0275elementStart(0,"div",0,1),t.\u0275\u0275listener("@translateTab.start",function(dt){return Ge._onTranslateTabStarted(dt)})("@translateTab.done",function(dt){return Ge._translateTabComplete.next(dt)}),t.\u0275\u0275template(2,z,0,0,"ng-template",2),t.\u0275\u0275elementEnd()),2&$e&&t.\u0275\u0275property("@translateTab",t.\u0275\u0275pureFunction2(3,G,Ge._position,t.\u0275\u0275pureFunction1(1,X,Ge.animationDuration)))},dependencies:[Ot,u.Ci],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:[an.translateTab]}})}return Pe})(),xe=0,lt=(()=>{class Pe{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(Me){this._fitInkBarToContent=Me,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(Me){this._indexToSelect=isNaN(Me)?null:Me}get animationDuration(){return this._animationDuration}set animationDuration(Me){const $e=Me+"";this._animationDuration=/^\d+$/.test($e)?Me+"ms":$e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Me){this._contentTabIndex=isNaN(Me)?null:Me}get backgroundColor(){return this._backgroundColor}set backgroundColor(Me){const $e=this._elementRef.nativeElement.classList;$e.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Me&&$e.add("mat-tabs-with-background",`mat-background-${Me}`),this._backgroundColor=Me}constructor(Me,$e,Ge,kt){this._elementRef=Me,this._changeDetectorRef=$e,this._animationMode=kt,this._tabs=new t.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=a.wH.EMPTY,this._tabLabelSubscription=a.wH.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new t.EventEmitter,this.focusChange=new t.EventEmitter,this.animationDone=new t.EventEmitter,this.selectedTabChange=new t.EventEmitter(!0),this._isServer=!(0,t.inject)(h.WU).isBrowser,this._groupId=xe++,this.animationDuration=Ge&&Ge.animationDuration?Ge.animationDuration:"500ms",this.disablePagination=!(!Ge||null==Ge.disablePagination)&&Ge.disablePagination,this.dynamicHeight=!(!Ge||null==Ge.dynamicHeight)&&Ge.dynamicHeight,null!=Ge?.contentTabIndex&&(this.contentTabIndex=Ge.contentTabIndex),this.preserveContent=!!Ge?.preserveContent,this.fitInkBarToContent=!(!Ge||null==Ge.fitInkBarToContent)&&Ge.fitInkBarToContent,this.stretchTabs=!Ge||null==Ge.stretchTabs||Ge.stretchTabs}ngAfterContentChecked(){const Me=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Me){const $e=null==this._selectedIndex;if(!$e){this.selectedTabChange.emit(this._createChangeEvent(Me));const Ge=this._tabBodyWrapper.nativeElement;Ge.style.minHeight=Ge.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Ge,kt)=>Ge.isActive=kt===Me),$e||(this.selectedIndexChange.emit(Me),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(($e,Ge)=>{$e.position=Ge-Me,null!=this._selectedIndex&&0==$e.position&&!$e.origin&&($e.origin=Me-this._selectedIndex)}),this._selectedIndex!==Me&&(this._selectedIndex=Me,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Me=this._clampTabIndex(this._indexToSelect);if(Me===this._selectedIndex){const $e=this._tabs.toArray();let Ge;for(let kt=0;kt<$e.length;kt++)if($e[kt].isActive){this._indexToSelect=this._selectedIndex=kt,this._lastFocusedTabIndex=null,Ge=$e[kt];break}!Ge&&$e[Me]&&Promise.resolve().then(()=>{$e[Me].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Me))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,D.W)(this._allTabs)).subscribe(Me=>{this._tabs.reset(Me.filter($e=>$e._closestTabGroup===this||!$e._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(Me){const $e=this._tabHeader;$e&&($e.focusIndex=Me)}_focusChanged(Me){this._lastFocusedTabIndex=Me,this.focusChange.emit(this._createChangeEvent(Me))}_createChangeEvent(Me){const $e=new At;return $e.index=Me,this._tabs&&this._tabs.length&&($e.tab=this._tabs.toArray()[Me]),$e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,s.U)(...this._tabs.map(Me=>Me._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Me){return Math.min(this._tabs.length-1,Math.max(Me||0,0))}_getTabLabelId(Me){return`mat-tab-label-${this._groupId}-${Me}`}_getTabContentId(Me){return`mat-tab-content-${this._groupId}-${Me}`}_setTabBodyWrapperHeight(Me){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;const $e=this._tabBodyWrapper.nativeElement;$e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&($e.style.height=Me+"px")}_removeTabBodyWrapperHeight(){const Me=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Me.clientHeight,Me.style.height="",this.animationDone.emit()}_handleClick(Me,$e,Ge){$e.focusIndex=Ge,Me.disabled||(this.selectedIndex=Ge)}_getTabIndex(Me){return Me===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Me,$e){Me&&"mouse"!==Me&&"touch"!==Me&&(this._tabHeader.focusIndex=$e)}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(Jt,8),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-group"]],contentQueries:function($e,Ge,kt){if(1&$e&&t.\u0275\u0275contentQuery(kt,ye,5),2&$e){let dt;t.\u0275\u0275queryRefresh(dt=t.\u0275\u0275loadQuery())&&(Ge._allTabs=dt)}},viewQuery:function($e,Ge){if(1&$e&&(t.\u0275\u0275viewQuery(j,5),t.\u0275\u0275viewQuery(le,5)),2&$e){let kt;t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._tabBodyWrapper=kt.first),t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._tabHeader=kt.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function($e,Ge){2&$e&&(t.\u0275\u0275classMap("mat-"+(Ge.color||"primary")),t.\u0275\u0275styleProp("--mat-tab-animation-duration",Ge.animationDuration),t.\u0275\u0275classProp("mat-mdc-tab-group-dynamic-height",Ge.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Ge.headerPosition)("mat-mdc-tab-group-stretch-tabs",Ge.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",t.booleanAttribute],stretchTabs:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"mat-stretch-tabs","stretchTabs",t.booleanAttribute],dynamicHeight:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"dynamicHeight","dynamicHeight",t.booleanAttribute],selectedIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"selectedIndex","selectedIndex",t.numberAttribute],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"contentTabIndex","contentTabIndex",t.numberAttribute],disablePagination:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disablePagination","disablePagination",t.booleanAttribute],disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute],preserveContent:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"preserveContent","preserveContent",t.booleanAttribute],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:q,useExisting:Pe}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:9,vars:6,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function($e,Ge){1&$e&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"mat-tab-header",0,1),t.\u0275\u0275listener("indexFocused",function(dt){return Ge._focusChanged(dt)})("selectFocusedIndex",function(dt){return Ge.selectedIndex=dt}),t.\u0275\u0275repeaterCreate(2,_t,8,16,"div",12,t.\u0275\u0275repeaterTrackByIdentity),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,ct,1,0),t.\u0275\u0275elementStart(5,"div",2,3),t.\u0275\u0275repeaterCreate(7,Ct,1,12,"mat-tab-body",13,t.\u0275\u0275repeaterTrackByIdentity),t.\u0275\u0275elementEnd()),2&$e&&(t.\u0275\u0275property("selectedIndex",Ge.selectedIndex||0)("disableRipple",Ge.disableRipple)("disablePagination",Ge.disablePagination),t.\u0275\u0275advance(2),t.\u0275\u0275repeater(Ge._tabs),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(4,Ge._isServer?4:-1),t.\u0275\u0275advance(),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Ge._animationMode),t.\u0275\u0275advance(2),t.\u0275\u0275repeater(Ge._tabs))},dependencies:[gn,Pt,y.Si,F.NgClass,v.MatRipple,C.IP,Ut],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return Pe})();class At{}let nt=0,vt=(()=>{class Pe extends tn{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(Me){this._fitInkBarToContent.next(Me),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(Me){const $e=Me+"";this._animationDuration=/^\d+$/.test($e)?Me+"ms":$e}get backgroundColor(){return this._backgroundColor}set backgroundColor(Me){const $e=this._elementRef.nativeElement.classList;$e.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Me&&$e.add("mat-tabs-with-background",`mat-background-${Me}`),this._backgroundColor=Me}constructor(Me,$e,Ge,kt,dt,xt,qe,Fe){super(Me,kt,dt,$e,Ge,xt,qe),this._fitInkBarToContent=new r.g(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=!(!Fe||null==Fe.disablePagination)&&Fe.disablePagination,this.fitInkBarToContent=!(!Fe||null==Fe.fitInkBarToContent)&&Fe.fitInkBarToContent,this.stretchTabs=!Fe||null==Fe.stretchTabs||Fe.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new ge(this._items),this._items.changes.pipe((0,D.W)(null),(0,w.a)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const Me=this._items.toArray();for(let $e=0;$e.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return Pe})();const Le=Ve(class{});let He=(()=>{class Pe extends Le{get active(){return this._isActive}set active(Me){Me!==this._isActive&&(this._isActive=Me,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(Me,$e,Ge,kt,dt,xt){super(),this._tabNavBar=Me,this.elementRef=$e,this._focusMonitor=dt,this._destroyed=new E.E,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id="mat-tab-link-"+nt++,this.rippleConfig=Ge||{},this.tabIndex=parseInt(kt)||0,"NoopAnimations"===xt&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),Me._fitInkBarToContent.pipe((0,w.a)(this._destroyed)).subscribe(qe=>{this.fitInkBarToContent=qe})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(Me){(Me.keyCode===M.Gi||Me.keyCode===M.wJ)&&(this.disabled?Me.preventDefault():this._tabNavBar.tabPanel&&(Me.keyCode===M.Gi&&Me.preventDefault(),this.elementRef.nativeElement.click()))}_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.disabled?-1:this.tabIndex}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(vt),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(v.MAT_RIPPLE_GLOBAL_OPTIONS,8),t.\u0275\u0275injectAttribute("tabindex"),t.\u0275\u0275directiveInject(y.Kk),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Pe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function($e,Ge){1&$e&&t.\u0275\u0275listener("focus",function(){return Ge._handleFocus()})("keydown",function(dt){return Ge._handleKeydown(dt)}),2&$e&&(t.\u0275\u0275attribute("aria-controls",Ge._getAriaControls())("aria-current",Ge._getAriaCurrent())("aria-disabled",Ge.disabled)("aria-selected",Ge._getAriaSelected())("id",Ge.id)("tabIndex",Ge._getTabIndex())("role",Ge._getRole()),t.\u0275\u0275classProp("mat-mdc-tab-disabled",Ge.disabled)("mdc-tab--active",Ge.active))},inputs:{active:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"active","active",t.booleanAttribute],disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute],tabIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",Me=>null==Me?0:(0,t.numberAttribute)(Me)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],attrs:ke,ngContentSelectors:U,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function($e,Ge){1&$e&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275element(0,"span",0)(1,"div",1),t.\u0275\u0275elementStart(2,"span",2)(3,"span",3),t.\u0275\u0275projection(4),t.\u0275\u0275elementEnd()()),2&$e&&(t.\u0275\u0275advance(),t.\u0275\u0275property("matRippleTrigger",Ge.elementRef.nativeElement)("matRippleDisabled",Ge.rippleDisabled))},dependencies:[v.MatRipple],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return Pe})(),st=(()=>{class Pe{constructor(){this.id="mat-tab-nav-panel-"+nt++}static#e=this.\u0275fac=function($e){return new($e||Pe)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function($e,Ge){2&$e&&t.\u0275\u0275attribute("aria-labelledby",Ge._activeTabId)("id",Ge.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:1,vars:0,template:function($e,Ge){1&$e&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0})}return Pe})(),Te=(()=>{class Pe{static#e=this.\u0275fac=function($e){return new($e||Pe)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:Pe});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[v.MatCommonModule,v.MatCommonModule]})}return Pe})()},964:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MatToolbar:()=>f,MatToolbarModule:()=>l,MatToolbarRow:()=>s,throwToolbarMixedModesError:()=>d});var t=g(4496),v=g(3576),C=g(5792),E=g(1368);const c=["*",[["mat-toolbar-row"]]],b=["*","mat-toolbar-row"];let s=(()=>{class a{static#e=this.\u0275fac=function(h){return new(h||a)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:a,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0})}return a})(),f=(()=>{class a{constructor(u,h,p){this._elementRef=u,this._platform=h,this._document=p}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(h){return new(h||a)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(C.WU),t.\u0275\u0275directiveInject(E.DOCUMENT))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:a,selectors:[["mat-toolbar"]],contentQueries:function(h,p,_){if(1&h&&t.\u0275\u0275contentQuery(_,s,5),2&h){let y;t.\u0275\u0275queryRefresh(y=t.\u0275\u0275loadQuery())&&(p._toolbarRows=y)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(h,p){2&h&&(t.\u0275\u0275classMap(p.color?"mat-"+p.color:""),t.\u0275\u0275classProp("mat-toolbar-multiple-rows",p._toolbarRows.length>0)("mat-toolbar-single-row",0===p._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],ngContentSelectors:b,decls:2,vars:0,template:function(h,p){1&h&&(t.\u0275\u0275projectionDef(c),t.\u0275\u0275projection(0),t.\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-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.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})}return a})();function d(){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 l=(()=>{class a{static#e=this.\u0275fac=function(h){return new(h||a)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:a});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[v.MatCommonModule,v.MatCommonModule]})}return a})()},6496:(De,te,g)=>{"use strict";g.d(te,{KO:()=>H,a4:()=>ee});var t=g(3616),v=g(3992),C=g(7712),E=g(5420),c=g(4496),b=g(1368),s=g(5792),f=g(1336),d=g(1900),l=g(7556),a=g(1904),r=g(2488),u=g(5657),p=(g(9684),g(3576));const _=["tooltip"],w=new c.InjectionToken("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const z=(0,c.inject)(l.mc);return()=>z.scrollStrategies.reposition({scrollThrottle:20})}}),D={provide:w,deps:[l.mc],useFactory:function k(z){return()=>z.scrollStrategies.reposition({scrollThrottle:20})}},O=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function I(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),N="tooltip-panel",S=(0,s.W4)({passive:!0});let ee=(()=>{class z{get position(){return this._position}set position(G){G!==this._position&&(this._position=G,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(G){this._positionAtOrigin=(0,C.W6)(G),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(G){this._disabled=(0,C.W6)(G),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(G){this._showDelay=(0,C.wZ)(G)}get hideDelay(){return this._hideDelay}set hideDelay(G){this._hideDelay=(0,C.wZ)(G),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(G){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=G?String(G).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(G){this._tooltipClass=G,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(G,j,le,ue,ve,Je,_t,ct,Ct,Re,ke,pe){this._overlay=G,this._elementRef=j,this._scrollDispatcher=le,this._viewContainerRef=ue,this._ngZone=ve,this._platform=Je,this._ariaDescriber=_t,this._focusMonitor=ct,this._dir=Re,this._defaultOptions=ke,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=ne,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new u.E,this._scrollStrategy=Ct,this._document=pe,ke&&(this._showDelay=ke.showDelay,this._hideDelay=ke.hideDelay,ke.position&&(this.position=ke.position),ke.positionAtOrigin&&(this.positionAtOrigin=ke.positionAtOrigin),ke.touchGestures&&(this.touchGestures=ke.touchGestures)),Re.change.pipe((0,t.a)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,t.a)(this._destroyed)).subscribe(G=>{G?"keyboard"===G&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const G=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([j,le])=>{G.removeEventListener(j,le,S)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(G,this.message,"tooltip"),this._focusMonitor.stopMonitoring(G)}show(G=this.showDelay,j){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const le=this._createOverlay(j);this._detach(),this._portal=this._portal||new r.KC(this._tooltipComponent,this._viewContainerRef);const ue=this._tooltipInstance=le.attach(this._portal).instance;ue._triggerElement=this._elementRef.nativeElement,ue._mouseLeaveHideDelay=this._hideDelay,ue.afterHidden().pipe((0,t.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),ue.show(G)}hide(G=this.hideDelay){const j=this._tooltipInstance;j&&(j.isVisible()?j.hide(G):(j._cancelPendingAnimations(),this._detach()))}toggle(G){this._isTooltipVisible()?this.hide():this.show(void 0,G)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(G){if(this._overlayRef){const ue=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!G)&&ue._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const j=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),le=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&G||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(j);return le.positionChanges.pipe((0,t.a)(this._destroyed)).subscribe(ue=>{this._updateCurrentPositionClass(ue.connectionPair),this._tooltipInstance&&ue.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:le,panelClass:`${this._cssClassPrefix}-${N}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,t.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,t.a)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,t.a)(this._destroyed)).subscribe(ue=>{this._isTooltipVisible()&&ue.keyCode===E.UX&&!(0,E.Yp)(ue)&&(ue.preventDefault(),ue.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(G){const j=G.getConfig().positionStrategy,le=this._getOrigin(),ue=this._getOverlayPosition();j.withPositions([this._addOffset({...le.main,...ue.main}),this._addOffset({...le.fallback,...ue.fallback})])}_addOffset(G){const le=!this._dir||"ltr"==this._dir.value;return"top"===G.originY?G.offsetY=-8:"bottom"===G.originY?G.offsetY=8:"start"===G.originX?G.offsetX=le?-8:8:"end"===G.originX&&(G.offsetX=le?8:-8),G}_getOrigin(){const G=!this._dir||"ltr"==this._dir.value,j=this.position;let le;"above"==j||"below"==j?le={originX:"center",originY:"above"==j?"top":"bottom"}:"before"==j||"left"==j&&G||"right"==j&&!G?le={originX:"start",originY:"center"}:("after"==j||"right"==j&&G||"left"==j&&!G)&&(le={originX:"end",originY:"center"});const{x:ue,y:ve}=this._invertPosition(le.originX,le.originY);return{main:le,fallback:{originX:ue,originY:ve}}}_getOverlayPosition(){const G=!this._dir||"ltr"==this._dir.value,j=this.position;let le;"above"==j?le={overlayX:"center",overlayY:"bottom"}:"below"==j?le={overlayX:"center",overlayY:"top"}:"before"==j||"left"==j&&G||"right"==j&&!G?le={overlayX:"end",overlayY:"center"}:("after"==j||"right"==j&&G||"left"==j&&!G)&&(le={overlayX:"start",overlayY:"center"});const{x:ue,y:ve}=this._invertPosition(le.overlayX,le.overlayY);return{main:le,fallback:{overlayX:ue,overlayY:ve}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,v.U)(1),(0,t.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(G){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=G,this._tooltipInstance._markForCheck())}_invertPosition(G,j){return"above"===this.position||"below"===this.position?"top"===j?j="bottom":"bottom"===j&&(j="top"):"end"===G?G="start":"start"===G&&(G="end"),{x:G,y:j}}_updateCurrentPositionClass(G){const{overlayY:j,originX:le,originY:ue}=G;let ve;if(ve="center"===j?this._dir&&"rtl"===this._dir.value?"end"===le?"left":"right":"start"===le?"left":"right":"bottom"===j&&"top"===ue?"above":"below",ve!==this._currentPosition){const Je=this._overlayRef;if(Je){const _t=`${this._cssClassPrefix}-${N}-`;Je.removePanelClass(_t+this._currentPosition),Je.addPanelClass(_t+ve)}this._currentPosition=ve}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",G=>{let j;this._setupPointerExitEventsIfNeeded(),void 0!==G.x&&void 0!==G.y&&(j=G),this.show(void 0,j)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",G=>{const j=G.targetTouches?.[0],le=j?{x:j.clientX,y:j.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,le),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const G=[];if(this._platformSupportsMouseEvents())G.push(["mouseleave",j=>{const le=j.relatedTarget;(!le||!this._overlayRef?.overlayElement.contains(le))&&this.hide()}],["wheel",j=>this._wheelListener(j)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const j=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};G.push(["touchend",j],["touchcancel",j])}this._addListeners(G),this._passiveListeners.push(...G)}_addListeners(G){G.forEach(([j,le])=>{this._elementRef.nativeElement.addEventListener(j,le,S)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(G){if(this._isTooltipVisible()){const j=this._document.elementFromPoint(G.clientX,G.clientY),le=this._elementRef.nativeElement;j!==le&&!le.contains(j)&&this.hide()}}_disableNativeGesturesIfNecessary(){const G=this.touchGestures;if("off"!==G){const j=this._elementRef.nativeElement,le=j.style;("on"===G||"INPUT"!==j.nodeName&&"TEXTAREA"!==j.nodeName)&&(le.userSelect=le.msUserSelect=le.webkitUserSelect=le.MozUserSelect="none"),("on"===G||!j.draggable)&&(le.webkitUserDrag="none"),le.touchAction="none",le.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(j){return new(j||z)(c.\u0275\u0275directiveInject(l.mc),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(a.Yn),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(s.WU),c.\u0275\u0275directiveInject(f.o9),c.\u0275\u0275directiveInject(f.Kk),c.\u0275\u0275directiveInject(w),c.\u0275\u0275directiveInject(d.yG),c.\u0275\u0275directiveInject(O,8),c.\u0275\u0275directiveInject(b.DOCUMENT))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:z,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(j,le){2&j&&c.\u0275\u0275classProp("mat-mdc-tooltip-disabled",le.disabled)},inputs:{position:[c.\u0275\u0275InputFlags.None,"matTooltipPosition","position"],positionAtOrigin:[c.\u0275\u0275InputFlags.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[c.\u0275\u0275InputFlags.None,"matTooltipDisabled","disabled"],showDelay:[c.\u0275\u0275InputFlags.None,"matTooltipShowDelay","showDelay"],hideDelay:[c.\u0275\u0275InputFlags.None,"matTooltipHideDelay","hideDelay"],touchGestures:[c.\u0275\u0275InputFlags.None,"matTooltipTouchGestures","touchGestures"],message:[c.\u0275\u0275InputFlags.None,"matTooltip","message"],tooltipClass:[c.\u0275\u0275InputFlags.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}return z})(),ne=(()=>{class z{constructor(G,j,le){this._changeDetectorRef=G,this._elementRef=j,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new u.E,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===le}show(G){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},G)}hide(G){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},G)}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:G}){(!G||!this._triggerElement.contains(G))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const G=this._elementRef.nativeElement.getBoundingClientRect();return G.height>24&&G.width>=200}_handleAnimationEnd({animationName:G}){(G===this._showAnimation||G===this._hideAnimation)&&this._finalizeAnimation(G===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(G){G?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(G){const j=this._tooltip.nativeElement,le=this._showAnimation,ue=this._hideAnimation;if(j.classList.remove(G?ue:le),j.classList.add(G?le:ue),this._isVisible=G,G&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const ve=getComputedStyle(j);("0s"===ve.getPropertyValue("animation-duration")||"none"===ve.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}G&&this._onShow(),this._animationsDisabled&&(j.classList.add("_mat-animation-noopable"),this._finalizeAnimation(G))}static#e=this.\u0275fac=function(j){return new(j||z)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:z,selectors:[["mat-tooltip-component"]],viewQuery:function(j,le){if(1&j&&c.\u0275\u0275viewQuery(_,7),2&j){let ue;c.\u0275\u0275queryRefresh(ue=c.\u0275\u0275loadQuery())&&(le._tooltip=ue.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(j,le){1&j&&c.\u0275\u0275listener("mouseleave",function(ve){return le._handleMouseLeave(ve)}),2&j&&c.\u0275\u0275styleProp("zoom",le.isVisible()?1:null)},standalone:!0,features:[c.\u0275\u0275StandaloneFeature],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(j,le){1&j&&(c.\u0275\u0275elementStart(0,"div",0,1),c.\u0275\u0275listener("animationend",function(ve){return le._handleAnimationEnd(ve)}),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd()()),2&j&&(c.\u0275\u0275classProp("mdc-tooltip--multiline",le._isMultiline),c.\u0275\u0275property("ngClass",le.tooltipClass),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(le.message))},dependencies:[b.NgClass],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow: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);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return z})(),H=(()=>{class z{static#e=this.\u0275fac=function(j){return new(j||z)};static#t=this.\u0275mod=c.\u0275\u0275defineNgModule({type:z});static#n=this.\u0275inj=c.\u0275\u0275defineInjector({providers:[D],imports:[f.Ux,b.CommonModule,l.Y1,p.MatCommonModule,p.MatCommonModule,a.uU]})}return z})()},4476:(De,te,g)=>{"use strict";g.r(te),g.d(te,{BrowserModule:()=>Be,By:()=>ze,DomSanitizer:()=>Jt,EVENT_MANAGER_PLUGINS:()=>a,EventManager:()=>r,EventManagerPlugin:()=>u,HAMMER_GESTURE_CONFIG:()=>Gt,HAMMER_LOADER:()=>rn,HammerGestureConfig:()=>on,HammerModule:()=>gn,HydrationFeatureKind:()=>Ot,Meta:()=>Ie,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>I,Title:()=>q,TransferState:()=>Le,VERSION:()=>nt,bootstrapApplication:()=>j,createApplication:()=>le,disableDebugTools:()=>ot,enableDebugTools:()=>Ve,makeStateKey:()=>vt,platformBrowser:()=>Re,provideClientHydration:()=>At,provideProtractorTestingSupport:()=>ve,withHttpTransferCacheOptions:()=>rt,withNoHttpTransferCache:()=>xe,\u0275BrowserDomAdapter:()=>c,\u0275BrowserGetTestability:()=>d,\u0275DomEventsPlugin:()=>B,\u0275DomRendererFactory2:()=>S,\u0275DomSanitizerImpl:()=>an,\u0275HammerGesturesPlugin:()=>tn,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>Ct,\u0275KeyEventsPlugin:()=>G,\u0275SharedStylesHost:()=>p,\u0275getDOM:()=>v.\u0275getDOM,\u0275initDomAdapter:()=>Je});var t=g(4496),v=g(1368),C=g(7048);class E extends v.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class c extends E{static makeCurrent(){(0,v.\u0275setRootDomAdapter)(new c)}onAndCancel(st,Te,Pe){return st.addEventListener(Te,Pe),()=>{st.removeEventListener(Te,Pe)}}dispatchEvent(st,Te){st.dispatchEvent(Te)}remove(st){st.parentNode&&st.parentNode.removeChild(st)}createElement(st,Te){return(Te=Te||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,Te){return"window"===Te?window:"document"===Te?st:"body"===Te?st.body:null}getBaseHref(st){const Te=function s(){return b=b||document.querySelector("base"),b?b.getAttribute("href"):null}();return null==Te?null:function f(He){return new URL(He,document.baseURI).pathname}(Te)}resetBaseElement(){b=null}getUserAgent(){return window.navigator.userAgent}getCookie(st){return(0,v.\u0275parseCookieValue)(document.cookie,st)}}let b=null;class d{addToWindow(st){t.\u0275global.getAngularTestability=(Pe,bt=!0)=>{const Me=st.findTestabilityInTree(Pe,bt);if(null==Me)throw new t.\u0275RuntimeError(5103,!1);return Me},t.\u0275global.getAllAngularTestabilities=()=>st.getAllTestabilities(),t.\u0275global.getAllAngularRootElements=()=>st.getAllRootElements(),t.\u0275global.frameworkStabilizers||(t.\u0275global.frameworkStabilizers=[]),t.\u0275global.frameworkStabilizers.push(Pe=>{const bt=t.\u0275global.getAllAngularTestabilities();let Me=bt.length;const $e=function(){Me--,0==Me&&Pe()};bt.forEach(Ge=>{Ge.whenStable($e)})})}findTestabilityInTree(st,Te,Pe){return null==Te?null:st.getTestability(Te)??(Pe?(0,v.\u0275getDOM)().isShadowRoot(Te)?this.findTestabilityInTree(st,Te.host,!0):this.findTestabilityInTree(st,Te.parentElement,!0):null)}}let l=(()=>{class He{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Pe){return new(Pe||He)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})();const a=new t.InjectionToken("");let r=(()=>{class He{constructor(Te,Pe){this._zone=Pe,this._eventNameToPlugin=new Map,Te.forEach(bt=>{bt.manager=this}),this._plugins=Te.slice().reverse()}addEventListener(Te,Pe,bt){return this._findPluginFor(Pe).addEventListener(Te,Pe,bt)}getZone(){return this._zone}_findPluginFor(Te){let Pe=this._eventNameToPlugin.get(Te);if(Pe)return Pe;if(Pe=this._plugins.find(Me=>Me.supports(Te)),!Pe)throw new t.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(Te,Pe),Pe}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(a),t.\u0275\u0275inject(t.NgZone))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})();class u{constructor(st){this._doc=st}}const h="ng-app-id";let p=(()=>{class He{constructor(Te,Pe,bt,Me={}){this.doc=Te,this.appId=Pe,this.nonce=bt,this.platformId=Me,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,v.isPlatformServer)(Me),this.resetHostNodes()}addStyles(Te){for(const Pe of Te)1===this.changeUsageCount(Pe,1)&&this.onStyleAdded(Pe)}removeStyles(Te){for(const Pe of Te)this.changeUsageCount(Pe,-1)<=0&&this.onStyleRemoved(Pe)}ngOnDestroy(){const Te=this.styleNodesInDOM;Te&&(Te.forEach(Pe=>Pe.remove()),Te.clear());for(const Pe of this.getAllStyles())this.onStyleRemoved(Pe);this.resetHostNodes()}addHost(Te){this.hostNodes.add(Te);for(const Pe of this.getAllStyles())this.addStyleToHost(Te,Pe)}removeHost(Te){this.hostNodes.delete(Te)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Te){for(const Pe of this.hostNodes)this.addStyleToHost(Pe,Te)}onStyleRemoved(Te){const Pe=this.styleRef;Pe.get(Te)?.elements?.forEach(bt=>bt.remove()),Pe.delete(Te)}collectServerRenderedStyles(){const Te=this.doc.head?.querySelectorAll(`style[${h}="${this.appId}"]`);if(Te?.length){const Pe=new Map;return Te.forEach(bt=>{null!=bt.textContent&&Pe.set(bt.textContent,bt)}),Pe}return null}changeUsageCount(Te,Pe){const bt=this.styleRef;if(bt.has(Te)){const Me=bt.get(Te);return Me.usage+=Pe,Me.usage}return bt.set(Te,{usage:Pe,elements:[]}),Pe}getStyleElement(Te,Pe){const bt=this.styleNodesInDOM,Me=bt?.get(Pe);if(Me?.parentNode===Te)return bt.delete(Pe),Me.removeAttribute(h),Me;{const $e=this.doc.createElement("style");return this.nonce&&$e.setAttribute("nonce",this.nonce),$e.textContent=Pe,this.platformIsServer&&$e.setAttribute(h,this.appId),Te.appendChild($e),$e}}addStyleToHost(Te,Pe){const bt=this.getStyleElement(Te,Pe),Me=this.styleRef,$e=Me.get(Pe)?.elements;$e?$e.push(bt):Me.set(Pe,{elements:[bt],usage:1})}resetHostNodes(){const Te=this.hostNodes;Te.clear(),Te.add(this.doc.head)}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT),t.\u0275\u0275inject(t.APP_ID),t.\u0275\u0275inject(t.CSP_NONCE,8),t.\u0275\u0275inject(t.PLATFORM_ID))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})();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/",math:"http://www.w3.org/1998/MathML/"},y=/%COMP%/g,M="%COMP%",w=`_nghost-${M}`,k=`_ngcontent-${M}`,I=new t.InjectionToken("",{providedIn:"root",factory:()=>!0});function N(He,st){return st.map(Te=>Te.replace(y,He))}let S=(()=>{class He{constructor(Te,Pe,bt,Me,$e,Ge,kt,dt=null){this.eventManager=Te,this.sharedStylesHost=Pe,this.appId=bt,this.removeStylesOnCompDestroy=Me,this.doc=$e,this.platformId=Ge,this.ngZone=kt,this.nonce=dt,this.rendererByCompId=new Map,this.platformIsServer=(0,v.isPlatformServer)(Ge),this.defaultRenderer=new F(Te,$e,kt,this.platformIsServer)}createRenderer(Te,Pe){if(!Te||!Pe)return this.defaultRenderer;this.platformIsServer&&Pe.encapsulation===t.ViewEncapsulation.ShadowDom&&(Pe={...Pe,encapsulation:t.ViewEncapsulation.Emulated});const bt=this.getOrCreateRenderer(Te,Pe);return bt instanceof ne?bt.applyToHost(Te):bt instanceof ee&&bt.applyStyles(),bt}getOrCreateRenderer(Te,Pe){const bt=this.rendererByCompId;let Me=bt.get(Pe.id);if(!Me){const $e=this.doc,Ge=this.ngZone,kt=this.eventManager,dt=this.sharedStylesHost,xt=this.removeStylesOnCompDestroy,qe=this.platformIsServer;switch(Pe.encapsulation){case t.ViewEncapsulation.Emulated:Me=new ne(kt,dt,Pe,this.appId,xt,$e,Ge,qe);break;case t.ViewEncapsulation.ShadowDom:return new K(kt,dt,Te,Pe,$e,Ge,this.nonce,qe);default:Me=new ee(kt,dt,Pe,xt,$e,Ge,qe)}bt.set(Pe.id,Me)}return Me}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(r),t.\u0275\u0275inject(p),t.\u0275\u0275inject(t.APP_ID),t.\u0275\u0275inject(I),t.\u0275\u0275inject(v.DOCUMENT),t.\u0275\u0275inject(t.PLATFORM_ID),t.\u0275\u0275inject(t.NgZone),t.\u0275\u0275inject(t.CSP_NONCE))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})();class F{constructor(st,Te,Pe,bt){this.eventManager=st,this.doc=Te,this.ngZone=Pe,this.platformIsServer=bt,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(st,Te){return Te?this.doc.createElementNS(_[Te]||Te,st):this.doc.createElement(st)}createComment(st){return this.doc.createComment(st)}createText(st){return this.doc.createTextNode(st)}appendChild(st,Te){(U(st)?st.content:st).appendChild(Te)}insertBefore(st,Te,Pe){st&&(U(st)?st.content:st).insertBefore(Te,Pe)}removeChild(st,Te){st&&st.removeChild(Te)}selectRootElement(st,Te){let Pe="string"==typeof st?this.doc.querySelector(st):st;if(!Pe)throw new t.\u0275RuntimeError(-5104,!1);return Te||(Pe.textContent=""),Pe}parentNode(st){return st.parentNode}nextSibling(st){return st.nextSibling}setAttribute(st,Te,Pe,bt){if(bt){Te=bt+":"+Te;const Me=_[bt];Me?st.setAttributeNS(Me,Te,Pe):st.setAttribute(Te,Pe)}else st.setAttribute(Te,Pe)}removeAttribute(st,Te,Pe){if(Pe){const bt=_[Pe];bt?st.removeAttributeNS(bt,Te):st.removeAttribute(`${Pe}:${Te}`)}else st.removeAttribute(Te)}addClass(st,Te){st.classList.add(Te)}removeClass(st,Te){st.classList.remove(Te)}setStyle(st,Te,Pe,bt){bt&(t.RendererStyleFlags2.DashCase|t.RendererStyleFlags2.Important)?st.style.setProperty(Te,Pe,bt&t.RendererStyleFlags2.Important?"important":""):st.style[Te]=Pe}removeStyle(st,Te,Pe){Pe&t.RendererStyleFlags2.DashCase?st.style.removeProperty(Te):st.style[Te]=""}setProperty(st,Te,Pe){null!=st&&(st[Te]=Pe)}setValue(st,Te){st.nodeValue=Te}listen(st,Te,Pe){if("string"==typeof st&&!(st=(0,v.\u0275getDOM)().getGlobalEventTarget(this.doc,st)))throw new Error(`Unsupported event target ${st} for event ${Te}`);return this.eventManager.addEventListener(st,Te,this.decoratePreventDefault(Pe))}decoratePreventDefault(st){return Te=>{if("__ngUnwrap__"===Te)return st;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>st(Te)):st(Te))&&Te.preventDefault()}}}function U(He){return"TEMPLATE"===He.tagName&&void 0!==He.content}class K extends F{constructor(st,Te,Pe,bt,Me,$e,Ge,kt){super(st,Me,$e,kt),this.sharedStylesHost=Te,this.hostEl=Pe,this.shadowRoot=Pe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const dt=N(bt.id,bt.styles);for(const xt of dt){const qe=document.createElement("style");Ge&&qe.setAttribute("nonce",Ge),qe.textContent=xt,this.shadowRoot.appendChild(qe)}}nodeOrShadowRoot(st){return st===this.hostEl?this.shadowRoot:st}appendChild(st,Te){return super.appendChild(this.nodeOrShadowRoot(st),Te)}insertBefore(st,Te,Pe){return super.insertBefore(this.nodeOrShadowRoot(st),Te,Pe)}removeChild(st,Te){return super.removeChild(this.nodeOrShadowRoot(st),Te)}parentNode(st){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(st)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ee extends F{constructor(st,Te,Pe,bt,Me,$e,Ge,kt){super(st,Me,$e,Ge),this.sharedStylesHost=Te,this.removeStylesOnCompDestroy=bt,this.styles=kt?N(kt,Pe.styles):Pe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ne extends ee{constructor(st,Te,Pe,bt,Me,$e,Ge,kt){const dt=bt+"-"+Pe.id;super(st,Te,Pe,Me,$e,Ge,kt,dt),this.contentAttr=function O(He){return k.replace(y,He)}(dt),this.hostAttr=function T(He){return w.replace(y,He)}(dt)}applyToHost(st){this.applyStyles(),this.setAttribute(st,this.hostAttr,"")}createElement(st,Te){const Pe=super.createElement(st,Te);return super.setAttribute(Pe,this.contentAttr,""),Pe}}let B=(()=>{class He extends u{constructor(Te){super(Te)}supports(Te){return!0}addEventListener(Te,Pe,bt){return Te.addEventListener(Pe,bt,!1),()=>this.removeEventListener(Te,Pe,bt)}removeEventListener(Te,Pe,bt){return Te.removeEventListener(Pe,bt)}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})();const H=["alt","control","meta","shift"],z={"\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"},X={alt:He=>He.altKey,control:He=>He.ctrlKey,meta:He=>He.metaKey,shift:He=>He.shiftKey};let G=(()=>{class He extends u{constructor(Te){super(Te)}supports(Te){return null!=He.parseEventName(Te)}addEventListener(Te,Pe,bt){const Me=He.parseEventName(Pe),$e=He.eventCallback(Me.fullKey,bt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,v.\u0275getDOM)().onAndCancel(Te,Me.domEventName,$e))}static parseEventName(Te){const Pe=Te.toLowerCase().split("."),bt=Pe.shift();if(0===Pe.length||"keydown"!==bt&&"keyup"!==bt)return null;const Me=He._normalizeKey(Pe.pop());let $e="",Ge=Pe.indexOf("code");if(Ge>-1&&(Pe.splice(Ge,1),$e="code."),H.forEach(dt=>{const xt=Pe.indexOf(dt);xt>-1&&(Pe.splice(xt,1),$e+=dt+".")}),$e+=Me,0!=Pe.length||0===Me.length)return null;const kt={};return kt.domEventName=bt,kt.fullKey=$e,kt}static matchEventFullKeyCode(Te,Pe){let bt=z[Te.key]||Te.key,Me="";return Pe.indexOf("code.")>-1&&(bt=Te.code,Me="code."),!(null==bt||!bt)&&(bt=bt.toLowerCase()," "===bt?bt="space":"."===bt&&(bt="dot"),H.forEach($e=>{$e!==bt&&(0,X[$e])(Te)&&(Me+=$e+".")}),Me+=bt,Me===Pe)}static eventCallback(Te,Pe,bt){return Me=>{He.matchEventFullKeyCode(Me,Te)&&bt.runGuarded(()=>Pe(Me))}}static _normalizeKey(Te){return"esc"===Te?"escape":Te}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})();function j(He,st){return(0,t.\u0275internalCreateApplication)({rootComponent:He,...ue(st)})}function le(He){return(0,t.\u0275internalCreateApplication)(ue(He))}function ue(He){return{appProviders:[...Qe,...He?.providers??[]],platformProviders:Ct}}function ve(){return[...pe]}function Je(){c.makeCurrent()}const Ct=[{provide:t.PLATFORM_ID,useValue:v.\u0275PLATFORM_BROWSER_ID},{provide:t.PLATFORM_INITIALIZER,useValue:Je,multi:!0},{provide:v.DOCUMENT,useFactory:function ct(){return(0,t.\u0275setDocument)(document),document},deps:[]}],Re=(0,t.createPlatformFactory)(t.platformCore,"browser",Ct),ke=new t.InjectionToken(""),pe=[{provide:t.\u0275TESTABILITY_GETTER,useClass:d,deps:[]},{provide:t.\u0275TESTABILITY,useClass:t.Testability,deps:[t.NgZone,t.TestabilityRegistry,t.\u0275TESTABILITY_GETTER]},{provide:t.Testability,useClass:t.Testability,deps:[t.NgZone,t.TestabilityRegistry,t.\u0275TESTABILITY_GETTER]}],Qe=[{provide:t.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:t.ErrorHandler,useFactory:function _t(){return new t.ErrorHandler},deps:[]},{provide:a,useClass:B,multi:!0,deps:[v.DOCUMENT,t.NgZone,t.PLATFORM_ID]},{provide:a,useClass:G,multi:!0,deps:[v.DOCUMENT]},S,p,r,{provide:t.RendererFactory2,useExisting:S},{provide:v.XhrFactory,useClass:l,deps:[]},[]];let Be=(()=>{class He{constructor(Te){}static withServerTransition(Te){return{ngModule:He,providers:[{provide:t.APP_ID,useValue:Te.appId}]}}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(ke,12))};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:He});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[...Qe,...pe],imports:[v.CommonModule,t.ApplicationModule]})}return He})(),Ie=(()=>{class He{constructor(Te){this._doc=Te,this._dom=(0,v.\u0275getDOM)()}addTag(Te,Pe=!1){return Te?this._getOrCreateElement(Te,Pe):null}addTags(Te,Pe=!1){return Te?Te.reduce((bt,Me)=>(Me&&bt.push(this._getOrCreateElement(Me,Pe)),bt),[]):[]}getTag(Te){return Te&&this._doc.querySelector(`meta[${Te}]`)||null}getTags(Te){if(!Te)return[];const Pe=this._doc.querySelectorAll(`meta[${Te}]`);return Pe?[].slice.call(Pe):[]}updateTag(Te,Pe){if(!Te)return null;Pe=Pe||this._parseSelector(Te);const bt=this.getTag(Pe);return bt?this._setMetaElementAttributes(Te,bt):this._getOrCreateElement(Te,!0)}removeTag(Te){this.removeTagElement(this.getTag(Te))}removeTagElement(Te){Te&&this._dom.remove(Te)}_getOrCreateElement(Te,Pe=!1){if(!Pe){const $e=this._parseSelector(Te),Ge=this.getTags($e).filter(kt=>this._containsAttributes(Te,kt))[0];if(void 0!==Ge)return Ge}const bt=this._dom.createElement("meta");return this._setMetaElementAttributes(Te,bt),this._doc.getElementsByTagName("head")[0].appendChild(bt),bt}_setMetaElementAttributes(Te,Pe){return Object.keys(Te).forEach(bt=>Pe.setAttribute(this._getMetaKeyMap(bt),Te[bt])),Pe}_parseSelector(Te){const Pe=Te.name?"name":"property";return`${Pe}="${Te[Pe]}"`}_containsAttributes(Te,Pe){return Object.keys(Te).every(bt=>Pe.getAttribute(this._getMetaKeyMap(bt))===Te[bt])}_getMetaKeyMap(Te){return je[Te]||Te}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})();const je={httpEquiv:"http-equiv"};let q=(()=>{class He{constructor(Te){this._doc=Te}getTitle(){return this._doc.title}setTitle(Te){this._doc.title=Te||""}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})();function ye(He,st){(typeof COMPILED>"u"||!COMPILED)&&((t.\u0275global.ng=t.\u0275global.ng||{})[He]=st)}class Oe{constructor(st,Te){this.msPerTick=st,this.numTicks=Te}}class Xe{constructor(st){this.appRef=st.injector.get(t.ApplicationRef)}timeChangeDetection(st){const Te=st&&st.record,Pe="Change Detection";Te&&"profile"in console&&"function"==typeof console.profile&&console.profile(Pe);const bt=performance.now();let Me=0;for(;Me<5||performance.now()-bt<500;)this.appRef.tick(),Me++;const $e=performance.now();Te&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(Pe);const Ge=($e-bt)/Me;return console.log(`ran ${Me} change detection cycles`),console.log(`${Ge.toFixed(2)} ms per check`),new Oe(Ge,Me)}}const ge="profiler";function Ve(He){return ye(ge,new Xe(He)),He}function ot(){ye(ge,null)}class ze{static all(){return()=>!0}static css(st){return Te=>null!=Te.nativeElement&&function pt(He,st){return!!(0,v.\u0275getDOM)().isElementNode(He)&&(He.matches&&He.matches(st)||He.msMatchesSelector&&He.msMatchesSelector(st)||He.webkitMatchesSelector&&He.webkitMatchesSelector(st))}(Te.nativeElement,st)}static directive(st){return Te=>-1!==Te.providerTokens.indexOf(st)}}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},Gt=new t.InjectionToken("HammerGestureConfig"),rn=new t.InjectionToken("HammerLoader");let on=(()=>{class He{constructor(){this.events=[],this.overrides={}}buildHammer(Te){const Pe=new Hammer(Te,this.options);Pe.get("pinch").set({enable:!0}),Pe.get("rotate").set({enable:!0});for(const bt in this.overrides)Pe.get(bt).set(this.overrides[bt]);return Pe}static#e=this.\u0275fac=function(Pe){return new(Pe||He)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})(),tn=(()=>{class He extends u{constructor(Te,Pe,bt,Me){super(Te),this._config=Pe,this.console=bt,this.loader=Me,this._loaderPromise=null}supports(Te){return!(!Pt.hasOwnProperty(Te.toLowerCase())&&!this.isCustomEvent(Te)||!window.Hammer&&!this.loader)}addEventListener(Te,Pe,bt){const Me=this.manager.getZone();if(Pe=Pe.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Me.runOutsideAngular(()=>this.loader());let $e=!1,Ge=()=>{$e=!0};return Me.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?$e||(Ge=this.addEventListener(Te,Pe,bt)):Ge=()=>{}}).catch(()=>{Ge=()=>{}})),()=>{Ge()}}return Me.runOutsideAngular(()=>{const $e=this._config.buildHammer(Te),Ge=function(kt){Me.runGuarded(function(){bt(kt)})};return $e.on(Pe,Ge),()=>{$e.off(Pe,Ge),"function"==typeof $e.destroy&&$e.destroy()}})}isCustomEvent(Te){return this._config.events.indexOf(Te)>-1}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT),t.\u0275\u0275inject(Gt),t.\u0275\u0275inject(t.\u0275Console),t.\u0275\u0275inject(rn,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})(),gn=(()=>{class He{static#e=this.\u0275fac=function(Pe){return new(Pe||He)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:He});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[{provide:a,useClass:tn,multi:!0,deps:[v.DOCUMENT,Gt,t.\u0275Console,[new t.Optional,rn]]},{provide:Gt,useClass:on,deps:[]}]})}return He})(),Jt=(()=>{class He{static#e=this.\u0275fac=function(Pe){return new(Pe||He)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:function(Pe){let bt=null;return bt=Pe?new(Pe||He):t.\u0275\u0275inject(an),bt},providedIn:"root"})}return He})(),an=(()=>{class He extends Jt{constructor(Te){super(),this._doc=Te}sanitize(Te,Pe){if(null==Pe)return null;switch(Te){case t.SecurityContext.NONE:return Pe;case t.SecurityContext.HTML:return(0,t.\u0275allowSanitizationBypassAndThrow)(Pe,"HTML")?(0,t.\u0275unwrapSafeValue)(Pe):(0,t.\u0275_sanitizeHtml)(this._doc,String(Pe)).toString();case t.SecurityContext.STYLE:return(0,t.\u0275allowSanitizationBypassAndThrow)(Pe,"Style")?(0,t.\u0275unwrapSafeValue)(Pe):Pe;case t.SecurityContext.SCRIPT:if((0,t.\u0275allowSanitizationBypassAndThrow)(Pe,"Script"))return(0,t.\u0275unwrapSafeValue)(Pe);throw new t.\u0275RuntimeError(5200,!1);case t.SecurityContext.URL:return(0,t.\u0275allowSanitizationBypassAndThrow)(Pe,"URL")?(0,t.\u0275unwrapSafeValue)(Pe):(0,t.\u0275_sanitizeUrl)(String(Pe));case t.SecurityContext.RESOURCE_URL:if((0,t.\u0275allowSanitizationBypassAndThrow)(Pe,"ResourceURL"))return(0,t.\u0275unwrapSafeValue)(Pe);throw new t.\u0275RuntimeError(5201,!1);default:throw new t.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(Te){return(0,t.\u0275bypassSanitizationTrustHtml)(Te)}bypassSecurityTrustStyle(Te){return(0,t.\u0275bypassSanitizationTrustStyle)(Te)}bypassSecurityTrustScript(Te){return(0,t.\u0275bypassSanitizationTrustScript)(Te)}bypassSecurityTrustUrl(Te){return(0,t.\u0275bypassSanitizationTrustUrl)(Te)}bypassSecurityTrustResourceUrl(Te){return(0,t.\u0275bypassSanitizationTrustResourceUrl)(Te)}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})();var Ot=function(He){return He[He.NoHttpTransferCache=0]="NoHttpTransferCache",He[He.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",He}(Ot||{});function Ut(He,st=[],Te={}){return{\u0275kind:He,\u0275providers:st}}function xe(){return Ut(Ot.NoHttpTransferCache)}function rt(He){return Ut(Ot.HttpTransferCacheOptions,(0,C.\u0275withHttpTransferCache)(He))}function At(...He){const st=[],Te=new Set,Pe=Te.has(Ot.HttpTransferCacheOptions);for(const{\u0275providers:bt,\u0275kind:Me}of He)Te.add(Me),bt.length&&st.push(bt);return(0,t.makeEnvironmentProviders)([[],(0,t.\u0275withDomHydration)(),Te.has(Ot.NoHttpTransferCache)||Pe?[]:(0,C.\u0275withHttpTransferCache)({}),st])}const nt=new t.Version("17.2.1"),vt=t.makeStateKey,Le=t.TransferState},4192:(De,te,g)=>{"use strict";g.r(te),g.d(te,{ActivatedRoute:()=>Fn,ActivatedRouteSnapshot:()=>Ki,ActivationEnd:()=>Wi,ActivationStart:()=>sr,BaseRouteReuseStrategy:()=>Q,ChildActivationEnd:()=>pi,ChildActivationStart:()=>tr,ChildrenOutletContexts:()=>Yn,DefaultTitleStrategy:()=>Xt,DefaultUrlSerializer:()=>Gt,EventType:()=>ae,GuardsCheckEnd:()=>Kn,GuardsCheckStart:()=>Yt,NavigationCancel:()=>he,NavigationCancellationCode:()=>mt,NavigationEnd:()=>_e,NavigationError:()=>We,NavigationSkipped:()=>de,NavigationSkippedCode:()=>V,NavigationStart:()=>Ae,NoPreloading:()=>es,OutletContext:()=>ki,PRIMARY_OUTLET:()=>X,PreloadAllModules:()=>Nr,PreloadingStrategy:()=>Pr,ROUTER_CONFIGURATION:()=>Hn,ROUTER_INITIALIZER:()=>Hs,ROUTES:()=>Lr,ResolveEnd:()=>Tn,ResolveStart:()=>Pn,RouteConfigLoadEnd:()=>oi,RouteConfigLoadStart:()=>vn,RouteReuseStrategy:()=>ro,Router:()=>Jn,RouterEvent:()=>fe,RouterLink:()=>Ci,RouterLinkActive:()=>wi,RouterLinkWithHref:()=>Ci,RouterModule:()=>Fr,RouterOutlet:()=>Ui,RouterPreloader:()=>Gr,RouterState:()=>cn,RouterStateSnapshot:()=>nr,RoutesRecognized:()=>wt,Scroll:()=>Ai,TitleStrategy:()=>Fs,UrlHandlingStrategy:()=>wr,UrlSegment:()=>Ve,UrlSegmentGroup:()=>ge,UrlSerializer:()=>Pt,UrlTree:()=>Xe,VERSION:()=>zo,convertToParamMap:()=>le,createUrlTreeFromSnapshot:()=>xt,defaultUrlMatcher:()=>ue,mapToCanActivate:()=>pa,mapToCanActivateChild:()=>ga,mapToCanDeactivate:()=>Do,mapToCanMatch:()=>ml,mapToResolve:()=>To,provideRouter:()=>_i,provideRoutes:()=>ua,withComponentInputBinding:()=>Vs,withDebugTracing:()=>ha,withDisabledInitialNavigation:()=>xs,withEnabledBlockingInitialNavigation:()=>Es,withHashLocation:()=>xo,withInMemoryScrolling:()=>da,withNavigationErrorHandler:()=>Mo,withPreloading:()=>ur,withRouterConfig:()=>hs,withViewTransitions:()=>Io,\u0275EmptyOutletComponent:()=>yt,\u0275ROUTER_PROVIDERS:()=>hl,\u0275afterNextNavigation:()=>$t,\u0275loadChildren:()=>yi});var t=g(4496),v=g(1116),C=g(9900),E=g(2700),c=g(6700),b=g(6040),s=g(7696),f=g(8344),d=g(1424),l=g(3928),a=g(3800),r=g(8960),u=g(2376),h=g(5657),p=g(6928),_=g(1368),y=g(4704),M=g(7368),w=g(3992),k=g(5568),D=g(6684),I=g(8152),O=g(5084),T=g(6020),N=g(9212),S=g(9144),F=g(1112),L=g(2156),A=g(6764),U=g(3492),K=g(320),ee=g(8824),ne=g(8084),B=g(3616),H=g(267),z=g(4476);const X="primary",G=Symbol("RouteTitle");class j{constructor(ie){this.params=ie||{}}has(ie){return Object.prototype.hasOwnProperty.call(this.params,ie)}get(ie){if(this.has(ie)){const Z=this.params[ie];return Array.isArray(Z)?Z[0]:Z}return null}getAll(ie){if(this.has(ie)){const Z=this.params[ie];return Array.isArray(Z)?Z:[Z]}return[]}get keys(){return Object.keys(this.params)}}function le(W){return new j(W)}function ue(W,ie,Z){const re=Z.path.split("/");if(re.length>W.length||"full"===Z.pathMatch&&(ie.hasChildren()||re.lengthre[Ze]===Ee)}return W===ie}function Ct(W){return W.length>0?W[W.length-1]:null}function Re(W){return(0,v.X)(W)?W:(0,t.\u0275isPromise)(W)?(0,C.Q)(Promise.resolve(W)):(0,E.of)(W)}const ke={exact:function Ie(W,ie,Z){if(!ze(W.segments,ie.segments)||!Oe(W.segments,ie.segments,Z)||W.numberOfChildren!==ie.numberOfChildren)return!1;for(const re in ie.children)if(!W.children[re]||!Ie(W.children[re],ie.children[re],Z))return!1;return!0},subset:q},pe={exact:function Be(W,ie){return Je(W,ie)},subset:function je(W,ie){return Object.keys(ie).length<=Object.keys(W).length&&Object.keys(ie).every(Z=>ct(W[Z],ie[Z]))},ignored:()=>!0};function Qe(W,ie,Z){return ke[Z.paths](W.root,ie.root,Z.matrixParams)&&pe[Z.queryParams](W.queryParams,ie.queryParams)&&!("exact"===Z.fragment&&W.fragment!==ie.fragment)}function q(W,ie,Z){return ye(W,ie,ie.segments,Z)}function ye(W,ie,Z,re){if(W.segments.length>Z.length){const Ee=W.segments.slice(0,Z.length);return!(!ze(Ee,Z)||ie.hasChildren()||!Oe(Ee,Z,re))}if(W.segments.length===Z.length){if(!ze(W.segments,Z)||!Oe(W.segments,Z,re))return!1;for(const Ee in ie.children)if(!W.children[Ee]||!q(W.children[Ee],ie.children[Ee],re))return!1;return!0}{const Ee=Z.slice(0,W.segments.length),Ze=Z.slice(W.segments.length);return!!(ze(W.segments,Ee)&&Oe(W.segments,Ee,re)&&W.children[X])&&ye(W.children[X],ie,Ze,re)}}function Oe(W,ie,Z){return ie.every((re,Ee)=>pe[Z](W[Ee].parameters,re.parameters))}class Xe{constructor(ie=new ge([],{}),Z={},re=null){this.root=ie,this.queryParams=Z,this.fragment=re}get queryParamMap(){return this._queryParamMap??=le(this.queryParams),this._queryParamMap}toString(){return rn.serialize(this)}}class ge{constructor(ie,Z){this.segments=ie,this.children=Z,this.parent=null,Object.values(Z).forEach(re=>re.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return on(this)}}class Ve{constructor(ie,Z){this.path=ie,this.parameters=Z}get parameterMap(){return this._parameterMap??=le(this.parameters),this._parameterMap}toString(){return rt(this)}}function ze(W,ie){return W.length===ie.length&&W.every((Z,re)=>Z.path===ie[re].path)}let Pt=(()=>{class W{static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:()=>new Gt,providedIn:"root"})}return W})();class Gt{parse(ie){const Z=new Me(ie);return new Xe(Z.parseRootSegment(),Z.parseQueryParams(),Z.parseFragment())}serialize(ie){const Z=`/${tn(ie.root,!0)}`,re=function At(W){const ie=Object.entries(W).map(([Z,re])=>Array.isArray(re)?re.map(Ee=>`${Jt(Z)}=${Jt(Ee)}`).join("&"):`${Jt(Z)}=${Jt(re)}`).filter(Z=>Z);return ie.length?`?${ie.join("&")}`:""}(ie.queryParams);return`${Z}${re}${"string"==typeof ie.fragment?`#${function an(W){return encodeURI(W)}(ie.fragment)}`:""}`}}const rn=new Gt;function on(W){return W.segments.map(ie=>rt(ie)).join("/")}function tn(W,ie){if(!W.hasChildren())return on(W);if(ie){const Z=W.children[X]?tn(W.children[X],!1):"",re=[];return Object.entries(W.children).forEach(([Ee,Ze])=>{Ee!==X&&re.push(`${Ee}:${tn(Ze,!1)}`)}),re.length>0?`${Z}(${re.join("//")})`:Z}{const Z=function pt(W,ie){let Z=[];return Object.entries(W.children).forEach(([re,Ee])=>{re===X&&(Z=Z.concat(ie(Ee,re)))}),Object.entries(W.children).forEach(([re,Ee])=>{re!==X&&(Z=Z.concat(ie(Ee,re)))}),Z}(W,(re,Ee)=>Ee===X?[tn(W.children[X],!1)]:[`${Ee}:${tn(re,!1)}`]);return 1===Object.keys(W.children).length&&null!=W.children[X]?`${on(W)}/${Z[0]}`:`${on(W)}/(${Z.join("//")})`}}function gn(W){return encodeURIComponent(W).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Jt(W){return gn(W).replace(/%3B/gi,";")}function Ot(W){return gn(W).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ut(W){return decodeURIComponent(W)}function xe(W){return Ut(W.replace(/\+/g,"%20"))}function rt(W){return`${Ot(W.path)}${function lt(W){return Object.entries(W).map(([ie,Z])=>`;${Ot(ie)}=${Ot(Z)}`).join("")}(W.parameters)}`}const nt=/^[^\/()?;#]+/;function vt(W){const ie=W.match(nt);return ie?ie[0]:""}const Le=/^[^\/()?;=#]+/,st=/^[^=?&#]+/,Pe=/^[^&#]+/;class Me{constructor(ie){this.url=ie,this.remaining=ie}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ge([],{}):new ge([],this.parseChildren())}parseQueryParams(){const ie={};if(this.consumeOptional("?"))do{this.parseQueryParam(ie)}while(this.consumeOptional("&"));return ie}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const ie=[];for(this.peekStartsWith("(")||ie.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ie.push(this.parseSegment());let Z={};this.peekStartsWith("/(")&&(this.capture("/"),Z=this.parseParens(!0));let re={};return this.peekStartsWith("(")&&(re=this.parseParens(!1)),(ie.length>0||Object.keys(Z).length>0)&&(re[X]=new ge(ie,Z)),re}parseSegment(){const ie=vt(this.remaining);if(""===ie&&this.peekStartsWith(";"))throw new t.\u0275RuntimeError(4009,!1);return this.capture(ie),new Ve(Ut(ie),this.parseMatrixParams())}parseMatrixParams(){const ie={};for(;this.consumeOptional(";");)this.parseParam(ie);return ie}parseParam(ie){const Z=function He(W){const ie=W.match(Le);return ie?ie[0]:""}(this.remaining);if(!Z)return;this.capture(Z);let re="";if(this.consumeOptional("=")){const Ee=vt(this.remaining);Ee&&(re=Ee,this.capture(re))}ie[Ut(Z)]=Ut(re)}parseQueryParam(ie){const Z=function Te(W){const ie=W.match(st);return ie?ie[0]:""}(this.remaining);if(!Z)return;this.capture(Z);let re="";if(this.consumeOptional("=")){const Et=function bt(W){const ie=W.match(Pe);return ie?ie[0]:""}(this.remaining);Et&&(re=Et,this.capture(re))}const Ee=xe(Z),Ze=xe(re);if(ie.hasOwnProperty(Ee)){let Et=ie[Ee];Array.isArray(Et)||(Et=[Et],ie[Ee]=Et),Et.push(Ze)}else ie[Ee]=Ze}parseParens(ie){const Z={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const re=vt(this.remaining),Ee=this.remaining[re.length];if("/"!==Ee&&")"!==Ee&&";"!==Ee)throw new t.\u0275RuntimeError(4010,!1);let Ze;re.indexOf(":")>-1?(Ze=re.slice(0,re.indexOf(":")),this.capture(Ze),this.capture(":")):ie&&(Ze=X);const Et=this.parseChildren();Z[Ze]=1===Object.keys(Et).length?Et[X]:new ge([],Et),this.consumeOptional("//")}return Z}peekStartsWith(ie){return this.remaining.startsWith(ie)}consumeOptional(ie){return!!this.peekStartsWith(ie)&&(this.remaining=this.remaining.substring(ie.length),!0)}capture(ie){if(!this.consumeOptional(ie))throw new t.\u0275RuntimeError(4011,!1)}}function $e(W){return W.segments.length>0?new ge([],{[X]:W}):W}function Ge(W){const ie={};for(const[re,Ee]of Object.entries(W.children)){const Ze=Ge(Ee);if(re===X&&0===Ze.segments.length&&Ze.hasChildren())for(const[Et,Ht]of Object.entries(Ze.children))ie[Et]=Ht;else(Ze.segments.length>0||Ze.hasChildren())&&(ie[re]=Ze)}return function kt(W){if(1===W.numberOfChildren&&W.children[X]){const ie=W.children[X];return new ge(W.segments.concat(ie.segments),ie.children)}return W}(new ge(W.segments,ie))}function dt(W){return W instanceof Xe}function xt(W,ie,Z=null,re=null){return Fe(qe(W),ie,Z,re)}function qe(W){let ie;const Ee=$e(function Z(Ze){const Et={};for(const Vt of Ze.children){const yn=Z(Vt);Et[Vt.outlet]=yn}const Ht=new ge(Ze.url,Et);return Ze===W&&(ie=Ht),Ht}(W.root));return ie??Ee}function Fe(W,ie,Z,re){let Ee=W;for(;Ee.parent;)Ee=Ee.parent;if(0===ie.length)return ft(Ee,Ee,Ee,Z,re);const Ze=function fn(W){if("string"==typeof W[0]&&1===W.length&&"/"===W[0])return new qt(!0,0,W);let ie=0,Z=!1;const re=W.reduce((Ee,Ze,Et)=>{if("object"==typeof Ze&&null!=Ze){if(Ze.outlets){const Ht={};return Object.entries(Ze.outlets).forEach(([Vt,yn])=>{Ht[Vt]="string"==typeof yn?yn.split("/"):yn}),[...Ee,{outlets:Ht}]}if(Ze.segmentPath)return[...Ee,Ze.segmentPath]}return"string"!=typeof Ze?[...Ee,Ze]:0===Et?(Ze.split("/").forEach((Ht,Vt)=>{0==Vt&&"."===Ht||(0==Vt&&""===Ht?Z=!0:".."===Ht?ie++:""!=Ht&&Ee.push(Ht))}),Ee):[...Ee,Ze]},[]);return new qt(Z,ie,re)}(ie);if(Ze.toRoot())return ft(Ee,Ee,new ge([],{}),Z,re);const Et=function An(W,ie,Z){if(W.isAbsolute)return new ln(ie,!0,0);if(!Z)return new ln(ie,!1,NaN);if(null===Z.parent)return new ln(Z,!0,0);const re=et(W.commands[0])?0:1;return function fi(W,ie,Z){let re=W,Ee=ie,Ze=Z;for(;Ze>Ee;){if(Ze-=Ee,re=re.parent,!re)throw new t.\u0275RuntimeError(4005,!1);Ee=re.segments.length}return new ln(re,!1,Ee-Ze)}(Z,Z.segments.length-1+re,W.numberOfDoubleDots)}(Ze,Ee,W),Ht=Et.processChildren?si(Et.segmentGroup,Et.index,Ze.commands):Fi(Et.segmentGroup,Et.index,Ze.commands);return ft(Ee,Et.segmentGroup,Ht,Z,re)}function et(W){return"object"==typeof W&&null!=W&&!W.outlets&&!W.segmentPath}function Ke(W){return"object"==typeof W&&null!=W&&W.outlets}function ft(W,ie,Z,re,Ee){let Et,Ze={};re&&Object.entries(re).forEach(([Vt,yn])=>{Ze[Vt]=Array.isArray(yn)?yn.map(R=>`${R}`):`${yn}`}),Et=W===ie?Z:Bt(W,ie,Z);const Ht=$e(Ge(Et));return new Xe(Ht,Ze,Ee)}function Bt(W,ie,Z){const re={};return Object.entries(W.children).forEach(([Ee,Ze])=>{re[Ee]=Ze===ie?Z:Bt(Ze,ie,Z)}),new ge(W.segments,re)}class qt{constructor(ie,Z,re){if(this.isAbsolute=ie,this.numberOfDoubleDots=Z,this.commands=re,ie&&re.length>0&&et(re[0]))throw new t.\u0275RuntimeError(4003,!1);const Ee=re.find(Ke);if(Ee&&Ee!==Ct(re))throw new t.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ln{constructor(ie,Z,re){this.segmentGroup=ie,this.processChildren=Z,this.index=re}}function Fi(W,ie,Z){if(W??=new ge([],{}),0===W.segments.length&&W.hasChildren())return si(W,ie,Z);const re=function Ji(W,ie,Z){let re=0,Ee=ie;const Ze={match:!1,pathIndex:0,commandIndex:0};for(;Ee=Z.length)return Ze;const Et=W.segments[Ee],Ht=Z[re];if(Ke(Ht))break;const Vt=`${Ht}`,yn=re0&&void 0===Vt)break;if(Vt&&yn&&"object"==typeof yn&&void 0===yn.outlets){if(!se(Vt,yn,Et))return Ze;re+=2}else{if(!se(Vt,{},Et))return Ze;re++}Ee++}return{match:!0,pathIndex:Ee,commandIndex:re}}(W,ie,Z),Ee=Z.slice(re.commandIndex);if(re.match&&re.pathIndexZe!==X)&&W.children[X]&&1===W.numberOfChildren&&0===W.children[X].segments.length){const Ze=si(W.children[X],ie,Z);return new ge(W.segments,Ze.children)}return Object.entries(re).forEach(([Ze,Et])=>{"string"==typeof Et&&(Et=[Et]),null!==Et&&(Ee[Ze]=Fi(W.children[Ze],ie,Et))}),Object.entries(W.children).forEach(([Ze,Et])=>{void 0===re[Ze]&&(Ee[Ze]=Et)}),new ge(W.segments,Ee)}}function mi(W,ie,Z){const re=W.segments.slice(0,ie);let Ee=0;for(;Ee{"string"==typeof re&&(re=[re]),null!==re&&(ie[Z]=mi(new ge([],{}),0,re))}),ie}function rr(W){const ie={};return Object.entries(W).forEach(([Z,re])=>ie[Z]=`${re}`),ie}function se(W,ie,Z){return W==Z.path&&Je(ie,Z.parameters)}const at="imperative";var ae=function(W){return W[W.NavigationStart=0]="NavigationStart",W[W.NavigationEnd=1]="NavigationEnd",W[W.NavigationCancel=2]="NavigationCancel",W[W.NavigationError=3]="NavigationError",W[W.RoutesRecognized=4]="RoutesRecognized",W[W.ResolveStart=5]="ResolveStart",W[W.ResolveEnd=6]="ResolveEnd",W[W.GuardsCheckStart=7]="GuardsCheckStart",W[W.GuardsCheckEnd=8]="GuardsCheckEnd",W[W.RouteConfigLoadStart=9]="RouteConfigLoadStart",W[W.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",W[W.ChildActivationStart=11]="ChildActivationStart",W[W.ChildActivationEnd=12]="ChildActivationEnd",W[W.ActivationStart=13]="ActivationStart",W[W.ActivationEnd=14]="ActivationEnd",W[W.Scroll=15]="Scroll",W[W.NavigationSkipped=16]="NavigationSkipped",W}(ae||{});class fe{constructor(ie,Z){this.id=ie,this.url=Z}}class Ae extends fe{constructor(ie,Z,re="imperative",Ee=null){super(ie,Z),this.type=ae.NavigationStart,this.navigationTrigger=re,this.restoredState=Ee}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class _e extends fe{constructor(ie,Z,re){super(ie,Z),this.urlAfterRedirects=re,this.type=ae.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var mt=function(W){return W[W.Redirect=0]="Redirect",W[W.SupersededByNewNavigation=1]="SupersededByNewNavigation",W[W.NoDataFromResolver=2]="NoDataFromResolver",W[W.GuardRejected=3]="GuardRejected",W}(mt||{}),V=function(W){return W[W.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",W[W.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",W}(V||{});class he extends fe{constructor(ie,Z,re,Ee){super(ie,Z),this.reason=re,this.code=Ee,this.type=ae.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class de extends fe{constructor(ie,Z,re,Ee){super(ie,Z),this.reason=re,this.code=Ee,this.type=ae.NavigationSkipped}}class We extends fe{constructor(ie,Z,re,Ee){super(ie,Z),this.error=re,this.target=Ee,this.type=ae.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class wt extends fe{constructor(ie,Z,re,Ee){super(ie,Z),this.urlAfterRedirects=re,this.state=Ee,this.type=ae.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yt extends fe{constructor(ie,Z,re,Ee){super(ie,Z),this.urlAfterRedirects=re,this.state=Ee,this.type=ae.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kn extends fe{constructor(ie,Z,re,Ee,Ze){super(ie,Z),this.urlAfterRedirects=re,this.state=Ee,this.shouldActivate=Ze,this.type=ae.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Pn extends fe{constructor(ie,Z,re,Ee){super(ie,Z),this.urlAfterRedirects=re,this.state=Ee,this.type=ae.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tn extends fe{constructor(ie,Z,re,Ee){super(ie,Z),this.urlAfterRedirects=re,this.state=Ee,this.type=ae.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vn{constructor(ie){this.route=ie,this.type=ae.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oi{constructor(ie){this.route=ie,this.type=ae.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class tr{constructor(ie){this.snapshot=ie,this.type=ae.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pi{constructor(ie){this.snapshot=ie,this.type=ae.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sr{constructor(ie){this.snapshot=ie,this.type=ae.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wi{constructor(ie){this.snapshot=ie,this.type=ae.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ai{constructor(ie,Z,re){this.routerEvent=ie,this.position=Z,this.anchor=re,this.type=ae.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Gi{}class or{constructor(ie){this.url=ie}}class ki{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Yn,this.attachRef=null}}let Yn=(()=>{class W{constructor(){this.contexts=new Map}onChildOutletCreated(Z,re){const Ee=this.getOrCreateContext(Z);Ee.outlet=re,this.contexts.set(Z,Ee)}onChildOutletDestroyed(Z){const re=this.getContext(Z);re&&(re.outlet=null,re.attachRef=null)}onOutletDeactivated(){const Z=this.contexts;return this.contexts=new Map,Z}onOutletReAttached(Z){this.contexts=Z}getOrCreateContext(Z){let re=this.getContext(Z);return re||(re=new ki,this.contexts.set(Z,re)),re}getContext(Z){return this.contexts.get(Z)||null}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();class Wn{constructor(ie){this._root=ie}get root(){return this._root.value}parent(ie){const Z=this.pathFromRoot(ie);return Z.length>1?Z[Z.length-2]:null}children(ie){const Z=Zn(ie,this._root);return Z?Z.children.map(re=>re.value):[]}firstChild(ie){const Z=Zn(ie,this._root);return Z&&Z.children.length>0?Z.children[0].value:null}siblings(ie){const Z=Dn(ie,this._root);return Z.length<2?[]:Z[Z.length-2].children.map(Ee=>Ee.value).filter(Ee=>Ee!==ie)}pathFromRoot(ie){return Dn(ie,this._root).map(Z=>Z.value)}}function Zn(W,ie){if(W===ie.value)return ie;for(const Z of ie.children){const re=Zn(W,Z);if(re)return re}return null}function Dn(W,ie){if(W===ie.value)return[ie];for(const Z of ie.children){const re=Dn(W,Z);if(re.length)return re.unshift(ie),re}return[]}class Qn{constructor(ie,Z){this.value=ie,this.children=Z}toString(){return`TreeNode(${this.value})`}}function ui(W){const ie={};return W&&W.children.forEach(Z=>ie[Z.value.outlet]=Z),ie}class cn extends Wn{constructor(ie,Z){super(ie),this.snapshot=Z,ni(this,ie)}toString(){return this.snapshot.toString()}}function pn(W){const ie=function Nn(W){const Ze=new Ki([],{},{},"",{},X,W,null,{});return new nr("",new Qn(Ze,[]))}(W),Z=new c.g([new Ve("",{})]),re=new c.g({}),Ee=new c.g({}),Ze=new c.g({}),Et=new c.g(""),Ht=new Fn(Z,re,Ze,Et,Ee,X,W,ie.root);return Ht.snapshot=ie.root,new cn(new Qn(Ht,[]),ie)}class Fn{constructor(ie,Z,re,Ee,Ze,Et,Ht,Vt){this.urlSubject=ie,this.paramsSubject=Z,this.queryParamsSubject=re,this.fragmentSubject=Ee,this.dataSubject=Ze,this.outlet=Et,this.component=Ht,this._futureSnapshot=Vt,this.title=this.dataSubject?.pipe((0,y.k)(yn=>yn[G]))??(0,E.of)(void 0),this.url=ie,this.params=Z,this.queryParams=re,this.fragment=Ee,this.data=Ze}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,y.k)(ie=>le(ie))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,y.k)(ie=>le(ie))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Oi(W,ie,Z="emptyOnly"){let re;const{routeConfig:Ee}=W;return re=null===ie||"always"!==Z&&""!==Ee?.path&&(ie.component||ie.routeConfig?.loadComponent)?{params:{...W.params},data:{...W.data},resolve:{...W.data,...W._resolvedData??{}}}:{params:{...ie.params,...W.params},data:{...ie.data,...W.data},resolve:{...W.data,...ie.data,...Ee?.data,...W._resolvedData}},Ee&&ar(Ee)&&(re.resolve[G]=Ee.title),re}class Ki{get title(){return this.data?.[G]}constructor(ie,Z,re,Ee,Ze,Et,Ht,Vt,yn){this.url=ie,this.params=Z,this.queryParams=re,this.fragment=Ee,this.data=Ze,this.outlet=Et,this.component=Ht,this.routeConfig=Vt,this._resolve=yn}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??=le(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=le(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(re=>re.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class nr extends Wn{constructor(ie,Z){super(Z),this.url=ie,ni(this,Z)}toString(){return un(this._root)}}function ni(W,ie){ie.value._routerState=W,ie.children.forEach(Z=>ni(W,Z))}function un(W){const ie=W.children.length>0?` { ${W.children.map(un).join(", ")} } `:"";return`${W.value}${ie}`}function En(W){if(W.snapshot){const ie=W.snapshot,Z=W._futureSnapshot;W.snapshot=Z,Je(ie.queryParams,Z.queryParams)||W.queryParamsSubject.next(Z.queryParams),ie.fragment!==Z.fragment&&W.fragmentSubject.next(Z.fragment),Je(ie.params,Z.params)||W.paramsSubject.next(Z.params),function ve(W,ie){if(W.length!==ie.length)return!1;for(let Z=0;ZJe(Z.parameters,ie[re].parameters))}(W.url,ie.url);return Z&&!(!W.parent!=!ie.parent)&&(!W.parent||ci(W.parent,ie.parent))}function ar(W){return"string"==typeof W.title||null===W.title}let Ui=(()=>{class W{constructor(){this.activated=null,this._activatedRoute=null,this.name=X,this.activateEvents=new t.EventEmitter,this.deactivateEvents=new t.EventEmitter,this.attachEvents=new t.EventEmitter,this.detachEvents=new t.EventEmitter,this.parentContexts=(0,t.inject)(Yn),this.location=(0,t.inject)(t.ViewContainerRef),this.changeDetector=(0,t.inject)(t.ChangeDetectorRef),this.environmentInjector=(0,t.inject)(t.EnvironmentInjector),this.inputBinder=(0,t.inject)(hr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Z){if(Z.name){const{firstChange:re,previousValue:Ee}=Z.name;if(re)return;this.isTrackedInParentContexts(Ee)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ee)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Z){return this.parentContexts.getContext(Z)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Z=this.parentContexts.getContext(this.name);Z?.route&&(Z.attachRef?this.attach(Z.attachRef,Z.route):this.activateWith(Z.route,Z.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.\u0275RuntimeError(4012,!1);this.location.detach();const Z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Z.instance),Z}attach(Z,re){this.activated=Z,this._activatedRoute=re,this.location.insert(Z.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Z.instance)}deactivate(){if(this.activated){const Z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Z)}}activateWith(Z,re){if(this.isActivated)throw new t.\u0275RuntimeError(4013,!1);this._activatedRoute=Z;const Ee=this.location,Et=Z.snapshot.component,Ht=this.parentContexts.getOrCreateContext(this.name).children,Vt=new dr(Z,Ht,Ee.injector);this.activated=Ee.createComponent(Et,{index:Ee.length,injector:Vt,environmentInjector:re??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:W,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return W})();class dr{constructor(ie,Z,re){this.route=ie,this.childContexts=Z,this.parent=re}get(ie,Z){return ie===Fn?this.route:ie===Yn?this.childContexts:this.parent.get(ie,Z)}}const hr=new t.InjectionToken("");let di=(()=>{class W{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Z){this.unsubscribeFromRouteData(Z),this.subscribeToRouteData(Z)}unsubscribeFromRouteData(Z){this.outletDataSubscriptions.get(Z)?.unsubscribe(),this.outletDataSubscriptions.delete(Z)}subscribeToRouteData(Z){const{activatedRoute:re}=Z,Ee=(0,b.E)([re.queryParams,re.params,re.data]).pipe((0,M.G)(([Ze,Et,Ht],Vt)=>(Ht={...Ze,...Et,...Ht},0===Vt?(0,E.of)(Ht):Promise.resolve(Ht)))).subscribe(Ze=>{if(!Z.isActivated||!Z.activatedComponentRef||Z.activatedRoute!==re||null===re.component)return void this.unsubscribeFromRouteData(Z);const Et=(0,t.reflectComponentType)(re.component);if(Et)for(const{templateName:Ht}of Et.inputs)Z.activatedComponentRef.setInput(Ht,Ze[Ht]);else this.unsubscribeFromRouteData(Z)});this.outletDataSubscriptions.set(Z,Ee)}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac})}return W})();function qi(W,ie,Z){if(Z&&W.shouldReuseRoute(ie.value,Z.value.snapshot)){const re=Z.value;re._futureSnapshot=ie.value;const Ee=function Rn(W,ie,Z){return ie.children.map(re=>{for(const Ee of Z.children)if(W.shouldReuseRoute(re.value,Ee.value.snapshot))return qi(W,re,Ee);return qi(W,re)})}(W,ie,Z);return new Qn(re,Ee)}{if(W.shouldAttach(ie.value)){const Ze=W.retrieve(ie.value);if(null!==Ze){const Et=Ze.route;return Et.value._futureSnapshot=ie.value,Et.children=ie.children.map(Ht=>qi(W,Ht)),Et}}const re=function Sr(W){return new Fn(new c.g(W.url),new c.g(W.params),new c.g(W.queryParams),new c.g(W.fragment),new c.g(W.data),W.outlet,W.component,W)}(ie.value),Ee=ie.children.map(Ze=>qi(W,Ze));return new Qn(re,Ee)}}const rs="ngNavigationCancelingError";function Ar(W,ie){const{redirectTo:Z,navigationBehaviorOptions:re}=dt(ie)?{redirectTo:ie,navigationBehaviorOptions:void 0}:ie,Ee=hi(!1,mt.Redirect);return Ee.url=Z,Ee.navigationBehaviorOptions=re,Ee}function hi(W,ie){const Z=new Error(`NavigationCancelingError: ${W||""}`);return Z[rs]=!0,Z.cancellationCode=ie,Z}function Mt(W){return!!W&&W[rs]}let yt=(()=>{class W{static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:W,selectors:[["ng-component"]],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(re,Ee){1&re&&t.\u0275\u0275element(0,"router-outlet")},dependencies:[Ui],encapsulation:2})}return W})();function gi(W){const ie=W.children&&W.children.map(gi),Z=ie?{...W,children:ie}:{...W};return!Z.component&&!Z.loadComponent&&(ie||Z.loadChildren)&&Z.outlet&&Z.outlet!==X&&(Z.component=yt),Z}function jn(W){return W.outlet||X}function Bn(W){if(!W)return null;if(W.routeConfig?._injector)return W.routeConfig._injector;for(let ie=W.parent;ie;ie=ie.parent){const Z=ie.routeConfig;if(Z?._loadedInjector)return Z._loadedInjector;if(Z?._injector)return Z._injector}return null}class ir{constructor(ie,Z,re,Ee,Ze){this.routeReuseStrategy=ie,this.futureState=Z,this.currState=re,this.forwardEvent=Ee,this.inputBindingEnabled=Ze}activate(ie){const Z=this.futureState._root,re=this.currState?this.currState._root:null;this.deactivateChildRoutes(Z,re,ie),En(this.futureState.root),this.activateChildRoutes(Z,re,ie)}deactivateChildRoutes(ie,Z,re){const Ee=ui(Z);ie.children.forEach(Ze=>{const Et=Ze.value.outlet;this.deactivateRoutes(Ze,Ee[Et],re),delete Ee[Et]}),Object.values(Ee).forEach(Ze=>{this.deactivateRouteAndItsChildren(Ze,re)})}deactivateRoutes(ie,Z,re){const Ee=ie.value,Ze=Z?Z.value:null;if(Ee===Ze)if(Ee.component){const Et=re.getContext(Ee.outlet);Et&&this.deactivateChildRoutes(ie,Z,Et.children)}else this.deactivateChildRoutes(ie,Z,re);else Ze&&this.deactivateRouteAndItsChildren(Z,re)}deactivateRouteAndItsChildren(ie,Z){ie.value.component&&this.routeReuseStrategy.shouldDetach(ie.value.snapshot)?this.detachAndStoreRouteSubtree(ie,Z):this.deactivateRouteAndOutlet(ie,Z)}detachAndStoreRouteSubtree(ie,Z){const re=Z.getContext(ie.value.outlet),Ee=re&&ie.value.component?re.children:Z,Ze=ui(ie);for(const Et of Object.values(Ze))this.deactivateRouteAndItsChildren(Et,Ee);if(re&&re.outlet){const Et=re.outlet.detach(),Ht=re.children.onOutletDeactivated();this.routeReuseStrategy.store(ie.value.snapshot,{componentRef:Et,route:ie,contexts:Ht})}}deactivateRouteAndOutlet(ie,Z){const re=Z.getContext(ie.value.outlet),Ee=re&&ie.value.component?re.children:Z,Ze=ui(ie);for(const Et of Object.values(Ze))this.deactivateRouteAndItsChildren(Et,Ee);re&&(re.outlet&&(re.outlet.deactivate(),re.children.onOutletDeactivated()),re.attachRef=null,re.route=null)}activateChildRoutes(ie,Z,re){const Ee=ui(Z);ie.children.forEach(Ze=>{this.activateRoutes(Ze,Ee[Ze.value.outlet],re),this.forwardEvent(new Wi(Ze.value.snapshot))}),ie.children.length&&this.forwardEvent(new pi(ie.value.snapshot))}activateRoutes(ie,Z,re){const Ee=ie.value,Ze=Z?Z.value:null;if(En(Ee),Ee===Ze)if(Ee.component){const Et=re.getOrCreateContext(Ee.outlet);this.activateChildRoutes(ie,Z,Et.children)}else this.activateChildRoutes(ie,Z,re);else if(Ee.component){const Et=re.getOrCreateContext(Ee.outlet);if(this.routeReuseStrategy.shouldAttach(Ee.snapshot)){const Ht=this.routeReuseStrategy.retrieve(Ee.snapshot);this.routeReuseStrategy.store(Ee.snapshot,null),Et.children.onOutletReAttached(Ht.contexts),Et.attachRef=Ht.componentRef,Et.route=Ht.route.value,Et.outlet&&Et.outlet.attach(Ht.componentRef,Ht.route.value),En(Ht.route.value),this.activateChildRoutes(ie,null,Et.children)}else{const Ht=Bn(Ee.snapshot);Et.attachRef=null,Et.route=Ee,Et.injector=Ht,Et.outlet&&Et.outlet.activateWith(Ee,Et.injector),this.activateChildRoutes(ie,null,Et.children)}}else this.activateChildRoutes(ie,null,re)}}class $i{constructor(ie){this.path=ie,this.route=this.path[this.path.length-1]}}class Or{constructor(ie,Z){this.component=ie,this.route=Z}}function fr(W,ie,Z){const re=W._root;return Cr(re,ie?ie._root:null,Z,[re.value])}function Br(W,ie){const Z=Symbol(),re=ie.get(W,Z);return re===Z?"function"!=typeof W||(0,t.\u0275isInjectable)(W)?ie.get(W):W:re}function Cr(W,ie,Z,re,Ee={canDeactivateChecks:[],canActivateChecks:[]}){const Ze=ui(ie);return W.children.forEach(Et=>{(function _s(W,ie,Z,re,Ee={canDeactivateChecks:[],canActivateChecks:[]}){const Ze=W.value,Et=ie?ie.value:null,Ht=Z?Z.getContext(W.value.outlet):null;if(Et&&Ze.routeConfig===Et.routeConfig){const Vt=function Ss(W,ie,Z){if("function"==typeof Z)return Z(W,ie);switch(Z){case"pathParamsChange":return!ze(W.url,ie.url);case"pathParamsOrQueryParamsChange":return!ze(W.url,ie.url)||!Je(W.queryParams,ie.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ci(W,ie)||!Je(W.queryParams,ie.queryParams);default:return!ci(W,ie)}}(Et,Ze,Ze.routeConfig.runGuardsAndResolvers);Vt?Ee.canActivateChecks.push(new $i(re)):(Ze.data=Et.data,Ze._resolvedData=Et._resolvedData),Cr(W,ie,Ze.component?Ht?Ht.children:null:Z,re,Ee),Vt&&Ht&&Ht.outlet&&Ht.outlet.isActivated&&Ee.canDeactivateChecks.push(new Or(Ht.outlet.component,Et))}else Et&&Qr(ie,Ht,Ee),Ee.canActivateChecks.push(new $i(re)),Cr(W,null,Ze.component?Ht?Ht.children:null:Z,re,Ee)})(Et,Ze[Et.value.outlet],Z,re.concat([Et.value]),Ee),delete Ze[Et.value.outlet]}),Object.entries(Ze).forEach(([Et,Ht])=>Qr(Ht,Z.getContext(Et),Ee)),Ee}function Qr(W,ie,Z){const re=ui(W),Ee=W.value;Object.entries(re).forEach(([Ze,Et])=>{Qr(Et,Ee.component?ie?ie.children.getContext(Ze):null:ie,Z)}),Z.canDeactivateChecks.push(new Or(Ee.component&&ie&&ie.outlet&&ie.outlet.isActivated?ie.outlet.component:null,Ee))}function Rr(W){return"function"==typeof W}function Se(W){return W instanceof s.G||"EmptyError"===W?.name}const ce=Symbol("INITIAL_VALUE");function Ye(){return(0,M.G)(W=>(0,b.E)(W.map(ie=>ie.pipe((0,w.U)(1),(0,k.W)(ce)))).pipe((0,y.k)(ie=>{for(const Z of ie)if(!0!==Z){if(Z===ce)return ce;if(!1===Z||Z instanceof Xe)return Z}return!0}),(0,D.I)(ie=>ie!==ce),(0,w.U)(1)))}function bi(W){return(0,l.W)((0,N.y)(ie=>{if(dt(ie))throw Ar(0,ie)}),(0,y.k)(ie=>!0===ie))}class Xs{constructor(ie){this.segmentGroup=ie||null}}class ks extends Error{constructor(ie){super(),this.urlTree=ie}}function as(W){return(0,a.c)(new Xs(W))}class lr{constructor(ie,Z){this.urlSerializer=ie,this.urlTree=Z}lineralizeSegments(ie,Z){let re=[],Ee=Z.root;for(;;){if(re=re.concat(Ee.segments),0===Ee.numberOfChildren)return(0,E.of)(re);if(Ee.numberOfChildren>1||!Ee.children[X])return(0,a.c)(new t.\u0275RuntimeError(4e3,!1));Ee=Ee.children[X]}}applyRedirectCommands(ie,Z,re){const Ee=this.applyRedirectCreateUrlTree(Z,this.urlSerializer.parse(Z),ie,re);if(Z.startsWith("/"))throw new ks(Ee);return Ee}applyRedirectCreateUrlTree(ie,Z,re,Ee){const Ze=this.createSegmentGroup(ie,Z.root,re,Ee);return new Xe(Ze,this.createQueryParams(Z.queryParams,this.urlTree.queryParams),Z.fragment)}createQueryParams(ie,Z){const re={};return Object.entries(ie).forEach(([Ee,Ze])=>{if("string"==typeof Ze&&Ze.startsWith(":")){const Ht=Ze.substring(1);re[Ee]=Z[Ht]}else re[Ee]=Ze}),re}createSegmentGroup(ie,Z,re,Ee){const Ze=this.createSegments(ie,Z.segments,re,Ee);let Et={};return Object.entries(Z.children).forEach(([Ht,Vt])=>{Et[Ht]=this.createSegmentGroup(ie,Vt,re,Ee)}),new ge(Ze,Et)}createSegments(ie,Z,re,Ee){return Z.map(Ze=>Ze.path.startsWith(":")?this.findPosParam(ie,Ze,Ee):this.findOrReturn(Ze,re))}findPosParam(ie,Z,re){const Ee=re[Z.path.substring(1)];if(!Ee)throw new t.\u0275RuntimeError(4001,!1);return Ee}findOrReturn(ie,Z){let re=0;for(const Ee of Z){if(Ee.path===ie.path)return Z.splice(re),Ee;re++}return ie}}const Js={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ls(W,ie,Z,re,Ee){const Ze=Jr(W,ie,Z);return Ze.matched?(re=function It(W,ie){return W.providers&&!W._injector&&(W._injector=(0,t.createEnvironmentInjector)(W.providers,ie,`Route: ${W.path}`)),W._injector??ie}(ie,re),function Qs(W,ie,Z,re){const Ee=ie.canMatch;if(!Ee||0===Ee.length)return(0,E.of)(!0);const Ze=Ee.map(Et=>{const Ht=Br(Et,W);return Re(function we(W){return W&&Rr(W.canMatch)}(Ht)?Ht.canMatch(ie,Z):(0,t.runInInjectionContext)(W,()=>Ht(ie,Z)))});return(0,E.of)(Ze).pipe(Ye(),bi())}(re,ie,Z).pipe((0,y.k)(Et=>!0===Et?Ze:{...Js}))):(0,E.of)(Ze)}function Jr(W,ie,Z){if("**"===ie.path)return function cr(W){return{matched:!0,parameters:W.length>0?Ct(W).parameters:{},consumedSegments:W,remainingSegments:[],positionalParamSegments:{}}}(Z);if(""===ie.path)return"full"===ie.pathMatch&&(W.hasChildren()||Z.length>0)?{...Js}:{matched:!0,consumedSegments:[],remainingSegments:Z,parameters:{},positionalParamSegments:{}};const Ee=(ie.matcher||ue)(Z,W,ie);if(!Ee)return{...Js};const Ze={};Object.entries(Ee.posParams??{}).forEach(([Ht,Vt])=>{Ze[Ht]=Vt.path});const Et=Ee.consumed.length>0?{...Ze,...Ee.consumed[Ee.consumed.length-1].parameters}:Ze;return{matched:!0,consumedSegments:Ee.consumed,remainingSegments:Z.slice(Ee.consumed.length),parameters:Et,positionalParamSegments:Ee.posParams??{}}}function jr(W,ie,Z,re){return Z.length>0&&function Vi(W,ie,Z){return Z.some(re=>bs(W,ie,re)&&jn(re)!==X)}(W,Z,re)?{segmentGroup:new ge(ie,eo(re,new ge(Z,W.children))),slicedSegments:[]}:0===Z.length&&function to(W,ie,Z){return Z.some(re=>bs(W,ie,re))}(W,Z,re)?{segmentGroup:new ge(W.segments,qs(W,Z,re,W.children)),slicedSegments:Z}:{segmentGroup:new ge(W.segments,W.children),slicedSegments:Z}}function qs(W,ie,Z,re){const Ee={};for(const Ze of Z)if(bs(W,ie,Ze)&&!re[jn(Ze)]){const Et=new ge([],{});Ee[jn(Ze)]=Et}return{...re,...Ee}}function eo(W,ie){const Z={};Z[X]=ie;for(const re of W)if(""===re.path&&jn(re)!==X){const Ee=new ge([],{});Z[jn(re)]=Ee}return Z}function bs(W,ie,Z){return(!(W.hasChildren()||ie.length>0)||"full"!==Z.pathMatch)&&""===Z.path}class cs{}class Cs{constructor(ie,Z,re,Ee,Ze,Et,Ht){this.injector=ie,this.configLoader=Z,this.rootComponentType=re,this.config=Ee,this.urlTree=Ze,this.paramsInheritanceStrategy=Et,this.urlSerializer=Ht,this.applyRedirects=new lr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(ie){return new t.\u0275RuntimeError(4002,`'${ie.segmentGroup}'`)}recognize(){const ie=jr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(ie).pipe((0,y.k)(Z=>{const re=new Ki([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},X,this.rootComponentType,null,{}),Ee=new Qn(re,Z),Ze=new nr("",Ee),Et=xt(re,[],this.urlTree.queryParams,this.urlTree.fragment);return Et.queryParams=this.urlTree.queryParams,Ze.url=this.urlSerializer.serialize(Et),this.inheritParamsAndData(Ze._root,null),{state:Ze,tree:Et}}))}match(ie){return this.processSegmentGroup(this.injector,this.config,ie,X).pipe((0,S.a)(re=>{if(re instanceof ks)return this.urlTree=re.urlTree,this.match(re.urlTree.root);throw re instanceof Xs?this.noMatchError(re):re}))}inheritParamsAndData(ie,Z){const re=ie.value,Ee=Oi(re,Z,this.paramsInheritanceStrategy);re.params=Object.freeze(Ee.params),re.data=Object.freeze(Ee.data),ie.children.forEach(Ze=>this.inheritParamsAndData(Ze,re))}processSegmentGroup(ie,Z,re,Ee){return 0===re.segments.length&&re.hasChildren()?this.processChildren(ie,Z,re):this.processSegment(ie,Z,re,re.segments,Ee,!0).pipe((0,y.k)(Ze=>Ze instanceof Qn?[Ze]:[]))}processChildren(ie,Z,re){const Ee=[];for(const Ze of Object.keys(re.children))"primary"===Ze?Ee.unshift(Ze):Ee.push(Ze);return(0,C.Q)(Ee).pipe((0,T.m)(Ze=>{const Et=re.children[Ze],Ht=function Gn(W,ie){const Z=W.filter(re=>jn(re)===ie);return Z.push(...W.filter(re=>jn(re)!==ie)),Z}(Z,Ze);return this.processSegmentGroup(ie,Ht,Et,Ze)}),(0,F.K)((Ze,Et)=>(Ze.push(...Et),Ze)),(0,L.G)(null),(0,A.G)(),(0,I.O)(Ze=>{if(null===Ze)return as(re);const Et=Ls(Ze);return function Hr(W){W.sort((ie,Z)=>ie.value.outlet===X?-1:Z.value.outlet===X?1:ie.value.outlet.localeCompare(Z.value.outlet))}(Et),(0,E.of)(Et)}))}processSegment(ie,Z,re,Ee,Ze,Et){return(0,C.Q)(Z).pipe((0,T.m)(Ht=>this.processSegmentAgainstRoute(Ht._injector??ie,Z,Ht,re,Ee,Ze,Et).pipe((0,S.a)(Vt=>{if(Vt instanceof Xs)return(0,E.of)(null);throw Vt}))),(0,O.K)(Ht=>!!Ht),(0,S.a)(Ht=>{if(Se(Ht))return function ys(W,ie,Z){return 0===ie.length&&!W.children[Z]}(re,Ee,Ze)?(0,E.of)(new cs):as(re);throw Ht}))}processSegmentAgainstRoute(ie,Z,re,Ee,Ze,Et,Ht){return function no(W,ie,Z,re){return!!(jn(W)===re||re!==X&&bs(ie,Z,W))&&Jr(ie,W,Z).matched}(re,Ee,Ze,Et)?void 0===re.redirectTo?this.matchSegmentAgainstRoute(ie,Ee,re,Ze,Et):this.allowRedirects&&Ht?this.expandSegmentAgainstRouteUsingRedirect(ie,Ee,Z,re,Ze,Et):as(Ee):as(Ee)}expandSegmentAgainstRouteUsingRedirect(ie,Z,re,Ee,Ze,Et){const{matched:Ht,consumedSegments:Vt,positionalParamSegments:yn,remainingSegments:R}=Jr(Z,Ee,Ze);if(!Ht)return as(Z);Ee.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ce=this.applyRedirects.applyRedirectCommands(Vt,Ee.redirectTo,yn);return this.applyRedirects.lineralizeSegments(Ee,Ce).pipe((0,I.O)(Y=>this.processSegment(ie,re,Z,Y.concat(R),Et,!1)))}matchSegmentAgainstRoute(ie,Z,re,Ee,Ze){const Et=ls(Z,re,Ee,ie);return"**"===re.path&&(Z.children={}),Et.pipe((0,M.G)(Ht=>Ht.matched?this.getChildConfig(ie=re._injector??ie,re,Ee).pipe((0,M.G)(({routes:Vt})=>{const yn=re._loadedInjector??ie,{consumedSegments:R,remainingSegments:Ce,parameters:Y}=Ht,tt=new Ki(R,Y,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Bo(W){return W.data||{}}(re),jn(re),re.component??re._loadedComponent??null,re,function $o(W){return W.resolve||{}}(re)),{segmentGroup:ht,slicedSegments:gt}=jr(Z,R,Ce,Vt);if(0===gt.length&&ht.hasChildren())return this.processChildren(yn,Vt,ht).pipe((0,y.k)(Nt=>null===Nt?null:new Qn(tt,Nt)));if(0===Vt.length&&0===gt.length)return(0,E.of)(new Qn(tt,[]));const zt=jn(re)===Ze;return this.processSegment(yn,Vt,ht,gt,zt?X:Ze,!0).pipe((0,y.k)(Nt=>new Qn(tt,Nt instanceof Qn?[Nt]:[])))})):as(Z)))}getChildConfig(ie,Z,re){return Z.children?(0,E.of)({routes:Z.children,injector:ie}):Z.loadChildren?void 0!==Z._loadedRoutes?(0,E.of)({routes:Z._loadedRoutes,injector:Z._loadedInjector}):function vo(W,ie,Z,re){const Ee=ie.canLoad;if(void 0===Ee||0===Ee.length)return(0,E.of)(!0);const Ze=Ee.map(Et=>{const Ht=Br(Et,W);return Re(function As(W){return W&&Rr(W.canLoad)}(Ht)?Ht.canLoad(ie,Z):(0,t.runInInjectionContext)(W,()=>Ht(ie,Z)))});return(0,E.of)(Ze).pipe(Ye(),bi())}(ie,Z,re).pipe((0,I.O)(Ee=>Ee?this.configLoader.loadChildren(ie,Z).pipe((0,N.y)(Ze=>{Z._loadedRoutes=Ze.routes,Z._loadedInjector=Ze.injector})):function Os(W){return(0,a.c)(hi(!1,mt.GuardRejected))}())):(0,E.of)({routes:[],injector:ie})}}function Un(W){const ie=W.value.routeConfig;return ie&&""===ie.path}function Ls(W){const ie=[],Z=new Set;for(const re of W){if(!Un(re)){ie.push(re);continue}const Ee=ie.find(Ze=>re.value.routeConfig===Ze.value.routeConfig);void 0!==Ee?(Ee.children.push(...re.children),Z.add(Ee)):ie.push(re)}for(const re of Z){const Ee=Ls(re.children);ie.push(new Qn(re.value,Ee))}return ie.filter(re=>!Z.has(re))}function qr(W){const ie=W.children.map(Z=>qr(Z)).flat();return[W,...ie]}function Ns(W){return(0,M.G)(ie=>{const Z=W(ie);return Z?(0,C.Q)(Z).pipe((0,y.k)(()=>ie)):(0,E.of)(ie)})}let Fs=(()=>{class W{buildTitle(Z){let re,Ee=Z.root;for(;void 0!==Ee;)re=this.getResolvedTitleForRoute(Ee)??re,Ee=Ee.children.find(Ze=>Ze.outlet===X);return re}getResolvedTitleForRoute(Z){return Z.data[G]}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:()=>(0,t.inject)(Xt),providedIn:"root"})}return W})(),Xt=(()=>{class W extends Fs{constructor(Z){super(),this.title=Z}updateTitle(Z){const re=this.buildTitle(Z);void 0!==re&&this.title.setTitle(re)}static#e=this.\u0275fac=function(re){return new(re||W)(t.\u0275\u0275inject(z.Title))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const Hn=new t.InjectionToken("",{providedIn:"root",factory:()=>({})}),Lr=new t.InjectionToken("");let Us=(()=>{class W{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,t.inject)(t.Compiler)}loadComponent(Z){if(this.componentLoaders.get(Z))return this.componentLoaders.get(Z);if(Z._loadedComponent)return(0,E.of)(Z._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Z);const re=Re(Z.loadComponent()).pipe((0,y.k)(ds),(0,N.y)(Ze=>{this.onLoadEndListener&&this.onLoadEndListener(Z),Z._loadedComponent=Ze}),(0,ee.U)(()=>{this.componentLoaders.delete(Z)})),Ee=new u.C(re,()=>new h.E).pipe((0,ne.O)());return this.componentLoaders.set(Z,Ee),Ee}loadChildren(Z,re){if(this.childrenLoaders.get(re))return this.childrenLoaders.get(re);if(re._loadedRoutes)return(0,E.of)({routes:re._loadedRoutes,injector:re._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(re);const Ze=yi(re,this.compiler,Z,this.onLoadEndListener).pipe((0,ee.U)(()=>{this.childrenLoaders.delete(re)})),Et=new u.C(Ze,()=>new h.E).pipe((0,ne.O)());return this.childrenLoaders.set(re,Et),Et}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function yi(W,ie,Z,re){return Re(W.loadChildren()).pipe((0,y.k)(ds),(0,I.O)(Ee=>Ee instanceof t.NgModuleFactory||Array.isArray(Ee)?(0,E.of)(Ee):(0,C.Q)(ie.compileModuleAsync(Ee))),(0,y.k)(Ee=>{re&&re(W);let Ze,Et;return Array.isArray(Ee)?Et=Ee:(Ze=Ee.create(Z).injector,Et=Ze.get(Lr,[],{optional:!0,self:!0}).flat()),{routes:Et.map(gi),injector:Ze}}))}function ds(W){return function Co(W){return W&&"object"==typeof W&&"default"in W}(W)?W.default:W}let wr=(()=>{class W{static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:()=>(0,t.inject)(Bs),providedIn:"root"})}return W})(),Bs=(()=>{class W{shouldProcessUrl(Z){return!0}extract(Z){return Z}merge(Z,re){return Z}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const $s=new t.InjectionToken(""),wo=new t.InjectionToken("");function Yi(W,ie,Z){const re=W.get(wo),Ee=W.get(_.DOCUMENT);return W.get(t.NgZone).runOutsideAngular(()=>{if(!Ee.startViewTransition||re.skipNextTransition)return re.skipNextTransition=!1,Promise.resolve();let Ze;const Et=new Promise(yn=>{Ze=yn}),Ht=Ee.startViewTransition(()=>(Ze(),function Eo(W){return new Promise(ie=>{(0,t.afterNextRender)(ie,{injector:W})})}(W))),{onViewTransitionCreated:Vt}=re;return Vt&&(0,t.runInInjectionContext)(W,()=>Vt({transition:Ht,from:ie,to:Z})),Et})}let Zi=(()=>{class W{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new h.E,this.transitionAbortSubject=new h.E,this.configLoader=(0,t.inject)(Us),this.environmentInjector=(0,t.inject)(t.EnvironmentInjector),this.urlSerializer=(0,t.inject)(Pt),this.rootContexts=(0,t.inject)(Yn),this.location=(0,t.inject)(_.Location),this.inputBindingEnabled=null!==(0,t.inject)(hr,{optional:!0}),this.titleStrategy=(0,t.inject)(Fs),this.options=(0,t.inject)(Hn,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,t.inject)(wr),this.createViewTransition=(0,t.inject)($s,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,E.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Ee=>this.events.next(new oi(Ee)),this.configLoader.onLoadStartListener=Ee=>this.events.next(new vn(Ee))}complete(){this.transitions?.complete()}handleNavigationRequest(Z){const re=++this.navigationId;this.transitions?.next({...this.transitions.value,...Z,id:re})}setupNavigations(Z,re,Ee){return this.transitions=new c.g({id:0,currentUrlTree:re,currentRawUrl:re,extractedUrl:this.urlHandlingStrategy.extract(re),urlAfterRedirects:this.urlHandlingStrategy.extract(re),rawUrl:re,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:at,restoredState:null,currentSnapshot:Ee.snapshot,targetSnapshot:null,currentRouterState:Ee,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,D.I)(Ze=>0!==Ze.id),(0,y.k)(Ze=>({...Ze,extractedUrl:this.urlHandlingStrategy.extract(Ze.rawUrl)})),(0,M.G)(Ze=>{this.currentTransition=Ze;let Et=!1,Ht=!1;return(0,E.of)(Ze).pipe((0,N.y)(Vt=>{this.currentNavigation={id:Vt.id,initialUrl:Vt.rawUrl,extractedUrl:Vt.extractedUrl,trigger:Vt.source,extras:Vt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,M.G)(Vt=>{const yn=!Z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!yn&&"reload"!==(Vt.extras.onSameUrlNavigation??Z.onSameUrlNavigation)){const Ce="";return this.events.next(new de(Vt.id,this.urlSerializer.serialize(Vt.rawUrl),Ce,V.IgnoredSameUrlNavigation)),Vt.resolve(null),r.k}if(this.urlHandlingStrategy.shouldProcessUrl(Vt.rawUrl))return(0,E.of)(Vt).pipe((0,M.G)(Ce=>{const Y=this.transitions?.getValue();return this.events.next(new Ae(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),Ce.source,Ce.restoredState)),Y!==this.transitions?.getValue()?r.k:Promise.resolve(Ce)}),function io(W,ie,Z,re,Ee,Ze){return(0,I.O)(Et=>function us(W,ie,Z,re,Ee,Ze,Et="emptyOnly"){return new Cs(W,ie,Z,re,Ee,Et,Ze).recognize()}(W,ie,Z,re,Et.extractedUrl,Ee,Ze).pipe((0,y.k)(({state:Ht,tree:Vt})=>({...Et,targetSnapshot:Ht,urlAfterRedirects:Vt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Z.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,N.y)(Ce=>{Ze.targetSnapshot=Ce.targetSnapshot,Ze.urlAfterRedirects=Ce.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Ce.urlAfterRedirects};const Y=new wt(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),this.urlSerializer.serialize(Ce.urlAfterRedirects),Ce.targetSnapshot);this.events.next(Y)}));if(yn&&this.urlHandlingStrategy.shouldProcessUrl(Vt.currentRawUrl)){const{id:Ce,extractedUrl:Y,source:tt,restoredState:ht,extras:gt}=Vt,zt=new Ae(Ce,this.urlSerializer.serialize(Y),tt,ht);this.events.next(zt);const Nt=pn(this.rootComponentType).snapshot;return this.currentTransition=Ze={...Vt,targetSnapshot:Nt,urlAfterRedirects:Y,extras:{...gt,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Y,(0,E.of)(Ze)}{const Ce="";return this.events.next(new de(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),Ce,V.IgnoredByUrlHandlingStrategy)),Vt.resolve(null),r.k}}),(0,N.y)(Vt=>{const yn=new Yt(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects),Vt.targetSnapshot);this.events.next(yn)}),(0,y.k)(Vt=>(this.currentTransition=Ze={...Vt,guards:fr(Vt.targetSnapshot,Vt.currentSnapshot,this.rootContexts)},Ze)),function Tt(W,ie){return(0,I.O)(Z=>{const{targetSnapshot:re,currentSnapshot:Ee,guards:{canActivateChecks:Ze,canDeactivateChecks:Et}}=Z;return 0===Et.length&&0===Ze.length?(0,E.of)({...Z,guardsResult:!0}):function wn(W,ie,Z,re){return(0,C.Q)(W).pipe((0,I.O)(Ee=>function _o(W,ie,Z,re,Ee){const Ze=ie&&ie.routeConfig?ie.routeConfig.canDeactivate:null;if(!Ze||0===Ze.length)return(0,E.of)(!0);const Et=Ze.map(Ht=>{const Vt=Bn(ie)??Ee,yn=Br(Ht,Vt);return Re(function go(W){return W&&Rr(W.canDeactivate)}(yn)?yn.canDeactivate(W,ie,Z,re):(0,t.runInInjectionContext)(Vt,()=>yn(W,ie,Z,re))).pipe((0,O.K)())});return(0,E.of)(Et).pipe(Ye())}(Ee.component,Ee.route,Z,ie,re)),(0,O.K)(Ee=>!0!==Ee,!0))}(Et,re,Ee,W).pipe((0,I.O)(Ht=>Ht&&function os(W){return"boolean"==typeof W}(Ht)?function ei(W,ie,Z,re){return(0,C.Q)(ie).pipe((0,T.m)(Ee=>(0,f.W)(function Tr(W,ie){return null!==W&&ie&&ie(new tr(W)),(0,E.of)(!0)}(Ee.route.parent,re),function Dr(W,ie){return null!==W&&ie&&ie(new sr(W)),(0,E.of)(!0)}(Ee.route,re),function Uo(W,ie,Z){const re=ie[ie.length-1],Ze=ie.slice(0,ie.length-1).reverse().map(Et=>function Ts(W){const ie=W.routeConfig?W.routeConfig.canActivateChild:null;return ie&&0!==ie.length?{node:W,guards:ie}:null}(Et)).filter(Et=>null!==Et).map(Et=>(0,d.Q)(()=>{const Ht=Et.guards.map(Vt=>{const yn=Bn(Et.node)??Z,R=Br(Vt,yn);return Re(function po(W){return W&&Rr(W.canActivateChild)}(R)?R.canActivateChild(re,W):(0,t.runInInjectionContext)(yn,()=>R(re,W))).pipe((0,O.K)())});return(0,E.of)(Ht).pipe(Ye())}));return(0,E.of)(Ze).pipe(Ye())}(W,Ee.path,Z),function vs(W,ie,Z){const re=ie.routeConfig?ie.routeConfig.canActivate:null;if(!re||0===re.length)return(0,E.of)(!0);const Ee=re.map(Ze=>(0,d.Q)(()=>{const Et=Bn(ie)??Z,Ht=Br(Ze,Et);return Re(function mo(W){return W&&Rr(W.canActivate)}(Ht)?Ht.canActivate(ie,W):(0,t.runInInjectionContext)(Et,()=>Ht(ie,W))).pipe((0,O.K)())}));return(0,E.of)(Ee).pipe(Ye())}(W,Ee.route,Z))),(0,O.K)(Ee=>!0!==Ee,!0))}(re,Ze,W,ie):(0,E.of)(Ht)),(0,y.k)(Ht=>({...Z,guardsResult:Ht})))})}(this.environmentInjector,Vt=>this.events.next(Vt)),(0,N.y)(Vt=>{if(Ze.guardsResult=Vt.guardsResult,dt(Vt.guardsResult))throw Ar(0,Vt.guardsResult);const yn=new Kn(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects),Vt.targetSnapshot,!!Vt.guardsResult);this.events.next(yn)}),(0,D.I)(Vt=>!!Vt.guardsResult||(this.cancelNavigationTransition(Vt,"",mt.GuardRejected),!1)),Ns(Vt=>{if(Vt.guards.canActivateChecks.length)return(0,E.of)(Vt).pipe((0,N.y)(yn=>{const R=new Pn(yn.id,this.urlSerializer.serialize(yn.extractedUrl),this.urlSerializer.serialize(yn.urlAfterRedirects),yn.targetSnapshot);this.events.next(R)}),(0,M.G)(yn=>{let R=!1;return(0,E.of)(yn).pipe(function zr(W,ie){return(0,I.O)(Z=>{const{targetSnapshot:re,guards:{canActivateChecks:Ee}}=Z;if(!Ee.length)return(0,E.of)(Z);const Ze=new Set(Ee.map(Vt=>Vt.route)),Et=new Set;for(const Vt of Ze)if(!Et.has(Vt))for(const yn of qr(Vt))Et.add(yn);let Ht=0;return(0,C.Q)(Et).pipe((0,T.m)(Vt=>Ze.has(Vt)?function bo(W,ie,Z,re){const Ee=W.routeConfig,Ze=W._resolve;return void 0!==Ee?.title&&!ar(Ee)&&(Ze[G]=Ee.title),function Ps(W,ie,Z,re){const Ee=_t(W);if(0===Ee.length)return(0,E.of)({});const Ze={};return(0,C.Q)(Ee).pipe((0,I.O)(Et=>function yo(W,ie,Z,re){const Ee=Bn(ie)??re,Ze=Br(W,Ee);return Re(Ze.resolve?Ze.resolve(ie,Z):(0,t.runInInjectionContext)(Ee,()=>Ze(ie,Z)))}(W[Et],ie,Z,re).pipe((0,O.K)(),(0,N.y)(Ht=>{Ze[Et]=Ht}))),(0,U.s)(1),(0,K.e)(Ze),(0,S.a)(Et=>Se(Et)?r.k:(0,a.c)(Et)))}(Ze,W,ie,re).pipe((0,y.k)(Et=>(W._resolvedData=Et,W.data=Oi(W,W.parent,Z).resolve,null)))}(Vt,re,W,ie):(Vt.data=Oi(Vt,Vt.parent,W).resolve,(0,E.of)(void 0))),(0,N.y)(()=>Ht++),(0,U.s)(1),(0,I.O)(Vt=>Ht===Et.size?(0,E.of)(Z):r.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,N.y)({next:()=>R=!0,complete:()=>{R||this.cancelNavigationTransition(yn,"",mt.NoDataFromResolver)}}))}),(0,N.y)(yn=>{const R=new Tn(yn.id,this.urlSerializer.serialize(yn.extractedUrl),this.urlSerializer.serialize(yn.urlAfterRedirects),yn.targetSnapshot);this.events.next(R)}))}),Ns(Vt=>{const yn=R=>{const Ce=[];R.routeConfig?.loadComponent&&!R.routeConfig._loadedComponent&&Ce.push(this.configLoader.loadComponent(R.routeConfig).pipe((0,N.y)(Y=>{R.component=Y}),(0,y.k)(()=>{})));for(const Y of R.children)Ce.push(...yn(Y));return Ce};return(0,b.E)(yn(Vt.targetSnapshot.root)).pipe((0,L.G)(null),(0,w.U)(1))}),Ns(()=>this.afterPreactivation()),(0,M.G)(()=>{const{currentSnapshot:Vt,targetSnapshot:yn}=Ze,R=this.createViewTransition?.(this.environmentInjector,Vt.root,yn.root);return R?(0,C.Q)(R).pipe((0,y.k)(()=>Ze)):(0,E.of)(Ze)}),(0,y.k)(Vt=>{const yn=function Hi(W,ie,Z){const re=qi(W,ie._root,Z?Z._root:void 0);return new cn(re,ie)}(Z.routeReuseStrategy,Vt.targetSnapshot,Vt.currentRouterState);return this.currentTransition=Ze={...Vt,targetRouterState:yn},this.currentNavigation.targetRouterState=yn,Ze}),(0,N.y)(()=>{this.events.next(new Gi)}),((W,ie,Z,re)=>(0,y.k)(Ee=>(new ir(ie,Ee.targetRouterState,Ee.currentRouterState,Z,re).activate(W),Ee)))(this.rootContexts,Z.routeReuseStrategy,Vt=>this.events.next(Vt),this.inputBindingEnabled),(0,w.U)(1),(0,N.y)({next:Vt=>{Et=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new _e(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Vt.targetRouterState.snapshot),Vt.resolve(!0)},complete:()=>{Et=!0}}),(0,B.a)(this.transitionAbortSubject.pipe((0,N.y)(Vt=>{throw Vt}))),(0,ee.U)(()=>{!Et&&!Ht&&this.cancelNavigationTransition(Ze,"",mt.SupersededByNewNavigation),this.currentNavigation?.id===Ze.id&&(this.currentNavigation=null)}),(0,S.a)(Vt=>{if(Ht=!0,Mt(Vt))this.events.next(new he(Ze.id,this.urlSerializer.serialize(Ze.extractedUrl),Vt.message,Vt.cancellationCode)),function kr(W){return Mt(W)&&dt(W.url)}(Vt)?this.events.next(new or(Vt.url)):Ze.resolve(!1);else{this.events.next(new We(Ze.id,this.urlSerializer.serialize(Ze.extractedUrl),Vt,Ze.targetSnapshot??void 0));try{Ze.resolve(Z.errorHandler(Vt))}catch(yn){this.options.resolveNavigationPromiseOnError?Ze.resolve(!1):Ze.reject(yn)}}return r.k}))}))}cancelNavigationTransition(Z,re,Ee){const Ze=new he(Z.id,this.urlSerializer.serialize(Z.extractedUrl),re,Ee);this.events.next(Ze),Z.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function Wr(W){return W!==at}let ro=(()=>{class W{static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:()=>(0,t.inject)(Ue),providedIn:"root"})}return W})();class Q{shouldDetach(ie){return!1}store(ie,Z){}shouldAttach(ie){return!1}retrieve(ie){return null}shouldReuseRoute(ie,Z){return ie.routeConfig===Z.routeConfig}}let Ue=(()=>{class W extends Q{static#e=this.\u0275fac=(()=>{let Z;return function(Ee){return(Z||(Z=t.\u0275\u0275getInheritedFactory(W)))(Ee||W)}})();static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),oe=(()=>{class W{static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:()=>(0,t.inject)(be),providedIn:"root"})}return W})(),be=(()=>{class W extends oe{constructor(){super(...arguments),this.location=(0,t.inject)(_.Location),this.urlSerializer=(0,t.inject)(Pt),this.options=(0,t.inject)(Hn,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,t.inject)(wr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Xe,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=pn(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(Z){return this.location.subscribe(re=>{"popstate"===re.type&&Z(re.url,re.state)})}handleRouterEvent(Z,re){if(Z instanceof Ae)this.stateMemento=this.createStateMemento();else if(Z instanceof de)this.rawUrlTree=re.initialUrl;else if(Z instanceof wt){if("eager"===this.urlUpdateStrategy&&!re.extras.skipLocationChange){const Ee=this.urlHandlingStrategy.merge(re.finalUrl,re.initialUrl);this.setBrowserUrl(Ee,re)}}else Z instanceof Gi?(this.currentUrlTree=re.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(re.finalUrl,re.initialUrl),this.routerState=re.targetRouterState,"deferred"===this.urlUpdateStrategy&&(re.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,re))):Z instanceof he&&(Z.code===mt.GuardRejected||Z.code===mt.NoDataFromResolver)?this.restoreHistory(re):Z instanceof We?this.restoreHistory(re,!0):Z instanceof _e&&(this.lastSuccessfulId=Z.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Z,re){const Ee=this.urlSerializer.serialize(Z);if(this.location.isCurrentPathEqualTo(Ee)||re.extras.replaceUrl){const Et={...re.extras.state,...this.generateNgRouterState(re.id,this.browserPageId)};this.location.replaceState(Ee,"",Et)}else{const Ze={...re.extras.state,...this.generateNgRouterState(re.id,this.browserPageId+1)};this.location.go(Ee,"",Ze)}}restoreHistory(Z,re=!1){if("computed"===this.canceledNavigationResolution){const Ze=this.currentPageId-this.browserPageId;0!==Ze?this.location.historyGo(Ze):this.currentUrlTree===Z.finalUrl&&0===Ze&&(this.resetState(Z),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(re&&this.resetState(Z),this.resetUrlToCurrentUrlTree())}resetState(Z){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Z.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Z,re){return"computed"===this.canceledNavigationResolution?{navigationId:Z,\u0275routerPageId:re}:{navigationId:Z}}static#e=this.\u0275fac=(()=>{let Z;return function(Ee){return(Z||(Z=t.\u0275\u0275getInheritedFactory(W)))(Ee||W)}})();static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();var ut=function(W){return W[W.COMPLETE=0]="COMPLETE",W[W.FAILED=1]="FAILED",W[W.REDIRECTING=2]="REDIRECTING",W}(ut||{});function $t(W,ie){W.events.pipe((0,D.I)(Z=>Z instanceof _e||Z instanceof he||Z instanceof We||Z instanceof de),(0,y.k)(Z=>Z instanceof _e||Z instanceof de?ut.COMPLETE:Z instanceof he&&(Z.code===mt.Redirect||Z.code===mt.SupersededByNewNavigation)?ut.REDIRECTING:ut.FAILED),(0,D.I)(Z=>Z!==ut.REDIRECTING),(0,w.U)(1)).subscribe(()=>{ie()})}function Qt(W){throw W}const bn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ri={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Jn=(()=>{class W{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,t.inject)(t.\u0275Console),this.stateManager=(0,t.inject)(oe),this.options=(0,t.inject)(Hn,{optional:!0})||{},this.pendingTasks=(0,t.inject)(t.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,t.inject)(Zi),this.urlSerializer=(0,t.inject)(Pt),this.location=(0,t.inject)(_.Location),this.urlHandlingStrategy=(0,t.inject)(wr),this._events=new h.E,this.errorHandler=this.options.errorHandler||Qt,this.navigated=!1,this.routeReuseStrategy=(0,t.inject)(ro),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,t.inject)(Lr,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,t.inject)(hr,{optional:!0}),this.eventsSubscription=new p.wH,this.isNgZoneEnabled=(0,t.inject)(t.NgZone)instanceof t.NgZone&&t.NgZone.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:Z=>{this.console.warn(Z)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Z=this.navigationTransitions.events.subscribe(re=>{try{const Ee=this.navigationTransitions.currentTransition,Ze=this.navigationTransitions.currentNavigation;if(null!==Ee&&null!==Ze)if(this.stateManager.handleRouterEvent(re,Ze),re instanceof he&&re.code!==mt.Redirect&&re.code!==mt.SupersededByNewNavigation)this.navigated=!0;else if(re instanceof _e)this.navigated=!0;else if(re instanceof or){const Et=this.urlHandlingStrategy.merge(re.url,Ee.currentRawUrl),Ht={info:Ee.extras.info,skipLocationChange:Ee.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Wr(Ee.source)};this.scheduleNavigation(Et,at,null,Ht,{resolve:Ee.resolve,reject:Ee.reject,promise:Ee.promise})}(function qn(W){return!(W instanceof Gi||W instanceof or)})(re)&&this._events.next(re)}catch(Ee){this.navigationTransitions.transitionAbortSubject.next(Ee)}});this.eventsSubscription.add(Z)}resetRootComponentType(Z){this.routerState.root.component=Z,this.navigationTransitions.rootComponentType=Z}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),at,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((Z,re)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(Z,"popstate",re)},0)})}navigateToSyncWithBrowser(Z,re,Ee){const Ze={replaceUrl:!0},Et=Ee?.navigationId?Ee:null;if(Ee){const Vt={...Ee};delete Vt.navigationId,delete Vt.\u0275routerPageId,0!==Object.keys(Vt).length&&(Ze.state=Vt)}const Ht=this.parseUrl(Z);this.scheduleNavigation(Ht,re,Et,Ze)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Z){this.config=Z.map(gi),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Z,re={}){const{relativeTo:Ee,queryParams:Ze,fragment:Et,queryParamsHandling:Ht,preserveFragment:Vt}=re,yn=Vt?this.currentUrlTree.fragment:Et;let Ce,R=null;switch(Ht){case"merge":R={...this.currentUrlTree.queryParams,...Ze};break;case"preserve":R=this.currentUrlTree.queryParams;break;default:R=Ze||null}null!==R&&(R=this.removeEmptyProps(R));try{Ce=qe(Ee?Ee.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Z[0]||!Z[0].startsWith("/"))&&(Z=[]),Ce=this.currentUrlTree.root}return Fe(Ce,Z,R,yn??null)}navigateByUrl(Z,re={skipLocationChange:!1}){const Ee=dt(Z)?Z:this.parseUrl(Z),Ze=this.urlHandlingStrategy.merge(Ee,this.rawUrlTree);return this.scheduleNavigation(Ze,at,null,re)}navigate(Z,re={skipLocationChange:!1}){return function Li(W){for(let ie=0;ie(null!=Ze&&(re[Ee]=Ze),re),{})}scheduleNavigation(Z,re,Ee,Ze,Et){if(this.disposed)return Promise.resolve(!1);let Ht,Vt,yn;Et?(Ht=Et.resolve,Vt=Et.reject,yn=Et.promise):yn=new Promise((Ce,Y)=>{Ht=Ce,Vt=Y});const R=this.pendingTasks.add();return $t(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(R))}),this.navigationTransitions.handleNavigationRequest({source:re,restoredState:Ee,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Z,extras:Ze,resolve:Ht,reject:Vt,promise:yn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),yn.catch(Ce=>Promise.reject(Ce))}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),Ci=(()=>{class W{constructor(Z,re,Ee,Ze,Et,Ht){this.router=Z,this.route=re,this.tabIndexAttribute=Ee,this.renderer=Ze,this.el=Et,this.locationStrategy=Ht,this.href=null,this.commands=null,this.onChanges=new h.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Vt=Et.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Vt||"area"===Vt,this.isAnchorElement?this.subscription=Z.events.subscribe(yn=>{yn instanceof _e&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Z){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Z)}ngOnChanges(Z){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Z){null!=Z?(this.commands=Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Z,re,Ee,Ze,Et){const Ht=this.urlTree;return!!(null===Ht||this.isAnchorElement&&(0!==Z||re||Ee||Ze||Et||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Ht,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Z=this.urlTree;this.href=null!==Z&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Z)):null;const re=null===this.href?null:(0,t.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",re)}applyAttributeValue(Z,re){const Ee=this.renderer,Ze=this.el.nativeElement;null!==re?Ee.setAttribute(Ze,Z,re):Ee.removeAttribute(Ze,Z)}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})}static#e=this.\u0275fac=function(re){return new(re||W)(t.\u0275\u0275directiveInject(Jn),t.\u0275\u0275directiveInject(Fn),t.\u0275\u0275injectAttribute("tabindex"),t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(_.LocationStrategy))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:W,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(re,Ee){1&re&&t.\u0275\u0275listener("click",function(Et){return Ee.onClick(Et.button,Et.ctrlKey,Et.shiftKey,Et.altKey,Et.metaKey)}),2&re&&t.\u0275\u0275attribute("target",Ee.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"preserveFragment","preserveFragment",t.booleanAttribute],skipLocationChange:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",t.booleanAttribute],replaceUrl:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"replaceUrl","replaceUrl",t.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature]})}return W})(),wi=(()=>{class W{get isActive(){return this._isActive}constructor(Z,re,Ee,Ze,Et){this.router=Z,this.element=re,this.renderer=Ee,this.cdr=Ze,this.link=Et,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new t.EventEmitter,this.routerEventsSubscription=Z.events.subscribe(Ht=>{Ht instanceof _e&&this.update()})}ngAfterContentInit(){(0,E.of)(this.links.changes,(0,E.of)(null)).pipe((0,H.u)()).subscribe(Z=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Z=[...this.links.toArray(),this.link].filter(re=>!!re).map(re=>re.onChanges);this.linkInputChangesSubscription=(0,C.Q)(Z).pipe((0,H.u)()).subscribe(re=>{this._isActive!==this.isLinkActive(this.router)(re)&&this.update()})}set routerLinkActive(Z){const re=Array.isArray(Z)?Z:Z.split(" ");this.classes=re.filter(Ee=>!!Ee)}ngOnChanges(Z){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const Z=this.hasActiveLinks();this._isActive!==Z&&(this._isActive=Z,this.cdr.markForCheck(),this.classes.forEach(re=>{Z?this.renderer.addClass(this.element.nativeElement,re):this.renderer.removeClass(this.element.nativeElement,re)}),Z&&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(Z))})}isLinkActive(Z){const re=function er(W){return!!W.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Ee=>{const Ze=Ee.urlTree;return!!Ze&&Z.isActive(Ze,re)}}hasActiveLinks(){const Z=this.isLinkActive(this.router);return this.link&&Z(this.link)||this.links.some(Z)}static#e=this.\u0275fac=function(re){return new(re||W)(t.\u0275\u0275directiveInject(Jn),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(Ci,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:W,selectors:[["","routerLinkActive",""]],contentQueries:function(re,Ee,Ze){if(1&re&&t.\u0275\u0275contentQuery(Ze,Ci,5),2&re){let Et;t.\u0275\u0275queryRefresh(Et=t.\u0275\u0275loadQuery())&&(Ee.links=Et)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return W})();class Pr{}let Nr=(()=>{class W{preload(Z,re){return re().pipe((0,S.a)(()=>(0,E.of)(null)))}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),es=(()=>{class W{preload(Z,re){return(0,E.of)(null)}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),Gr=(()=>{class W{constructor(Z,re,Ee,Ze,Et){this.router=Z,this.injector=Ee,this.preloadingStrategy=Ze,this.loader=Et}setUpPreloading(){this.subscription=this.router.events.pipe((0,D.I)(Z=>Z instanceof _e),(0,T.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Z,re){const Ee=[];for(const Ze of re){Ze.providers&&!Ze._injector&&(Ze._injector=(0,t.createEnvironmentInjector)(Ze.providers,Z,`Route: ${Ze.path}`));const Et=Ze._injector??Z,Ht=Ze._loadedInjector??Et;(Ze.loadChildren&&!Ze._loadedRoutes&&void 0===Ze.canLoad||Ze.loadComponent&&!Ze._loadedComponent)&&Ee.push(this.preloadConfig(Et,Ze)),(Ze.children||Ze._loadedRoutes)&&Ee.push(this.processRoutes(Ht,Ze.children??Ze._loadedRoutes))}return(0,C.Q)(Ee).pipe((0,H.u)())}preloadConfig(Z,re){return this.preloadingStrategy.preload(re,()=>{let Ee;Ee=re.loadChildren&&void 0===re.canLoad?this.loader.loadChildren(Z,re):(0,E.of)(null);const Ze=Ee.pipe((0,I.O)(Et=>null===Et?(0,E.of)(void 0):(re._loadedRoutes=Et.routes,re._loadedInjector=Et.injector,this.processRoutes(Et.injector??Z,Et.routes))));if(re.loadComponent&&!re._loadedComponent){const Et=this.loader.loadComponent(re);return(0,C.Q)([Ze,Et]).pipe((0,H.u)())}return Ze})}static#e=this.\u0275fac=function(re){return new(re||W)(t.\u0275\u0275inject(Jn),t.\u0275\u0275inject(t.Compiler),t.\u0275\u0275inject(t.EnvironmentInjector),t.\u0275\u0275inject(Pr),t.\u0275\u0275inject(Us))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const zi=new t.InjectionToken("");let mr=(()=>{class W{constructor(Z,re,Ee,Ze,Et={}){this.urlSerializer=Z,this.transitions=re,this.viewportScroller=Ee,this.zone=Ze,this.options=Et,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Et.scrollPositionRestoration||="disabled",Et.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(Z=>{Z instanceof Ae?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Z.navigationTrigger,this.restoredId=Z.restoredState?Z.restoredState.navigationId:0):Z instanceof _e?(this.lastId=Z.id,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.urlAfterRedirects).fragment)):Z instanceof de&&Z.code===V.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof Ai&&(Z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Z.position):Z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Z,re){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ai(Z,"popstate"===this.lastSource?this.store[this.restoredId]:null,re))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(re){t.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac})}return W})();function _i(W,...ie){return(0,t.makeEnvironmentProviders)([{provide:Lr,multi:!0,useValue:W},[],{provide:Fn,useFactory:ws,deps:[Jn]},{provide:t.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:so},ie.map(Z=>Z.\u0275providers)])}function ws(W){return W.routerState.root}function Kr(W,ie){return{\u0275kind:W,\u0275providers:ie}}function ua(W){return[{provide:Lr,multi:!0,useValue:W},[]]}function da(W={}){return Kr(4,[{provide:zi,useFactory:()=>{const Z=(0,t.inject)(_.ViewportScroller),re=(0,t.inject)(t.NgZone),Ee=(0,t.inject)(Zi),Ze=(0,t.inject)(Pt);return new mr(Ze,Ee,Z,re,W)}}])}function so(){const W=(0,t.inject)(t.Injector);return ie=>{const Z=W.get(t.ApplicationRef);if(ie!==Z.components[0])return;const re=W.get(Jn),Ee=W.get(pr);1===W.get(Vo)&&re.initialNavigation(),W.get(fa,null,t.InjectFlags.Optional)?.setUpPreloading(),W.get(zi,null,t.InjectFlags.Optional)?.init(),re.resetRootComponentType(Z.componentTypes[0]),Ee.closed||(Ee.next(),Ee.complete(),Ee.unsubscribe())}}const pr=new t.InjectionToken("",{factory:()=>new h.E}),Vo=new t.InjectionToken("",{providedIn:"root",factory:()=>1});function Es(){return Kr(2,[{provide:Vo,useValue:0},{provide:t.APP_INITIALIZER,multi:!0,deps:[t.Injector],useFactory:ie=>{const Z=ie.get(_.LOCATION_INITIALIZED,Promise.resolve());return()=>Z.then(()=>new Promise(re=>{const Ee=ie.get(Jn),Ze=ie.get(pr);$t(Ee,()=>{re(!0)}),ie.get(Zi).afterPreactivation=()=>(re(!0),Ze.closed?(0,E.of)(void 0):Ze),Ee.initialNavigation()}))}}])}function xs(){return Kr(3,[{provide:t.APP_INITIALIZER,multi:!0,useFactory:()=>{const ie=(0,t.inject)(Jn);return()=>{ie.setUpLocationChangeListener()}}},{provide:Vo,useValue:2}])}function ha(){let W=[];return W=[],Kr(1,W)}const fa=new t.InjectionToken("");function ur(W){return Kr(0,[{provide:fa,useExisting:Gr},{provide:Pr,useExisting:W}])}function hs(W){return Kr(5,[{provide:Hn,useValue:W}])}function xo(){return Kr(6,[{provide:_.LocationStrategy,useClass:_.HashLocationStrategy}])}function Mo(W){return Kr(7,[{provide:t.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const Z=(0,t.inject)(t.EnvironmentInjector);(0,t.inject)(Jn).events.subscribe(re=>{re instanceof We&&(0,t.runInInjectionContext)(Z,()=>W(re))})}}])}function Vs(){return Kr(8,[di,{provide:hr,useExisting:di}])}function Io(W){return Kr(9,[{provide:$s,useValue:Yi},{provide:wo,useValue:{skipNextTransition:!!W?.skipInitialTransition,...W}}])}const oo=new t.InjectionToken("ROUTER_FORROOT_GUARD"),hl=[_.Location,{provide:Pt,useClass:Gt},Jn,Yn,{provide:Fn,useFactory:ws,deps:[Jn]},Us,[]];let Fr=(()=>{class W{constructor(Z){}static forRoot(Z,re){return{ngModule:W,providers:[hl,[],{provide:Lr,multi:!0,useValue:Z},{provide:oo,useFactory:ma,deps:[[Jn,new t.Optional,new t.SkipSelf]]},{provide:Hn,useValue:re||{}},re?.useHash?{provide:_.LocationStrategy,useClass:_.HashLocationStrategy}:{provide:_.LocationStrategy,useClass:_.PathLocationStrategy},{provide:zi,useFactory:()=>{const W=(0,t.inject)(_.ViewportScroller),ie=(0,t.inject)(t.NgZone),Z=(0,t.inject)(Hn),re=(0,t.inject)(Zi),Ee=(0,t.inject)(Pt);return Z.scrollOffset&&W.setOffset(Z.scrollOffset),new mr(Ee,re,W,ie,Z)}},re?.preloadingStrategy?ur(re.preloadingStrategy).\u0275providers:[],re?.initialNavigation?fl(re):[],re?.bindToComponentInputs?Vs().\u0275providers:[],re?.enableViewTransitions?Io().\u0275providers:[],[{provide:Hs,useFactory:so},{provide:t.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Hs}]]}}static forChild(Z){return{ngModule:W,providers:[{provide:Lr,multi:!0,useValue:Z}]}}static#e=this.\u0275fac=function(re){return new(re||W)(t.\u0275\u0275inject(oo,8))};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:W});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return W})();function ma(W){return"guarded"}function fl(W){return["disabled"===W.initialNavigation?xs().\u0275providers:[],"enabledBlocking"===W.initialNavigation?Es().\u0275providers:[]]}const Hs=new t.InjectionToken("");function ml(W){return W.map(ie=>(...Z)=>(0,t.inject)(ie).canMatch(...Z))}function pa(W){return W.map(ie=>(...Z)=>(0,t.inject)(ie).canActivate(...Z))}function ga(W){return W.map(ie=>(...Z)=>(0,t.inject)(ie).canActivateChild(...Z))}function Do(W){return W.map(ie=>(...Z)=>(0,t.inject)(ie).canDeactivate(...Z))}function To(W){return(...ie)=>(0,t.inject)(W).resolve(...ie)}const zo=new t.Version("17.2.1")},2064:(De,te,g)=>{"use strict";g.r(te),g.d(te,{DEFAULT_LANGUAGE:()=>F,FakeMissingTranslationHandler:()=>p,MissingTranslationHandler:()=>h,TranslateCompiler:()=>I,TranslateDefaultParser:()=>D,TranslateDirective:()=>U,TranslateFakeCompiler:()=>O,TranslateFakeLoader:()=>u,TranslateLoader:()=>r,TranslateModule:()=>ee,TranslateParser:()=>k,TranslatePipe:()=>K,TranslateService:()=>A,TranslateStore:()=>T,USE_DEFAULT_LANG:()=>S,USE_EXTEND:()=>L,USE_STORE:()=>N});var t=g(4496),v=g(2700),C=g(1116),E=g(9336),c=g(8344),b=g(1424),s=g(3992),f=g(8716),d=g(4704),l=g(6020),a=g(7368);class r{}let u=(()=>{class ne extends r{getTranslation(H){return(0,v.of)({})}static \u0275fac=(()=>{let H;return function(X){return(H||(H=t.\u0275\u0275getInheritedFactory(ne)))(X||ne)}})();static \u0275prov=t.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}return ne})();class h{}let p=(()=>{class ne{handle(H){return H.key}static \u0275fac=function(z){return new(z||ne)};static \u0275prov=t.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}return ne})();function _(ne,B){if(ne===B)return!0;if(null===ne||null===B)return!1;if(ne!=ne&&B!=B)return!0;let X,G,j,H=typeof ne;if(H==typeof B&&"object"==H){if(!Array.isArray(ne)){if(Array.isArray(B))return!1;for(G in j=Object.create(null),ne){if(!_(ne[G],B[G]))return!1;j[G]=!0}for(G in B)if(!(G in j)&&typeof B[G]<"u")return!1;return!0}if(!Array.isArray(B))return!1;if((X=ne.length)==B.length){for(G=0;G{M(B[z])?z in ne?H[z]=w(ne[z],B[z]):Object.assign(H,{[z]:B[z]}):Object.assign(H,{[z]:B[z]})}),H}class k{}let D=(()=>{class ne extends k{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(H,z){let X;return X="string"==typeof H?this.interpolateString(H,z):"function"==typeof H?this.interpolateFunction(H,z):H,X}getValue(H,z){let X="string"==typeof z?z.split("."):[z];z="";do{z+=X.shift(),!y(H)||!y(H[z])||"object"!=typeof H[z]&&X.length?X.length?z+=".":H=void 0:(H=H[z],z="")}while(X.length);return H}interpolateFunction(H,z){return H(z)}interpolateString(H,z){return z?H.replace(this.templateMatcher,(X,G)=>{let j=this.getValue(z,G);return y(j)?j:X}):H}static \u0275fac=(()=>{let H;return function(X){return(H||(H=t.\u0275\u0275getInheritedFactory(ne)))(X||ne)}})();static \u0275prov=t.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}return ne})();class I{}let O=(()=>{class ne extends I{compile(H,z){return H}compileTranslations(H,z){return H}static \u0275fac=(()=>{let H;return function(X){return(H||(H=t.\u0275\u0275getInheritedFactory(ne)))(X||ne)}})();static \u0275prov=t.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}return ne})();class T{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new t.EventEmitter;onLangChange=new t.EventEmitter;onDefaultLangChange=new t.EventEmitter}const N=new t.InjectionToken("USE_STORE"),S=new t.InjectionToken("USE_DEFAULT_LANG"),F=new t.InjectionToken("DEFAULT_LANGUAGE"),L=new t.InjectionToken("USE_EXTEND");let A=(()=>{class ne{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new t.EventEmitter;_onLangChange=new t.EventEmitter;_onDefaultLangChange=new t.EventEmitter;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(H){this.isolate?this._defaultLang=H:this.store.defaultLang=H}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(H){this.isolate?this._currentLang=H:this.store.currentLang=H}get langs(){return this.isolate?this._langs:this.store.langs}set langs(H){this.isolate?this._langs=H:this.store.langs=H}get translations(){return this.isolate?this._translations:this.store.translations}set translations(H){this.isolate?this._translations=H:this.store.translations=H}constructor(H,z,X,G,j,le=!0,ue=!1,ve=!1,Je){this.store=H,this.currentLoader=z,this.compiler=X,this.parser=G,this.missingTranslationHandler=j,this.useDefaultLang=le,this.isolate=ue,this.extend=ve,Je&&this.setDefaultLang(Je)}setDefaultLang(H){if(H===this.defaultLang)return;let z=this.retrieveTranslations(H);typeof z<"u"?(null==this.defaultLang&&(this.defaultLang=H),z.pipe((0,s.U)(1)).subscribe(X=>{this.changeDefaultLang(H)})):this.changeDefaultLang(H)}getDefaultLang(){return this.defaultLang}use(H){if(H===this.currentLang)return(0,v.of)(this.translations[H]);let z=this.retrieveTranslations(H);return typeof z<"u"?(this.currentLang||(this.currentLang=H),z.pipe((0,s.U)(1)).subscribe(X=>{this.changeLang(H)}),z):(this.changeLang(H),(0,v.of)(this.translations[H]))}retrieveTranslations(H){let z;return(typeof this.translations[H]>"u"||this.extend)&&(this._translationRequests[H]=this._translationRequests[H]||this.getTranslation(H),z=this._translationRequests[H]),z}getTranslation(H){this.pending=!0;const z=this.currentLoader.getTranslation(H).pipe((0,f.C)(1),(0,s.U)(1));return this.loadingTranslations=z.pipe((0,d.k)(X=>this.compiler.compileTranslations(X,H)),(0,f.C)(1),(0,s.U)(1)),this.loadingTranslations.subscribe({next:X=>{this.translations[H]=this.extend&&this.translations[H]?{...X,...this.translations[H]}:X,this.updateLangs(),this.pending=!1},error:X=>{this.pending=!1}}),z}setTranslation(H,z,X=!1){z=this.compiler.compileTranslations(z,H),this.translations[H]=(X||this.extend)&&this.translations[H]?w(this.translations[H],z):z,this.updateLangs(),this.onTranslationChange.emit({lang:H,translations:this.translations[H]})}getLangs(){return this.langs}addLangs(H){H.forEach(z=>{-1===this.langs.indexOf(z)&&this.langs.push(z)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(H,z,X){let G;if(z instanceof Array){let j={},le=!1;for(let ue of z)j[ue]=this.getParsedResult(H,ue,X),(0,C.X)(j[ue])&&(le=!0);if(le){const ue=z.map(ve=>(0,C.X)(j[ve])?j[ve]:(0,v.of)(j[ve]));return(0,E.y)(ue).pipe((0,d.k)(ve=>{let Je={};return ve.forEach((_t,ct)=>{Je[z[ct]]=_t}),Je}))}return j}if(H&&(G=this.parser.interpolate(this.parser.getValue(H,z),X)),typeof G>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(G=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],z),X)),typeof G>"u"){let j={key:z,translateService:this};typeof X<"u"&&(j.interpolateParams=X),G=this.missingTranslationHandler.handle(j)}return typeof G<"u"?G:z}get(H,z){if(!y(H)||!H.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,l.m)(X=>(X=this.getParsedResult(X,H,z),(0,C.X)(X)?X:(0,v.of)(X))));{let X=this.getParsedResult(this.translations[this.currentLang],H,z);return(0,C.X)(X)?X:(0,v.of)(X)}}getStreamOnTranslationChange(H,z){if(!y(H)||!H.length)throw new Error('Parameter "key" required');return(0,c.W)((0,b.Q)(()=>this.get(H,z)),this.onTranslationChange.pipe((0,a.G)(X=>{const G=this.getParsedResult(X.translations,H,z);return"function"==typeof G.subscribe?G:(0,v.of)(G)})))}stream(H,z){if(!y(H)||!H.length)throw new Error('Parameter "key" required');return(0,c.W)((0,b.Q)(()=>this.get(H,z)),this.onLangChange.pipe((0,a.G)(X=>{const G=this.getParsedResult(X.translations,H,z);return(0,C.X)(G)?G:(0,v.of)(G)})))}instant(H,z){if(!y(H)||!H.length)throw new Error('Parameter "key" required');let X=this.getParsedResult(this.translations[this.currentLang],H,z);if((0,C.X)(X)){if(H instanceof Array){let G={};return H.forEach((j,le)=>{G[H[le]]=H[le]}),G}return H}return X}set(H,z,X=this.currentLang){this.translations[X][H]=this.compiler.compile(z,X),this.updateLangs(),this.onTranslationChange.emit({lang:X,translations:this.translations[X]})}changeLang(H){this.currentLang=H,this.onLangChange.emit({lang:H,translations:this.translations[H]}),null==this.defaultLang&&this.changeDefaultLang(H)}changeDefaultLang(H){this.defaultLang=H,this.onDefaultLangChange.emit({lang:H,translations:this.translations[H]})}reloadLang(H){return this.resetLang(H),this.getTranslation(H)}resetLang(H){this._translationRequests[H]=void 0,this.translations[H]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let H=window.navigator.languages?window.navigator.languages[0]:null;return H=H||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof H>"u"?void 0:(-1!==H.indexOf("-")&&(H=H.split("-")[0]),-1!==H.indexOf("_")&&(H=H.split("_")[0]),H)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let H=window.navigator.languages?window.navigator.languages[0]:null;return H=H||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,H}static \u0275fac=function(z){return new(z||ne)(t.\u0275\u0275inject(T),t.\u0275\u0275inject(r),t.\u0275\u0275inject(I),t.\u0275\u0275inject(k),t.\u0275\u0275inject(h),t.\u0275\u0275inject(S),t.\u0275\u0275inject(N),t.\u0275\u0275inject(L),t.\u0275\u0275inject(F))};static \u0275prov=t.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}return ne})(),U=(()=>{class ne{translateService;element;_ref;key;lastParams;currentParams;onLangChangeSub;onDefaultLangChangeSub;onTranslationChangeSub;set translate(H){H&&(this.key=H,this.checkNodes())}set translateParams(H){_(this.currentParams,H)||(this.currentParams=H,this.checkNodes(!0))}constructor(H,z,X){this.translateService=H,this.element=z,this._ref=X,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(G=>{G.lang===this.translateService.currentLang&&this.checkNodes(!0,G.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(G=>{this.checkNodes(!0,G.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(G=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(H=!1,z){let X=this.element.nativeElement.childNodes;X.length||(this.setContent(this.element.nativeElement,this.key),X=this.element.nativeElement.childNodes);for(let G=0;G{j!==H&&(z.lastKey=H),z.originalContent||(z.originalContent=this.getContent(z)),z.currentValue=y(j)?j:z.originalContent||H,this.setContent(z,this.key?z.currentValue:z.originalContent.replace(H,z.currentValue)),this._ref.markForCheck()};if(y(X)){let j=this.translateService.getParsedResult(X,H,this.currentParams);(0,C.X)(j)?j.subscribe({next:G}):G(j)}else this.translateService.get(H,this.currentParams).subscribe(G)}}getContent(H){return y(H.textContent)?H.textContent:H.data}setContent(H,z){y(H.textContent)?H.textContent=z:H.data=z}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}static \u0275fac=function(z){return new(z||ne)(t.\u0275\u0275directiveInject(A),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static \u0275dir=t.\u0275\u0275defineDirective({type:ne,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}})}return ne})(),K=(()=>{class ne{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(H,z){this.translate=H,this._ref=z}updateValue(H,z,X){let G=j=>{this.value=void 0!==j?j:H,this.lastKey=H,this._ref.markForCheck()};if(X){let j=this.translate.getParsedResult(X,H,z);(0,C.X)(j.subscribe)?j.subscribe(G):G(j)}this.translate.get(H,z).subscribe(G)}transform(H,...z){if(!H||!H.length)return H;if(_(H,this.lastKey)&&_(z,this.lastParams))return this.value;let X;if(y(z[0])&&z.length)if("string"==typeof z[0]&&z[0].length){let G=z[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{X=JSON.parse(G)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${z[0]}`)}}else"object"==typeof z[0]&&!Array.isArray(z[0])&&(X=z[0]);return this.lastKey=H,this.lastParams=z,this.updateValue(H,X),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(G=>{this.lastKey&&G.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(H,X,G.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(G=>{this.lastKey&&(this.lastKey=null,this.updateValue(H,X,G.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(H,X))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(z){return new(z||ne)(t.\u0275\u0275directiveInject(A,16),t.\u0275\u0275directiveInject(t.ChangeDetectorRef,16))};static \u0275pipe=t.\u0275\u0275definePipe({name:"translate",type:ne,pure:!1});static \u0275prov=t.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}return ne})(),ee=(()=>{class ne{static forRoot(H={}){return{ngModule:ne,providers:[H.loader||{provide:r,useClass:u},H.compiler||{provide:I,useClass:O},H.parser||{provide:k,useClass:D},H.missingTranslationHandler||{provide:h,useClass:p},T,{provide:N,useValue:H.isolate},{provide:S,useValue:H.useDefaultLang},{provide:L,useValue:H.extend},{provide:F,useValue:H.defaultLanguage},A]}}static forChild(H={}){return{ngModule:ne,providers:[H.loader||{provide:r,useClass:u},H.compiler||{provide:I,useClass:O},H.parser||{provide:k,useClass:D},H.missingTranslationHandler||{provide:h,useClass:p},{provide:N,useValue:H.isolate},{provide:S,useValue:H.useDefaultLang},{provide:L,useValue:H.extend},{provide:F,useValue:H.defaultLanguage},A]}}static \u0275fac=function(z){return new(z||ne)};static \u0275mod=t.\u0275\u0275defineNgModule({type:ne});static \u0275inj=t.\u0275\u0275defineInjector({})}return ne})()},2628:(De,te,g)=>{"use strict";g.r(te),g.d(te,{TranslateHttpLoader:()=>t});class t{http;prefix;suffix;constructor(C,E="/assets/i18n/",c=".json"){this.http=C,this.prefix=E,this.suffix=c}getTranslation(C){return this.http.get(`${this.prefix}${C}${this.suffix}`)}}},869:(De,te,g)=>{"use strict";g.r(te),g.d(te,{AUTH_CONFIG:()=>an,AbstractValidationHandler:()=>ve,AuthConfig:()=>j,DateTimeProvider:()=>S,DefaultHashHandler:()=>Ve,DefaultOAuthInterceptor:()=>Pt,HashHandler:()=>Oe,JwksValidationHandler:()=>Jt,LoginOptions:()=>L,MemoryStorage:()=>K,NullValidationHandler:()=>O,OAuthErrorEvent:()=>z,OAuthEvent:()=>ne,OAuthInfoEvent:()=>H,OAuthLogger:()=>A,OAuthModule:()=>tn,OAuthModuleConfig:()=>T,OAuthNoopResourceServerErrorHandler:()=>pt,OAuthResourceServerConfig:()=>N,OAuthResourceServerErrorHandler:()=>ze,OAuthService:()=>ot,OAuthStorage:()=>U,OAuthSuccessEvent:()=>B,ReceivedTokens:()=>ee,SystemDateTimeProvider:()=>F,UrlHelperService:()=>Je,ValidationHandler:()=>ue,provideOAuthClient:()=>on});var t=g(1528),v=g(4496),C=g(1368),E=g(7048),c=g(5657),b=g(2700),s=g(9900),f=g(7536),d=g(3800),l=g(6040),a=g(3412),r=g(6684),u=g(9212),h=g(4680),p=g(1224),_=g(7368),y=g(4704),M=g(5084),w=g(9144),k=g(2820),D=g(3992),I=g(8152);class O{validateSignature(Ut){return Promise.resolve(null)}validateAtHash(Ut){return Promise.resolve(!0)}}class T{}class N{}class S{}let F=(()=>{class Ot extends S{now(){return Date.now()}new(){return new Date}static#e=this.\u0275fac=(()=>{let xe;return function(lt){return(xe||(xe=v.\u0275\u0275getInheritedFactory(Ot)))(lt||Ot)}})();static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ot,factory:Ot.\u0275fac})}return Ot})();class L{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class A{}class U{}let K=(()=>{class Ot{constructor(){this.data=new Map}getItem(xe){return this.data.get(xe)}removeItem(xe){this.data.delete(xe)}setItem(xe,rt){this.data.set(xe,rt)}static#e=this.\u0275fac=function(rt){return new(rt||Ot)};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ot,factory:Ot.\u0275fac})}return Ot})();class ee{}class ne{constructor(Ut){this.type=Ut}}class B extends ne{constructor(Ut,xe=null){super(Ut),this.info=xe}}class H extends ne{constructor(Ut,xe=null){super(Ut),this.info=xe}}class z extends ne{constructor(Ut,xe,rt=null){super(Ut),this.reason=xe,this.params=rt}}function X(Ot){const Ut=Ot.replace(/-/g,"+").replace(/_/g,"/");return decodeURIComponent(atob(Ut).split("").map(function(xe){return"%"+("00"+xe.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function G(Ot){return btoa(Ot).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class j{constructor(Ut){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=xe=>{location.href=xe},Ut&&Object.assign(this,Ut)}}class le{encodeKey(Ut){return encodeURIComponent(Ut)}encodeValue(Ut){return encodeURIComponent(Ut)}decodeKey(Ut){return decodeURIComponent(Ut)}decodeValue(Ut){return decodeURIComponent(Ut)}}class ue{}class ve{validateAtHash(Ut){var xe=this;return(0,t.c)(function*(){const rt=xe.inferHashAlgorithm(Ut.idTokenHeader),lt=yield xe.calcHash(Ut.accessToken,rt),nt=G(lt.substr(0,lt.length/2)),vt=Ut.idTokenClaims.at_hash.replace(/=/g,"");return nt!==vt&&(console.error("exptected at_hash: "+nt),console.error("actual at_hash: "+vt)),nt===vt})()}inferHashAlgorithm(Ut){const xe=Ut.alg;if(!xe.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+xe);return"sha-"+xe.substr(2)}}let Je=(()=>{class Ot{getHashFragmentParams(xe){let rt=xe||window.location.hash;if(rt=decodeURIComponent(rt),0!==rt.indexOf("#"))return{};const lt=rt.indexOf("?");return rt=rt.substr(lt>-1?lt+1:1),this.parseQueryString(rt)}parseQueryString(xe){const rt={};let lt,At,nt,vt,Le,He;if(null===xe)return rt;const st=xe.split("&");for(let Te=0;Te=64;){for(At=Ut[0],nt=Ut[1],vt=Ut[2],Le=Ut[3],He=Ut[4],st=Ut[5],Te=Ut[6],Pe=Ut[7],Me=0;Me<16;Me++)$e=rt+4*Me,Ot[Me]=(255&xe[$e])<<24|(255&xe[$e+1])<<16|(255&xe[$e+2])<<8|255&xe[$e+3];for(Me=16;Me<64;Me++)bt=Ot[Me-2],Ge=(bt>>>17|bt<<15)^(bt>>>19|bt<<13)^bt>>>10,bt=Ot[Me-15],kt=(bt>>>7|bt<<25)^(bt>>>18|bt<<14)^bt>>>3,Ot[Me]=(Ge+Ot[Me-7]|0)+(kt+Ot[Me-16]|0);for(Me=0;Me<64;Me++)Ge=(((He>>>6|He<<26)^(He>>>11|He<<21)^(He>>>25|He<<7))+(He&st^~He&Te)|0)+(Pe+(Ct[Me]+Ot[Me]|0)|0)|0,kt=((At>>>2|At<<30)^(At>>>13|At<<19)^(At>>>22|At<<10))+(At&nt^At&vt^nt&vt)|0,Pe=Te,Te=st,st=He,He=Le+Ge|0,Le=vt,vt=nt,nt=At,At=Ge+kt|0;Ut[0]+=At,Ut[1]+=nt,Ut[2]+=vt,Ut[3]+=Le,Ut[4]+=He,Ut[5]+=st,Ut[6]+=Te,Ut[7]+=Pe,rt+=64,lt-=64}return rt}class ke{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 Ut=0;Ut0){for(;this.bufferLength<64&&xe>0;)this.buffer[this.bufferLength++]=Ut[rt++],xe--;64===this.bufferLength&&(Re(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(xe>=64&&(rt=Re(this.temp,this.state,Ut,rt,xe),xe%=64);xe>0;)this.buffer[this.bufferLength++]=Ut[rt++],xe--;return this}finish(Ut){if(!this.finished){const xe=this.bytesHashed,rt=this.bufferLength,lt=xe/536870912|0,At=xe<<3,nt=xe%64<56?64:128;this.buffer[rt]=128;for(let vt=rt+1;vt>>24&255,this.buffer[nt-7]=lt>>>16&255,this.buffer[nt-6]=lt>>>8&255,this.buffer[nt-5]=lt>>>0&255,this.buffer[nt-4]=At>>>24&255,this.buffer[nt-3]=At>>>16&255,this.buffer[nt-2]=At>>>8&255,this.buffer[nt-1]=At>>>0&255,Re(this.temp,this.state,this.buffer,0,nt),this.finished=!0}for(let xe=0;xe<8;xe++)Ut[4*xe+0]=this.state[xe]>>>24&255,Ut[4*xe+1]=this.state[xe]>>>16&255,Ut[4*xe+2]=this.state[xe]>>>8&255,Ut[4*xe+3]=this.state[xe]>>>0&255;return this}digest(){const Ut=new Uint8Array(this.digestLength);return this.finish(Ut),Ut}_saveState(Ut){for(let xe=0;xe{class Ot{calcHash(xe,rt){return(0,t.c)(function*(){return function ge(Ot){const Ut=[];for(let xe=0;xe{class Ot extends j{constructor(xe,rt,lt,At,nt,vt,Le,He,st,Te){super(),this.ngZone=xe,this.http=rt,this.config=nt,this.urlHelper=vt,this.logger=Le,this.crypto=He,this.dateTimeService=Te,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new c.E,this.discoveryDocumentLoadedSubject=new c.E,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=st,nt||(nt={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),At&&(this.tokenValidationHandler=At),nt&&this.configure(nt);try{lt?this.setStorage(lt):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(Pe){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",Pe)}if(this.checkLocalStorageAccessable()){const Pe=window?.navigator?.userAgent;(Pe?.includes("MSIE ")||Pe?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const xe="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(xe,xe),localStorage.removeItem(xe),0))}catch{return!1}}configure(xe){Object.assign(this,new j,xe),this.config=Object.assign({},new j,xe),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,r.I)(xe=>"token_received"===xe.type)).subscribe(()=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(xe={},rt,lt=!0){let At=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,u.y)(nt=>{"token_received"===nt.type?At=!0:"logout"===nt.type&&(At=!1)}),(0,r.I)(nt=>"token_expires"===nt.type&&(null==rt||"any"===rt||nt.info===rt)),(0,h.o)(1e3)).subscribe(()=>{At&&this.refreshInternal(xe,lt).catch(()=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(xe,rt){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(xe,rt):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(xe=null){return this.loadDiscoveryDocument().then(()=>this.tryLogin(xe))}loadDiscoveryDocumentAndLogin(xe=null){return this.loadDiscoveryDocumentAndTryLogin(xe=xe||{}).then(()=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof xe.state?xe.state:""),!1))}debug(...xe){this.showDebugInformation&&this.logger.debug(...xe)}validateUrlFromDiscoveryDocument(xe){const rt=[],lt=this.validateUrlForHttps(xe),At=this.validateUrlAgainstIssuer(xe);return lt||rt.push("https for all urls required. Also for urls received by discovery."),At||rt.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),rt}validateUrlForHttps(xe){if(!xe)return!0;const rt=xe.toLowerCase();return!(!1!==this.requireHttps&&(!rt.match(/^http:\/\/localhost($|[:/])/)&&!rt.match(/^http:\/\/localhost($|[:/])/)||"remoteOnly"!==this.requireHttps))||rt.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(xe,rt){if(!xe)throw new Error(`'${rt}' should not be null`);if(!this.validateUrlForHttps(xe))throw new Error(`'${rt}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(xe){return!this.strictDiscoveryDocumentValidation||!xe||xe.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,r.I)(xe=>"token_received"===xe.type)).subscribe(()=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const xe=this.getAccessTokenExpiration(),rt=this.getAccessTokenStoredAt(),lt=this.calcTimeout(rt,xe);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,b.of)(new H("token_expires","access_token")).pipe((0,p.o)(lt)).subscribe(At=>{this.ngZone.run(()=>{this.eventsSubject.next(At)})})})}setupIdTokenTimer(){const xe=this.getIdTokenExpiration(),rt=this.getIdTokenStoredAt(),lt=this.calcTimeout(rt,xe);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,b.of)(new H("token_expires","id_token")).pipe((0,p.o)(lt)).subscribe(At=>{this.ngZone.run(()=>{this.eventsSubject.next(At)})})})}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(xe,rt){const lt=this.dateTimeService.now(),nt=Math.max(0,(rt-xe)*this.timeoutFactor-(lt-xe)),vt=2147483647;return nt>vt?vt:nt}setStorage(xe){this._storage=xe,this.configChanged()}loadDiscoveryDocument(xe=null){return new Promise((rt,lt)=>{xe||((xe=this.issuer||"").endsWith("/")||(xe+="/"),xe+=".well-known/openid-configuration"),this.validateUrlForHttps(xe)?this.http.get(xe).subscribe(At=>{if(!this.validateDiscoveryDocument(At))return this.eventsSubject.next(new z("discovery_document_validation_error",null)),void lt("discovery_document_validation_error");this.loginUrl=At.authorization_endpoint,this.logoutUrl=At.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=At.grant_types_supported,this.issuer=At.issuer,this.tokenEndpoint=At.token_endpoint,this.userinfoEndpoint=At.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=At.jwks_uri,this.sessionCheckIFrameUrl=At.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(At),this.revocationEndpoint=At.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(nt=>{const Le=new B("discovery_document_loaded",{discoveryDocument:At,jwks:nt});this.eventsSubject.next(Le),rt(Le)}).catch(nt=>{this.eventsSubject.next(new z("discovery_document_load_error",nt)),lt(nt)})},At=>{this.logger.error("error loading discovery document",At),this.eventsSubject.next(new z("discovery_document_load_error",At)),lt(At)}):lt("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((xe,rt)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(lt=>{this.jwks=lt,xe(lt)},lt=>{this.logger.error("error loading jwks",lt),this.eventsSubject.next(new z("jwks_load_error",lt)),rt(lt)}):xe(null)})}validateDiscoveryDocument(xe){let rt;return this.skipIssuerCheck||xe.issuer===this.issuer?(rt=this.validateUrlFromDiscoveryDocument(xe.authorization_endpoint),rt.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",rt),!1):(rt=this.validateUrlFromDiscoveryDocument(xe.end_session_endpoint),rt.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",rt),!1):(rt=this.validateUrlFromDiscoveryDocument(xe.token_endpoint),rt.length>0&&this.logger.error("error validating token_endpoint in discovery document",rt),rt=this.validateUrlFromDiscoveryDocument(xe.revocation_endpoint),rt.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",rt),rt=this.validateUrlFromDiscoveryDocument(xe.userinfo_endpoint),rt.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",rt),!1):(rt=this.validateUrlFromDiscoveryDocument(xe.jwks_uri),rt.length>0?(this.logger.error("error validating jwks_uri in discovery document",rt),!1):(this.sessionChecksEnabled&&!xe.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: "+xe.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(xe,rt,lt=new E.HttpHeaders){return this.fetchTokenUsingPasswordFlow(xe,rt,lt).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((xe,rt)=>{const lt=(new E.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:lt,observe:"response",responseType:"text"}).subscribe(At=>{if(this.debug("userinfo received",JSON.stringify(At)),At.headers.get("content-type").startsWith("application/json")){let nt=JSON.parse(At.body);const vt=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!vt.sub||nt.sub!==vt.sub))return void rt("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");nt=Object.assign({},vt,nt),this._storage.setItem("id_token_claims_obj",JSON.stringify(nt)),this.eventsSubject.next(new B("user_profile_loaded")),xe({info:nt})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new B("user_profile_loaded")),xe(JSON.parse(At.body))},At=>{this.logger.error("error loading user info",At),this.eventsSubject.next(new z("user_profile_load_error",At)),rt(At)})})}fetchTokenUsingPasswordFlow(xe,rt,lt=new E.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:xe,password:rt},lt)}fetchTokenUsingGrant(xe,rt,lt=new E.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let At=new E.HttpParams({encoder:new le}).set("grant_type",xe).set("scope",this.scope);if(this.useHttpBasicAuth){const nt=btoa(`${this.clientId}:${this.dummyClientSecret}`);lt=lt.set("Authorization","Basic "+nt)}if(this.useHttpBasicAuth||(At=At.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(At=At.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const nt of Object.getOwnPropertyNames(this.customQueryParams))At=At.set(nt,this.customQueryParams[nt]);for(const nt of Object.keys(rt))At=At.set(nt,rt[nt]);return lt=lt.set("Content-Type","application/x-www-form-urlencoded"),new Promise((nt,vt)=>{this.http.post(this.tokenEndpoint,At,{headers:lt}).subscribe(Le=>{this.debug("tokenResponse",Le),this.storeAccessTokenResponse(Le.access_token,Le.refresh_token,Le.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Le.scope,this.extractRecognizedCustomParameters(Le)),this.oidc&&Le.id_token&&this.processIdToken(Le.id_token,Le.access_token).then(He=>{this.storeIdToken(He),nt(Le)}),this.eventsSubject.next(new B("token_received")),nt(Le)},Le=>{this.logger.error("Error performing ${grantType} flow",Le),this.eventsSubject.next(new z("token_error",Le)),vt(Le)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((xe,rt)=>{let lt=new E.HttpParams({encoder:new le}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),At=(new E.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const nt=btoa(`${this.clientId}:${this.dummyClientSecret}`);At=At.set("Authorization","Basic "+nt)}if(this.useHttpBasicAuth||(lt=lt.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(lt=lt.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const nt of Object.getOwnPropertyNames(this.customQueryParams))lt=lt.set(nt,this.customQueryParams[nt]);this.http.post(this.tokenEndpoint,lt,{headers:At}).pipe((0,_.G)(nt=>this.oidc&&nt.id_token?(0,s.Q)(this.processIdToken(nt.id_token,nt.access_token,!0)).pipe((0,u.y)(vt=>this.storeIdToken(vt)),(0,y.k)(()=>nt)):(0,b.of)(nt))).subscribe(nt=>{this.debug("refresh tokenResponse",nt),this.storeAccessTokenResponse(nt.access_token,nt.refresh_token,nt.expires_in||this.fallbackAccessTokenExpirationTimeInSec,nt.scope,this.extractRecognizedCustomParameters(nt)),this.eventsSubject.next(new B("token_received")),this.eventsSubject.next(new B("token_refreshed")),xe(nt)},nt=>{this.logger.error("Error refreshing token",nt),this.eventsSubject.next(new z("token_refresh_error",nt)),rt(nt)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=xe=>{const rt=this.processMessageEventMessage(xe);this.checkOrigin&&xe.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:rt,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(lt=>this.debug("tryLogin during silent refresh failed",lt))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(xe={},rt=!0){const lt=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(xe.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 At=this.document.getElementById(this.silentRefreshIFrameName);At&&this.document.body.removeChild(At),this.silentRefreshSubject=lt.sub;const nt=this.document.createElement("iframe");nt.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,rt,xe).then(Te=>{nt.setAttribute("src",Te),this.silentRefreshShowIFrame||(nt.style.display="none"),this.document.body.appendChild(nt)});const Le=this.events.pipe((0,r.I)(Te=>Te instanceof z),(0,M.K)()),He=this.events.pipe((0,r.I)(Te=>"token_received"===Te.type),(0,M.K)()),st=(0,b.of)(new z("silent_refresh_timeout",null)).pipe((0,p.o)(this.silentRefreshTimeout));return(0,f.u)([Le,He,st]).pipe((0,y.k)(Te=>{if(Te instanceof z)throw"silent_refresh_timeout"===Te.type||(Te=new z("silent_refresh_error",Te)),this.eventsSubject.next(Te),Te;return"token_received"===Te.type&&(Te=new B("silently_refreshed"),this.eventsSubject.next(Te)),Te})).toPromise()}initImplicitFlowInPopup(xe){return this.initLoginFlowInPopup(xe)}initLoginFlowInPopup(xe){return xe=xe||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(rt=>new Promise((lt,At)=>{let Le,vt=null;xe.windowRef?xe.windowRef&&!xe.windowRef.closed&&(vt=xe.windowRef,vt.location.href=rt):vt=window.open(rt,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(xe));const He=Me=>{this.tryLogin({customHashFragment:Me,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{Te(),lt(!0)},$e=>{Te(),At($e)})};vt?Le=window.setInterval(()=>{(!vt||vt.closed)&&(Te(),At(new z("popup_closed",{})))},500):At(new z("popup_blocked",{}));const Te=()=>{window.clearInterval(Le),window.removeEventListener("storage",bt),window.removeEventListener("message",Pe),null!==vt&&vt.close(),vt=null},Pe=Me=>{const $e=this.processMessageEventMessage(Me);$e&&null!==$e?(window.removeEventListener("storage",bt),He($e)):console.log("false event firing")},bt=Me=>{"auth_hash"===Me.key&&(window.removeEventListener("message",Pe),He(Me.newValue))};window.addEventListener("message",Pe),window.addEventListener("storage",bt)}))}calculatePopupFeatures(xe){const rt=xe.height||470,lt=xe.width||500,At=window.screenLeft+(window.outerWidth-lt)/2;return`location=no,toolbar=no,width=${lt},height=${rt},top=${window.screenTop+(window.outerHeight-rt)/2},left=${At}`}processMessageEventMessage(xe){let rt="#";if(this.silentRefreshMessagePrefix&&(rt+=this.silentRefreshMessagePrefix),!xe||!xe.data||"string"!=typeof xe.data)return;const lt=xe.data;return lt.startsWith(rt)?"#"+lt.substr(rt.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=xe=>{const rt=xe.origin.toLowerCase(),lt=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),lt.startsWith(rt)){switch(xe.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",xe)}else this.debug("sessionCheckEventListener","wrong origin",rt,"expected",lt,"event",xe)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new H("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new H("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(()=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new H("session_terminated")),this.logOut(!0)):this.refreshToken().then(()=>{this.debug("token refresh after session change worked")}).catch(()=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new H("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,r.I)(xe=>"silently_refreshed"===xe.type||"silent_refresh_timeout"===xe.type||"silent_refresh_error"===xe.type),(0,M.K)()).subscribe(xe=>{"silently_refreshed"!==xe.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new H("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new H("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const xe=this.document.getElementById(this.sessionCheckIFrameName);xe&&this.document.body.removeChild(xe);const rt=this.document.createElement("iframe");rt.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),rt.setAttribute("src",this.sessionCheckIFrameUrl),rt.style.display="none",this.document.body.appendChild(rt),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 xe=this.document.getElementById(this.sessionCheckIFrameName);xe||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const rt=this.getSessionState();rt||this.stopSessionCheckTimer(),xe.contentWindow.postMessage(this.clientId+" "+rt,this.issuer)}createLoginUrl(xe="",rt="",lt="",At=!1,nt={}){var vt=this;return(0,t.c)(function*(){const Le=vt;let He;He=lt||vt.redirectUri;const st=yield vt.createAndSaveNonce();if(xe=xe?st+vt.config.nonceStateSeparator+encodeURIComponent(xe):st,!vt.requestAccessToken&&!vt.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");vt.responseType=vt.config.responseType?vt.config.responseType:vt.oidc&&vt.requestAccessToken?"id_token token":vt.oidc&&!vt.requestAccessToken?"id_token":"token";const Te=Le.loginUrl.indexOf("?")>-1?"&":"?";let Pe=Le.scope;vt.oidc&&!Pe.match(/(^|\s)openid($|\s)/)&&(Pe="openid "+Pe);let bt=Le.loginUrl+Te+"response_type="+encodeURIComponent(Le.responseType)+"&client_id="+encodeURIComponent(Le.clientId)+"&state="+encodeURIComponent(xe)+"&redirect_uri="+encodeURIComponent(He)+"&scope="+encodeURIComponent(Pe);if(vt.responseType.includes("code")&&!vt.disablePKCE){const[Me,$e]=yield vt.createChallangeVerifierPairForPKCE();vt.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",$e):vt._storage.setItem("PKCE_verifier",$e),bt+="&code_challenge="+Me,bt+="&code_challenge_method=S256"}rt&&(bt+="&login_hint="+encodeURIComponent(rt)),Le.resource&&(bt+="&resource="+encodeURIComponent(Le.resource)),Le.oidc&&(bt+="&nonce="+encodeURIComponent(st)),At&&(bt+="&prompt=none");for(const Me of Object.keys(nt))bt+="&"+encodeURIComponent(Me)+"="+encodeURIComponent(nt[Me]);if(vt.customQueryParams)for(const Me of Object.getOwnPropertyNames(vt.customQueryParams))bt+="&"+Me+"="+encodeURIComponent(vt.customQueryParams[Me]);return bt})()}initImplicitFlowInternal(xe="",rt=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let lt={},At=null;"string"==typeof rt?At=rt:"object"==typeof rt&&(lt=rt),this.createLoginUrl(xe,At,null,!1,lt).then(this.config.openUri).catch(nt=>{console.error("Error in initImplicitFlow",nt),this.inImplicitFlow=!1})}initImplicitFlow(xe="",rt=""){""!==this.loginUrl?this.initImplicitFlowInternal(xe,rt):this.events.pipe((0,r.I)(lt=>"discovery_document_loaded"===lt.type)).subscribe(()=>this.initImplicitFlowInternal(xe,rt))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(xe){const rt=this;if(xe.onTokenReceived){const lt={idClaims:rt.getIdentityClaims(),idToken:rt.getIdToken(),accessToken:rt.getAccessToken(),state:rt.state};xe.onTokenReceived(lt)}}storeAccessTokenResponse(xe,rt,lt,At,nt){if(this._storage.setItem("access_token",xe),At&&!Array.isArray(At)?this._storage.setItem("granted_scopes",JSON.stringify(At.split(" "))):At&&Array.isArray(At)&&this._storage.setItem("granted_scopes",JSON.stringify(At)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),lt){const vt=1e3*lt,He=this.dateTimeService.new().getTime()+vt;this._storage.setItem("expires_at",""+He)}rt&&this._storage.setItem("refresh_token",rt),nt&&nt.forEach((vt,Le)=>{this._storage.setItem(Le,vt)})}tryLogin(xe=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(xe).then(()=>!0):this.tryLoginImplicitFlow(xe)}parseQueryString(xe){return xe&&0!==xe.length?("?"===xe.charAt(0)&&(xe=xe.substr(1)),this.urlHelper.parseQueryString(xe)):{}}tryLoginCodeFlow(xe=null){var rt=this;return(0,t.c)(function*(){const lt=(xe=xe||{}).customHashFragment?xe.customHashFragment.substring(1):window.location.search,At=rt.getCodePartsFromUrl(lt),nt=At.code,vt=At.state,Le=At.session_state;if(!xe.preventClearHashAfterLogin){const Te=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,Te)}const[He,st]=rt.parseState(vt);if(rt.state=st,At.error){rt.debug("error trying to login"),rt.handleLoginError(xe,At);const Te=new z("code_error",{},At);return rt.eventsSubject.next(Te),Promise.reject(Te)}if(!xe.disableNonceCheck){if(!He)return rt.saveRequestedRoute(),Promise.resolve();if(!xe.disableOAuth2StateCheck&&!rt.validateNonce(He)){const Pe=new z("invalid_nonce_in_state",null);return rt.eventsSubject.next(Pe),Promise.reject(Pe)}}return rt.storeSessionState(Le),nt&&(yield rt.getTokenFromCode(nt,xe),rt.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const xe=this._storage.getItem("requested_route");xe&&history.replaceState(null,"",window.location.origin+xe)}getCodePartsFromUrl(xe){return xe&&0!==xe.length?("?"===xe.charAt(0)&&(xe=xe.substr(1)),this.urlHelper.parseQueryString(xe)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(xe,rt){let lt=new E.HttpParams({encoder:new le}).set("grant_type","authorization_code").set("code",xe).set("redirect_uri",rt.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let At;At=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),At?lt=lt.set("code_verifier",At):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(lt,rt)}fetchAndProcessToken(xe,rt){rt=rt||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let lt=(new E.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const At=btoa(`${this.clientId}:${this.dummyClientSecret}`);lt=lt.set("Authorization","Basic "+At)}return this.useHttpBasicAuth||(xe=xe.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(xe=xe.set("client_secret",this.dummyClientSecret)),new Promise((At,nt)=>{if(this.customQueryParams)for(const vt of Object.getOwnPropertyNames(this.customQueryParams))xe=xe.set(vt,this.customQueryParams[vt]);this.http.post(this.tokenEndpoint,xe,{headers:lt}).subscribe(vt=>{this.debug("refresh tokenResponse",vt),this.storeAccessTokenResponse(vt.access_token,vt.refresh_token,vt.expires_in||this.fallbackAccessTokenExpirationTimeInSec,vt.scope,this.extractRecognizedCustomParameters(vt)),this.oidc&&vt.id_token?this.processIdToken(vt.id_token,vt.access_token,rt.disableNonceCheck).then(Le=>{this.storeIdToken(Le),this.eventsSubject.next(new B("token_received")),this.eventsSubject.next(new B("token_refreshed")),At(vt)}).catch(Le=>{this.eventsSubject.next(new z("token_validation_error",Le)),console.error("Error validating tokens"),console.error(Le),nt(Le)}):(this.eventsSubject.next(new B("token_received")),this.eventsSubject.next(new B("token_refreshed")),At(vt))},vt=>{console.error("Error getting token",vt),this.eventsSubject.next(new z("token_refresh_error",vt)),nt(vt)})})}tryLoginImplicitFlow(xe=null){let rt;rt=(xe=xe||{}).customHashFragment?this.urlHelper.getHashFragmentParams(xe.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",rt);const lt=rt.state,[At,nt]=this.parseState(lt);if(this.state=nt,rt.error){this.debug("error trying to login"),this.handleLoginError(xe,rt);const Te=new z("token_error",{},rt);return this.eventsSubject.next(Te),Promise.reject(Te)}const vt=rt.access_token,Le=rt.id_token,He=rt.session_state,st=rt.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!vt||this.requestAccessToken&&!xe.disableOAuth2StateCheck&&!lt||this.oidc&&!Le)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!He&&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&&!xe.disableNonceCheck&&!this.validateNonce(At)){const Pe=new z("invalid_nonce_in_state",null);return this.eventsSubject.next(Pe),Promise.reject(Pe)}return this.requestAccessToken&&this.storeAccessTokenResponse(vt,null,rt.expires_in||this.fallbackAccessTokenExpirationTimeInSec,st),this.oidc?this.processIdToken(Le,vt,xe.disableNonceCheck).then(Te=>xe.validationHandler?xe.validationHandler({accessToken:vt,idClaims:Te.idTokenClaims,idToken:Te.idToken,state:lt}).then(()=>Te):Te).then(Te=>(this.storeIdToken(Te),this.storeSessionState(He),this.clearHashAfterLogin&&!xe.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new B("token_received")),this.callOnTokenReceivedIfExists(xe),this.inImplicitFlow=!1,!0)).catch(Te=>(this.eventsSubject.next(new z("token_validation_error",Te)),this.logger.error("Error validating tokens"),this.logger.error(Te),Promise.reject(Te))):(this.eventsSubject.next(new B("token_received")),this.clearHashAfterLogin&&!xe.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(xe),Promise.resolve(!0))}parseState(xe){let rt=xe,lt="";if(xe){const At=xe.indexOf(this.config.nonceStateSeparator);At>-1&&(rt=xe.substr(0,At),lt=xe.substr(At+this.config.nonceStateSeparator.length))}return[rt,lt]}validateNonce(xe){let rt;return rt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),rt===xe||(console.error("Validating access_token failed, wrong state/nonce.",rt,xe),!1)}storeIdToken(xe){this._storage.setItem("id_token",xe.idToken),this._storage.setItem("id_token_claims_obj",xe.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+xe.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(xe){this._storage.setItem("session_state",xe)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(xe,rt){xe.onLoginError&&xe.onLoginError(rt),this.clearHashAfterLogin&&!xe.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(xe=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:xe}processIdToken(xe,rt,lt=!1){const At=xe.split("."),vt=X(this.padBase64(At[0])),Le=JSON.parse(vt),st=X(this.padBase64(At[1])),Te=JSON.parse(st);let Pe;if(Pe=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(Te.aud)){if(Te.aud.every(dt=>dt!==this.clientId)){const dt="Wrong audience: "+Te.aud.join(",");return this.logger.warn(dt),Promise.reject(dt)}}else if(Te.aud!==this.clientId){const dt="Wrong audience: "+Te.aud;return this.logger.warn(dt),Promise.reject(dt)}if(!Te.sub){const dt="No sub claim in id_token";return this.logger.warn(dt),Promise.reject(dt)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==Te.sub){const dt=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${Te.sub}`;return this.logger.warn(dt),Promise.reject(dt)}if(!Te.iat){const dt="No iat claim in id_token";return this.logger.warn(dt),Promise.reject(dt)}if(!this.skipIssuerCheck&&Te.iss!==this.issuer){const dt="Wrong issuer: "+Te.iss;return this.logger.warn(dt),Promise.reject(dt)}if(!lt&&Te.nonce!==Pe){const dt="Wrong nonce: "+Te.nonce;return this.logger.warn(dt),Promise.reject(dt)}if(Object.prototype.hasOwnProperty.call(this,"responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!Te.at_hash){const dt="An at_hash is needed!";return this.logger.warn(dt),Promise.reject(dt)}const bt=this.dateTimeService.now(),Me=1e3*Te.iat,$e=1e3*Te.exp,Ge=this.getClockSkewInMsec();if(Me-Ge>=bt||$e+Ge-this.decreaseExpirationBySec<=bt){const dt="Token has expired";return console.error(dt),console.error({now:bt,issuedAtMSec:Me,expiresAtMSec:$e}),Promise.reject(dt)}const kt={accessToken:rt,idToken:xe,jwks:this.jwks,idTokenClaims:Te,idTokenHeader:Le,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(kt).then(()=>({idToken:xe,idTokenClaims:Te,idTokenClaimsJson:st,idTokenHeader:Le,idTokenHeaderJson:vt,idTokenExpiresAt:$e})):this.checkAtHash(kt).then(dt=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!dt){const xt="Wrong at_hash";return this.logger.warn(xt),Promise.reject(xt)}return this.checkSignature(kt).then(()=>{const qe={idToken:xe,idTokenClaims:Te,idTokenClaimsJson:st,idTokenHeader:Le,idTokenHeaderJson:vt,idTokenExpiresAt:$e};return this.disableAtHashCheck?qe:this.checkAtHash(kt).then(Fe=>{if(this.requestAccessToken&&!Fe){const et="Wrong at_hash";return this.logger.warn(et),Promise.reject(et)}return qe})})})}getIdentityClaims(){const xe=this._storage.getItem("id_token_claims_obj");return xe?JSON.parse(xe):null}getGrantedScopes(){const xe=this._storage.getItem("granted_scopes");return xe?JSON.parse(xe):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(xe){for(;xe.length%4!=0;)xe+="=";return xe}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 xe=this._storage.getItem("expires_at"),rt=this.dateTimeService.new();return!(xe&&parseInt(xe,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(xe)?JSON.parse(this._storage.getItem(xe)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(xe={},rt=""){let lt=!1;"boolean"==typeof xe&&(lt=xe,xe={});const At=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(vt=>this._storage.removeItem(vt)),this.silentRefreshSubject=null,this.eventsSubject.next(new H("logout")),!this.logoutUrl||lt)return;let nt;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)nt=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(At)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let vt=new E.HttpParams({encoder:new le});At&&(vt=vt.set("id_token_hint",At));const Le=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";Le&&(vt=vt.set("post_logout_redirect_uri",Le),rt&&(vt=vt.set("state",rt)));for(const He in xe)vt=vt.set(He,xe[He]);nt=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+vt.toString()}this.config.openUri(nt)}createAndSaveNonce(){const xe=this;return this.createNonce().then(function(rt){return xe.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",rt):xe._storage.setItem("nonce",rt),rt})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const xe=this.document.getElementById(this.silentRefreshIFrameName);xe&&xe.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const rt=this.document.getElementById(this.sessionCheckIFrameName);rt&&rt.remove()}createNonce(){return new Promise(xe=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const rt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let lt=45,At="";const nt=typeof self>"u"?null:self.crypto||self.msCrypto;if(nt){let vt=new Uint8Array(lt);nt.getRandomValues(vt),vt.map||(vt.map=Array.prototype.map),vt=vt.map(Le=>rt.charCodeAt(Le%66)),At=String.fromCharCode.apply(null,vt)}else for(;0"discovery_document_loaded"===lt.type)).subscribe(()=>this.initCodeFlowInternal(xe,rt))}initCodeFlowInternal(xe="",rt={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let lt={},At=null;"string"==typeof rt?At=rt:"object"==typeof rt&&(lt=rt),this.createLoginUrl(xe,At,null,!1,lt).then(this.config.openUri).catch(nt=>{console.error("Error in initAuthorizationCodeFlow"),console.error(nt)})}createChallangeVerifierPairForPKCE(){var xe=this;return(0,t.c)(function*(){if(!xe.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const rt=yield xe.createNonce();return[G(yield xe.crypto.calcHash(rt,"sha-256")),rt]})()}extractRecognizedCustomParameters(xe){const rt=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(lt=>{xe[lt]&&rt.set(lt,JSON.stringify(xe[lt]))}),rt}revokeTokenAndLogout(xe={},rt=!1){const lt=this.revocationEndpoint,At=this.getAccessToken(),nt=this.getRefreshToken();if(!At)return Promise.resolve();let vt=new E.HttpParams({encoder:new le}),Le=(new E.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const He=btoa(`${this.clientId}:${this.dummyClientSecret}`);Le=Le.set("Authorization","Basic "+He)}if(this.useHttpBasicAuth||(vt=vt.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(vt=vt.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const He of Object.getOwnPropertyNames(this.customQueryParams))vt=vt.set(He,this.customQueryParams[He]);return new Promise((He,st)=>{let Te,Pe;if(At){const bt=vt.set("token",At).set("token_type_hint","access_token");Te=this.http.post(lt,bt,{headers:Le})}else Te=(0,b.of)(null);if(nt){const bt=vt.set("token",nt).set("token_type_hint","refresh_token");Pe=this.http.post(lt,bt,{headers:Le})}else Pe=(0,b.of)(null);rt&&(Te=Te.pipe((0,w.a)(bt=>0===bt.status?(0,b.of)(null):(0,d.c)(bt))),Pe=Pe.pipe((0,w.a)(bt=>0===bt.status?(0,b.of)(null):(0,d.c)(bt)))),(0,l.E)([Te,Pe]).subscribe(bt=>{this.logOut(xe),He(bt),this.logger.info("Token successfully revoked")},bt=>{this.logger.error("Error revoking token",bt),this.eventsSubject.next(new z("token_revoke_error",bt)),st(bt)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}static#e=this.\u0275fac=function(rt){return new(rt||Ot)(v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(E.HttpClient),v.\u0275\u0275inject(U,8),v.\u0275\u0275inject(ue,8),v.\u0275\u0275inject(j,8),v.\u0275\u0275inject(Je),v.\u0275\u0275inject(A),v.\u0275\u0275inject(Oe,8),v.\u0275\u0275inject(C.DOCUMENT),v.\u0275\u0275inject(S))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ot,factory:Ot.\u0275fac})}return Ot})();class ze{}class pt{handleError(Ut){return(0,d.c)(Ut)}}let Pt=(()=>{class Ot{constructor(xe,rt,lt){this.oAuthService=xe,this.errorHandler=rt,this.moduleConfig=lt}checkUrl(xe){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(xe):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(rt=>xe.toLowerCase().startsWith(rt.toLowerCase()))}intercept(xe,rt){const lt=xe.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(lt)?this.moduleConfig.resourceServer.sendAccessToken?(0,a.U)((0,b.of)(this.oAuthService.getAccessToken()).pipe((0,r.I)(nt=>!!nt)),this.oAuthService.events.pipe((0,r.I)(nt=>"token_received"===nt.type),(0,k.m)(this.oAuthService.waitForTokenInMsec||0),(0,w.a)(()=>(0,b.of)(null)),(0,y.k)(()=>this.oAuthService.getAccessToken()))).pipe((0,D.U)(1),(0,I.O)(nt=>{if(nt){const Le=xe.headers.set("Authorization","Bearer "+nt);xe=xe.clone({headers:Le})}return rt.handle(xe).pipe((0,w.a)(vt=>this.errorHandler.handleError(vt)))})):rt.handle(xe).pipe((0,w.a)(nt=>this.errorHandler.handleError(nt))):rt.handle(xe)}static#e=this.\u0275fac=function(rt){return new(rt||Ot)(v.\u0275\u0275inject(ot),v.\u0275\u0275inject(ze),v.\u0275\u0275inject(T,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ot,factory:Ot.\u0275fac})}return Ot})();function Gt(){return console}function rn(){return typeof sessionStorage<"u"?sessionStorage:new K}function on(Ot=null,Ut=O){return(0,v.makeEnvironmentProviders)([ot,Je,{provide:A,useFactory:Gt},{provide:U,useFactory:rn},{provide:ue,useClass:Ut},{provide:Oe,useClass:Ve},{provide:ze,useClass:pt},{provide:T,useValue:Ot},{provide:E.HTTP_INTERCEPTORS,useClass:Pt,multi:!0},{provide:S,useClass:F}])}let tn=(()=>{class Ot{static forRoot(xe=null,rt=O){return{ngModule:Ot,providers:[on(xe,rt)]}}static#e=this.\u0275fac=function(rt){return new(rt||Ot)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:Ot});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({imports:[C.CommonModule]})}return Ot})();class Jt extends O{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 an=new v.InjectionToken("AUTH_CONFIG")},540:(De,te,g)=>{"use strict";g.r(te),g.d(te,{HIGHLIGHT_OPTIONS:()=>_,Highlight:()=>O,HighlightJS:()=>I,HighlightLoader:()=>k,HighlightModule:()=>T});var t=g(4496),v=g(1368),C=g(6700),E=g(6684),c=g(3992),b=g(7368),s=g(9212),f=g(8960),d=g(9144),l=g(3800),a=g(736),r=g(4704),u=g(9900),h=g(4096),p=g(4476);const _=new t.InjectionToken("HIGHLIGHT_OPTIONS");let y;let k=(()=>{class N{constructor(F,L,A){this.doc=F,this.platformId=L,this._options=A,this._ready=new C.g(null),this.ready=this._ready.asObservable().pipe((0,E.I)(U=>!!U),(0,c.U)(1)),(0,v.isPlatformBrowser)(L)&&(F.defaultView.hljs?this._ready.next(F.defaultView.hljs):(this._loadLibrary().pipe((0,b.G)(U=>this._options&&this._options.lineNumbersLoader?(F.defaultView.hljs=U,this.loadLineNumbers().pipe((0,s.y)(K=>{K.activateLineNumbers(),this._ready.next(U)}))):(this._ready.next(U),f.k)),(0,d.a)(U=>(console.error("[HLJS] ",U),f.k))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,l.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,l.c)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,l.c)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,l.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,b.G)(F=>this._loadLanguages(F)))}return(0,l.c)(()=>"Highlight.js library was not imported!")}_loadLanguages(F){const L=Object.entries(this._options.languages).map(([A,U])=>D(U()).pipe((0,s.y)(K=>F.registerLanguage(A,K))));return(0,a.E)(...L).pipe((0,r.k)(()=>F))}loadCoreLibrary(){return D(this._options.coreLibraryLoader())}loadFullLibrary(){return D(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,u.Q)(this._options.lineNumbersLoader())}setTheme(F){(0,v.isPlatformBrowser)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=F:this.loadTheme(F))}loadTheme(F){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=F,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}static#e=this.\u0275fac=function(L){return new(L||N)(t.\u0275\u0275inject(v.DOCUMENT),t.\u0275\u0275inject(t.PLATFORM_ID),t.\u0275\u0275inject(_,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})();const D=N=>(0,u.Q)(N).pipe((0,E.I)(S=>!!S?.default),(0,r.k)(S=>S.default));let I=(()=>{class N{get hljs(){return this._hljs}constructor(F,L){this._loader=F,this._hljs=null,F.ready.subscribe(A=>{this._hljs=A,L&&L.config&&(A.configure(L.config),A.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(F,{language:L,ignoreIllegals:A}){return this._loader.ready.pipe((0,r.k)(U=>U.highlight(F,{language:L,ignoreIllegals:A})))}highlightAuto(F,L){return this._loader.ready.pipe((0,r.k)(A=>A.highlightAuto(F,L)))}highlightElement(F){return this._loader.ready.pipe((0,r.k)(L=>L.highlightElement(F)))}highlightAll(){return this._loader.ready.pipe((0,r.k)(F=>F.highlightAll()))}configure(F){return this._loader.ready.pipe((0,r.k)(L=>L.configure(F)))}registerLanguage(F,L){return this._loader.ready.pipe((0,s.y)(A=>A.registerLanguage(F,L)))}unregisterLanguage(F){return this._loader.ready.pipe((0,s.y)(L=>L.unregisterLanguage(F)))}registerAliases(F,{languageName:L}){return this._loader.ready.pipe((0,s.y)(A=>A.registerAliases(F,{languageName:L})))}listLanguages(){return this._loader.ready.pipe((0,r.k)(F=>F.listLanguages()))}getLanguage(F){return this._loader.ready.pipe((0,r.k)(L=>L.getLanguage(F)))}safeMode(){return this._loader.ready.pipe((0,r.k)(F=>F.safeMode()))}debugMode(){return this._loader.ready.pipe((0,r.k)(F=>F.debugMode()))}lineNumbersBlock(F){return this._loader.ready.pipe((0,E.I)(L=>!!L.lineNumbersBlock),(0,s.y)(L=>L.lineNumbersBlock(F)))}static#e=this.\u0275fac=function(L){return new(L||N)(t.\u0275\u0275inject(k),t.\u0275\u0275inject(_,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})(),O=(()=>{class N{constructor(F,L,A,U,K){this._hljs=L,this._sanitizer=A,this.platformId=U,this._options=K,this.highlighted=new t.EventEmitter,this._nativeElement=F.nativeElement}ngOnChanges(F){(0,v.isPlatformBrowser)(this.platformId)&&null!==F?.code?.currentValue&&F.code.currentValue!==F.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(F,L){this.setTextContent(F),this._hljs.highlightAuto(F,L).subscribe(A=>{this.setInnerHTML(A?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(A)})}addLineNumbers(){this.destroyLineNumbersObserver(),h.A.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(F){h.A.schedule(()=>this._nativeElement.textContent=F)}setInnerHTML(F){h.A.schedule(()=>this._nativeElement.innerHTML=function w(N){return function M(){if(!y)try{y=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:N=>N})}catch{}return y}()?.createHTML(N)||N}(this._sanitizer.sanitize(t.SecurityContext.HTML,F)||""))}static#e=this.\u0275fac=function(L){return new(L||N)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(I),t.\u0275\u0275directiveInject(p.DomSanitizer),t.\u0275\u0275directiveInject(t.PLATFORM_ID),t.\u0275\u0275directiveInject(_,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:N,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(L,A){2&L&&t.\u0275\u0275classProp("hljs",!0)},inputs:{code:[t.\u0275\u0275InputFlags.None,"highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return N})(),T=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:N});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return N})()},6319:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_SELECTSEARCH_DEFAULT_OPTIONS:()=>ve,MatSelectNoEntriesFoundDirective:()=>Je,MatSelectSearchClearDirective:()=>le,MatSelectSearchComponent:()=>_t,MatSelectSearchVersion:()=>ct,NgxMatSelectSearchModule:()=>Ct,configurableDefaultOptions:()=>ue});var t=g(5420),v=g(4496),C=g(6504),E=g(3576),c=g(4060),b=g(9716),s=g(6700),f=g(2700),d=g(6040),l=g(5657),a=g(7368),r=g(4704),u=g(5568),h=g(1224),p=g(3616),_=g(3992),y=g(9212),M=g(6684),w=g(1904),k=g(1368),D=g(7816),I=g(3840),O=g(1560),T=g(7488),N=g(6496),S=g(3584);const F=["searchSelectInput"],L=["innerSelectSearch"];function A(Re,ke){if(1&Re){const pe=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementStart(0,"mat-checkbox",10),v.\u0275\u0275listener("change",function(Be){v.\u0275\u0275restoreView(pe);const Ie=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(Ie._emitSelectAllBooleanToParent(Be.checked))}),v.\u0275\u0275elementEnd()}if(2&Re){const pe=v.\u0275\u0275nextContext();v.\u0275\u0275property("color",null==pe.matFormField?null:pe.matFormField.color)("checked",pe.toggleAllCheckboxChecked)("indeterminate",pe.toggleAllCheckboxIndeterminate)("matTooltip",pe.toggleAllCheckboxTooltipMessage)("matTooltipPosition",pe.toggleAllCheckboxTooltipPosition)}}function U(Re,ke){1&Re&&v.\u0275\u0275element(0,"mat-spinner",11)}function K(Re,ke){1&Re&&v.\u0275\u0275projection(0,1,["*ngIf","clearIcon; else defaultIcon"])}function ee(Re,ke){if(1&Re&&(v.\u0275\u0275elementStart(0,"mat-icon",15),v.\u0275\u0275text(1),v.\u0275\u0275elementEnd()),2&Re){const pe=v.\u0275\u0275nextContext(2);v.\u0275\u0275property("svgIcon",pe.closeSvgIcon),v.\u0275\u0275advance(),v.\u0275\u0275textInterpolate1(" ",pe.closeSvgIcon?null:pe.closeIcon," ")}}function ne(Re,ke){if(1&Re){const pe=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementStart(0,"button",12),v.\u0275\u0275listener("click",function(){v.\u0275\u0275restoreView(pe);const Be=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(Be._reset(!0))}),v.\u0275\u0275template(1,K,1,0,"ng-content",13)(2,ee,2,2,"ng-template",null,14,v.\u0275\u0275templateRefExtractor),v.\u0275\u0275elementEnd()}if(2&Re){const pe=v.\u0275\u0275reference(3),Qe=v.\u0275\u0275nextContext();v.\u0275\u0275advance(),v.\u0275\u0275property("ngIf",Qe.clearIcon)("ngIfElse",pe)}}function B(Re,ke){1&Re&&v.\u0275\u0275projection(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function H(Re,ke){if(1&Re&&v.\u0275\u0275text(0),2&Re){const pe=v.\u0275\u0275nextContext(2);v.\u0275\u0275textInterpolate(pe.noEntriesFoundLabel)}}function z(Re,ke){if(1&Re&&(v.\u0275\u0275elementStart(0,"div",16),v.\u0275\u0275template(1,B,1,0,"ng-content",13)(2,H,1,1,"ng-template",null,17,v.\u0275\u0275templateRefExtractor),v.\u0275\u0275elementEnd()),2&Re){const pe=v.\u0275\u0275reference(3),Qe=v.\u0275\u0275nextContext();v.\u0275\u0275advance(),v.\u0275\u0275property("ngIf",Qe.noEntriesFound)("ngIfElse",pe)}}const X=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],G=(Re,ke)=>({"mat-select-search-inner-multiple":Re,"mat-select-search-inner-toggle-all":ke}),j=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];let le=(()=>{class Re{}return Re.\u0275fac=function(pe){return new(pe||Re)},Re.\u0275dir=v.\u0275\u0275defineDirective({type:Re,selectors:[["","ngxMatSelectSearchClear",""]]}),Re})();const ue=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],ve=new v.InjectionToken("mat-selectsearch-default-options");let Je=(()=>{class Re{}return Re.\u0275fac=function(pe){return new(pe||Re)},Re.\u0275dir=v.\u0275\u0275defineDirective({type:Re,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),Re})(),_t=(()=>{class Re{constructor(pe,Qe,Be,Ie=null,je=null,q){this.matSelect=pe,this.changeDetectorRef=Qe,this._viewportRuler=Be,this.matOption=Ie,this.matFormField=je,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new v.EventEmitter,this.onTouched=ye=>{},this._options$=new s.g(null),this.optionsList$=this._options$.pipe((0,a.G)(ye=>ye?ye.changes.pipe((0,r.k)(Oe=>Oe.toArray()),(0,u.W)(ye.toArray())):(0,f.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,r.k)(ye=>ye?ye.length:0)),this._formControl=new C.FormControl(""),this._showNoEntriesFound$=(0,d.E)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,r.k)(([ye,Oe])=>this.noEntriesFoundLabel&&ye&&Oe===this.getOptionsLengthOffset())),this._onDestroy=new l.E,this.applyDefaultOptions(q)}get value(){return this._formControl.value}set _options(pe){this._options$.next(pe)}get _options(){return this._options$.getValue()}applyDefaultOptions(pe){if(pe)for(const Qe of ue)pe.hasOwnProperty(Qe)&&(this[Qe]=pe[Qe])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("aria-hidden","true")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe((0,h.o)(1),(0,p.a)(this._onDestroy)).subscribe(pe=>{pe?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,_.U)(1),(0,a.G)(pe=>{this._options=this.matSelect.options;let Qe=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe((0,y.y)(()=>{setTimeout(()=>{const Be=this._options.toArray(),Ie=Be[this.getOptionsLengthOffset()],je=this.matSelect._keyManager;je&&this.matSelect.panelOpen&&Ie&&((!Qe||!this.matSelect.compareWith(Qe.value,Ie.value)||!je.activeItem||!Be.find(ye=>this.matSelect.compareWith(ye.value,je.activeItem.value)))&&je.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),Qe=Ie})}))})).pipe((0,p.a)(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe((0,p.a)(this._onDestroy)).subscribe(pe=>{this.matOption&&(pe?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,p.a)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,p.a)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(pe){this.toggleAll.emit(pe)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(pe){(pe.key&&1===pe.key.length||pe.keyCode>=t.A&&pe.keyCode<=t.Z||pe.keyCode>=t._I&&pe.keyCode<=t.SQ||pe.keyCode===t.Gi||this.preventHomeEndKeyPropagation&&(pe.keyCode===t.qU||pe.keyCode===t.Mp))&&pe.stopPropagation(),this.matSelect.multiple&&pe.key&&pe.keyCode===t.wJ&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&pe.keyCode===t.UX&&this.value&&(this._reset(!0),pe.stopPropagation())}_handleKeyup(pe){if(pe.keyCode===t.qI||pe.keyCode===t.Oq){const Qe=this.matSelect._getAriaActiveDescendant(),Be=this._options.toArray().findIndex(Ie=>Ie.id===Qe);-1!==Be&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[Be]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",Qe))}}writeValue(pe){this._lastExternalInputValue=pe,this._formControl.setValue(pe),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(pe){this._formControl.valueChanges.pipe((0,M.I)(Qe=>Qe!==this._lastExternalInputValue),(0,y.y)(()=>this._lastExternalInputValue=void 0),(0,p.a)(this._onDestroy)).subscribe(pe)}registerOnTouched(pe){this.onTouched=pe}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const pe=this.matSelect.panel.nativeElement,Qe=pe.scrollTop;this.searchSelectInput.nativeElement.focus(),pe.scrollTop=Qe}_reset(pe){this._formControl.setValue(""),pe&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,p.a)(this._onDestroy)).subscribe(pe=>{let Qe=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!pe||!Array.isArray(pe))&&(pe=[]);const Be=this.matSelect.options.map(Ie=>Ie.value);this.previousSelectedValues.forEach(Ie=>{!pe.some(je=>this.matSelect.compareWith(je,Ie))&&!Be.some(je=>this.matSelect.compareWith(je,Ie))&&(pe.push(Ie),Qe=!0)})}this.previousSelectedValues=pe,Qe&&this.matSelect._onChange(pe)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let Qe,pe=this.innerSelectSearch.nativeElement;for(;pe=pe.parentElement;)if(pe.classList.contains("mat-select-panel")){Qe=pe;break}Qe&&(this.innerSelectSearch.nativeElement.style.width=Qe.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return Re.\u0275fac=function(pe){return new(pe||Re)(v.\u0275\u0275directiveInject(b.MatSelect),v.\u0275\u0275directiveInject(v.ChangeDetectorRef),v.\u0275\u0275directiveInject(w.S8),v.\u0275\u0275directiveInject(E.MatOption,8),v.\u0275\u0275directiveInject(c.MatFormField,8),v.\u0275\u0275directiveInject(ve,8))},Re.\u0275cmp=v.\u0275\u0275defineComponent({type:Re,selectors:[["ngx-mat-select-search"]],contentQueries:function(pe,Qe,Be){if(1&pe&&(v.\u0275\u0275contentQuery(Be,le,5),v.\u0275\u0275contentQuery(Be,Je,5)),2&pe){let Ie;v.\u0275\u0275queryRefresh(Ie=v.\u0275\u0275loadQuery())&&(Qe.clearIcon=Ie.first),v.\u0275\u0275queryRefresh(Ie=v.\u0275\u0275loadQuery())&&(Qe.noEntriesFound=Ie.first)}},viewQuery:function(pe,Qe){if(1&pe&&(v.\u0275\u0275viewQuery(F,7,v.ElementRef),v.\u0275\u0275viewQuery(L,7,v.ElementRef)),2&pe){let Be;v.\u0275\u0275queryRefresh(Be=v.\u0275\u0275loadQuery())&&(Qe.searchSelectInput=Be.first),v.\u0275\u0275queryRefresh(Be=v.\u0275\u0275loadQuery())&&(Qe.innerSelectSearch=Be.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[v.\u0275\u0275ProvidersFeature([{provide:C.NG_VALUE_ACCESSOR,useExisting:(0,v.forwardRef)(()=>Re),multi:!0}])],ngContentSelectors:j,decls:13,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"],["defaultNoEntriesFound",""]],template:function(pe,Qe){1&pe&&(v.\u0275\u0275projectionDef(X),v.\u0275\u0275element(0,"input",0),v.\u0275\u0275elementStart(1,"div",1,2)(3,"div",3),v.\u0275\u0275template(4,A,1,5,"mat-checkbox",4),v.\u0275\u0275elementStart(5,"input",5,6),v.\u0275\u0275listener("keydown",function(Ie){return Qe._handleKeydown(Ie)})("keyup",function(Ie){return Qe._handleKeyup(Ie)})("blur",function(){return Qe.onBlur()}),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(7,U,1,0,"mat-spinner",7)(8,ne,4,2,"button",8),v.\u0275\u0275projection(9),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(10,"mat-divider"),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(11,z,4,2,"div",9),v.\u0275\u0275pipe(12,"async")),2&pe&&(v.\u0275\u0275advance(),v.\u0275\u0275property("ngClass",v.\u0275\u0275pureFunction2(11,G,Qe.matSelect.multiple,Qe._isToggleAllCheckboxVisible())),v.\u0275\u0275advance(3),v.\u0275\u0275property("ngIf",Qe._isToggleAllCheckboxVisible()),v.\u0275\u0275advance(),v.\u0275\u0275property("type",Qe.type)("formControl",Qe._formControl)("placeholder",Qe.placeholderLabel),v.\u0275\u0275attribute("aria-label",Qe.ariaLabel),v.\u0275\u0275advance(2),v.\u0275\u0275property("ngIf",Qe.searching),v.\u0275\u0275advance(),v.\u0275\u0275property("ngIf",!Qe.hideClearSearchButton&&Qe.value&&!Qe.searching),v.\u0275\u0275advance(3),v.\u0275\u0275property("ngIf",v.\u0275\u0275pipeBind1(12,9,Qe._showNoEntriesFound$)))},dependencies:[k.NgClass,k.NgIf,C.DefaultValueAccessor,C.NgControlStatus,C.FormControlDirective,D.MatIconButton,I.MatCheckbox,O.MatIcon,T.MatProgressSpinner,N.a4,S.MatDivider,k.AsyncPipe],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),Re})();const ct="7.0.5";let Ct=(()=>{class Re{}return Re.\u0275fac=function(pe){return new(pe||Re)},Re.\u0275mod=v.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=v.\u0275\u0275defineInjector({imports:[k.CommonModule,C.ReactiveFormsModule,D.MatButtonModule,I.MatCheckboxModule,O.MatIconModule,T.MatProgressSpinnerModule,N.KO,S.MatDividerModule]}),Re})()},5116:(De,te,g)=>{"use strict";function c(R){let Ce=R.length;for(;--Ce>=0;)R[Ce]=0}g.r(te),g.d(te,{Deflate:()=>W,Inflate:()=>Ee,constants:()=>Vt,default:()=>yn,deflate:()=>ie,deflateRaw:()=>Z,gzip:()=>re,inflate:()=>Ze,inflateRaw:()=>Et,ungzip:()=>Ht});const T=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),N=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),S=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),F=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),A=new Array(576);c(A);const U=new Array(60);c(U);const K=new Array(512);c(K);const ee=new Array(256);c(ee);const ne=new Array(29);c(ne);const B=new Array(30);function H(R,Ce,Y,tt,ht){this.static_tree=R,this.extra_bits=Ce,this.extra_base=Y,this.elems=tt,this.max_length=ht,this.has_stree=R&&R.length}let z,X,G;function j(R,Ce){this.dyn_tree=R,this.max_code=0,this.stat_desc=Ce}c(B);const le=R=>R<256?K[R]:K[256+(R>>>7)],ue=(R,Ce)=>{R.pending_buf[R.pending++]=255&Ce,R.pending_buf[R.pending++]=Ce>>>8&255},ve=(R,Ce,Y)=>{R.bi_valid>16-Y?(R.bi_buf|=Ce<>16-R.bi_valid,R.bi_valid+=Y-16):(R.bi_buf|=Ce<{ve(R,Y[2*Ce],Y[2*Ce+1])},_t=(R,Ce)=>{let Y=0;do{Y|=1&R,R>>>=1,Y<<=1}while(--Ce>0);return Y>>>1},Re=(R,Ce,Y)=>{const tt=new Array(16);let gt,zt,ht=0;for(gt=1;gt<=15;gt++)ht=ht+Y[gt-1]<<1,tt[gt]=ht;for(zt=0;zt<=Ce;zt++){let Nt=R[2*zt+1];0!==Nt&&(R[2*zt]=_t(tt[Nt]++,Nt))}},pe=R=>{let Ce;for(Ce=0;Ce<286;Ce++)R.dyn_ltree[2*Ce]=0;for(Ce=0;Ce<30;Ce++)R.dyn_dtree[2*Ce]=0;for(Ce=0;Ce<19;Ce++)R.bl_tree[2*Ce]=0;R.dyn_ltree[512]=1,R.opt_len=R.static_len=0,R.sym_next=R.matches=0},Qe=R=>{R.bi_valid>8?ue(R,R.bi_buf):R.bi_valid>0&&(R.pending_buf[R.pending++]=R.bi_buf),R.bi_buf=0,R.bi_valid=0},Be=(R,Ce,Y,tt)=>{const ht=2*Ce,gt=2*Y;return R[ht]{const tt=R.heap[Y];let ht=Y<<1;for(;ht<=R.heap_len&&(ht{let tt,ht,zt,Nt,gt=0;if(0!==R.sym_next)do{tt=255&R.pending_buf[R.sym_buf+gt++],tt+=(255&R.pending_buf[R.sym_buf+gt++])<<8,ht=R.pending_buf[R.sym_buf+gt++],0===tt?Je(R,ht,Ce):(zt=ee[ht],Je(R,zt+256+1,Ce),Nt=T[zt],0!==Nt&&(ht-=ne[zt],ve(R,ht,Nt)),tt--,zt=le(tt),Je(R,zt,Y),Nt=N[zt],0!==Nt&&(tt-=B[zt],ve(R,tt,Nt)))}while(gt{const Y=Ce.dyn_tree,tt=Ce.stat_desc.static_tree,ht=Ce.stat_desc.has_stree,gt=Ce.stat_desc.elems;let zt,Nt,Lt,In=-1;for(R.heap_len=0,R.heap_max=573,zt=0;zt>1;zt>=1;zt--)Ie(R,Y,zt);Lt=gt;do{zt=R.heap[1],R.heap[1]=R.heap[R.heap_len--],Ie(R,Y,1),Nt=R.heap[1],R.heap[--R.heap_max]=zt,R.heap[--R.heap_max]=Nt,Y[2*Lt]=Y[2*zt]+Y[2*Nt],R.depth[Lt]=(R.depth[zt]>=R.depth[Nt]?R.depth[zt]:R.depth[Nt])+1,Y[2*zt+1]=Y[2*Nt+1]=Lt,R.heap[1]=Lt++,Ie(R,Y,1)}while(R.heap_len>=2);R.heap[--R.heap_max]=R.heap[1],((R,Ce)=>{const Y=Ce.dyn_tree,tt=Ce.max_code,ht=Ce.stat_desc.static_tree,gt=Ce.stat_desc.has_stree,zt=Ce.stat_desc.extra_bits,Nt=Ce.stat_desc.extra_base,In=Ce.stat_desc.max_length;let Lt,Kt,Pi,xn,dn,zn,Qi=0;for(xn=0;xn<=15;xn++)R.bl_count[xn]=0;for(Y[2*R.heap[R.heap_max]+1]=0,Lt=R.heap_max+1;Lt<573;Lt++)Kt=R.heap[Lt],xn=Y[2*Y[2*Kt+1]+1]+1,xn>In&&(xn=In,Qi++),Y[2*Kt+1]=xn,!(Kt>tt)&&(R.bl_count[xn]++,dn=0,Kt>=Nt&&(dn=zt[Kt-Nt]),zn=Y[2*Kt],R.opt_len+=zn*(xn+dn),gt&&(R.static_len+=zn*(ht[2*Kt+1]+dn)));if(0!==Qi){do{for(xn=In-1;0===R.bl_count[xn];)xn--;R.bl_count[xn]--,R.bl_count[xn+1]+=2,R.bl_count[In]--,Qi-=2}while(Qi>0);for(xn=In;0!==xn;xn--)for(Kt=R.bl_count[xn];0!==Kt;)Pi=R.heap[--Lt],!(Pi>tt)&&(Y[2*Pi+1]!==xn&&(R.opt_len+=(xn-Y[2*Pi+1])*Y[2*Pi],Y[2*Pi+1]=xn),Kt--)}})(R,Ce),Re(Y,In,R.bl_count)},ye=(R,Ce,Y)=>{let tt,gt,ht=-1,zt=Ce[1],Nt=0,In=7,Lt=4;for(0===zt&&(In=138,Lt=3),Ce[2*(Y+1)+1]=65535,tt=0;tt<=Y;tt++)gt=zt,zt=Ce[2*(tt+1)+1],!(++Nt{let tt,gt,ht=-1,zt=Ce[1],Nt=0,In=7,Lt=4;for(0===zt&&(In=138,Lt=3),tt=0;tt<=Y;tt++)if(gt=zt,zt=Ce[2*(tt+1)+1],!(++Nt{ve(R,0+(tt?1:0),3),Qe(R),ue(R,Y),ue(R,~Y),Y&&R.pending_buf.set(R.window.subarray(Ce,Ce+Y),R.pending),R.pending+=Y};var Ot={_tr_init:R=>{ot||((()=>{let R,Ce,Y,tt,ht;const gt=new Array(16);for(Y=0,tt=0;tt<28;tt++)for(ne[tt]=Y,R=0;R<1<>=7;tt<30;tt++)for(B[tt]=ht<<7,R=0;R<1<{let ht,gt,zt=0;R.level>0?(2===R.strm.data_type&&(R.strm.data_type=(R=>{let Y,Ce=4093624447;for(Y=0;Y<=31;Y++,Ce>>>=1)if(1&Ce&&0!==R.dyn_ltree[2*Y])return 0;if(0!==R.dyn_ltree[18]||0!==R.dyn_ltree[20]||0!==R.dyn_ltree[26])return 1;for(Y=32;Y<256;Y++)if(0!==R.dyn_ltree[2*Y])return 1;return 0})(R)),q(R,R.l_desc),q(R,R.d_desc),zt=(R=>{let Ce;for(ye(R,R.dyn_ltree,R.l_desc.max_code),ye(R,R.dyn_dtree,R.d_desc.max_code),q(R,R.bl_desc),Ce=18;Ce>=3&&0===R.bl_tree[2*F[Ce]+1];Ce--);return R.opt_len+=3*(Ce+1)+5+5+4,Ce})(R),ht=R.opt_len+3+7>>>3,gt=R.static_len+3+7>>>3,gt<=ht&&(ht=gt)):ht=gt=Y+5,Y+4<=ht&&-1!==Ce?pt(R,Ce,Y,tt):4===R.strategy||gt===ht?(ve(R,2+(tt?1:0),3),je(R,A,U)):(ve(R,4+(tt?1:0),3),((R,Ce,Y,tt)=>{let ht;for(ve(R,Ce-257,5),ve(R,Y-1,5),ve(R,tt-4,4),ht=0;ht(R.pending_buf[R.sym_buf+R.sym_next++]=Ce,R.pending_buf[R.sym_buf+R.sym_next++]=Ce>>8,R.pending_buf[R.sym_buf+R.sym_next++]=Y,0===Ce?R.dyn_ltree[2*Y]++:(R.matches++,Ce--,R.dyn_ltree[2*(ee[Y]+256+1)]++,R.dyn_dtree[2*le(Ce)]++),R.sym_next===R.sym_end),_tr_align:R=>{ve(R,2,3),Je(R,256,A),(R=>{16===R.bi_valid?(ue(R,R.bi_buf),R.bi_buf=0,R.bi_valid=0):R.bi_valid>=8&&(R.pending_buf[R.pending++]=255&R.bi_buf,R.bi_buf>>=8,R.bi_valid-=8)})(R)}},xe=(R,Ce,Y,tt)=>{let ht=65535&R|0,gt=R>>>16&65535|0,zt=0;for(;0!==Y;){zt=Y>2e3?2e3:Y,Y-=zt;do{ht=ht+Ce[tt++]|0,gt=gt+ht|0}while(--zt);ht%=65521,gt%=65521}return ht|gt<<16|0};const lt=new Uint32Array((()=>{let R,Ce=[];for(var Y=0;Y<256;Y++){R=Y;for(var tt=0;tt<8;tt++)R=1&R?3988292384^R>>>1:R>>>1;Ce[Y]=R}return Ce})());var nt=(R,Ce,Y,tt)=>{const ht=lt,gt=tt+Y;R^=-1;for(let zt=tt;zt>>8^ht[255&(R^Ce[zt])];return-1^R},vt={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Le={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:He,_tr_stored_block:st,_tr_flush_block:Te,_tr_tally:Pe,_tr_align:bt}=Ot,{Z_NO_FLUSH:Me,Z_PARTIAL_FLUSH:$e,Z_FULL_FLUSH:Ge,Z_FINISH:kt,Z_BLOCK:dt,Z_OK:xt,Z_STREAM_END:qe,Z_STREAM_ERROR:Fe,Z_DATA_ERROR:et,Z_BUF_ERROR:Ke,Z_DEFAULT_COMPRESSION:ft,Z_FILTERED:Bt,Z_HUFFMAN_ONLY:qt,Z_RLE:fn,Z_FIXED:ln,Z_DEFAULT_STRATEGY:An,Z_UNKNOWN:fi,Z_DEFLATED:Si}=Le,mt=262,Wi=(R,Ce)=>(R.msg=vt[Ce],Ce),Ai=R=>2*R-(R>4?9:0),Gi=R=>{let Ce=R.length;for(;--Ce>=0;)R[Ce]=0},or=R=>{let Ce,Y,tt,ht=R.w_size;Ce=R.hash_size,tt=Ce;do{Y=R.head[--tt],R.head[tt]=Y>=ht?Y-ht:0}while(--Ce);Ce=ht,tt=Ce;do{Y=R.prev[--tt],R.prev[tt]=Y>=ht?Y-ht:0}while(--Ce)};let ki=(R,Ce,Y)=>(Ce<{const Ce=R.state;let Y=Ce.pending;Y>R.avail_out&&(Y=R.avail_out),0!==Y&&(R.output.set(Ce.pending_buf.subarray(Ce.pending_out,Ce.pending_out+Y),R.next_out),R.next_out+=Y,Ce.pending_out+=Y,R.total_out+=Y,R.avail_out-=Y,Ce.pending-=Y,0===Ce.pending&&(Ce.pending_out=0))},Wn=(R,Ce)=>{Te(R,R.block_start>=0?R.block_start:-1,R.strstart-R.block_start,Ce),R.block_start=R.strstart,Yn(R.strm)},Zn=(R,Ce)=>{R.pending_buf[R.pending++]=Ce},Dn=(R,Ce)=>{R.pending_buf[R.pending++]=Ce>>>8&255,R.pending_buf[R.pending++]=255&Ce},Qn=(R,Ce,Y,tt)=>{let ht=R.avail_in;return ht>tt&&(ht=tt),0===ht?0:(R.avail_in-=ht,Ce.set(R.input.subarray(R.next_in,R.next_in+ht),Y),1===R.state.wrap?R.adler=xe(R.adler,Ce,ht,Y):2===R.state.wrap&&(R.adler=nt(R.adler,Ce,ht,Y)),R.next_in+=ht,R.total_in+=ht,ht)},ui=(R,Ce)=>{let ht,gt,Y=R.max_chain_length,tt=R.strstart,zt=R.prev_length,Nt=R.nice_match;const In=R.strstart>R.w_size-mt?R.strstart-(R.w_size-mt):0,Lt=R.window,Kt=R.w_mask,Pi=R.prev,xn=R.strstart+258;let dn=Lt[tt+zt-1],zn=Lt[tt+zt];R.prev_length>=R.good_match&&(Y>>=2),Nt>R.lookahead&&(Nt=R.lookahead);do{if(ht=Ce,Lt[ht+zt]===zn&&Lt[ht+zt-1]===dn&&Lt[ht]===Lt[tt]&&Lt[++ht]===Lt[tt+1]){tt+=2,ht++;do{}while(Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&ttzt){if(R.match_start=Ce,zt=gt,gt>=Nt)break;dn=Lt[tt+zt-1],zn=Lt[tt+zt]}}}while((Ce=Pi[Ce&Kt])>In&&0!=--Y);return zt<=R.lookahead?zt:R.lookahead},cn=R=>{const Ce=R.w_size;let Y,tt,ht;do{if(tt=R.window_size-R.lookahead-R.strstart,R.strstart>=Ce+(Ce-mt)&&(R.window.set(R.window.subarray(Ce,Ce+Ce-tt),0),R.match_start-=Ce,R.strstart-=Ce,R.block_start-=Ce,R.insert>R.strstart&&(R.insert=R.strstart),or(R),tt+=Ce),0===R.strm.avail_in)break;if(Y=Qn(R.strm,R.window,R.strstart+R.lookahead,tt),R.lookahead+=Y,R.lookahead+R.insert>=3)for(ht=R.strstart-R.insert,R.ins_h=R.window[ht],R.ins_h=ki(R,R.ins_h,R.window[ht+1]);R.insert&&(R.ins_h=ki(R,R.ins_h,R.window[ht+3-1]),R.prev[ht&R.w_mask]=R.head[R.ins_h],R.head[R.ins_h]=ht,ht++,R.insert--,!(R.lookahead+R.insert<3)););}while(R.lookahead{let tt,ht,gt,Y=R.pending_buf_size-5>R.w_size?R.w_size:R.pending_buf_size-5,zt=0,Nt=R.strm.avail_in;do{if(tt=65535,gt=R.bi_valid+42>>3,R.strm.avail_outht+R.strm.avail_in&&(tt=ht+R.strm.avail_in),tt>gt&&(tt=gt),tt>8,R.pending_buf[R.pending-2]=~tt,R.pending_buf[R.pending-1]=~tt>>8,Yn(R.strm),ht&&(ht>tt&&(ht=tt),R.strm.output.set(R.window.subarray(R.block_start,R.block_start+ht),R.strm.next_out),R.strm.next_out+=ht,R.strm.avail_out-=ht,R.strm.total_out+=ht,R.block_start+=ht,tt-=ht),tt&&(Qn(R.strm,R.strm.output,R.strm.next_out,tt),R.strm.next_out+=tt,R.strm.avail_out-=tt,R.strm.total_out+=tt)}while(0===zt);return Nt-=R.strm.avail_in,Nt&&(Nt>=R.w_size?(R.matches=2,R.window.set(R.strm.input.subarray(R.strm.next_in-R.w_size,R.strm.next_in),0),R.strstart=R.w_size,R.insert=R.strstart):(R.window_size-R.strstart<=Nt&&(R.strstart-=R.w_size,R.window.set(R.window.subarray(R.w_size,R.w_size+R.strstart),0),R.matches<2&&R.matches++,R.insert>R.strstart&&(R.insert=R.strstart)),R.window.set(R.strm.input.subarray(R.strm.next_in-Nt,R.strm.next_in),R.strstart),R.strstart+=Nt,R.insert+=Nt>R.w_size-R.insert?R.w_size-R.insert:Nt),R.block_start=R.strstart),R.high_watergt&&R.block_start>=R.w_size&&(R.block_start-=R.w_size,R.strstart-=R.w_size,R.window.set(R.window.subarray(R.w_size,R.w_size+R.strstart),0),R.matches<2&&R.matches++,gt+=R.w_size,R.insert>R.strstart&&(R.insert=R.strstart)),gt>R.strm.avail_in&&(gt=R.strm.avail_in),gt&&(Qn(R.strm,R.window,R.strstart,gt),R.strstart+=gt,R.insert+=gt>R.w_size-R.insert?R.w_size-R.insert:gt),R.high_water>3,gt=R.pending_buf_size-gt>65535?65535:R.pending_buf_size-gt,Y=gt>R.w_size?R.w_size:gt,ht=R.strstart-R.block_start,(ht>=Y||(ht||Ce===kt)&&Ce!==Me&&0===R.strm.avail_in&&ht<=gt)&&(tt=ht>gt?gt:ht,zt=Ce===kt&&0===R.strm.avail_in&&tt===ht?1:0,st(R,R.block_start,tt,zt),R.block_start+=tt,Yn(R.strm)),zt?3:1)},Nn=(R,Ce)=>{let Y,tt;for(;;){if(R.lookahead=3&&(R.ins_h=ki(R,R.ins_h,R.window[R.strstart+3-1]),Y=R.prev[R.strstart&R.w_mask]=R.head[R.ins_h],R.head[R.ins_h]=R.strstart),0!==Y&&R.strstart-Y<=R.w_size-mt&&(R.match_length=ui(R,Y)),R.match_length>=3)if(tt=Pe(R,R.strstart-R.match_start,R.match_length-3),R.lookahead-=R.match_length,R.match_length<=R.max_lazy_match&&R.lookahead>=3){R.match_length--;do{R.strstart++,R.ins_h=ki(R,R.ins_h,R.window[R.strstart+3-1]),Y=R.prev[R.strstart&R.w_mask]=R.head[R.ins_h],R.head[R.ins_h]=R.strstart}while(0!=--R.match_length);R.strstart++}else R.strstart+=R.match_length,R.match_length=0,R.ins_h=R.window[R.strstart],R.ins_h=ki(R,R.ins_h,R.window[R.strstart+1]);else tt=Pe(R,0,R.window[R.strstart]),R.lookahead--,R.strstart++;if(tt&&(Wn(R,!1),0===R.strm.avail_out))return 1}return R.insert=R.strstart<2?R.strstart:2,Ce===kt?(Wn(R,!0),0===R.strm.avail_out?3:4):R.sym_next&&(Wn(R,!1),0===R.strm.avail_out)?1:2},Fn=(R,Ce)=>{let Y,tt,ht;for(;;){if(R.lookahead=3&&(R.ins_h=ki(R,R.ins_h,R.window[R.strstart+3-1]),Y=R.prev[R.strstart&R.w_mask]=R.head[R.ins_h],R.head[R.ins_h]=R.strstart),R.prev_length=R.match_length,R.prev_match=R.match_start,R.match_length=2,0!==Y&&R.prev_length4096)&&(R.match_length=2)),R.prev_length>=3&&R.match_length<=R.prev_length){ht=R.strstart+R.lookahead-3,tt=Pe(R,R.strstart-1-R.prev_match,R.prev_length-3),R.lookahead-=R.prev_length-1,R.prev_length-=2;do{++R.strstart<=ht&&(R.ins_h=ki(R,R.ins_h,R.window[R.strstart+3-1]),Y=R.prev[R.strstart&R.w_mask]=R.head[R.ins_h],R.head[R.ins_h]=R.strstart)}while(0!=--R.prev_length);if(R.match_available=0,R.match_length=2,R.strstart++,tt&&(Wn(R,!1),0===R.strm.avail_out))return 1}else if(R.match_available){if(tt=Pe(R,0,R.window[R.strstart-1]),tt&&Wn(R,!1),R.strstart++,R.lookahead--,0===R.strm.avail_out)return 1}else R.match_available=1,R.strstart++,R.lookahead--}return R.match_available&&(tt=Pe(R,0,R.window[R.strstart-1]),R.match_available=0),R.insert=R.strstart<2?R.strstart:2,Ce===kt?(Wn(R,!0),0===R.strm.avail_out?3:4):R.sym_next&&(Wn(R,!1),0===R.strm.avail_out)?1:2};function nr(R,Ce,Y,tt,ht){this.good_length=R,this.max_lazy=Ce,this.nice_length=Y,this.max_chain=tt,this.func=ht}const ni=[new nr(0,0,0,0,pn),new nr(4,4,8,4,Nn),new nr(4,5,16,8,Nn),new nr(4,6,32,32,Nn),new nr(4,4,16,16,Fn),new nr(8,16,32,32,Fn),new nr(8,16,128,128,Fn),new nr(8,32,128,256,Fn),new nr(32,128,258,1024,Fn),new nr(32,258,258,4096,Fn)];function En(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Si,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Gi(this.dyn_ltree),Gi(this.dyn_dtree),Gi(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Gi(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Gi(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const ci=R=>{if(!R)return 1;const Ce=R.state;return!Ce||Ce.strm!==R||42!==Ce.status&&57!==Ce.status&&69!==Ce.status&&73!==Ce.status&&91!==Ce.status&&103!==Ce.status&&113!==Ce.status&&666!==Ce.status?1:0},ar=R=>{if(ci(R))return Wi(R,Fe);R.total_in=R.total_out=0,R.data_type=fi;const Ce=R.state;return Ce.pending=0,Ce.pending_out=0,Ce.wrap<0&&(Ce.wrap=-Ce.wrap),Ce.status=2===Ce.wrap?57:Ce.wrap?42:113,R.adler=2===Ce.wrap?0:1,Ce.last_flush=-2,He(Ce),xt},Ui=R=>{const Ce=ar(R);return Ce===xt&&(R=>{R.window_size=2*R.w_size,Gi(R.head),R.max_lazy_match=ni[R.level].max_lazy,R.good_match=ni[R.level].good_length,R.nice_match=ni[R.level].nice_length,R.max_chain_length=ni[R.level].max_chain,R.strstart=0,R.block_start=0,R.lookahead=0,R.insert=0,R.match_length=R.prev_length=2,R.match_available=0,R.ins_h=0})(R.state),Ce},hr=(R,Ce,Y,tt,ht,gt)=>{if(!R)return Fe;let zt=1;if(Ce===ft&&(Ce=6),tt<0?(zt=0,tt=-tt):tt>15&&(zt=2,tt-=16),ht<1||ht>9||Y!==Si||tt<8||tt>15||Ce<0||Ce>9||gt<0||gt>ln||8===tt&&1!==zt)return Wi(R,Fe);8===tt&&(tt=9);const Nt=new En;return R.state=Nt,Nt.strm=R,Nt.status=42,Nt.wrap=zt,Nt.gzhead=null,Nt.w_bits=tt,Nt.w_size=1<hr(R,Ce,Si,15,8,An),deflateInit2:hr,deflateReset:Ui,deflateResetKeep:ar,deflateSetHeader:(R,Ce)=>ci(R)||2!==R.state.wrap?Fe:(R.state.gzhead=Ce,xt),deflate:(R,Ce)=>{if(ci(R)||Ce>dt||Ce<0)return R?Wi(R,Fe):Fe;const Y=R.state;if(!R.output||0!==R.avail_in&&!R.input||666===Y.status&&Ce!==kt)return Wi(R,0===R.avail_out?Ke:Fe);const tt=Y.last_flush;if(Y.last_flush=Ce,0!==Y.pending){if(Yn(R),0===R.avail_out)return Y.last_flush=-1,xt}else if(0===R.avail_in&&Ai(Ce)<=Ai(tt)&&Ce!==kt)return Wi(R,Ke);if(666===Y.status&&0!==R.avail_in)return Wi(R,Ke);if(42===Y.status&&0===Y.wrap&&(Y.status=113),42===Y.status){let ht=Si+(Y.w_bits-8<<4)<<8,gt=-1;if(gt=Y.strategy>=qt||Y.level<2?0:Y.level<6?1:6===Y.level?2:3,ht|=gt<<6,0!==Y.strstart&&(ht|=32),ht+=31-ht%31,Dn(Y,ht),0!==Y.strstart&&(Dn(Y,R.adler>>>16),Dn(Y,65535&R.adler)),R.adler=1,Y.status=113,Yn(R),0!==Y.pending)return Y.last_flush=-1,xt}if(57===Y.status)if(R.adler=0,Zn(Y,31),Zn(Y,139),Zn(Y,8),Y.gzhead)Zn(Y,(Y.gzhead.text?1:0)+(Y.gzhead.hcrc?2:0)+(Y.gzhead.extra?4:0)+(Y.gzhead.name?8:0)+(Y.gzhead.comment?16:0)),Zn(Y,255&Y.gzhead.time),Zn(Y,Y.gzhead.time>>8&255),Zn(Y,Y.gzhead.time>>16&255),Zn(Y,Y.gzhead.time>>24&255),Zn(Y,9===Y.level?2:Y.strategy>=qt||Y.level<2?4:0),Zn(Y,255&Y.gzhead.os),Y.gzhead.extra&&Y.gzhead.extra.length&&(Zn(Y,255&Y.gzhead.extra.length),Zn(Y,Y.gzhead.extra.length>>8&255)),Y.gzhead.hcrc&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending,0)),Y.gzindex=0,Y.status=69;else if(Zn(Y,0),Zn(Y,0),Zn(Y,0),Zn(Y,0),Zn(Y,0),Zn(Y,9===Y.level?2:Y.strategy>=qt||Y.level<2?4:0),Zn(Y,3),Y.status=113,Yn(R),0!==Y.pending)return Y.last_flush=-1,xt;if(69===Y.status){if(Y.gzhead.extra){let ht=Y.pending,gt=(65535&Y.gzhead.extra.length)-Y.gzindex;for(;Y.pending+gt>Y.pending_buf_size;){let Nt=Y.pending_buf_size-Y.pending;if(Y.pending_buf.set(Y.gzhead.extra.subarray(Y.gzindex,Y.gzindex+Nt),Y.pending),Y.pending=Y.pending_buf_size,Y.gzhead.hcrc&&Y.pending>ht&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending-ht,ht)),Y.gzindex+=Nt,Yn(R),0!==Y.pending)return Y.last_flush=-1,xt;ht=0,gt-=Nt}let zt=new Uint8Array(Y.gzhead.extra);Y.pending_buf.set(zt.subarray(Y.gzindex,Y.gzindex+gt),Y.pending),Y.pending+=gt,Y.gzhead.hcrc&&Y.pending>ht&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending-ht,ht)),Y.gzindex=0}Y.status=73}if(73===Y.status){if(Y.gzhead.name){let gt,ht=Y.pending;do{if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>ht&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending-ht,ht)),Yn(R),0!==Y.pending)return Y.last_flush=-1,xt;ht=0}gt=Y.gzindexht&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending-ht,ht)),Y.gzindex=0}Y.status=91}if(91===Y.status){if(Y.gzhead.comment){let gt,ht=Y.pending;do{if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>ht&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending-ht,ht)),Yn(R),0!==Y.pending)return Y.last_flush=-1,xt;ht=0}gt=Y.gzindexht&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending-ht,ht))}Y.status=103}if(103===Y.status){if(Y.gzhead.hcrc){if(Y.pending+2>Y.pending_buf_size&&(Yn(R),0!==Y.pending))return Y.last_flush=-1,xt;Zn(Y,255&R.adler),Zn(Y,R.adler>>8&255),R.adler=0}if(Y.status=113,Yn(R),0!==Y.pending)return Y.last_flush=-1,xt}if(0!==R.avail_in||0!==Y.lookahead||Ce!==Me&&666!==Y.status){let ht=0===Y.level?pn(Y,Ce):Y.strategy===qt?((R,Ce)=>{let Y;for(;;){if(0===R.lookahead&&(cn(R),0===R.lookahead)){if(Ce===Me)return 1;break}if(R.match_length=0,Y=Pe(R,0,R.window[R.strstart]),R.lookahead--,R.strstart++,Y&&(Wn(R,!1),0===R.strm.avail_out))return 1}return R.insert=0,Ce===kt?(Wn(R,!0),0===R.strm.avail_out?3:4):R.sym_next&&(Wn(R,!1),0===R.strm.avail_out)?1:2})(Y,Ce):Y.strategy===fn?((R,Ce)=>{let Y,tt,ht,gt;const zt=R.window;for(;;){if(R.lookahead<=258){if(cn(R),R.lookahead<=258&&Ce===Me)return 1;if(0===R.lookahead)break}if(R.match_length=0,R.lookahead>=3&&R.strstart>0&&(ht=R.strstart-1,tt=zt[ht],tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht])){gt=R.strstart+258;do{}while(tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht]&&htR.lookahead&&(R.match_length=R.lookahead)}if(R.match_length>=3?(Y=Pe(R,1,R.match_length-3),R.lookahead-=R.match_length,R.strstart+=R.match_length,R.match_length=0):(Y=Pe(R,0,R.window[R.strstart]),R.lookahead--,R.strstart++),Y&&(Wn(R,!1),0===R.strm.avail_out))return 1}return R.insert=0,Ce===kt?(Wn(R,!0),0===R.strm.avail_out?3:4):R.sym_next&&(Wn(R,!1),0===R.strm.avail_out)?1:2})(Y,Ce):ni[Y.level].func(Y,Ce);if((3===ht||4===ht)&&(Y.status=666),1===ht||3===ht)return 0===R.avail_out&&(Y.last_flush=-1),xt;if(2===ht&&(Ce===$e?bt(Y):Ce!==dt&&(st(Y,0,0,!1),Ce===Ge&&(Gi(Y.head),0===Y.lookahead&&(Y.strstart=0,Y.block_start=0,Y.insert=0))),Yn(R),0===R.avail_out))return Y.last_flush=-1,xt}return Ce!==kt?xt:Y.wrap<=0?qe:(2===Y.wrap?(Zn(Y,255&R.adler),Zn(Y,R.adler>>8&255),Zn(Y,R.adler>>16&255),Zn(Y,R.adler>>24&255),Zn(Y,255&R.total_in),Zn(Y,R.total_in>>8&255),Zn(Y,R.total_in>>16&255),Zn(Y,R.total_in>>24&255)):(Dn(Y,R.adler>>>16),Dn(Y,65535&R.adler)),Yn(R),Y.wrap>0&&(Y.wrap=-Y.wrap),0!==Y.pending?xt:qe)},deflateEnd:R=>{if(ci(R))return Fe;const Ce=R.state.status;return R.state=null,113===Ce?Wi(R,et):xt},deflateSetDictionary:(R,Ce)=>{let Y=Ce.length;if(ci(R))return Fe;const tt=R.state,ht=tt.wrap;if(2===ht||1===ht&&42!==tt.status||tt.lookahead)return Fe;if(1===ht&&(R.adler=xe(R.adler,Ce,Y,0)),tt.wrap=0,Y>=tt.w_size){0===ht&&(Gi(tt.head),tt.strstart=0,tt.block_start=0,tt.insert=0);let In=new Uint8Array(tt.w_size);In.set(Ce.subarray(Y-tt.w_size,Y),0),Ce=In,Y=tt.w_size}const gt=R.avail_in,zt=R.next_in,Nt=R.input;for(R.avail_in=Y,R.next_in=0,R.input=Ce,cn(tt);tt.lookahead>=3;){let In=tt.strstart,Lt=tt.lookahead-2;do{tt.ins_h=ki(tt,tt.ins_h,tt.window[In+3-1]),tt.prev[In&tt.w_mask]=tt.head[tt.ins_h],tt.head[tt.ins_h]=In,In++}while(--Lt);tt.strstart=In,tt.lookahead=2,cn(tt)}return tt.strstart+=tt.lookahead,tt.block_start=tt.strstart,tt.insert=tt.lookahead,tt.lookahead=0,tt.match_length=tt.prev_length=2,tt.match_available=0,R.next_in=zt,R.input=Nt,R.avail_in=gt,tt.wrap=ht,xt},deflateInfo:"pako deflate (from Nodeca project)"};const jt=(R,Ce)=>Object.prototype.hasOwnProperty.call(R,Ce);var hn={assign:function(R){const Ce=Array.prototype.slice.call(arguments,1);for(;Ce.length;){const Y=Ce.shift();if(Y){if("object"!=typeof Y)throw new TypeError(Y+"must be non-object");for(const tt in Y)jt(Y,tt)&&(R[tt]=Y[tt])}}return R},flattenChunks:R=>{let Ce=0;for(let tt=0,ht=R.length;tt=252?6:R>=248?5:R>=240?4:R>=224?3:R>=192?2:1;On[254]=On[254]=1;var kn={string2buf:R=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(R);let Ce,Y,tt,ht,gt,zt=R.length,Nt=0;for(ht=0;ht>>6,Ce[gt++]=128|63&Y):Y<65536?(Ce[gt++]=224|Y>>>12,Ce[gt++]=128|Y>>>6&63,Ce[gt++]=128|63&Y):(Ce[gt++]=240|Y>>>18,Ce[gt++]=128|Y>>>12&63,Ce[gt++]=128|Y>>>6&63,Ce[gt++]=128|63&Y);return Ce},buf2string:(R,Ce)=>{const Y=Ce||R.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(R.subarray(0,Ce));let tt,ht;const gt=new Array(2*Y);for(ht=0,tt=0;tt4)gt[ht++]=65533,tt+=Nt-1;else{for(zt&=2===Nt?31:3===Nt?15:7;Nt>1&&tt1?gt[ht++]=65533:zt<65536?gt[ht++]=zt:(zt-=65536,gt[ht++]=55296|zt>>10&1023,gt[ht++]=56320|1023&zt)}}return((R,Ce)=>{if(Ce<65534&&R.subarray&&Sn)return String.fromCharCode.apply(null,R.length===Ce?R:R.subarray(0,Ce));let Y="";for(let tt=0;tt{(Ce=Ce||R.length)>R.length&&(Ce=R.length);let Y=Ce-1;for(;Y>=0&&128==(192&R[Y]);)Y--;return Y<0||0===Y?Ce:Y+On[R[Y]]>Ce?Y:Ce}},ir=function Ln(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const $i=Object.prototype.toString,{Z_NO_FLUSH:Or,Z_SYNC_FLUSH:fr,Z_FULL_FLUSH:Ts,Z_FINISH:Br,Z_OK:Cr,Z_STREAM_END:_s,Z_DEFAULT_COMPRESSION:Ss,Z_DEFAULT_STRATEGY:Qr,Z_DEFLATED:Rr}=Le;function os(R){this.options=hn.assign({level:Ss,method:Rr,chunkSize:16384,windowBits:15,memLevel:8,strategy:Qr},R||{});let Ce=this.options;Ce.raw&&Ce.windowBits>0?Ce.windowBits=-Ce.windowBits:Ce.gzip&&Ce.windowBits>0&&Ce.windowBits<16&&(Ce.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ir,this.strm.avail_out=0;let Y=Ft.deflateInit2(this.strm,Ce.level,Ce.method,Ce.windowBits,Ce.memLevel,Ce.strategy);if(Y!==Cr)throw new Error(vt[Y]);if(Ce.header&&Ft.deflateSetHeader(this.strm,Ce.header),Ce.dictionary){let tt;if(tt="string"==typeof Ce.dictionary?kn.string2buf(Ce.dictionary):"[object ArrayBuffer]"===$i.call(Ce.dictionary)?new Uint8Array(Ce.dictionary):Ce.dictionary,Y=Ft.deflateSetDictionary(this.strm,tt),Y!==Cr)throw new Error(vt[Y]);this._dict_set=!0}}function As(R,Ce){const Y=new os(Ce);if(Y.push(R,!0),Y.err)throw Y.msg||vt[Y.err];return Y.result}os.prototype.push=function(R,Ce){const Y=this.strm,tt=this.options.chunkSize;let ht,gt;if(this.ended)return!1;for(gt=Ce===~~Ce?Ce:!0===Ce?Br:Or,Y.input="string"==typeof R?kn.string2buf(R):"[object ArrayBuffer]"===$i.call(R)?new Uint8Array(R):R,Y.next_in=0,Y.avail_in=Y.input.length;;)if(0===Y.avail_out&&(Y.output=new Uint8Array(tt),Y.next_out=0,Y.avail_out=tt),(gt===fr||gt===Ts)&&Y.avail_out<=6)this.onData(Y.output.subarray(0,Y.next_out)),Y.avail_out=0;else{if(ht=Ft.deflate(Y,gt),ht===_s)return Y.next_out>0&&this.onData(Y.output.subarray(0,Y.next_out)),ht=Ft.deflateEnd(this.strm),this.onEnd(ht),this.ended=!0,ht===Cr;if(0!==Y.avail_out){if(gt>0&&Y.next_out>0)this.onData(Y.output.subarray(0,Y.next_out)),Y.avail_out=0;else if(0===Y.avail_in)break}else this.onData(Y.output)}return!0},os.prototype.onData=function(R){this.chunks.push(R)},os.prototype.onEnd=function(R){R===Cr&&(this.result=hn.flattenChunks(this.chunks)),this.chunks=[],this.err=R,this.msg=this.strm.msg};var Tt={Deflate:os,deflate:As,deflateRaw:function mo(R,Ce){return(Ce=Ce||{}).raw=!0,As(R,Ce)},gzip:function po(R,Ce){return(Ce=Ce||{}).gzip=!0,As(R,Ce)},constants:Le};const wn=16209;var Dr=function(Ce,Y){let tt,ht,gt,zt,Nt,In,Lt,Kt,Pi,xn,dn,zn,Qi,_n,ii,Ni,li,Cn,Ii,yr,$n,Xi,Di,ai;const Ei=Ce.state;tt=Ce.next_in,Di=Ce.input,ht=tt+(Ce.avail_in-5),gt=Ce.next_out,ai=Ce.output,zt=gt-(Y-Ce.avail_out),Nt=gt+(Ce.avail_out-257),In=Ei.dmax,Lt=Ei.wsize,Kt=Ei.whave,Pi=Ei.wnext,xn=Ei.window,dn=Ei.hold,zn=Ei.bits,Qi=Ei.lencode,_n=Ei.distcode,ii=(1<>>24,dn>>>=Cn,zn-=Cn,Cn=li>>>16&255,0===Cn)ai[gt++]=65535&li;else{if(!(16&Cn)){if(64&Cn){if(32&Cn){Ei.mode=16191;break e}Ce.msg="invalid literal/length code",Ei.mode=wn;break e}li=Qi[(65535&li)+(dn&(1<>>=Cn,zn-=Cn),zn<15&&(dn+=Di[tt++]<>>24,dn>>>=Cn,zn-=Cn,Cn=li>>>16&255,16&Cn){if(yr=65535&li,Cn&=15,znIn){Ce.msg="invalid distance too far back",Ei.mode=wn;break e}if(dn>>>=Cn,zn-=Cn,Cn=gt-zt,yr>Cn){if(Cn=yr-Cn,Cn>Kt&&Ei.sane){Ce.msg="invalid distance too far back",Ei.mode=wn;break e}if($n=0,Xi=xn,0===Pi){if($n+=Lt-Cn,Cn2;)ai[gt++]=Xi[$n++],ai[gt++]=Xi[$n++],ai[gt++]=Xi[$n++],Ii-=3;Ii&&(ai[gt++]=Xi[$n++],Ii>1&&(ai[gt++]=Xi[$n++]))}else{$n=gt-yr;do{ai[gt++]=ai[$n++],ai[gt++]=ai[$n++],ai[gt++]=ai[$n++],Ii-=3}while(Ii>2);Ii&&(ai[gt++]=ai[$n++],Ii>1&&(ai[gt++]=ai[$n++]))}break}if(64&Cn){Ce.msg="invalid distance code",Ei.mode=wn;break e}li=_n[(65535&li)+(dn&(1<>3,tt-=Ii,zn-=Ii<<3,dn&=(1<{const In=Nt.bits;let li,Cn,Ii,yr,$n,Di,Lt=0,Kt=0,Pi=0,xn=0,dn=0,zn=0,Qi=0,_n=0,ii=0,Ni=0,Xi=null;const ai=new Uint16Array(16),Ei=new Uint16Array(16);let Xn,xi,pl,fs=null;for(Lt=0;Lt<=15;Lt++)ai[Lt]=0;for(Kt=0;Kt=1&&0===ai[xn];xn--);if(dn>xn&&(dn=xn),0===xn)return ht[gt++]=20971520,ht[gt++]=20971520,Nt.bits=1,0;for(Pi=1;Pi0&&(0===R||1!==xn))return-1;for(Ei[1]=0,Lt=1;Lt<15;Lt++)Ei[Lt+1]=Ei[Lt]+ai[Lt];for(Kt=0;Kt852||2===R&&ii>592)return 1;for(;;){Xn=Lt-Qi,zt[Kt]+1=Di?(xi=fs[zt[Kt]-Di],pl=Xi[zt[Kt]-Di]):(xi=96,pl=0),li=1<>Qi)+Cn]=Xn<<24|xi<<16|pl|0}while(0!==Cn);for(li=1<>=1;if(0!==li?(Ni&=li-1,Ni+=li):Ni=0,Kt++,0==--ai[Lt]){if(Lt===xn)break;Lt=Ce[Y+zt[Kt]]}if(Lt>dn&&(Ni&yr)!==Ii){for(0===Qi&&(Qi=dn),$n+=Pi,zn=Lt-Qi,_n=1<852||2===R&&ii>592)return 1;Ii=Ni&yr,ht[Ii]=dn<<24|zn<<16|$n-gt|0}}return 0!==Ni&&(ht[$n+Ni]=Lt-Qi<<24|64<<16|0),Nt.bits=dn,0};const{Z_FINISH:ls,Z_BLOCK:Jr,Z_TREES:cr,Z_OK:jr,Z_STREAM_END:qs,Z_NEED_DICT:eo,Z_STREAM_ERROR:Vi,Z_DATA_ERROR:to,Z_MEM_ERROR:bs,Z_BUF_ERROR:no,Z_DEFLATED:ys}=Le,cs=16180,io=16190,zr=16191,Hn=16199,Lr=16200,Yi=16209,oe=R=>(R>>>24&255)+(R>>>8&65280)+((65280&R)<<8)+((255&R)<<24);function be(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ut=R=>{if(!R)return 1;const Ce=R.state;return!Ce||Ce.strm!==R||Ce.mode16211?1:0},$t=R=>{if(ut(R))return Vi;const Ce=R.state;return R.total_in=R.total_out=Ce.total=0,R.msg="",Ce.wrap&&(R.adler=1&Ce.wrap),Ce.mode=cs,Ce.last=0,Ce.havedict=0,Ce.flags=-1,Ce.dmax=32768,Ce.head=null,Ce.hold=0,Ce.bits=0,Ce.lencode=Ce.lendyn=new Int32Array(852),Ce.distcode=Ce.distdyn=new Int32Array(592),Ce.sane=1,Ce.back=-1,jr},Qt=R=>{if(ut(R))return Vi;const Ce=R.state;return Ce.wsize=0,Ce.whave=0,Ce.wnext=0,$t(R)},bn=(R,Ce)=>{let Y;if(ut(R))return Vi;const tt=R.state;return Ce<0?(Y=0,Ce=-Ce):(Y=5+(Ce>>4),Ce<48&&(Ce&=15)),Ce&&(Ce<8||Ce>15)?Vi:(null!==tt.window&&tt.wbits!==Ce&&(tt.window=null),tt.wrap=Y,tt.wbits=Ce,Qt(R))},Ri=(R,Ce)=>{if(!R)return Vi;const Y=new be;R.state=Y,Y.strm=R,Y.window=null,Y.mode=cs;const tt=bn(R,Ce);return tt!==jr&&(R.state=null),tt};let qn,Ci,Li=!0;const wi=R=>{if(Li){qn=new Int32Array(512),Ci=new Int32Array(32);let Ce=0;for(;Ce<144;)R.lens[Ce++]=8;for(;Ce<256;)R.lens[Ce++]=9;for(;Ce<280;)R.lens[Ce++]=7;for(;Ce<288;)R.lens[Ce++]=8;for(Xr(1,R.lens,0,288,qn,0,R.work,{bits:9}),Ce=0;Ce<32;)R.lens[Ce++]=5;Xr(2,R.lens,0,32,Ci,0,R.work,{bits:5}),Li=!1}R.lencode=qn,R.lenbits=9,R.distcode=Ci,R.distbits=5},er=(R,Ce,Y,tt)=>{let ht;const gt=R.state;return null===gt.window&&(gt.wsize=1<=gt.wsize?(gt.window.set(Ce.subarray(Y-gt.wsize,Y),0),gt.wnext=0,gt.whave=gt.wsize):(ht=gt.wsize-gt.wnext,ht>tt&&(ht=tt),gt.window.set(Ce.subarray(Y-tt,Y-tt+ht),gt.wnext),(tt-=ht)?(gt.window.set(Ce.subarray(Y-tt,Y),0),gt.wnext=tt,gt.whave=gt.wsize):(gt.wnext+=ht,gt.wnext===gt.wsize&&(gt.wnext=0),gt.whaveRi(R,15),inflateInit2:Ri,inflate:(R,Ce)=>{let Y,tt,ht,gt,zt,Nt,In,Lt,Kt,Pi,xn,dn,zn,Qi,ii,Ni,li,Cn,Ii,yr,$n,Xi,_n=0;const Di=new Uint8Array(4);let ai,Ei;const fs=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ut(R)||!R.output||!R.input&&0!==R.avail_in)return Vi;Y=R.state,Y.mode===zr&&(Y.mode=16192),zt=R.next_out,ht=R.output,In=R.avail_out,gt=R.next_in,tt=R.input,Nt=R.avail_in,Lt=Y.hold,Kt=Y.bits,Pi=Nt,xn=In,Xi=jr;e:for(;;)switch(Y.mode){case cs:if(0===Y.wrap){Y.mode=16192;break}for(;Kt<16;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>8&255,Y.check=nt(Y.check,Di,2,0),Lt=0,Kt=0,Y.mode=16181;break}if(Y.head&&(Y.head.done=!1),!(1&Y.wrap)||(((255&Lt)<<8)+(Lt>>8))%31){R.msg="incorrect header check",Y.mode=Yi;break}if((15&Lt)!==ys){R.msg="unknown compression method",Y.mode=Yi;break}if(Lt>>>=4,Kt-=4,$n=8+(15&Lt),0===Y.wbits&&(Y.wbits=$n),$n>15||$n>Y.wbits){R.msg="invalid window size",Y.mode=Yi;break}Y.dmax=1<>8&1),512&Y.flags&&4&Y.wrap&&(Di[0]=255&Lt,Di[1]=Lt>>>8&255,Y.check=nt(Y.check,Di,2,0)),Lt=0,Kt=0,Y.mode=16182;case 16182:for(;Kt<32;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>8&255,Di[2]=Lt>>>16&255,Di[3]=Lt>>>24&255,Y.check=nt(Y.check,Di,4,0)),Lt=0,Kt=0,Y.mode=16183;case 16183:for(;Kt<16;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>8),512&Y.flags&&4&Y.wrap&&(Di[0]=255&Lt,Di[1]=Lt>>>8&255,Y.check=nt(Y.check,Di,2,0)),Lt=0,Kt=0,Y.mode=16184;case 16184:if(1024&Y.flags){for(;Kt<16;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>8&255,Y.check=nt(Y.check,Di,2,0)),Lt=0,Kt=0}else Y.head&&(Y.head.extra=null);Y.mode=16185;case 16185:if(1024&Y.flags&&(dn=Y.length,dn>Nt&&(dn=Nt),dn&&(Y.head&&($n=Y.head.extra_len-Y.length,Y.head.extra||(Y.head.extra=new Uint8Array(Y.head.extra_len)),Y.head.extra.set(tt.subarray(gt,gt+dn),$n)),512&Y.flags&&4&Y.wrap&&(Y.check=nt(Y.check,tt,dn,gt)),Nt-=dn,gt+=dn,Y.length-=dn),Y.length))break e;Y.length=0,Y.mode=16186;case 16186:if(2048&Y.flags){if(0===Nt)break e;dn=0;do{$n=tt[gt+dn++],Y.head&&$n&&Y.length<65536&&(Y.head.name+=String.fromCharCode($n))}while($n&&dn>9&1,Y.head.done=!0),R.adler=Y.check=0,Y.mode=zr;break;case 16189:for(;Kt<32;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>=7&Kt,Kt-=7&Kt,Y.mode=16206;break}for(;Kt<3;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>=1,Kt-=1,3&Lt){case 0:Y.mode=16193;break;case 1:if(wi(Y),Y.mode=Hn,Ce===cr){Lt>>>=2,Kt-=2;break e}break;case 2:Y.mode=16196;break;case 3:R.msg="invalid block type",Y.mode=Yi}Lt>>>=2,Kt-=2;break;case 16193:for(Lt>>>=7&Kt,Kt-=7&Kt;Kt<32;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>16^65535)){R.msg="invalid stored block lengths",Y.mode=Yi;break}if(Y.length=65535&Lt,Lt=0,Kt=0,Y.mode=16194,Ce===cr)break e;case 16194:Y.mode=16195;case 16195:if(dn=Y.length,dn){if(dn>Nt&&(dn=Nt),dn>In&&(dn=In),0===dn)break e;ht.set(tt.subarray(gt,gt+dn),zt),Nt-=dn,gt+=dn,In-=dn,zt+=dn,Y.length-=dn;break}Y.mode=zr;break;case 16196:for(;Kt<14;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>=5,Kt-=5,Y.ndist=1+(31&Lt),Lt>>>=5,Kt-=5,Y.ncode=4+(15&Lt),Lt>>>=4,Kt-=4,Y.nlen>286||Y.ndist>30){R.msg="too many length or distance symbols",Y.mode=Yi;break}Y.have=0,Y.mode=16197;case 16197:for(;Y.have>>=3,Kt-=3}for(;Y.have<19;)Y.lens[fs[Y.have++]]=0;if(Y.lencode=Y.lendyn,Y.lenbits=7,ai={bits:Y.lenbits},Xi=Xr(0,Y.lens,0,19,Y.lencode,0,Y.work,ai),Y.lenbits=ai.bits,Xi){R.msg="invalid code lengths set",Y.mode=Yi;break}Y.have=0,Y.mode=16198;case 16198:for(;Y.have>>24,Ni=_n>>>16&255,li=65535&_n,!(ii<=Kt);){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>=ii,Kt-=ii,Y.lens[Y.have++]=li;else{if(16===li){for(Ei=ii+2;Kt>>=ii,Kt-=ii,0===Y.have){R.msg="invalid bit length repeat",Y.mode=Yi;break}$n=Y.lens[Y.have-1],dn=3+(3&Lt),Lt>>>=2,Kt-=2}else if(17===li){for(Ei=ii+3;Kt>>=ii,Kt-=ii,$n=0,dn=3+(7&Lt),Lt>>>=3,Kt-=3}else{for(Ei=ii+7;Kt>>=ii,Kt-=ii,$n=0,dn=11+(127&Lt),Lt>>>=7,Kt-=7}if(Y.have+dn>Y.nlen+Y.ndist){R.msg="invalid bit length repeat",Y.mode=Yi;break}for(;dn--;)Y.lens[Y.have++]=$n}}if(Y.mode===Yi)break;if(0===Y.lens[256]){R.msg="invalid code -- missing end-of-block",Y.mode=Yi;break}if(Y.lenbits=9,ai={bits:Y.lenbits},Xi=Xr(1,Y.lens,0,Y.nlen,Y.lencode,0,Y.work,ai),Y.lenbits=ai.bits,Xi){R.msg="invalid literal/lengths set",Y.mode=Yi;break}if(Y.distbits=6,Y.distcode=Y.distdyn,ai={bits:Y.distbits},Xi=Xr(2,Y.lens,Y.nlen,Y.ndist,Y.distcode,0,Y.work,ai),Y.distbits=ai.bits,Xi){R.msg="invalid distances set",Y.mode=Yi;break}if(Y.mode=Hn,Ce===cr)break e;case Hn:Y.mode=Lr;case Lr:if(Nt>=6&&In>=258){R.next_out=zt,R.avail_out=In,R.next_in=gt,R.avail_in=Nt,Y.hold=Lt,Y.bits=Kt,Dr(R,xn),zt=R.next_out,ht=R.output,In=R.avail_out,gt=R.next_in,tt=R.input,Nt=R.avail_in,Lt=Y.hold,Kt=Y.bits,Y.mode===zr&&(Y.back=-1);break}for(Y.back=0;_n=Y.lencode[Lt&(1<>>24,Ni=_n>>>16&255,li=65535&_n,!(ii<=Kt);){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>Cn)],ii=_n>>>24,Ni=_n>>>16&255,li=65535&_n,!(Cn+ii<=Kt);){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>=Cn,Kt-=Cn,Y.back+=Cn}if(Lt>>>=ii,Kt-=ii,Y.back+=ii,Y.length=li,0===Ni){Y.mode=16205;break}if(32&Ni){Y.back=-1,Y.mode=zr;break}if(64&Ni){R.msg="invalid literal/length code",Y.mode=Yi;break}Y.extra=15&Ni,Y.mode=16201;case 16201:if(Y.extra){for(Ei=Y.extra;Kt>>=Y.extra,Kt-=Y.extra,Y.back+=Y.extra}Y.was=Y.length,Y.mode=16202;case 16202:for(;_n=Y.distcode[Lt&(1<>>24,Ni=_n>>>16&255,li=65535&_n,!(ii<=Kt);){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>Cn)],ii=_n>>>24,Ni=_n>>>16&255,li=65535&_n,!(Cn+ii<=Kt);){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>=Cn,Kt-=Cn,Y.back+=Cn}if(Lt>>>=ii,Kt-=ii,Y.back+=ii,64&Ni){R.msg="invalid distance code",Y.mode=Yi;break}Y.offset=li,Y.extra=15&Ni,Y.mode=16203;case 16203:if(Y.extra){for(Ei=Y.extra;Kt>>=Y.extra,Kt-=Y.extra,Y.back+=Y.extra}if(Y.offset>Y.dmax){R.msg="invalid distance too far back",Y.mode=Yi;break}Y.mode=16204;case 16204:if(0===In)break e;if(dn=xn-In,Y.offset>dn){if(dn=Y.offset-dn,dn>Y.whave&&Y.sane){R.msg="invalid distance too far back",Y.mode=Yi;break}dn>Y.wnext?(dn-=Y.wnext,zn=Y.wsize-dn):zn=Y.wnext-dn,dn>Y.length&&(dn=Y.length),Qi=Y.window}else Qi=ht,zn=zt-Y.offset,dn=Y.length;dn>In&&(dn=In),In-=dn,Y.length-=dn;do{ht[zt++]=Qi[zn++]}while(--dn);0===Y.length&&(Y.mode=Lr);break;case 16205:if(0===In)break e;ht[zt++]=Y.length,In--,Y.mode=Lr;break;case 16206:if(Y.wrap){for(;Kt<32;){if(0===Nt)break e;Nt--,Lt|=tt[gt++]<{if(ut(R))return Vi;let Ce=R.state;return Ce.window&&(Ce.window=null),R.state=null,jr},inflateGetHeader:(R,Ce)=>{if(ut(R))return Vi;const Y=R.state;return 2&Y.wrap?(Y.head=Ce,Ce.done=!1,jr):Vi},inflateSetDictionary:(R,Ce)=>{const Y=Ce.length;let tt,ht,gt;return ut(R)||(tt=R.state,0!==tt.wrap&&tt.mode!==io)?Vi:tt.mode===io&&(ht=1,ht=xe(ht,Ce,Y,0),ht!==tt.check)?to:(gt=er(R,Ce,Y,Y),gt?(tt.mode=16210,bs):(tt.havedict=1,jr))},inflateInfo:"pako inflate (from Nodeca project)"},Es=function Vo(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const xs=Object.prototype.toString,{Z_NO_FLUSH:ha,Z_FINISH:fa,Z_OK:ur,Z_STREAM_END:hs,Z_NEED_DICT:xo,Z_STREAM_ERROR:Mo,Z_DATA_ERROR:Vs,Z_MEM_ERROR:Io}=Le;function jo(R){this.options=hn.assign({chunkSize:65536,windowBits:15,to:""},R||{});const Ce=this.options;Ce.raw&&Ce.windowBits>=0&&Ce.windowBits<16&&(Ce.windowBits=-Ce.windowBits,0===Ce.windowBits&&(Ce.windowBits=-15)),Ce.windowBits>=0&&Ce.windowBits<16&&!(R&&R.windowBits)&&(Ce.windowBits+=32),Ce.windowBits>15&&Ce.windowBits<48&&(15&Ce.windowBits||(Ce.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ir,this.strm.avail_out=0;let Y=pr.inflateInit2(this.strm,Ce.windowBits);if(Y!==ur)throw new Error(vt[Y]);if(this.header=new Es,pr.inflateGetHeader(this.strm,this.header),Ce.dictionary&&("string"==typeof Ce.dictionary?Ce.dictionary=kn.string2buf(Ce.dictionary):"[object ArrayBuffer]"===xs.call(Ce.dictionary)&&(Ce.dictionary=new Uint8Array(Ce.dictionary)),Ce.raw&&(Y=pr.inflateSetDictionary(this.strm,Ce.dictionary),Y!==ur)))throw new Error(vt[Y])}function oo(R,Ce){const Y=new jo(Ce);if(Y.push(R),Y.err)throw Y.msg||vt[Y.err];return Y.result}jo.prototype.push=function(R,Ce){const Y=this.strm,tt=this.options.chunkSize,ht=this.options.dictionary;let gt,zt,Nt;if(this.ended)return!1;for(zt=Ce===~~Ce?Ce:!0===Ce?fa:ha,Y.input="[object ArrayBuffer]"===xs.call(R)?new Uint8Array(R):R,Y.next_in=0,Y.avail_in=Y.input.length;;){for(0===Y.avail_out&&(Y.output=new Uint8Array(tt),Y.next_out=0,Y.avail_out=tt),gt=pr.inflate(Y,zt),gt===xo&&ht&&(gt=pr.inflateSetDictionary(Y,ht),gt===ur?gt=pr.inflate(Y,zt):gt===Vs&&(gt=xo));Y.avail_in>0&>===hs&&Y.state.wrap>0&&0!==R[Y.next_in];)pr.inflateReset(Y),gt=pr.inflate(Y,zt);switch(gt){case Mo:case Vs:case xo:case Io:return this.onEnd(gt),this.ended=!0,!1}if(Nt=Y.avail_out,Y.next_out&&(0===Y.avail_out||gt===hs))if("string"===this.options.to){let In=kn.utf8border(Y.output,Y.next_out),Lt=Y.next_out-In,Kt=kn.buf2string(Y.output,In);Y.next_out=Lt,Y.avail_out=tt-Lt,Lt&&Y.output.set(Y.output.subarray(In,In+Lt),0),this.onData(Kt)}else this.onData(Y.output.length===Y.next_out?Y.output:Y.output.subarray(0,Y.next_out));if(gt!==ur||0!==Nt){if(gt===hs)return gt=pr.inflateEnd(this.strm),this.onEnd(gt),this.ended=!0,!0;if(0===Y.avail_in)break}}return!0},jo.prototype.onData=function(R){this.chunks.push(R)},jo.prototype.onEnd=function(R){R===ur&&(this.result="string"===this.options.to?this.chunks.join(""):hn.flattenChunks(this.chunks)),this.chunks=[],this.err=R,this.msg=this.strm.msg};var fl={Inflate:jo,inflate:oo,inflateRaw:function hl(R,Ce){return(Ce=Ce||{}).raw=!0,oo(R,Ce)},ungzip:oo,constants:Le};const{Deflate:Hs,deflate:ao,deflateRaw:ml,gzip:pa}=Tt,{Inflate:ga,inflate:Do,inflateRaw:To,ungzip:zo}=fl;var W=Hs,ie=ao,Z=ml,re=pa,Ee=ga,Ze=Do,Et=To,Ht=zo,Vt=Le,yn={Deflate:Hs,deflate:ao,deflateRaw:ml,gzip:pa,Inflate:ga,inflate:Do,inflateRaw:To,ungzip:zo,constants:Le}},1528:(De,te,g)=>{"use strict";function t(C,E,c,b,s,f,d){try{var l=C[f](d),a=l.value}catch(r){return void c(r)}l.done?E(a):Promise.resolve(a).then(b,s)}function v(C){return function(){var E=this,c=arguments;return new Promise(function(b,s){var f=C.apply(E,c);function d(a){t(f,b,s,d,l,"next",a)}function l(a){t(f,b,s,d,l,"throw",a)}d(void 0)})}}g.d(te,{c:()=>v})},8776:De=>{"use strict";De.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",1e-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 6.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, and 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.00000000000001,[-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.00009999999999999999,[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.000016387064000000006,[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.0023597372160000006,[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.0037854117840000014,[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.15898729492800007,[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.0009463529460000004,[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.0004731764730000002,[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.00011829411825000005,[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.00002957352956250001,[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.0000036966911953125014,[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.161151992187503e-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.035239070166880014,[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.004404883770860002,[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.008809767541720004,[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.0011012209427150004,[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.0005506104713575002,[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.000014786764781250006,[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.000004928921593750002,[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.0002365882365000001,[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.019999999999999997,[-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.000019999999999999998,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 firewood","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",1.0000000000000001e-28,[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",98066500,[-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)","1/(12.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]","1/[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]","1/[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]","1/[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]","1/[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","1/(10*10)","",1e-10,[0,0,0,0,0,0,0],"/1010",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","1/(10*12)","",1e-12,[0,0,0,0,0,0,0],"/1012",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","1/(10*3)","",0.001,[0,0,0,0,0,0,0],"/103",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","1/(10*6)","",0.000001,[0,0,0,0,0,0,0],"/106",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","1/(10*9)","",1e-9,[0,0,0,0,0,0,0],"/109",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","1/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}","1/100","",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}","1/100","",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}","1/100","",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}","1/100","",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","1/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]","1/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm\xa0HO2",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","1/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","1/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","1/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","1/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","1/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","1/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","1/M2","",1,[-2,0,0,0,0,0,0],"/m2",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","1/M3","",1,[-3,0,0,0,0,0,0],"/m3",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","1/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","1/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","1/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","1/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","1/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","1/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","1/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","1/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","1/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]/(2.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]/(24.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}","{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}","{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}","{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}","{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)/(24.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)","(10.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","(10.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)","((10.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","24.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],[false,"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],[false,"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],[false,"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],[false,"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.0000000000000002,[-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.000001,[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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"gram per 100 gram","g/(100.g)","G/(100.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],[false,"gram per 12 hour","g/(12.h)","G/(12.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],[false,"gram per 24 hour","g/(24.h)","G/(24.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],[false,"gram per 3 days","g/(3.d)","G/(3.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],[false,"gram per 4 hour","g/(4.h)","G/(4.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],[false,"gram per 48 hour","g/(48.h)","G/(48.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],[false,"gram per 5 hour","g/(5.h)","G/(5.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],[false,"gram per 6 hour","g/(6.h)","G/(6.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],[false,"gram per 72 hour","g/(72.h)","G/(72.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(24.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)/(24.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(24.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/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(2.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/(24.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/(8.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],[false,"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],[false,"milligram per 10 hour","mg/(10.h)","MG/(10.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],[false,"milligram per 12 hour","mg/(12.h)","MG/(12.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],[false,"milligram per 2 hour","mg/(2.h)","MG/(2.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],[false,"milligram per 24 hour","mg/(24.h)","MG/(24.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],[false,"milligram per 6 hour","mg/(6.h)","MG/(6.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],[false,"milligram per 72 hour","mg/(72.h)","MG/(72.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],[false,"milligram per 8 hour","mg/(8.h)","MG/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(10.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/(12.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/(2.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/(24.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/(4.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/(5.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/(6.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/(72.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/(8.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/(8.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)/(8.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],[false,"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],[false,"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],[false,"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],[false,"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/(12.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/(2.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/(24.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/(5.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/(6.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/(8.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)/(8.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],[false,"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],[false,"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],[false,"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],[false,"nanogram per 24 hour","ng/(24.h)","NG/(24.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],[false,"nanogram per 8 hour","ng/(8.h)","NG/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(24.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(24.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],[false,"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/(12.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/(2.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/(24.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/10","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],[false,"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],[false,"microgram per 100 gram","ug/(100.g)","UG/(100.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],[false,"microgram per 24 hour","ug/(24.h)","UG/(24.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],[false,"microgram per 8 hour","ug/(8.h)","UG/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/(24.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(2.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],[false,"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],[false,"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/(2.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/(24.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/(8.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],[false,"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]]}}')},8526:De=>{"use strict";De.exports=JSON.parse('{"name":"fhirpath","version":"3.10.1","description":"A FHIRPath engine","main":"src/fhirpath.js","dependencies":{"@lhncbc/ucum-lhc":"^5.0.0","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":"node --use_strict node_modules/.bin/jest && TZ=America/New_York node --use_strict node_modules/.bin/jest && TZ=Europe/Paris node --use_strict node_modules/.bin/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":"SEE LICENSE in LICENSE.md"}')},6604:De=>{"use strict";De.exports=JSON.parse('{"name":"matchbox","version":"3.6.1","license":"MIT","scripts":{"ng":"ng","start":"ng serve","build":"ng build --configuration production","build-matchbox":"ng build --configuration production --output-path ../matchbox-server/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-devkit/build-angular":"^17.2.0","@angular/animations":"^17.2.1","@angular/cdk":"^17.2.0","@angular/common":"^17.2.1","@angular/core":"^17.2.1","@angular/forms":"^17.2.1","@angular/material":"^17.2.0","@angular/platform-browser":"^17.2.1","@angular/platform-browser-dynamic":"^17.2.1","@angular/router":"^17.2.1","@ngx-translate/core":"^15.0.0","@ngx-translate/http-loader":"^8.0.0","ace-builds":"^1.32.6","angular-oauth2-oidc":"^17.0.1","browserify-zlib":"^0.2.0","debug":"^4.3.1","fhir-kit-client":"1.9.2","fhirpath":"^3.10.1","highlightjs-line-numbers.js":"^2.8.0","js-untar":"^2.0.0","ngx-highlightjs":"^10.0.0","ngx-mat-select-search":"^7.0.5","pako":"^2.1.0","rxjs":"^7.8.1","tslib":"^2.6.1","zone.js":"^0.14.4"},"devDependencies":{"@angular-eslint/builder":"^17.2.1","@angular-eslint/eslint-plugin":"^17.2.1","@angular-eslint/eslint-plugin-template":"^17.2.1","@angular-eslint/schematics":"^17.2.1","@angular-eslint/template-parser":"^17.2.1","@angular/cli":"^17.2.0","@angular/compiler":"^17.2.1","@angular/compiler-cli":"^17.2.1","@angular/language-service":"^17.2.1","@types/debug":"^4.1.12","@types/jasmine":"^5.1.4","@types/node":"^20.11.19","@types/pako":"^2.0.3","@typescript-eslint/eslint-plugin":"^7.0.2","@typescript-eslint/parser":"^7.0.2","eslint":"^8.56.0","husky":"^9.0.11","jasmine":"^5.1.0","jasmine-core":"^5.1.2","jasmine-spec-reporter":"^7.0.0","json-patch":"^0.7.0","karma":"^6.3.1","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.2.5","pretty-quick":"^4.0.0","ts-node":"^10.9.2","tslint":"~6.1.0","typescript":"^5.3.3"},"browser":{"fs":false,"os":false,"path":false,"zlib":false},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}}}')}},De=>{De(De.s=7460)}]); \ No newline at end of file diff --git a/matchbox-server/src/main/resources/static/main.f2ef9fa836ae74fe.js b/matchbox-server/src/main/resources/static/main.f2ef9fa836ae74fe.js new file mode 100644 index 00000000000..ae7e2cb74ac --- /dev/null +++ b/matchbox-server/src/main/resources/static/main.f2ef9fa836ae74fe.js @@ -0,0 +1 @@ +(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[590],{6244:(De,te)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.Ucum=void 0,te.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"}}},2424:(De,te,g)=>{"use strict";te.M=void 0;var v=g(6244),C=g(3716);class E{constructor(b){if(0===v.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==b)this.assignZero();else if(b instanceof Array){if(b.length!==v.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(b)}`);this.dimVec_=[];for(let s=0;s=v.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[b]=1}}setElementAt(b,s){if(!C(b)||b<0||b>=v.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${b})`);this.dimVec_||this.assignZero(),null==s&&(s=1),this.dimVec_[b]=s}getElementAt(b){if(!C(b)||b<0||b>=v.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${b})`);let s=null;return this.dimVec_&&(s=this.dimVec_[b]),s}getProperty(b){return this["_"===b.charAt(b.length-1)?b:b+"_"]}toString(){let b=null;return this.dimVec_&&(b="["+this.dimVec_.join(", ")+"]"),b}add(b){if(!b instanceof E)throw new Error(`Dimension.add called with an invalid parameter - ${typeof b} instead of a Dimension object`);if(this.dimVec_&&b.dimVec_)for(let s=0;s{"use strict";te.um=function f(d){const l=d&&d.config;if(l){if(l.length&&d.data){const a=E(l);return d.data.map(b.bind(null,a))}return d.data}return d};function E(d){return d.map(l=>Array.isArray(l)?l:[l])}function b(d,l){let a={};return d.forEach((r,u)=>{let h=a;for(let p=0;p{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.Prefix=void 0,g(6244),te.Prefix=class v{constructor(E){if(null==E.code_||null==E.name_||null==E.value_||void 0===E.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_=E.code_,this.ciCode_=E.ciCode_,this.name_=E.name_,this.printSymbol_=E.printSymbol_,this.value_="string"==typeof E.value_?parseFloat(E.value_):E.value_,this.exp_=E.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(E){return this.code_===E.code_&&this.ciCode_===E.ciCode_&&this.name_===E.name_&&this.printSymbol_===E.printSymbol_&&this.value_===E.value_&&this.exp_===E.exp_}}},3828:(De,te)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.PrefixTables=te.PrefixTablesFactory=void 0;class g{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let E="",c=Object.keys(this.byValue_),b=c.length;for(let s=0;s{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.default=void 0;var t=new class g{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(C){return C-273.15},cnvFrom:function(C){return C+273.15}},this.funcs.degf={cnvTo:function(C){return C-459.67},cnvFrom:function(C){return C+459.67}},this.funcs.degre={cnvTo:function(C){return C-273.15},cnvFrom:function(C){return C+273.15}},this.funcs.ph={cnvTo:function(C){return-Math.log(C)/Math.LN10},cnvFrom:function(C){return Math.pow(10,-C)}},this.funcs.ln={cnvTo:function(C){return Math.log(C)},cnvFrom:function(C){return Math.exp(C)}},this.funcs["2ln"]={cnvTo:function(C){return 2*Math.log(C)},cnvFrom:function(C){return Math.exp(C/2)}},this.funcs.lg={cnvTo:function(C){return Math.log(C)/Math.LN10},cnvFrom:function(C){return Math.pow(10,C)}},this.funcs["10lg"]={cnvTo:function(C){return 10*Math.log(C)/Math.LN10},cnvFrom:function(C){return Math.pow(10,C/10)}},this.funcs["20lg"]={cnvTo:function(C){return 20*Math.log(C)/Math.LN10},cnvFrom:function(C){return Math.pow(10,C/20)}},this.funcs["2lg"]={cnvTo:function(C){return 2*Math.log(C)/Math.LN10},cnvFrom:function(C){return Math.pow(10,C/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(C){return Math.log(C)/Math.LN2},cnvFrom:function(C){return Math.pow(2,C)}},this.funcs["100tan"]={cnvTo:function(C){return 100*Math.tan(C)},cnvFrom:function(C){return Math.atan(C/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(C){return Math.sqrt(C)},cnvFrom:function(C){return C*C}},this.funcs.inv={cnvTo:function(C){return 1/C},cnvFrom:function(C){return 1/C}},this.funcs.hpX={cnvTo:function(C){return-this.funcs.lg(C)},cnvFrom:function(C){return Math.pow(10,-C)}},this.funcs.hpC={cnvTo:function(C){return-this.func.ln(C)/this.funcs.ln(100)},cnvFrom:function(C){return Math.pow(100,-C)}},this.funcs.hpM={cnvTo:function(C){return-this.funcs.ln(C)/this.funcs.ln(1e3)},cnvFrom:function(C){return Math.pow(1e3,-C)}},this.funcs.hpQ={cnvTo:function(C){return-this.funcs.ln(C)/this.funcs.ln(5e4)},cnvFrom:function(C){return Math.pow(5e4,-C)}}}forName(C){C=C.toLowerCase();let E=this.funcs[C];if(null===E)throw new Error(`Requested function ${C} is not defined`);return E}isDefined(C){return C=C.toLowerCase(),null!==this.funcs[C]}};te.default=t},480:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.isNumericString=function v(c){let b=""+c;return!isNaN(b)&&!isNaN(parseFloat(b))},te.isIntegerUnit=function C(c){return/^\d+$/.test(c)},te.getSynonyms=function E(c){let b={},f={};if(f=t.getInstance().getUnitBySynonym(c),f.units){b.status="succeeded";let d=f.units.length;b.units=[];for(let l=0;l{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.ucumJsonDefs=te.UcumJsonDefs=void 0;var t=g(5112),v=g(3828),C=g(6464),E=g(7468),c=g(3912).um;class b{loadJsonDefs(){const d=g(8776);if(d.prefixes=c(d.prefixes),d.units=c(d.units),0===E.UnitTables.getInstance().unitsCount()){let l=v.PrefixTables.getInstance(),a=d.prefixes,r=a.length;for(let _=0;_{"use strict";te.k=void 0;var v=g(6904),C=function c(l){if(l&&l.__esModule)return l;if(null===l||"object"!=typeof l&&"function"!=typeof l)return{default:l};var a=E();if(a&&a.has(l))return a.get(l);var r={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var p=u?Object.getOwnPropertyDescriptor(l,h):null;p&&(p.get||p.set)?Object.defineProperty(r,h,p):r[h]=l[h]}return r.default=l,a&&a.set(l,r),r}(g(480));function E(){if("function"!=typeof WeakMap)return null;var l=new WeakMap;return E=function(){return l},l}var b=g(6244).Ucum,s=g(7468).UnitTables,f=g(2904).q;class d{constructor(){0===s.getInstance().unitsCount()&&v.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=f.getInstance()}useHTMLInMessages(a){void 0===a&&(a=!0),this.uStrParser_.useHTMLInMessages(a)}useBraceMsgForEachString(a){void 0===a&&(a=!0),this.uStrParser_.useBraceMsgForEachString(a)}validateUnitString(a,r,u){void 0===r&&(r=!1),void 0===u&&(u="validate");let h=this.getSpecifiedUnit(a,u,r),p=h.unit,_=p?{ucumCode:h.origString,unit:{code:p.csCode_,name:p.name_,guidance:p.guidance_}}:{ucumCode:null};return _.status=h.status,h.suggestions&&(_.suggestions=h.suggestions),_.msg=h.retMsg,_}convertUnitTo(a,r,u,h,p){void 0===h&&(h=!1),void 0===p&&(p=null);let _={status:"failed",toVal:null,msg:[]};if(a&&(a=a.trim()),(!a||""==a)&&(_.status="error",_.msg.push('No "from" unit expression specified.')),this._checkFromVal(r,_),u&&(u=u.trim()),(!u||""==u)&&(_.status="error",_.msg.push('No "to" unit expression specified.')),"error"!==_.status)try{let y=null,M=this.getSpecifiedUnit(a,"convert",h);y=M.unit,M.retMsg&&(_.msg=_.msg.concat(M.retMsg)),M.suggestions&&(_.suggestions={},_.suggestions.from=M.suggestions),y||_.msg.push(`Unable to find a unit for ${a}, so no conversion could be performed.`);let w=null;if(M=this.getSpecifiedUnit(u,"convert",h),w=M.unit,M.retMsg&&(_.msg=_.msg.concat(M.retMsg)),M.suggestions&&(_.suggestions||(_.suggestions={}),_.suggestions.to=M.suggestions),w||_.msg.push(`Unable to find a unit for ${u}, so no conversion could be performed.`),y&&w)try{if(p){if(0!==y.moleExp_&&0!==w.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===y.moleExp_&&0===w.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(!y.isMoleMassCommensurable(w))throw new Error(`Sorry. ${a} cannot be converted to ${u}.`);_.toVal=0!==y.moleExp_?y.convertMolToMass(r,w,p):y.convertMassToMol(r,w,p)}else _.toVal=w.convertFrom(r,y);_.status="succeeded",_.fromUnit=y,_.toUnit=w}catch(k){_.status="failed",_.msg.push(k.message)}}catch(y){_.status=y.message==b.needMoleWeightMsg_?"failed":"error",_.msg.push(y.message)}return _}convertToBaseUnits(a,r){let u={};if(this._checkFromVal(r,u),!u.status){let h=this.getSpecifiedUnit(a,"validate");u={status:"valid"==h.status?"succeeded":h.status};let p=h.unit;if(u.msg=h.retMsg||[],p){if(p.isArbitrary_)u.msg.push("Arbitrary units cannot be converted to base units or other units."),u.status="failed";else if("succeeded"==u.status){let _={},y=p.dim_?.dimVec_,M="1";if(y){let D=s.getInstance().dimVecIndexToBaseUnit_;for(let I=0,O=y.length;I0&&(r=h.retMsg),p){let _=null,y=p.getProperty("dim_");if(y){try{_=y.getProperty("dimVec_")}catch(M){r.push(M.message),"Dimension does not have requested property(dimVec_)"===M.message&&(_=null)}_&&(u=s.getInstance().getUnitsByDimension(_))}else r.push("No commensurable units were found for "+a)}else r.push(`Could not find unit ${a}.`);return[u,r]}}te.k=d,d.getInstance=function(){return new d}},1724:(De,te,g)=>{"use strict";te.k1=void 0,g(6244);var C=g(6660).k;te.k1=C,g(7468)},6464:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.Unit=void 0;var t=function c(a){return a&&a.__esModule?a:{default:a}}(g(8944)),v=function E(a){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var r=C();if(r&&r.has(a))return r.get(a);var u={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in a)if(Object.prototype.hasOwnProperty.call(a,p)){var _=h?Object.getOwnPropertyDescriptor(a,p):null;_&&(_.get||_.set)?Object.defineProperty(u,p,_):u[p]=a[p]}return u.default=a,r&&r.set(a,u),u}(g(480));function C(){if("function"!=typeof WeakMap)return null;var a=new WeakMap;return C=function(){return a},a}var f,b=g(6244).Ucum,s=g(2424).M,d=g(3716);class l{constructor(r={}){this.isBase_=r.isBase_||!1,this.name_=r.name_||"",this.csCode_=r.csCode_||"",this.ciCode_=r.ciCode_||"",this.property_=r.property_||"",this.magnitude_=r.magnitude_||1,this.dim_=null==r.dim_?new s:void 0!==r.dim_.dimVec_?new s(r.dim_.dimVec_):r.dim_ instanceof s?r.dim_:r.dim_ instanceof Array||d(r.dim_)?new s(r.dim_):new s,this.printSymbol_=r.printSymbol_||null,this.class_=r.class_||null,this.isMetric_=r.isMetric_||!1,this.variable_=r.variable_||null,this.cnv_=r.cnv_||null,this.cnvPfx_=r.cnvPfx_||1,this.isSpecial_=r.isSpecial_||!1,this.isArbitrary_=r.isArbitrary_||!1,this.moleExp_=r.moleExp_||0,this.synonyms_=r.synonyms_||null,this.source_=r.source_||null,this.loincProperty_=r.loincProperty_||null,this.category_=r.category_||null,this.guidance_=r.guidance_||null,this.csUnitString_=r.csUnitString_||null,this.ciUnitString_=r.ciUnitString_||null,this.baseFactorStr_=r.baseFactorStr_||null,this.baseFactor_=r.baseFactor_||null,this.defError_=r.defError_||!1}assignUnity(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new s),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}assignVals(r){for(let u in r){let h="_"===!u.charAt(u.length-1)?u+"_":u;if(!this.hasOwnProperty(h))throw new Error(`Parameter error; ${u} is not a property of a Unit`);this[h]=r[u]}}clone(){let r=new l;return Object.getOwnPropertyNames(this).forEach(u=>{"dim_"===u?r.dim_=this.dim_?this.dim_.clone():null:r[u]=this[u]}),r}assign(r){Object.getOwnPropertyNames(r).forEach(u=>{"dim_"===u?this.dim_=r.dim_?r.dim_.clone():null:this[u]=r[u]})}equals(r){return this.magnitude_===r.magnitude_&&this.cnv_===r.cnv_&&this.cnvPfx_===r.cnvPfx_&&(null===this.dim_&&null===r.dim_||this.dim_.equals(r.dim_))}fullEquals(r){let u=Object.keys(this).sort(),h=Object.keys(r).sort(),p=u.length,_=p===h.length;for(let y=0;y0){let u=r.replace("/","!").replace(".","/").replace("=0;k--){let D=parseInt(y[k]);if(!d(D)){if(("-"===y[k]||"+"===y[k])&&k--,k{"use strict";te.q=void 0;var v=function E(a){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var r=C();if(r&&r.has(a))return r.get(a);var u={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in a)if(Object.prototype.hasOwnProperty.call(a,p)){var _=h?Object.getOwnPropertyDescriptor(a,p):null;_&&(_.get||_.set)?Object.defineProperty(u,p,_):u[p]=a[p]}return u.default=a,r&&r.set(a,u),u}(g(480));function C(){if("function"!=typeof WeakMap)return null;var a=new WeakMap;return C=function(){return a},a}function c(a,r,u){return r in a?Object.defineProperty(a,r,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[r]=u,a}var b=g(6244).Ucum,s=g(6464).Unit,f=g(7468).UnitTables,d=g(3828).PrefixTables;class l{constructor(){this.utabs_=f.getInstance(),this.pfxTabs_=d.getInstance(),this.openEmph_=b.openEmph_,this.closeEmph_=b.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(r){void 0===r||r?(this.openEmph_=b.openEmphHTML_,this.closeEmph_=b.closeEmphHTML_):(this.openEmph_=b.openEmph_,this.closeEmph_=b.closeEmph_)}useBraceMsgForEachString(r){this.bracesMsg_=void 0===r||r?b.bracesMsg_:""}parseString(r,u,h){if(""===(r=r.trim())||null===r)throw new Error("Please specify a unit expression to be validated.");"validate"===u?(this.vcMsgStart_=b.valMsgStart_,this.vcMsgEnd_=b.valMsgEnd_):(this.vcMsgStart_=b.cnvMsgStart_,this.vcMsgEnd_=b.cnvMsgEnd_),this.suggestions_=void 0===h||!1===h?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let p=r,_=[];if(r=this._getAnnotations(r),this.retMsg_.length>0)_[0]=null,_[1]=null;else{let M=null;for(M in b.specUnits_)for(;-1!==r.indexOf(M);)r=r.replace(M,b.specUnits_[M]);if(r.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");_=this._parseTheString(r,p);let w=_[0];(v.isIntegerUnit(w)||"number"==typeof w)&&(w=new s({csCode_:p,ciCode_:p,magnitude_:w,name_:p}),_[0]=w)}return _[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(_[3]=this.suggestions_),_}_parseTheString(r,u){let h=null,p=this.retMsg_.length>0,_=this._processParens(r,u);p=_[2];let y=[];if(!p){let M=this._makeUnitsArray(r=_[0],u=_[1]);if(p=M[2],!p){y=M[0],u=M[1];let w=y.length;for(let k=0;k=0){let I=this._getParensUnit(D,u);p||(p=I[1]),p||(y[k].un=I[0])}else{let I=this._makeUnit(D,u);null===I[0]?p=!0:(y[k].un=I[0],u=I[1])}}}}return p||(null===y[0]||" "===y[0]||null==y[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${u}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),p=!0),p||(h=this._performUnitArithmetic(y,u)),[h,u]}_getAnnotations(r){let u=r.indexOf("{");for(;u>=0;){let h=r.indexOf("}");if(h<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+r.substr(u)+this.closeEmph_),u=-1;else{let p=r.substring(u,h+1);if(l.VALID_ANNOTATION_REGEX.test(p)){let _=this.annotations_.length.toString();r=r.replace(p,this.braceFlag_+_+this.braceFlag_),this.annotations_.push(p),u=r.indexOf("{")}else this.retMsg_.push(l.INVALID_ANNOTATION_CHAR_MSG+this.openEmph_+p+this.closeEmph_),u=-1}}if(0==this.retMsg_.length){let h=r.indexOf("}");h>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+r.substring(0,h+1)+this.closeEmph_)}return r}_processParens(r,u){let h=[],p=0,_=!1,y=this.parensUnits_.length,M=0;for(;""!==r&&!_;){let w=0,k=0,D=r.indexOf("(");if(D<0){let I=r.indexOf(")");if(I>=0){let O=`Missing open parenthesis for close parenthesis at ${r.substring(0,I+M)}${this.openEmph_}${r.substr(I,1)}${this.closeEmph_}`;I0&&(h[p++]=r.substr(0,D));let O=0,T=D+1;for(;T0&&(k=r.substr(0,w-1));let D=r.lastIndexOf(this.parensFlag_),I=null;D+this.pFlagLen_=0){let T=this._getAnnoText(k,u);if(T[1]||T[2])throw new Error(`Text found before the parentheses (${k}) included an annotation along with other text for parenthetical unit ${_.csCode_}`);this.retMsg_.push(`The annotation ${T[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(r+=T[0])+this.vcMsgEnd_)}else this.suggestions_?h="succeeded"!==this._getSuggestions(k):(this.retMsg_.push(`${k} preceding the unit code ${r} is invalid. Unable to make a substitution.`),h=!0);if(I)if(I.indexOf(this.braceFlag_)>=0){let T=this._getAnnoText(I,u);if(T[1]||T[2])throw new Error(`Text found after the parentheses (${I}) included an annotation along with other text for parenthetical unit ${_.csCode_}`);r+=T[0]}else if(v.isNumericString(I)){_=null;let T=`An exponent (${I}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.`;r.match(/\d$/)||(T+="\n "+this.vcMsgStart_+(r+=I)+this.vcMsgEnd_),this.retMsg_.push(T),h=!0}else this.suggestions_?h="succeeded"!==this._getSuggestions(k):(this.retMsg_.push(`Text ${I} following the unit code ${r} is invalid. Unable to make a substitution.`),h=!0);return h||(_?v.isIntegerUnit(_)?_=new s({csCode_:_,magnitude_:_,name_:_}):_.csCode_=r:_=new s({csCode_:r,magnitude_:1,name_:r})),[_,h]}_getAnnoText(r,u){let h=r.indexOf(this.braceFlag_),p=h>0?r.substring(0,h):null;0!==h&&(r=r.substr(h));let _=r.indexOf(this.braceFlag_,1),y=_+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${M} found in ${r} that was created from ${u}`);return[r=this.annotations_[w],p,y]}_getSuggestions(r){let u=v.getSynonyms(r);if("succeeded"===u.status){let h={};h.msg=`${r} is not a valid UCUM code. We found possible units that might be what was meant:`,h.invalidUnit=r;let p=u.units.length;h.units=[];for(let _=0;_=0){let p=this._getUnitWithAnnotation(r,u);h=p[0],h&&(u=p[1])}else{if(r.indexOf("^")>-1){let p=r.replace("^","*");h=this.utabs_.getUnitByCode(p),h&&(h=h.clone(),h.csCode_=h.csCode_.replace("*","^"),h.ciCode_=h.ciCode_.replace("*","^"))}if(!h){let p="["+r+"]";h=this.utabs_.getUnitByCode(p),h&&(h=h.clone(),u=u.replace(r,p),this.retMsg_.push(`${r} is not a valid unit expression, but ${p} is.\n`+this.vcMsgStart_+`${p} (${h.name_})${this.vcMsgEnd_}`))}if(!h){let p=this.utabs_.getUnitByName(r);if(p&&p.length>0){h=p[0].clone();let _="The UCUM code for "+r+" is "+h.csCode_+".\n"+this.vcMsgStart_+h.csCode_+this.vcMsgEnd_,y=!1;for(let k=0;k"+A+"",csCode_:L+A,ciCode_:S+A,printSymbol_:F+""+A+""})}}else h=null,this.suggestions_?this._getSuggestions(p):this.retMsg_.push(`${p} is not a valid UCUM code.`)}}return[h,u]}_getUnitWithAnnotation(r,u){let h=null,p=this._getAnnoText(r,u),_=p[0],y=p[1],M=p[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let w=this.retMsg_.length;if(y||M)if(y&&!M)if(v.isIntegerUnit(y))h=y;else{let k=this._makeUnit(y,u);k[0]?(h=k[0],h.csCode_+=_,u=k[1]):this.retMsg_.push(`Unable to find a unit for ${y} that precedes the annotation ${_}.`)}else if(!y&&M)if(v.isIntegerUnit(M))h=M+_,this.retMsg_.push(`The annotation ${_} before the ``${M} is invalid.\n`+this.vcMsgStart_+h+this.vcMsgEnd_);else{let k=this._makeUnit(M,u);k[0]?(h=k[0],h.csCode_+=_,u=h.csCode_,this.retMsg_.push(`The annotation ${_} before the unit code is invalid.\n`+this.vcMsgStart_+h.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${y} that follows the annotation ${_}.`)}else this.retMsg_.push(`Unable to find a unit for ${y}${_}${M}.\nWe are not sure how to interpret text both before and after the annotation. Sorry`);else{let k="["+_.substring(1,_.length-1)+"]",D=this._makeUnit(k,u);D[0]?(h=r,this.retMsg_.push(`${_} is a valid unit expression, but did you mean ${k} (${D[0].name_})?`)):this.retMsg_.length>w&&this.retMsg_.pop(),h=new s({csCode_:_,ciCode_:_,magnitude_:1,name_:_})}return[h,u]}_performUnitArithmetic(r,u){let h=r[0].un;v.isIntegerUnit(h)&&(h=new s({csCode_:h,ciCode_:h,magnitude_:Number(h),name_:h}));let p=r.length,_=!1;for(let y=1;y{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.UnitTables=void 0;var t=g(6244).Ucum,C=new class v{constructor(){this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0,this.dimVecIndexToBaseUnit_={}}unitsCount(){return Object.keys(this.unitCodes_).length}addUnit(b){b.name_&&this.addUnitName(b),this.addUnitCode(b),this.addUnitString(b);try{b.dim_.getProperty("dimVec_")&&this.addUnitDimension(b)}catch{}if(b.isBase_){const f=b.dim_.dimVec_;let d;for(let l=0,a=f.length;null==d&&l=1&&(f=b.substr(s+t.codeSep_.length),b=b.substr(0,s));let d=this.unitNames_[b];if(d){let l=d.length;if(f&&l>1){let a=0;for(;d[a].csCode_!==f&&a0&&(f+=s),"dim_"===b[_])f+=null!=p.dim_&&p.dim_.dimVec_ instanceof Array?"["+p.dim_.dimVec_.join(",")+"]":"";else{let y=p[b[_]];f+="string"==typeof y?y.replace(/[\n\r]/g," "):y}f+="\r\n"}}return f}printUnits(b,s){void 0===b&&(b=!1),void 0===s&&(s="|");let f="",d=this.codeOrder_.length,l="csCode"+s;b&&(l+="ciCode"+s),l+="name"+s,b&&(l+="isBase"+s),l+="magnitude"+s+"dimension"+s+"from unit(s)"+s+"value"+s+"function"+s,b&&(l+="property"+s+"printSymbol"+s+"synonyms"+s+"source"+s+"class"+s+"isMetric"+s+"variable"+s+"isSpecial"+s+"isAbitrary"+s),l+="comment",f=l+"\n";for(let a=0;a{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.AppComponent=void 0;const t=g(5052),E=(g(5400),g(2064),t.__importDefault(g(6604))),c=t.__importStar(g(4496)),b=t.__importStar(g(2064)),s=t.__importStar(g(5400)),f=t.__importStar(g(1560)),d=t.__importStar(g(4192));te.AppComponent=(()=>{class a{constructor(u,h){this.version=E.default.version,u.setDefaultLang("de"),u.use(u.getBrowserLang());let p=location.origin;if("http://localhost:4200"===p)console.log("note: using local dev mag system for"+location.origin),h.changeFhirMicroService("http://localhost:8080/matchboxv3/fhir");else{let _=p+location.pathname+"fhir";h.changeFhirMicroService(_),console.log("fhir endpoint "+_)}}static#e=this.\u0275fac=function(h){return new(h||a)(c.\u0275\u0275directiveInject(b.TranslateService),c.\u0275\u0275directiveInject(s.FhirConfigService))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:a,selectors:[["app-root"]],decls:43,vars:1,consts:[["routerLink","/",1,"logo-container"],["alt","Matchbox logo","height","40","src","assets/matchbox_logo_color.png","width","95"],[1,"version"],["routerLink","/"],["routerLink","/CapabilityStatement"],["routerLink","/igs"],["routerLink","/mappinglanguage"],["routerLink","/transform"],["routerLink","/validate"],["routerLink","/settings"],[1,"mat-typography"]],template:function(h,p){1&h&&(c.\u0275\u0275elementStart(0,"header")(1,"div",0),c.\u0275\u0275element(2,"img",1),c.\u0275\u0275elementStart(3,"span",2),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(5,"nav")(6,"div",3)(7,"mat-icon"),c.\u0275\u0275text(8,"home"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(9,"span"),c.\u0275\u0275text(10,"Home"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(11,"div",4)(12,"mat-icon"),c.\u0275\u0275text(13,"info"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(14,"span"),c.\u0275\u0275text(15,"CapabilityStatement"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(16,"div",5)(17,"mat-icon"),c.\u0275\u0275text(18,"info"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(19,"span"),c.\u0275\u0275text(20,"IGs"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(21,"div",6)(22,"mat-icon"),c.\u0275\u0275text(23,"search"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(24,"span"),c.\u0275\u0275text(25,"FHIR Mapping"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(26,"div",7)(27,"mat-icon"),c.\u0275\u0275text(28,"transform"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(29,"span"),c.\u0275\u0275text(30,"Transform"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(31,"div",8)(32,"mat-icon"),c.\u0275\u0275text(33,"rule"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(34,"span"),c.\u0275\u0275text(35,"Validate"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(36,"div",9)(37,"mat-icon"),c.\u0275\u0275text(38,"settings"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(39,"span"),c.\u0275\u0275text(40,"Settings"),c.\u0275\u0275elementEnd()()()(),c.\u0275\u0275elementStart(41,"main",10),c.\u0275\u0275element(42,"router-outlet"),c.\u0275\u0275elementEnd()),2&h&&(c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate1("v",p.version,""))},dependencies:[f.MatIcon,d.RouterOutlet,d.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)}header[_ngcontent-%COMP%]{background:#97d6ba;display:flex;flex-wrap:wrap;flex:0 1 auto;padding:10px 2em;justify-content:space-between}header[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{display:inline-block}header[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{color:#2e7d73;font-size:.9em;display:inline-block;margin:4px 0 0 10px;vertical-align:top}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{display:flex;margin-top:10px}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:inline-block;margin:0 1rem;cursor:pointer;color:#3d5c73}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px;vertical-align:middle;color:#d2eade}main[_ngcontent-%COMP%]{width:100%;margin:0 auto}@media (max-width: 1140px){header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:0 7px}header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] div[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:4px;font-size:18px;width:18px;height:18px}}"]})}return a})()},5204:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.AppModule=te.createTranslateLoader=void 0;const t=g(5052),v=g(7048),C=g(4192),E=g(2064),c=g(2628),b=g(6108),s=g(4700),f=g(6916),d=g(8300),l=g(1132),a=g(9280),r=g(4367),u=g(540),h=g(5700),p=g(8032),_=g(869),y=g(6319),M=t.__importStar(g(4496)),I=(t.__importStar(g(4192)),t.__importStar(g(2064)),t.__importStar(g(869)),[{path:"",component:f.HomeComponent},{path:"mappinglanguage",component:d.MappingLanguageComponent},{path:"CapabilityStatement",component:s.CapabilityStatementComponent},{path:"igs",component:r.IgsComponent},{path:"settings",component:l.SettingsComponent},{path:"transform",component:h.TransformComponent},{path:"validate",component:p.ValidateComponent}]);function O(N){return new c.TranslateHttpLoader(N,"./assets/i18n/",".json")}te.createTranslateLoader=O,te.AppModule=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275mod=M.\u0275\u0275defineNgModule({type:N,bootstrap:[b.AppComponent]});static#n=this.\u0275inj=M.\u0275\u0275defineInjector({providers:[{provide:u.HIGHLIGHT_OPTIONS,useValue:{coreLibraryLoader:()=>Promise.resolve().then(()=>t.__importStar(g(1160))),lineNumbersLoader:()=>Promise.resolve().then(()=>t.__importStar(g(4328))),languages:{json:()=>Promise.resolve().then(()=>t.__importStar(g(568))),xml:()=>Promise.resolve().then(()=>t.__importStar(g(2872)))}}}],imports:[a.SharedModule,v.HttpClientModule,u.HighlightModule,C.RouterModule.forRoot(I,{useHash:!0}),E.TranslateModule.forRoot({loader:{provide:E.TranslateLoader,useFactory:O,deps:[v.HttpClient]}}),_.OAuthModule.forRoot(),y.NgxMatSelectSearchModule]})}return N})()},4700:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.CapabilityStatementComponent=void 0;const t=g(5052),C=(g(5400),t.__importDefault(g(7496)));g(7836),g(5148);const E=g(840),c=t.__importStar(g(4496)),b=t.__importStar(g(5400)),s=t.__importStar(g(1368)),f=t.__importStar(g(7488)),d=t.__importStar(g(100));function l(h,p){1&h&&c.\u0275\u0275element(0,"mat-spinner")}function a(h,p){if(1&h&&c.\u0275\u0275element(0,"app-operation-result",4),2&h){const _=c.\u0275\u0275nextContext();c.\u0275\u0275property("operationResult",_.operationResult)}}te.CapabilityStatementComponent=(()=>{class h{constructor(_){this.data=_,this.capabilityStatement=null,this.operationResult=null,this.loading=!0,this.client=_.getFhirClient()}ngAfterViewInit(){this.client.capabilityStatement().then(_=>{this.loading=!1,this.operationResult=null,this.editor=C.default.edit("code"),this.editor.setReadOnly(!0),this.editor.setValue(JSON.stringify(_,null,4),-1),this.editor.getSession().setMode("ace/mode/json"),this.editor.setTheme("ace/theme/textmate"),this.editor.setOptions({maxLines:1e4,tabSize:4,wrap:!0,useWorker:!1}),this.editor.resize(!0)}).catch(_=>{console.error(_),this.loading=!1,this.capabilityStatement=null,this.editor&&(this.editor.destroy(),this.editor.container.remove()),this.editor=null,this.operationResult=_.response?.data?E.OperationResult.fromOperationOutcome(_.response.data):E.OperationResult.fromMatchboxError(_.message)})}static#e=this.\u0275fac=function(y){return new(y||h)(c.\u0275\u0275directiveInject(b.FhirConfigService))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:h,selectors:[["app-capability-statement"]],decls:10,vars:3,consts:[["id","capability-statement",1,"white-block"],[4,"ngIf"],["id","code"],[3,"operationResult",4,"ngIf"],[3,"operationResult"]],template:function(y,M){1&y&&(c.\u0275\u0275elementStart(0,"div",0)(1,"h2"),c.\u0275\u0275text(2,"CapabilityStatement"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(3,"p"),c.\u0275\u0275text(4," CapabilityStatement of the server: "),c.\u0275\u0275elementStart(5,"code"),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(7,l,1,0,"mat-spinner",1),c.\u0275\u0275element(8,"div",2),c.\u0275\u0275template(9,a,1,1,"app-operation-result",3),c.\u0275\u0275elementEnd()),2&y&&(c.\u0275\u0275advance(6),c.\u0275\u0275textInterpolate(M.client.baseUrl),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",M.loading),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",M.operationResult))},dependencies:[s.NgIf,f.MatProgressSpinner,d.OperationResultComponent]})}return h})()},5400:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.FhirConfigService=void 0;const t=g(5052),v=t.__importDefault(g(1920)),C=t.__importStar(g(4496));te.FhirConfigService=(()=>{class c{constructor(){}changeFhirMicroService(s){localStorage.setItem("fhirMicroServer",s)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")}getFhirClient(){return new v.default({baseUrl:this.getFhirMicroService()})}static#e=this.\u0275fac=function(f){return new(f||c)};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},6e3:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.FhirPathService=void 0;const t=g(5052),v=g(2432),C=t.__importStar(g(4496));te.FhirPathService=(()=>{class c{evaluate(s,f){return(0,v.evaluate)(s,f,null)}evaluateToString(s,f){const d=this.evaluate(s,f);return d&&d instanceof Array&&1===d.length?d[0]:null}getOauthUriToken(s){return this.evaluateToString(s,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(s){return this.evaluateToString(s,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}static#e=this.\u0275fac=function(f){return new(f||c)};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},6916:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.HomeComponent=void 0;const t=g(5052),v=t.__importDefault(g(6604)),C=t.__importStar(g(4496)),E=t.__importStar(g(2080)),c=t.__importStar(g(1560)),b=t.__importStar(g(9880)),s=t.__importStar(g(4192));te.HomeComponent=(()=>{class d{constructor(){this.version=v.default.version}static#e=this.\u0275fac=function(r){return new(r||d)};static#t=this.\u0275cmp=C.\u0275\u0275defineComponent({type:d,selectors:[["app-home"]],decls:31,vars:1,consts:[[1,"primary"],["mat-menu-item","","routerLink","/validate"],["mat-menu-item","","routerLink","/igs"],["mat-menu-item","","routerLink","/settings"],["href","https://fhirpath-lab.com/FhirPath","target","_blank"],["href","https://fhirpath-lab.com/FhirMapper2","target","_blank"],["href","https://www.ahdis.ch","rel","external nofollow noopener","target","_blank"]],template:function(r,u){1&r&&(C.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"button",1)(3,"mat-icon"),C.\u0275\u0275text(4,"rule"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(5,"span"),C.\u0275\u0275text(6,"Validate resource"),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(7,"button",2)(8,"mat-icon"),C.\u0275\u0275text(9,"info"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(10,"span"),C.\u0275\u0275text(11,"Installed IGs"),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(12,"button",3)(13,"mat-icon"),C.\u0275\u0275text(14,"settings"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(15,"span"),C.\u0275\u0275text(16,"Settings"),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(17,"p"),C.\u0275\u0275text(18,"Other tools:"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(19,"ul")(20,"li")(21,"a",4),C.\u0275\u0275text(22,"FHIRPath tester"),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(23,"li")(24,"a",5),C.\u0275\u0275text(25,"FHIR Mapper"),C.\u0275\u0275elementEnd()()()(),C.\u0275\u0275elementStart(26,"mat-card-footer")(27,"p"),C.\u0275\u0275text(28),C.\u0275\u0275elementStart(29,"a",6),C.\u0275\u0275text(30," contact"),C.\u0275\u0275elementEnd()()()()),2&r&&(C.\u0275\u0275advance(28),C.\u0275\u0275textInterpolate1(" matchbox version: ",u.version," | "))},dependencies:[E.MatCard,E.MatCardContent,E.MatCardFooter,c.MatIcon,b.MatMenuItem,s.RouterLink],styles:["mat-card.primary[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:20px}mat-card.primary[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px;vertical-align:middle;color:#68c39a}mat-card.primary[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:30px 0 15px}mat-card.primary[_ngcontent-%COMP%] mat-card-footer[_ngcontent-%COMP%]{padding:0 1.5rem 1.5rem}"]})}return d})()},4367:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.IgsComponent=void 0;const t=g(5052),C=(g(5400),g(6504)),c=(g(6e3),g(840)),b=t.__importStar(g(4496)),s=t.__importStar(g(5400)),f=t.__importStar(g(6e3)),d=t.__importStar(g(1368)),l=t.__importStar(g(6504)),a=t.__importStar(g(4060)),r=t.__importStar(g(5155)),u=t.__importStar(g(7488)),h=t.__importStar(g(100));function p(I,O){if(1&I){const T=b.\u0275\u0275getCurrentView();b.\u0275\u0275elementStart(0,"tr",9),b.\u0275\u0275listener("click",function(){const F=b.\u0275\u0275restoreView(T).$implicit,L=b.\u0275\u0275nextContext();return b.\u0275\u0275resetView(L.selectRow(F))}),b.\u0275\u0275elementStart(1,"td"),b.\u0275\u0275text(2),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(3,"td",10),b.\u0275\u0275text(4),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(5,"td",10),b.\u0275\u0275text(6),b.\u0275\u0275elementEnd()()}if(2&I){const T=O.$implicit;b.\u0275\u0275advance(2),b.\u0275\u0275textInterpolate(T.packageId),b.\u0275\u0275advance(2),b.\u0275\u0275textInterpolate(T.version),b.\u0275\u0275advance(2),b.\u0275\u0275textInterpolate(T.title)}}function _(I,O){if(1&I){const T=b.\u0275\u0275getCurrentView();b.\u0275\u0275elementContainerStart(0),b.\u0275\u0275text(1,"\xa0 "),b.\u0275\u0275elementStart(2,"button",6),b.\u0275\u0275listener("click",function(){b.\u0275\u0275restoreView(T);const S=b.\u0275\u0275nextContext();return b.\u0275\u0275resetView(S.onUpdate())}),b.\u0275\u0275text(3,"Update"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementContainerEnd()}}function y(I,O){if(1&I){const T=b.\u0275\u0275getCurrentView();b.\u0275\u0275elementContainerStart(0),b.\u0275\u0275text(1,"\xa0 "),b.\u0275\u0275elementStart(2,"button",6),b.\u0275\u0275listener("click",function(){b.\u0275\u0275restoreView(T);const S=b.\u0275\u0275nextContext();return b.\u0275\u0275resetView(S.onDelete())}),b.\u0275\u0275text(3,"Delete"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementContainerEnd()}}function M(I,O){1&I&&(b.\u0275\u0275elementContainerStart(0),b.\u0275\u0275element(1,"mat-progress-spinner",11),b.\u0275\u0275elementContainerEnd())}function w(I,O){if(1&I&&b.\u0275\u0275element(0,"app-operation-result",14),2&I){const T=b.\u0275\u0275nextContext(2);b.\u0275\u0275property("operationResult",T.operationResult)}}function k(I,O){if(1&I&&(b.\u0275\u0275elementStart(0,"div",12)(1,"h2"),b.\u0275\u0275text(2,"Result of the last operation"),b.\u0275\u0275elementEnd(),b.\u0275\u0275template(3,w,1,1,"app-operation-result",13),b.\u0275\u0275elementEnd()),2&I){const T=b.\u0275\u0275nextContext();b.\u0275\u0275advance(3),b.\u0275\u0275property("ngIf",T.operationResult)}}te.IgsComponent=(()=>{class I{constructor(T,N){this.data=T,this.fhirPathService=N,this.update=!1,this.operationResult=null,this.query={_sort:"title",_count:1e4},this.client=T.getFhirClient(),this.addPackageId=new C.UntypedFormControl("",[C.Validators.required,C.Validators.minLength(1)]),this.addVersion=new C.UntypedFormControl("current",[C.Validators.required,C.Validators.minLength(1)]),this.addUrl=new C.UntypedFormControl("url"),this.search()}search(){this.client.search({resourceType:"ImplementationGuide",searchParams:this.query}).then(T=>{this.igs=T.entry.map(S=>S.resource),this.selection=void 0,this.addPackageId.setValue(""),this.addVersion.setValue(""),this.addUrl.setValue("")}).catch(T=>{this.errorMessage="Error accessing FHIR server",this.operationResult=T.response?.data?c.OperationResult.fromOperationOutcome(T.response.data):c.OperationResult.fromMatchboxError(T.message)}),this.update=!1}getPackageUrl(T){return this.fhirPathService.evaluateToString(T,"extension.where(url='http://ahdis.ch/fhir/extension/packageUrl').valueUri")}selectRow(T){this.selection=T,this.addPackageId.setValue(this.selection.packageId),this.addUrl.setValue(this.getPackageUrl(T));let N=this.selection.version;N&&N.endsWith(" (last)")&&(N=N.substring(0,N.length-7)),this.addVersion.setValue(N)}onSubmit(){if(this.errorMessage=null,this.addPackageId.invalid||this.addVersion.invalid)return void(this.errorMessage="Please provide package name");let T=this.addPackageId.value.trim();T.indexOf("#")>0&&(T.substring(0,T.indexOf("#")-1),this.addVersion.setValue(T.substring(0,T.indexOf("#")+1))),this.addPackageId.setValue(T);const N=this.addVersion.value.trim();this.addVersion.setValue(N),this.update=!0,this.client.create({resourceType:"ImplementationGuide",body:{resourceType:"ImplementationGuide",name:T,version:N,packageId:T,url:this.addUrl.value},options:{headers:{Prefer:"return=OperationOutcome"}}}).then(S=>{this.errorMessage="Created Implementation Guide "+this.addPackageId.value,this.operationResult=c.OperationResult.fromOperationOutcome(S),this.search()}).catch(S=>{this.errorMessage="Error creating Implementation Guide "+this.addPackageId.value,this.operationResult=S.response?.data?c.OperationResult.fromOperationOutcome(S.response.data):c.OperationResult.fromMatchboxError(S.message),this.update=!1})}onUpdate(){this.errorMessage=null,this.selection.name=this.addPackageId.value,this.selection.version=this.addVersion.value,this.selection.packageId=this.addPackageId.value,this.selection.url=this.addUrl.value,this.update=!0,this.client.update({resourceType:this.selection.resourceType,id:this.selection.id,body:this.selection,options:{headers:{Prefer:"return=OperationOutcome"}}}).then(T=>{this.errorMessage="Updated Implementation Guide "+this.selection.packageId,this.operationResult=c.OperationResult.fromOperationOutcome(T),this.search()}).catch(T=>{this.errorMessage="Error updating Implementation Guide "+this.selection.packageId,this.operationResult=T.response?.data?c.OperationResult.fromOperationOutcome(T.response.data):c.OperationResult.fromMatchboxError(T.message),this.update=!1})}onDelete(){this.errorMessage=null,this.update=!0,this.client.delete({resourceType:this.selection.resourceType,id:this.selection.id,options:{headers:{Prefer:"return=OperationOutcome","X-Cascade":"delete"}}}).then(T=>{this.errorMessage="Deleted Implementation Guide Resource "+this.selection.packageId,this.operationResult=c.OperationResult.fromOperationOutcome(T),this.search()}).catch(T=>{this.errorMessage="Error deleting Implementation Guide "+this.selection.packageId,this.operationResult=T.response?.data?c.OperationResult.fromOperationOutcome(T.response.data):c.OperationResult.fromMatchboxError(T.message),this.update=!1})}static#e=this.\u0275fac=function(N){return new(N||I)(b.\u0275\u0275directiveInject(s.FhirConfigService),b.\u0275\u0275directiveInject(f.FhirPathService))};static#t=this.\u0275cmp=b.\u0275\u0275defineComponent({type:I,selectors:[["app-igs"]],decls:40,vars:8,consts:[[1,"white-block","card-igs"],[3,"click",4,"ngFor","ngForOf"],[1,"white-block","Search","card-igs"],["matInput","",3,"formControl"],[2,"width","50vw"],["href","https://packages.fhir.org"],["type","submit",3,"click"],[4,"ngIf"],["class","white-block logs",4,"ngIf"],[3,"click"],[1,"secondary"],["mode","indeterminate"],[1,"white-block","logs"],[3,"operationResult",4,"ngIf"],[3,"operationResult"]],template:function(N,S){1&N&&(b.\u0275\u0275elementStart(0,"div",0)(1,"h2"),b.\u0275\u0275text(2,"ImplementationGuides installed on the server"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(3,"table")(4,"thead")(5,"tr")(6,"th"),b.\u0275\u0275text(7,"Package"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(8,"th"),b.\u0275\u0275text(9,"Version"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(10,"th"),b.\u0275\u0275text(11,"Title"),b.\u0275\u0275elementEnd()()(),b.\u0275\u0275elementStart(12,"tbody"),b.\u0275\u0275template(13,p,7,3,"tr",1),b.\u0275\u0275elementEnd()()(),b.\u0275\u0275elementStart(14,"div",2)(15,"h3"),b.\u0275\u0275text(16,"Install an ImplementationGuide"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(17,"mat-form-field")(18,"mat-label"),b.\u0275\u0275text(19,"PackageId"),b.\u0275\u0275elementEnd(),b.\u0275\u0275element(20,"input",3),b.\u0275\u0275elementEnd(),b.\u0275\u0275text(21," \xa0 "),b.\u0275\u0275elementStart(22,"mat-form-field")(23,"mat-label"),b.\u0275\u0275text(24,"Version"),b.\u0275\u0275elementEnd(),b.\u0275\u0275element(25,"input",3),b.\u0275\u0275elementEnd(),b.\u0275\u0275text(26," \xa0 "),b.\u0275\u0275elementStart(27,"mat-form-field",4)(28,"mat-label"),b.\u0275\u0275text(29,"Package url (optional, use only if not available through "),b.\u0275\u0275elementStart(30,"a",5),b.\u0275\u0275text(31,"packages.fhir.org"),b.\u0275\u0275elementEnd(),b.\u0275\u0275text(32,") "),b.\u0275\u0275elementEnd(),b.\u0275\u0275element(33,"input",3),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(34,"button",6),b.\u0275\u0275listener("click",function(){return S.onSubmit()}),b.\u0275\u0275text(35,"Upload"),b.\u0275\u0275elementEnd(),b.\u0275\u0275template(36,_,4,0,"ng-container",7)(37,y,4,0,"ng-container",7),b.\u0275\u0275elementEnd(),b.\u0275\u0275template(38,M,2,0,"ng-container",7)(39,k,4,1,"div",8)),2&N&&(b.\u0275\u0275advance(13),b.\u0275\u0275property("ngForOf",S.igs),b.\u0275\u0275advance(7),b.\u0275\u0275property("formControl",S.addPackageId),b.\u0275\u0275advance(5),b.\u0275\u0275property("formControl",S.addVersion),b.\u0275\u0275advance(8),b.\u0275\u0275property("formControl",S.addUrl),b.\u0275\u0275advance(3),b.\u0275\u0275property("ngIf",S.selection),b.\u0275\u0275advance(),b.\u0275\u0275property("ngIf",S.selection),b.\u0275\u0275advance(),b.\u0275\u0275property("ngIf",S.update),b.\u0275\u0275advance(),b.\u0275\u0275property("ngIf",S.errorMessage))},dependencies:[d.NgForOf,d.NgIf,l.DefaultValueAccessor,l.NgControlStatus,l.FormControlDirective,a.MatFormField,a.MatLabel,r.MatInput,u.MatProgressSpinner,h.OperationResultComponent],styles:[".secondary[_ngcontent-%COMP%]{color:#6b7280}table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom:1px solid rgb(209,213,219);padding-bottom:1rem}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:1px solid rgb(229,231,235);padding-top:1rem;padding-bottom:1rem}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:hover{background:#eee}.mat-form-field.url[_ngcontent-%COMP%]{width:200px}.mat-table[_ngcontent-%COMP%]{margin:1rem}.mat-table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{cursor:pointer}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}.mat-table[_ngcontent-%COMP%] .mat-cell.title[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell.title[_ngcontent-%COMP%]{flex:2;justify-content:flex-end}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:first-child, .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]:first-child{padding-left:1rem}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:last-child, .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]:last-child{padding-right:1rem}.card-igs[_ngcontent-%COMP%]{margin-bottom:10px}"]})}return I})()},8300:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.MappingLanguageComponent=void 0;const t=g(5052),E=(g(4496),g(5400),g(6504)),c=g(6156),b=t.__importDefault(g(7020)),s=t.__importStar(g(4496)),f=t.__importStar(g(5400)),d=t.__importStar(g(1368)),l=t.__importStar(g(6504)),a=t.__importStar(g(2080)),r=t.__importStar(g(4060)),u=t.__importStar(g(5155));function h(k,D){if(1&k&&(s.\u0275\u0275elementStart(0,"li"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&k){const I=D.$implicit;s.\u0275\u0275advance(),s.\u0275\u0275textInterpolate1(" ",I.diagnostics," ")}}function p(k,D){if(1&k&&(s.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),s.\u0275\u0275template(2,h,2,1,"li",7),s.\u0275\u0275elementEnd()()),2&k){const I=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",I.operationOutcome.issue)}}function _(k,D){if(1&k&&(s.\u0275\u0275elementStart(0,"mat-hint"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&k){const I=s.\u0275\u0275nextContext();s.\u0275\u0275advance(),s.\u0275\u0275textInterpolate1("Successfully created on server: ",I.structureMap.url," ")}}function y(k,D){if(1&k&&(s.\u0275\u0275elementStart(0,"li"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&k){const I=D.$implicit;s.\u0275\u0275advance(),s.\u0275\u0275textInterpolate1(" ",I.diagnostics," ")}}function M(k,D){if(1&k&&(s.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),s.\u0275\u0275template(2,y,2,1,"li",7),s.\u0275\u0275elementEnd()()),2&k){const I=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",I.operationOutcomeTransformed.issue)}}class w{static#e=this.log=(0,b.default)("app:");constructor(D,I){this.cd=D,this.data=I,this.client=I.getFhirClient(),this.source=new E.UntypedFormControl,this.map=new E.UntypedFormControl,this.structureMap=null,this.map.valueChanges.pipe((0,c.debounceTime)(1e3),(0,c.distinctUntilChanged)()).subscribe(O=>{w.log("create StructureMap"),this.client.create({resourceType:"StructureMap",body:O,headers:{accept:"application/fhir+json","content-type":"text/fhir-mapping"}}).then(T=>{this.operationOutcome=null,this.structureMap=T,this.transform()}).catch(T=>{this.structureMap=null,this.operationOutcome=T.response.data})}),this.source.valueChanges.pipe((0,c.debounceTime)(1e3),(0,c.distinctUntilChanged)()).subscribe(O=>this.transform())}transform(){w.log("transform Source");let D=JSON.parse(this.source.value);null!=this.structureMap&&this.client.operation({name:"transform?source="+encodeURIComponent(this.structureMap.url),resourceType:"StructureMap",input:D}).then(I=>{this.operationOutcomeTransformed=null,this.transformed=I}).catch(I=>{this.transformed=null,this.operationOutcomeTransformed=I.response.data})}ngOnInit(){}fileSource(D){const I=new FileReader;if(D.target.files&&D.target.files.length){const[O]=D.target.files;I.readAsText(O),I.onload=()=>{this.source.setValue(I.result),this.cd.markForCheck()}}}fileChange(D){const I=new FileReader;if(D.target.files&&D.target.files.length){const[O]=D.target.files;I.readAsText(O),I.onload=()=>{this.map.setValue(I.result),this.cd.markForCheck()}}}static#t=this.\u0275fac=function(I){return new(I||w)(s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(f.FhirConfigService))};static#n=this.\u0275cmp=s.\u0275\u0275defineComponent({type:w,selectors:[["app-mapping-language"]],decls:31,vars:8,consts:[[1,"card-maps"],[1,"fixtextarea"],["accept",".json","placeholder","Upload source","type","file",3,"change"],["cols","400","matNativeControl","","rows","15",3,"formControl"],["accept",".map","placeholder","Upload map","type","file",3,"change"],["cols","400","matNativeControl","","rows","20",3,"formControl"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(I,O){1&I&&(s.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),s.\u0275\u0275text(4,"Source"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(5,"mat-form-field",1)(6,"mat-card-actions")(7,"input",2),s.\u0275\u0275listener("change",function(N){return O.fileSource(N)}),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(8,"textarea",3),s.\u0275\u0275text(9," "),s.\u0275\u0275elementEnd()()()(),s.\u0275\u0275elementStart(10,"mat-card",0)(11,"mat-card-content")(12,"mat-card-header")(13,"mat-card-title"),s.\u0275\u0275text(14,"FHIR Mapping Language map"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(15,"mat-form-field",1)(16,"mat-card-actions")(17,"input",4),s.\u0275\u0275listener("change",function(N){return O.fileChange(N)}),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(18,"textarea",5),s.\u0275\u0275text(19," "),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(20,p,3,1,"mat-error",6)(21,_,2,1,"mat-hint",6),s.\u0275\u0275elementEnd()(),s.\u0275\u0275elementStart(22,"mat-card",0)(23,"mat-card-content")(24,"mat-card-header")(25,"mat-card-title"),s.\u0275\u0275text(26,"Transformed"),s.\u0275\u0275elementEnd()(),s.\u0275\u0275template(27,M,3,1,"mat-error",6),s.\u0275\u0275elementStart(28,"pre"),s.\u0275\u0275text(29),s.\u0275\u0275pipe(30,"json"),s.\u0275\u0275elementEnd()()()),2&I&&(s.\u0275\u0275advance(8),s.\u0275\u0275property("formControl",O.source),s.\u0275\u0275advance(10),s.\u0275\u0275property("formControl",O.map),s.\u0275\u0275advance(2),s.\u0275\u0275property("ngIf",O.operationOutcome),s.\u0275\u0275advance(),s.\u0275\u0275property("ngIf",O.structureMap),s.\u0275\u0275advance(6),s.\u0275\u0275property("ngIf",O.operationOutcomeTransformed),s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate(s.\u0275\u0275pipeBind1(30,6,O.transformed)))},dependencies:[d.NgForOf,d.NgIf,l.DefaultValueAccessor,l.NgControlStatus,l.FormControlDirective,a.MatCard,a.MatCardActions,a.MatCardContent,a.MatCardHeader,a.MatCardTitle,r.MatFormField,r.MatHint,r.MatError,u.MatInput,d.JsonPipe],styles:[".fixtextarea[_ngcontent-%COMP%]{display:inline}.card-maps[_ngcontent-%COMP%]{margin-bottom:10px}"]})}te.MappingLanguageComponent=w},100:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.OperationResultComponent=void 0;const t=g(5052),v=g(4496),c=(g(4476),g(840),t.__importStar(g(4496))),b=t.__importStar(g(4476)),s=t.__importStar(g(1368));function f(p,_){if(1&p&&(c.\u0275\u0275elementStart(0,"li",8),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&p){const y=_.$implicit;c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",y," ")}}function d(p,_){if(1&p&&(c.\u0275\u0275elementStart(0,"ol"),c.\u0275\u0275template(1,f,2,1,"li",7),c.\u0275\u0275elementEnd()),2&p){const y=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(),c.\u0275\u0275property("ngForOf",y.sliceInfo)}}function l(p,_){if(1&p){const y=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"li",3),c.\u0275\u0275listener("click",function(){const k=c.\u0275\u0275restoreView(y).$implicit,D=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(D.select.emit(k))}),c.\u0275\u0275elementStart(1,"span",4),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(3,"span",5)(4,"br"),c.\u0275\u0275elementStart(5,"p"),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(7,d,2,1,"ol",6),c.\u0275\u0275elementEnd()}if(2&p){const y=_.$implicit,M=c.\u0275\u0275nextContext(2);c.\u0275\u0275classMapInterpolate1("issue ",y.severity,""),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(y.severity),c.\u0275\u0275advance(),c.\u0275\u0275property("innerHtml",M.getTemplateHeaderLine(y),c.\u0275\u0275sanitizeHtml),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(y.text),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",y.sliceInfo.length)}}const a=p=>({clickable:p});function r(p,_){if(1&p&&(c.\u0275\u0275elementStart(0,"ul",1),c.\u0275\u0275template(1,l,8,7,"li",2),c.\u0275\u0275elementEnd()),2&p){const y=c.\u0275\u0275nextContext();c.\u0275\u0275property("ngClass",c.\u0275\u0275pureFunction1(2,a,y.reactsToClick)),c.\u0275\u0275advance(),c.\u0275\u0275property("ngForOf",y.result.issues)}}const u=["fatal","error","warning","information"];te.OperationResultComponent=(()=>{class p{set operationResult(y){this.result=y,this.result&&this.result.issues.length&&this.result.issues.sort(p.sortIssues)}constructor(y){this.sanitized=y,this.select=new v.EventEmitter,this.reactsToClick=!1}ngOnInit(){this.reactsToClick=this.select.observed}static sortIssues(y,M){const w=u.indexOf(y.severity)-u.indexOf(M.severity);return 0!==w?w:(y.line??0)-(M.line??0)}getTemplateHeaderLine(y){let M="";y.code&&(M+=` [${y.code}]`),M+=": ";const w=[];return y.line&&w.push(`line ${y.line}`),y.col&&w.push(`column ${y.col}`),y.expression&&w.push(`in ${y.expression}`),w.length&&(M+=w.join(", ")+":"),this.sanitized.bypassSecurityTrustHtml(M)}static#e=this.\u0275fac=function(M){return new(M||p)(c.\u0275\u0275directiveInject(b.DomSanitizer))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:p,selectors:[["app-operation-result"]],inputs:{operationResult:"operationResult"},outputs:{select:"select"},decls:1,vars:1,consts:[[3,"ngClass",4,"ngIf"],[3,"ngClass"],[3,"class","click",4,"ngFor","ngForOf"],[3,"click"],[1,"severity"],[3,"innerHtml"],[4,"ngIf"],["class","slice",4,"ngFor","ngForOf"],[1,"slice"]],template:function(M,w){1&M&&c.\u0275\u0275template(0,r,2,4,"ul",0),2&M&&c.\u0275\u0275property("ngIf",w.result)},dependencies:[s.NgClass,s.NgForOf,s.NgIf],styles:[".card-maps[_ngcontent-%COMP%]{margin-bottom:10px}.app-ace-editor[_ngcontent-%COMP%]{border:2px solid #f8f9fa;box-shadow:0 .5rem 1rem #00000026}ul[_ngcontent-%COMP%]{list-style:none;padding:0}.clickable[_ngcontent-%COMP%] .issue[_ngcontent-%COMP%]{cursor:pointer}.issue[_ngcontent-%COMP%]{border:1px solid #e1e1e1;background:#fbfbfb;border-radius:5px;padding:5px 8px;--color: #000;border-left:4px solid var(--color);margin-bottom:4px}.issue[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:2px 0 0}.issue[_ngcontent-%COMP%] .severity[_ngcontent-%COMP%]{color:var(--color);font-weight:600}.issue.fatal[_ngcontent-%COMP%], .issue.error[_ngcontent-%COMP%]{--color: #d9534f}.issue.warning[_ngcontent-%COMP%]{--color: #f0ad4e}.issue.information[_ngcontent-%COMP%]{--color: #4ca8de}[_nghost-%COMP%] .issue .code{font-size:.9em;color:#636363}[_nghost-%COMP%] .issue>span>code{background:#e1e1e1;border-radius:4px;padding:2px 4px;font-family:courier,monospace} .ace-highlight-fatal{position:absolute;background:#c30;opacity:.4} .ace-highlight-error{position:absolute;background:#f96;opacity:.4} .ace-highlight-warning{position:absolute;background:#fc0;opacity:.4} .ace-highlight-information{position:absolute;background:#9c3;opacity:.4}"]})}return p})()},1132:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.SettingsComponent=void 0;const t=g(5052),v=t.__importDefault(g(6604)),C=t.__importStar(g(4496));te.SettingsComponent=(()=>{class c{constructor(){this.version=v.default.version}static#e=this.\u0275fac=function(f){return new(f||c)};static#t=this.\u0275cmp=C.\u0275\u0275defineComponent({type:c,selectors:[["app-settings"]],decls:12,vars:1,consts:[["id","settings",1,"white-block"],["href","https://github.com/ahdis/matchbox","rel","external nofollow noopener","target","_blank"]],template:function(f,d){1&f&&(C.\u0275\u0275elementStart(0,"div",0)(1,"h2"),C.\u0275\u0275text(2,"Matchbox settings"),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(3,"h5"),C.\u0275\u0275text(4),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(5,"p")(6,"em"),C.\u0275\u0275text(7,"There are no configurable settings here right now"),C.\u0275\u0275elementEnd()(),C.\u0275\u0275elementStart(8,"p"),C.\u0275\u0275text(9," Source code: "),C.\u0275\u0275elementStart(10,"a",1),C.\u0275\u0275text(11,"github.com/ahdis/matchbox"),C.\u0275\u0275elementEnd()()()),2&f&&(C.\u0275\u0275advance(4),C.\u0275\u0275textInterpolate1("Version ",d.version,""))}})}return c})()},9280:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.SharedModule=void 0;const t=g(5052),v=g(1368),C=g(6504),E=g(4476),c=g(7764),b=g(7816),s=g(2080),f=g(3840),d=g(3576),l=g(9120),a=g(3584),r=g(4060),u=g(1560),h=g(5155),p=g(9880),_=g(9776),y=g(8568),M=g(9716),w=g(7760),k=g(7300),D=g(8818),I=g(180),O=g(964),T=g(2064),N=g(7488),S=t.__importStar(g(4496)),F=[v.CommonModule,E.BrowserModule,C.FormsModule,C.ReactiveFormsModule,T.TranslateModule,c.MatAutocompleteModule,b.MatButtonModule,s.MatCardModule,f.MatCheckboxModule,a.MatDividerModule,r.MatFormFieldModule,u.MatIconModule,h.MatInputModule,p.MatMenuModule,_.MatPaginatorModule,M.MatSelectModule,k.MatSliderModule,w.MatSlideToggleModule,D.MatTableModule,O.MatToolbarModule,I.MatTabsModule,l.MatDatepickerModule,d.MatNativeDateModule,y.MatRadioModule,N.MatProgressSpinnerModule];te.SharedModule=(()=>{class U{static#e=this.\u0275fac=function(ne){return new(ne||U)};static#t=this.\u0275mod=S.\u0275\u0275defineNgModule({type:U});static#n=this.\u0275inj=S.\u0275\u0275defineInjector({imports:[F,v.CommonModule,E.BrowserModule,C.FormsModule,C.ReactiveFormsModule,T.TranslateModule,c.MatAutocompleteModule,b.MatButtonModule,s.MatCardModule,f.MatCheckboxModule,a.MatDividerModule,r.MatFormFieldModule,u.MatIconModule,h.MatInputModule,p.MatMenuModule,_.MatPaginatorModule,M.MatSelectModule,k.MatSliderModule,w.MatSlideToggleModule,D.MatTableModule,O.MatToolbarModule,I.MatTabsModule,l.MatDatepickerModule,d.MatNativeDateModule,y.MatRadioModule,N.MatProgressSpinnerModule]})}return U})()},5700:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.TransformComponent=void 0;const t=g(5052),E=(g(4496),g(5400),g(6504)),c=g(6156),b=t.__importStar(g(4496)),s=t.__importStar(g(5400)),f=t.__importStar(g(1368)),d=t.__importStar(g(6504)),l=t.__importStar(g(3576)),a=t.__importStar(g(2080)),r=t.__importStar(g(4060)),u=t.__importStar(g(9716)),h=t.__importStar(g(540)),p=t.__importStar(g(9623));function _(k,D){if(1&k&&(b.\u0275\u0275elementStart(0,"mat-option",7),b.\u0275\u0275text(1),b.\u0275\u0275elementEnd()),2&k){const I=D.$implicit;b.\u0275\u0275propertyInterpolate("value",I.url),b.\u0275\u0275advance(),b.\u0275\u0275textInterpolate1("",I.name," ")}}function y(k,D){if(1&k&&(b.\u0275\u0275elementStart(0,"li"),b.\u0275\u0275text(1),b.\u0275\u0275elementEnd()),2&k){const I=D.$implicit;b.\u0275\u0275advance(),b.\u0275\u0275textInterpolate1(" ",I.diagnostics," ")}}function M(k,D){if(1&k&&(b.\u0275\u0275elementStart(0,"mat-error")(1,"ul"),b.\u0275\u0275template(2,y,2,1,"li",8),b.\u0275\u0275elementEnd()()),2&k){const I=b.\u0275\u0275nextContext();b.\u0275\u0275advance(2),b.\u0275\u0275property("ngForOf",I.operationOutcomeTransformed.issue)}}te.TransformComponent=(()=>{class k{constructor(I,O){this.data=I,this.cd=O,this.query={_summary:"true",_sort:"name"},this.panelOpenState=!1,this.client=I.getFhirClient(),this.client.search({resourceType:"StructureMap",searchParams:this.query}).then(T=>(this.setMaps(T),T)),this.selectedMap=new E.UntypedFormControl,this.selectedMap.valueChanges.pipe((0,c.debounceTime)(400),(0,c.distinctUntilChanged)()).subscribe(T=>{this.selectedUrl=T,this.transform()})}transform(){null!=this.source&&null!=this.selectedUrl&&this.client.operation({name:"transform?source="+encodeURIComponent(this.selectedUrl),resourceType:"StructureMap",input:this.source,options:{headers:{"content-type":this.mimeType}}}).then(I=>{this.operationOutcomeTransformed=null,this.transformed=I}).catch(I=>{this.transformed=null,this.operationOutcomeTransformed=I.response.data})}getSource(){return this.source}getMapped(){return JSON.stringify(this.transformed,null,2)}setMaps(I){this.structureMaps=I.entry.map(O=>O.resource)}ngOnInit(){}addFile(I){this.transformed=null,("application/json"===I.contentType||I.name.endsWith(".json"))&&(this.mimeType="application/fhir+json"),("application/xml"===I.contentType||I.name.endsWith(".xml"))&&(this.mimeType="application/fhir+xml");const O=new FileReader;O.readAsText(I.blob),O.onload=()=>{this.source=O.result}}static#e=this.\u0275fac=function(O){return new(O||k)(b.\u0275\u0275directiveInject(s.FhirConfigService),b.\u0275\u0275directiveInject(b.ChangeDetectorRef))};static#t=this.\u0275cmp=b.\u0275\u0275defineComponent({type:k,selectors:[["app-transform"]],decls:24,vars:8,consts:[[1,"card-maps"],[3,"addFiles"],[3,"highlight","lineNumbers"],["appearance","fill"],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"],[4,"ngFor","ngForOf"]],template:function(O,T){1&O&&(b.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-card-header")(3,"mat-card-title"),b.\u0275\u0275text(4),b.\u0275\u0275elementEnd()(),b.\u0275\u0275elementStart(5,"div"),b.\u0275\u0275text(6,"Resource"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(7,"app-upload",1),b.\u0275\u0275listener("addFiles",function(S){return T.addFile(S)}),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(8,"pre"),b.\u0275\u0275element(9,"code",2),b.\u0275\u0275elementEnd()()(),b.\u0275\u0275elementStart(10,"mat-card",0)(11,"mat-form-field",3)(12,"mat-label"),b.\u0275\u0275text(13,"Map for transforming"),b.\u0275\u0275elementEnd(),b.\u0275\u0275elementStart(14,"mat-select",4),b.\u0275\u0275template(15,_,2,2,"mat-option",5),b.\u0275\u0275elementEnd()()(),b.\u0275\u0275elementStart(16,"mat-card",0)(17,"mat-card-content")(18,"mat-card-header")(19,"mat-card-title"),b.\u0275\u0275text(20,"Transformed"),b.\u0275\u0275elementEnd()(),b.\u0275\u0275template(21,M,3,1,"mat-error",6),b.\u0275\u0275elementStart(22,"pre"),b.\u0275\u0275element(23,"code",2),b.\u0275\u0275elementEnd()()()),2&O&&(b.\u0275\u0275advance(4),b.\u0275\u0275textInterpolate(T.client.baseUrl),b.\u0275\u0275advance(5),b.\u0275\u0275property("highlight",T.getSource())("lineNumbers",!0),b.\u0275\u0275advance(5),b.\u0275\u0275property("formControl",T.selectedMap),b.\u0275\u0275advance(),b.\u0275\u0275property("ngForOf",T.structureMaps),b.\u0275\u0275advance(6),b.\u0275\u0275property("ngIf",T.operationOutcomeTransformed),b.\u0275\u0275advance(2),b.\u0275\u0275property("highlight",T.getMapped())("lineNumbers",!0))},dependencies:[f.NgForOf,f.NgIf,d.NgControlStatus,d.FormControlDirective,l.MatOption,a.MatCard,a.MatCardContent,a.MatCardHeader,a.MatCardTitle,r.MatFormField,r.MatLabel,r.MatError,u.MatSelect,h.Highlight,p.UploadComponent],styles:[".card-maps[_ngcontent-%COMP%]{margin-bottom:10px}"]})}return k})()},9623:(De,te,g)=>{"use strict";var t=g(1196).default;Object.defineProperty(te,"__esModule",{value:!0}),te.UploadComponent=void 0;const v=g(5052),C=g(4496),E=v.__importStar(g(4496)),c=v.__importStar(g(7816)),b=v.__importStar(g(1560));te.UploadComponent=(()=>{class f{constructor(){this.addFiles=new C.EventEmitter,this.dragCounter=0}checkStatus(l){if(!l.ok)throw new Error(`HTTP ${l.status} - ${l.statusText}`);return l}onDrop(l){l.preventDefault(),this.dragCounter=0;const a=l.target.files||l.dataTransfer.items;if(a)for(let u=0;u0))},dependencies:[c.MatButton,b.MatIcon],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.attachment-field[_ngcontent-%COMP%]{border-radius:5px;background:#f0f3f6}.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:#e0e6ec}.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})}return f})()},840:(De,te)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.Issue=te.OperationResult=void 0;class g{constructor(C,E){this.operationOutcome=E,this.issues=C??[]}static fromOperationOutcome(C){const E=C.issue?.map(c=>t.fromOoIssue(c));return new g(E,C)}static fromMatchboxError(C){const E=new g;return E.issues.push(new t("fatal","matchbox",C,void 0,void 0,void 0,void 0)),E}}te.OperationResult=g;class t{constructor(C,E,c,b,s,f,d){this.sliceInfo=[],this.severity=C,this.code=E,this.text=c,this.expression=b,this.line=s,this.col=f,this.sliceInfo=d??[]}static fromOoIssue(C){let E;C.expression&&C.expression.length?E=C.expression[0]:C.location&&C.location.length&&(E=C.location[0]);const c=C.diagnostics?.indexOf("Slice info: 1.)");let b,s=null;return c>=0?(b=C.diagnostics.substring(0,c).trimEnd(),s=C.diagnostics.substring(c+15).trimStart().split(/\d+[.][)]/)):b=C.diagnostics,new t(C.severity,C.code,b,E,t.getLineNo(C),t.getColNo(C),s)}static getLineNo(C){const E=t.getExtensionIntValue(C,"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line");return E&&E>0?E:void 0}static getColNo(C){const E=t.getExtensionIntValue(C,"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col");return E&&E>0?E:void 0}static getExtensionIntValue(C,E){if(C.extension)for(const c of C.extension)if(c.url===E)return c.valueInteger}}te.Issue=t},8032:(De,te,g)=>{"use strict";var t=g(1196).default;Object.defineProperty(te,"__esModule",{value:!0}),te.ValidateComponent=void 0;const v=g(5052),c=(g(4496),g(5400),v.__importDefault(g(5116))),b=v.__importDefault(g(9472)),s=v.__importDefault(g(7496)),f=g(1772),d=g(1460),l=g(840),a=g(6504),r=v.__importStar(g(4496)),u=v.__importStar(g(5400)),h=v.__importStar(g(1368)),p=v.__importStar(g(6504)),_=v.__importStar(g(3576)),y=v.__importStar(g(7816)),M=v.__importStar(g(2080)),w=v.__importStar(g(4060)),k=v.__importStar(g(1560)),D=v.__importStar(g(5155)),I=v.__importStar(g(9880)),O=v.__importStar(g(9716)),T=v.__importStar(g(7488)),N=v.__importStar(g(6319)),S=v.__importStar(g(100)),F=v.__importStar(g(9623));function L(Re,ke){if(1&Re&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"span"),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(3," (from "),r.\u0275\u0275elementStart(4,"em"),r.\u0275\u0275text(5),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(6,") "),r.\u0275\u0275elementContainerEnd()),2&Re){const fe=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(fe.currentResource.resourceType),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(fe.currentResource.filename)}}function A(Re,ke){1&Re&&(r.\u0275\u0275elementStart(0,"em"),r.\u0275\u0275text(1,"none"),r.\u0275\u0275elementEnd())}function U(Re,ke){if(1&Re&&(r.\u0275\u0275elementStart(0,"mat-option",23),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Re){const fe=ke.$implicit;r.\u0275\u0275property("value",fe.key),r.\u0275\u0275advance(),r.\u0275\u0275textInterpolate1(" ",fe.value," ")}}function K(Re,ke){1&Re&&(r.\u0275\u0275elementStart(0,"mat-error"),r.\u0275\u0275text(1,"Please choose a profile"),r.\u0275\u0275elementEnd())}function ee(Re,ke){if(1&Re&&(r.\u0275\u0275elementStart(0,"mat-option",23),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Re){const fe=ke.$implicit;r.\u0275\u0275property("value",fe),r.\u0275\u0275advance(),r.\u0275\u0275textInterpolate1(" ",fe," ")}}function ne(Re,ke){if(1&Re&&(r.\u0275\u0275elementStart(0,"p",24)(1,"mat-icon"),r.\u0275\u0275text(2,"report"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd()),2&Re){const fe=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1(" Error: ",fe.errorMessage,"")}}function B(Re,ke){if(1&Re){const fe=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"app-upload",13),r.\u0275\u0275listener("addFiles",function(Be){r.\u0275\u0275restoreView(fe);const Ie=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ie.addFile(Be))}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(2,"p",14),r.\u0275\u0275text(3," Current resource loaded: "),r.\u0275\u0275template(4,L,7,2,"ng-container",3)(5,A,2,0,"em",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"div",15)(7,"mat-form-field")(8,"mat-label"),r.\u0275\u0275text(9,"Validation profile (required)"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"mat-select",16),r.\u0275\u0275twoWayListener("ngModelChange",function(Be){r.\u0275\u0275restoreView(fe);const Ie=r.\u0275\u0275nextContext();return r.\u0275\u0275twoWayBindingSet(Ie.selectedProfile,Be)||(Ie.selectedProfile=Be),r.\u0275\u0275resetView(Be)}),r.\u0275\u0275elementStart(11,"mat-option")(12,"ngx-mat-select-search",17),r.\u0275\u0275twoWayListener("ngModelChange",function(Be){r.\u0275\u0275restoreView(fe);const Ie=r.\u0275\u0275nextContext();return r.\u0275\u0275twoWayBindingSet(Ie.profileFilter,Be)||(Ie.profileFilter=Be),r.\u0275\u0275resetView(Be)}),r.\u0275\u0275listener("ngModelChange",function(){r.\u0275\u0275restoreView(fe);const Be=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Be.updateProfileFilter())}),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(13,U,2,2,"mat-option",18),r.\u0275\u0275pipe(14,"keyvalue"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(15,K,2,0,"mat-error",3),r.\u0275\u0275elementStart(16,"mat-hint"),r.\u0275\u0275text(17,"A profile is required to validate against."),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(18,"div",15)(19,"mat-form-field")(20,"mat-label"),r.\u0275\u0275text(21,"Validation IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(22,"mat-select",19),r.\u0275\u0275twoWayListener("ngModelChange",function(Be){r.\u0275\u0275restoreView(fe);const Ie=r.\u0275\u0275nextContext();return r.\u0275\u0275twoWayBindingSet(Ie.selectedIg,Be)||(Ie.selectedIg=Be),r.\u0275\u0275resetView(Be)}),r.\u0275\u0275elementStart(23,"mat-option",20)(24,"em"),r.\u0275\u0275text(25,"Automatic selection"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(26,ee,2,2,"mat-option",18),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(27,"mat-hint"),r.\u0275\u0275text(28,"A specific IG version may be specified."),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(29,"button",21),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(fe);const Be=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Be.onValidate())}),r.\u0275\u0275text(30,"Validate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(31,ne,4,1,"p",22),r.\u0275\u0275elementContainerEnd()}if(2&Re){const fe=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275property("ngIf",fe.currentResource),r.\u0275\u0275advance(),r.\u0275\u0275property("ngIf",!fe.currentResource),r.\u0275\u0275advance(5),r.\u0275\u0275twoWayProperty("ngModel",fe.selectedProfile),r.\u0275\u0275advance(2),r.\u0275\u0275twoWayProperty("ngModel",fe.profileFilter),r.\u0275\u0275advance(),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(14,9,fe.filteredProfiles)),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",fe.profileControl.hasError("required")),r.\u0275\u0275advance(7),r.\u0275\u0275twoWayProperty("ngModel",fe.selectedIg),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngForOf",fe.installedIgs),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngIf",fe.errorMessage)}}function H(Re,ke){if(1&Re&&(r.\u0275\u0275elementStart(0,"div",15)(1,"mat-form-field",26)(2,"mat-label"),r.\u0275\u0275text(3),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(4,"input",27),r.\u0275\u0275elementEnd()()),2&Re){const fe=ke.$implicit;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(fe.param.name),r.\u0275\u0275advance(),r.\u0275\u0275property("formControl",fe.formControl)}}function z(Re,ke){if(1&Re&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,H,5,2,"div",25),r.\u0275\u0275elementContainerEnd()),2&Re){const fe=r.\u0275\u0275nextContext();r.\u0275\u0275advance(),r.\u0275\u0275property("ngForOf",fe.validatorSettings)}}function X(Re,ke){1&Re&&r.\u0275\u0275element(0,"mat-spinner",33)}function G(Re,ke){if(1&Re&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"mat-icon",34),r.\u0275\u0275text(2,"error"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(3),r.\u0275\u0275element(4,"br"),r.\u0275\u0275elementStart(5,"mat-icon",35),r.\u0275\u0275text(6,"warning"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(7),r.\u0275\u0275element(8,"br"),r.\u0275\u0275elementStart(9,"mat-icon",36),r.\u0275\u0275text(10,"info"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(11),r.\u0275\u0275elementContainerEnd()),2&Re){const fe=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(fe.result?fe.getErrors():"-"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(fe.result?fe.getWarnings():"-"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate1("",fe.result?fe.getInfos():"-"," ")}}const j=Re=>({selected:Re});function le(Re,ke){if(1&Re){const fe=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"tr",28),r.\u0275\u0275listener("click",function(){const Ie=r.\u0275\u0275restoreView(fe).$implicit,je=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(je.show(Ie))}),r.\u0275\u0275elementStart(1,"td",29),r.\u0275\u0275text(2),r.\u0275\u0275element(3,"br"),r.\u0275\u0275elementStart(4,"time"),r.\u0275\u0275text(5),r.\u0275\u0275pipe(6,"date"),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(7,"at"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(8,"td",29),r.\u0275\u0275text(9),r.\u0275\u0275element(10,"br"),r.\u0275\u0275text(11),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"td",30),r.\u0275\u0275template(13,X,1,0,"mat-spinner",11)(14,G,12,3,"ng-container",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(15,"td",31)(16,"mat-icon",32),r.\u0275\u0275listener("click",function(){const Ie=r.\u0275\u0275restoreView(fe).$implicit,je=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(je.removeEntryFromHistory(Ie))}),r.\u0275\u0275text(17,"delete"),r.\u0275\u0275elementEnd()()()}if(2&Re){const fe=ke.$implicit,Ke=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(10,j,fe===Ke.selectedEntry)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",fe.filename,""),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind2(6,7,fe.date,"HH:mm:ss")),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate1(" ",fe.selectedProfile,""),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",fe.ig," "),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",fe.loading),r.\u0275\u0275advance(),r.\u0275\u0275property("ngIf",!fe.loading)}}function ue(Re,ke){if(1&Re&&(r.\u0275\u0275elementStart(0,"dl")(1,"dt"),r.\u0275\u0275text(2,"Filename"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"dd"),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"dt"),r.\u0275\u0275text(6,"Profile"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(7,"dd"),r.\u0275\u0275text(8),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(9,"dt"),r.\u0275\u0275text(10,"IG"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(11,"dd"),r.\u0275\u0275text(12),r.\u0275\u0275elementEnd()()),2&Re){const fe=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(fe.selectedEntry.filename),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(fe.selectedEntry.selectedProfile),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(fe.selectedEntry.ig)}}function ve(Re,ke){if(1&Re){const fe=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"app-operation-result",37),r.\u0275\u0275listener("select",function(Be){r.\u0275\u0275restoreView(fe);const Ie=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ie.highlightIssue(Be))}),r.\u0275\u0275elementEnd()}if(2&Re){const fe=r.\u0275\u0275nextContext();r.\u0275\u0275property("operationResult",fe.selectedEntry.result)}}function Je(Re,ke){1&Re&&r.\u0275\u0275element(0,"mat-spinner",33)}te.ValidateComponent=(()=>{class Re{constructor(fe,Ke){this.cd=Ke,this.validationEntries=new Array,this.selectedEntry=null,this.capabilityStatement=null,this.installedIgs=new Set,this.supportedProfiles=new Map,this.validatorSettings=new Array,this.filteredProfiles=new Map,this.profileFilter="",this.selectedIg=null,this.profileControl=new a.FormControl(null,a.Validators.required),this.showSettings=!1,this.currentResource=null,this.errorMessage=null,this.client=fe.getFhirClient(),this.client.capabilityStatement().then(Be=>{this.capabilityStatement=Be,this.client.read({resourceType:"OperationDefinition",id:"-s-validate"}).then(Ie=>{Ie.parameter?.forEach(je=>{"profile"==je.name&&(je._targetProfile.forEach(q=>{let be=this.getExtensionStringValue(q,"sd-canonical");const Oe=this.getExtensionStringValue(q,"sd-title"),Xe=this.getExtensionStringValue(q,"ig-id"),ge=this.getExtensionStringValue(q,"ig-version");let Ve="";this.getExtensionBoolValue(q,"ig-current")?Ve=" (last)":be+=`|${ge}`,this.supportedProfiles.set(be,`${Oe} \u2014 ${Xe}#${ge}${Ve}`)}),this.updateProfileFilter())}),Ie.parameter.filter(je=>"in"==je.use&&"resource"!=je.name&&"profile"!=je.name&&"ig"!=je.name).forEach(je=>{this.validatorSettings.push(new d.ValidationParameter(je))})})}).catch(Be=>{this.errorMessage="Error accessing FHIR server"}),this.client.search({resourceType:"ImplementationGuide",searchParams:{_sort:"title",_count:1e3}}).then(Be=>{Be.entry.map(Ie=>Ie.resource).map(Ie=>`${Ie.packageId}#${Ie.version}`).sort().forEach(Ie=>this.installedIgs.add(Ie))}).catch(Be=>{this.errorMessage="Error accessing FHIR server"})}ngAfterViewInit(){this.editor=s.default.edit("editor"),this.editor.setReadOnly(!0),this.editor.setTheme("ace/theme/textmate"),this.editor.setOptions({tabSize:4,wrap:!0,useWorker:!1,useSvgGutterIcons:!1})}addFile(fe){if(fe.name.endsWith(".tgz"))try{this.addPackage(fe.blob)}catch(Ke){console.error(Ke)}else{let Ke=null;try{this.selectedProfile=null,this.selectedIg=null;const Be=new FileReader;Be.readAsText(fe.blob),Be.onload=()=>{this.cd.markForCheck(),Ke=new f.ValidationEntry(fe.blob.name,Be.result,fe.contentType,null),this.currentResource=new Ct(fe.name,fe.contentType,Be.result,Ke.resourceType),Ke.selectedProfile&&(this.selectedProfile=Ke.selectedProfile),this.validationEntries.unshift(Ke),this.show(Ke),this.validate(Ke)}}catch(Be){console.error(Be),Ke&&(Ke.result=l.OperationResult.fromMatchboxError("Error while processing the resource for validation: "+Be.message))}}}onValidateIg(){let fe="";null!=this.selectedIg&&(fe=this.selectedIg.endsWith(" (last)")?this.selectedIg.substring(0,this.selectedIg.length-7):this.selectedIg,fe=fe.replace("#","-"),this.fetchData(this.client.baseUrl+"/ImplementationGuide/"+fe))}fetchData(fe){var Ke=this;return t(function*(){const Ie=yield(yield fetch(fe,{cache:"no-store",headers:{Accept:"application/gzip"}})).blob();Ke.addPackage(Ie)})()}addPackage(fe){this.selectedProfile=null,this.selectedIg=null;const Ke=new FileReader;Ke.readAsArrayBuffer(fe),Ke.onload=()=>{if(this.package=Ke.result,this.cd.markForCheck(),null!=this.package){const Be=c.default.inflate(new Uint8Array(this.package)),Ie=new Array;let je=null,q=null;const be=this;(0,b.default)(Be.buffer).then(function(Oe){Ie.forEach(Xe=>{be.validationEntries.unshift(Xe),be.validate(Xe)})},function(Oe){},function(Oe){if(Oe.name?.indexOf("package.json")>=0){let Xe=new TextDecoder("utf-8"),ge=JSON.parse(Xe.decode(Oe.buffer));je=ge.fhirVersions[0],q=ge.name+"#"+ge.version}if(Oe.name?.indexOf("example")>=0&&-1==Oe.name?.indexOf(".index.json")){let Xe=Oe.name;Xe.startsWith("package/example/")&&(Xe=Xe.substring(16)),Xe.startsWith("example/")&&(Xe=Xe.substring(8));let ge=new TextDecoder("utf-8"),Ve=JSON.parse(ge.decode(Oe.buffer)),ot=Ve.meta?.profile,ze=new f.ValidationEntry(Xe,JSON.stringify(Ve,null,2),"application/fhir+json",ot);Ie.push(ze)}})}}}onClear(){this.selectedProfile=null,this.selectedIg=null,this.show(void 0),this.validationEntries.splice(0,this.validationEntries.length)}validate(fe){if(null!=this.selectedProfile&&(fe.profiles.includes(this.selectedProfile)||fe.profiles.push(this.selectedProfile),fe.selectedProfile=this.selectedProfile),null!=this.selectedIg&&(fe.ig=this.selectedIg.endsWith(" (last)")?this.selectedIg.substring(0,this.selectedIg.length-7):this.selectedIg),!fe.selectedProfile)return void console.error("No profile selected, won't run validation");const Ke=new URLSearchParams;Ke.set("profile",fe.selectedProfile),fe.ig&&Ke.set("ig",fe.ig);for(const Be of this.validatorSettings)null!=Be.formControl.value&&Be.formControl.value.length>0&&Ke.set(Be.param.name,Be.formControl.value);fe.loading=!0,this.client.operation({name:"validate?"+Ke.toString(),resourceType:void 0,input:fe.resource,options:{headers:{accept:"application/fhir+json","content-type":fe.mimetype}}}).then(Be=>{fe.loading=!1,fe.setOperationOutcome(Be),fe===this.selectedEntry&&this.updateEditorIssues()}).catch(Be=>{fe.loading=!1,fe.result=l.OperationResult.fromMatchboxError("Error while sending the validation request: "+Be.message),console.error(Be)})}show(fe){if(this.errorMessage=null,this.selectedEntry=fe,!fe)return this.editor.setValue("",-1),void this.updateEditorIssues();this.currentResource=new Ct(fe.filename,fe.mimetype,fe.resource,fe.resourceType),this.editor.setValue(fe.resource,-1),"application/fhir+json"===fe.mimetype?this.editor.getSession().setMode("ace/mode/json"):"application/fhir+xml"===fe.mimetype&&this.editor.getSession().setMode("ace/mode/xml"),this.updateEditorIssues()}removeEntryFromHistory(fe){fe===this.selectedEntry&&this.show(null);const Ke=this.validationEntries.indexOf(fe);this.validationEntries.splice(Ke,1)}onValidate(){let fe=new f.ValidationEntry(this.currentResource.filename,this.currentResource.content,this.currentResource.contentType,[this.selectedProfile]);fe.ig=this.selectedIg,this.validationEntries.unshift(fe),this.show(fe),this.validate(fe)}toggleSettings(){this.showSettings=!this.showSettings}updateEditorIssues(){if(this.editor.session.clearAnnotations(),!this.selectedEntry?.result)return;const fe=this.selectedEntry.result.issues.filter(Ke=>Ke.line).map(Ke=>{let Be;switch(Ke.severity){case"fatal":case"error":Be="error";break;case"warning":Be="warning";break;case"information":Be="info"}return{row:Ke.line-1,column:Ke.col,text:Ke.text,type:Be}});this.editor.session.setAnnotations(fe)}highlightIssue(fe){fe.line&&(this.editor.gotoLine(fe.line,fe.col,!0),this.editor.scrollToLine(fe.line,!1,!0,()=>{}))}updateProfileFilter(){this.filteredProfiles=new Map([...this.supportedProfiles].filter(([fe,Ke])=>Ke.includes(this.profileFilter)))}getExtensionStringValue(fe,Ke){return this.getExtension(fe,Ke)?.valueString??""}getExtensionBoolValue(fe,Ke){return this.getExtension(fe,Ke)?.valueBoolean??!1}getExtension(fe,Ke){for(let Be=0;Be div[_ngcontent-%COMP%]{width:46%}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%], .mat-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:#d8f1e6}table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{cursor:pointer}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%]{font-size:12px;line-height:12px;color:#818181}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:12px;height:12px;margin-right:2px;vertical-align:bottom}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.error[_ngcontent-%COMP%]{color:#d9534f}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.warning[_ngcontent-%COMP%]{color:#f0ad4e}table[_ngcontent-%COMP%] td.issues[_ngcontent-%COMP%] mat-icon.info[_ngcontent-%COMP%]{color:#4ca8de}table[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:24px;color:#d9534f}.form-field-group[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem;display:flex;flex-direction:row}.form-field-group[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.card-maps[_ngcontent-%COMP%]{padding:8px 16px}.row-full-height[_ngcontent-%COMP%] .card-maps[_ngcontent-%COMP%]{height:96vh;max-height:96vh;overflow-y:auto}#editor[_ngcontent-%COMP%]{height:calc(100% - 50px)}.column50[_ngcontent-%COMP%]{width:40%}"]})}return Re})();class Ct{constructor(ke,fe,Ke,Be){this.filename=ke,this.contentType=fe,this.content=Ke,this.resourceType=Be}}},1772:(De,te,g)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.ValidationEntry=void 0;const t=g(840);te.ValidationEntry=class v{constructor(E,c,b,s){this.profiles=[],this.loading=!1,this.filename=E,this.resource=c,this.mimetype=b||(E.endsWith(".json")?"application/fhir+json":"application/fhir+xml"),s&&(this.profiles=s),this.date=new Date,"application/fhir+json"===this.mimetype?this.extractJsonInfo():this.extractXmlInfo(),this.profiles&&this.profiles.length?this.selectedProfile=this.profiles[0]:this.resourceType&&(this.selectedProfile="http://hl7.org/fhir/StructureDefinition/"+this.resourceType)}getErrors(){if(this.result)return this.result.issues.filter(E=>"error"===E.severity||"fatal"===E.severity).length}getWarnings(){if(this.result)return this.result.issues.filter(E=>"warning"===E.severity).length}getInfos(){if(this.result)return this.result.issues.filter(E=>"information"===E.severity).length}setOperationOutcome(E){this.result=t.OperationResult.fromOperationOutcome(E)}extractJsonInfo(){const E=JSON.parse(this.resource);E?.resourceType&&(this.resourceType=E.resourceType,this.resourceId=E.id),E.meta?.profile&&this.profiles.push(...E.meta.profile)}extractXmlInfo(){let E=this.resource.indexOf("",c);if(c0&&(s=s.substring(0,f)),f=s.indexOf(":"),f>0&&(s=s.substring(f+1)),this.resourceType=s;let d=this.resource.indexOf("profile",b);if(d>0){let l=this.resource.indexOf('value="',d)+7,a=this.resource.indexOf('"',l);l{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.ValidationParameter=void 0;const t=g(6504);te.ValidationParameter=class v{constructor(E){this.param=E,this.formControl=new t.UntypedFormControl}isValueSet(){return null!=this.valueBoolean||null!=this.valueString}}},6716:(De,te)=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0}),te.environment=void 0,te.environment={production:!0}},7460:(De,te,g)=>{"use strict";const C=g(5052).__importStar(g(4476)),E=g(4496),c=g(5204);g(6716).environment.production&&(0,E.enableProdMode)(),C.platformBrowser().bootstrapModule(c.AppModule).catch(s=>console.log(s))},7496:(De,te,g)=>{De=g.nmd(De),function(){var v=function(){return this}();!v&&typeof window<"u"&&(v=window);var C=function(d,l,a){"string"==typeof d?(2==arguments.length&&(a=l),C.modules[d]||(C.payloads[d]=a,C.modules[d]=null)):C.original?C.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};C.modules={},C.payloads={};var E=function(d,l,a){if("string"==typeof l){var r=s(d,l);if(null!=r)return a&&a(),r}else if("[object Array]"===Object.prototype.toString.call(l)){for(var u=[],h=0,p=l.length;hs.length)&&(b=s.length);var f=s.indexOf(c,b-=c.length);return-1!==f&&f===b}),String.prototype.repeat||E(String.prototype,"repeat",function(c){for(var b="",s=this;c>0;)1&c&&(b+=s),(c>>=1)&&(s+=s);return b}),String.prototype.includes||E(String.prototype,"includes",function(c,b){return-1!=this.indexOf(c,b)}),Object.assign||(Object.assign=function(c){if(null==c)throw new TypeError("Cannot convert undefined or null to object");for(var b=Object(c),s=1;s>>0,d=arguments[1]>>0,l=d<0?Math.max(s+d,0):Math.min(d,s),a=arguments[2],r=void 0===a?s:a>>0,u=r<0?Math.max(s+r,0):Math.min(r,s);l0;)1&s&&(f+=b),(s>>=1)&&(b+=b);return f};var E=/^\s\s*/,c=/\s\s*$/;v.stringTrimLeft=function(b){return b.replace(E,"")},v.stringTrimRight=function(b){return b.replace(c,"")},v.copyObject=function(b){var s={};for(var f in b)s[f]=b[f];return s},v.copyArray=function(b){for(var s=[],f=0,d=b.length;f65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(t,v,C){"use strict";v.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},v.getOS=function(){return v.isMac?v.OS.MAC:v.isLinux?v.OS.LINUX:v.OS.WINDOWS};var E="object"==typeof navigator?navigator:{},c=(/mac|win|linux/i.exec(E.platform)||["other"])[0].toLowerCase(),b=E.userAgent||"",s=E.appName||"";v.isWin="win"==c,v.isMac="mac"==c,v.isLinux="linux"==c,v.isIE="Microsoft Internet Explorer"==s||s.indexOf("MSAppHost")>=0?parseFloat((b.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((b.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),v.isOldIE=v.isIE&&v.isIE<9,v.isGecko=v.isMozilla=b.match(/ Gecko\/\d+/),v.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),v.isWebKit=parseFloat(b.split("WebKit/")[1])||void 0,v.isChrome=parseFloat(b.split(" Chrome/")[1])||void 0,v.isSafari=parseFloat(b.split(" Safari/")[1])&&!v.isChrome||void 0,v.isEdge=parseFloat(b.split(" Edge/")[1])||void 0,v.isAIR=b.indexOf("AdobeAIR")>=0,v.isAndroid=b.indexOf("Android")>=0,v.isChromeOS=b.indexOf(" CrOS ")>=0,v.isIOS=/iPad|iPhone|iPod/.test(b)&&!window.MSStream,v.isIOS&&(v.isMac=!0),v.isMobile=v.isIOS||v.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(t,v,C){"use strict";var E=t("./useragent");v.buildDom=function a(r,u,h){if("string"==typeof r&&r){var p=document.createTextNode(r);return u&&u.appendChild(p),p}if(!Array.isArray(r))return r&&r.appendChild&&u&&u.appendChild(r),r;if("string"!=typeof r[0]||!r[0]){for(var _=[],y=0;y"u")){if(s)if(u)f();else if(!1===u)return s.push([a,r]);if(!b){var h=u;u&&u.getRootNode?(!(h=u.getRootNode())||h==u)&&(h=document):h=document;var p=h.ownerDocument||h;if(r&&v.hasCssString(r,h))return null;r&&(a+="\n/*# sourceURL=ace/css/"+r+" */");var _=v.createElement("style");_.appendChild(p.createTextNode(a)),r&&(_.id=r),h==p&&(h=v.getDocumentHead(p)),h.insertBefore(_,h.firstChild)}}}if(v.useStrictCSP=function(a){b=a,0==a?f():s||(s=[])},v.importCssString=d,v.importCssStylsheet=function(a,r){v.buildDom(["link",{rel:"stylesheet",href:a}],v.getDocumentHead(r))},v.scrollbarWidth=function(a){var r=v.createElement("ace_inner");r.style.width="100%",r.style.minWidth="0px",r.style.height="200px",r.style.display="block";var u=v.createElement("ace_outer"),h=u.style;h.position="absolute",h.left="-10000px",h.overflow="hidden",h.width="200px",h.minWidth="0px",h.height="150px",h.display="block",u.appendChild(r);var p=a&&a.documentElement||document&&document.documentElement;if(!p)return 0;p.appendChild(u);var _=r.offsetWidth;h.overflow="scroll";var y=r.offsetWidth;return _===y&&(y=u.clientWidth),p.removeChild(u),_-y},v.computedStyle=function(a,r){return window.getComputedStyle(a,"")||{}},v.setStyle=function(a,r,u){a[r]!==u&&(a[r]=u)},v.HAS_CSS_ANIMATION=!1,v.HAS_CSS_TRANSFORMS=!1,v.HI_DPI=!E.isWin||typeof window<"u"&&window.devicePixelRatio>=1.5,E.isChromeOS&&(v.HI_DPI=!1),typeof document<"u"){var l=document.createElement("div");v.HI_DPI&&void 0!==l.style.transform&&(v.HAS_CSS_TRANSFORMS=!0),!E.isEdge&&typeof l.style.animationName<"u"&&(v.HAS_CSS_ANIMATION=!0),l=null}v.translate=v.HAS_CSS_TRANSFORMS?function(a,r,u){a.style.transform="translate("+Math.round(r)+"px, "+Math.round(u)+"px)"}:function(a,r,u){a.style.top=Math.round(u)+"px",a.style.left=Math.round(r)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(t,v,C){"use strict";var E=t("./dom");v.get=function(c,b){var s=new XMLHttpRequest;s.open("GET",c,!0),s.onreadystatechange=function(){4===s.readyState&&b(s.responseText)},s.send(null)},v.loadScript=function(c,b){var s=E.getDocumentHead(),f=document.createElement("script");f.src=c,s.appendChild(f),f.onload=f.onreadystatechange=function(d,l){(l||!f.readyState||"loaded"==f.readyState||"complete"==f.readyState)&&(f=f.onload=f.onreadystatechange=null,l||b())}},v.qualifyURL=function(c){var b=document.createElement("a");return b.href=c,b.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(t,v,C){"use strict";v.inherits=function(E,c){E.super_=c,E.prototype=Object.create(c.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}})},v.mixin=function(E,c){for(var b in c)E[b]=c[b];return E},v.implement=function(E,c){v.mixin(E,c)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(t,v,C){"use strict";var E={},c=function(){this.propagationStopped=!0},b=function(){this.defaultPrevented=!0};E._emit=E._dispatchEvent=function(s,f){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var d=this._eventRegistry[s]||[],l=this._defaultHandlers[s];if(d.length||l){("object"!=typeof f||!f)&&(f={}),f.type||(f.type=s),f.stopPropagation||(f.stopPropagation=c),f.preventDefault||(f.preventDefault=b),d=d.slice();for(var a=0;a1&&(_=h[h.length-2]);var M=f[u+"Path"];return null==M?M=f.basePath:"/"==p&&(u=p=""),M&&"/"!=M.slice(-1)&&(M+="/"),M+u+p+_+this.get("suffix")},v.setModuleUrl=function(r,u){return f.$moduleUrls[r]=u},v.setLoader=function(r){l=r},v.dynamicModules=Object.create(null),v.$loading={},v.$loaded={},v.loadModule=function(r,u){var h;if(Array.isArray(r))var p=r[0],_=r[1];else"string"==typeof r&&(_=r);var y=function(M){if(M&&!v.$loading[_])return u&&u(M);if(v.$loading[_]||(v.$loading[_]=[]),v.$loading[_].push(u),!(v.$loading[_].length>1)){var w=function(){!function(r,u){"ace/theme/textmate"===r||"./theme/textmate"===r?u(0,t("./theme/textmate")):l?l(r,u):console.error("loader is not configured")}(_,function(k,D){D&&(v.$loaded[_]=D),v._emit("load.module",{name:_,module:D});var I=v.$loading[_];v.$loading[_]=null,I.forEach(function(O){O&&O(D)})})};if(!v.get("packaged"))return w();c.loadScript(v.moduleUrl(_,p),w),a()}};if(v.dynamicModules[_])v.dynamicModules[_]().then(function(M){y(M.default?M.default:M)});else{try{h=this.$require(_)}catch{}y(h||v.$loaded[_])}},v.$require=function(r){if("function"==typeof C.require)return C.require(r)},v.setModuleLoader=function(r,u){v.dynamicModules[r]=u};var a=function(){!f.basePath&&!f.workerPath&&!f.modePath&&!f.themePath&&!Object.keys(f.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),a=function(){})};v.version="1.32.6"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(t,v,C){"use strict";t("./lib/fixoldbrowsers");var E=t("./config");E.setLoader(function(f,d){t([f],function(l){d(null,l)})});var c=function(){return this||typeof window<"u"&&window}();function b(f){if(c&&c.document){E.set("packaged",f||t.packaged||C.packaged||c.define&&g.amdD.packaged);var d={},l="",a=document.currentScript||document._currentScript,r=a&&a.ownerDocument||document;a&&a.src&&(l=a.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var u=r.getElementsByTagName("script"),h=0;h ["+this.end.row+"/"+this.end.column+"]"},c.prototype.contains=function(b,s){return 0==this.compare(b,s)},c.prototype.compareRange=function(b){var s,f=b.end,d=b.start;return 1==(s=this.compare(f.row,f.column))?1==(s=this.compare(d.row,d.column))?2:0==s?1:0:-1==s?-2:-1==(s=this.compare(d.row,d.column))?-1:1==s?42:0},c.prototype.comparePoint=function(b){return this.compare(b.row,b.column)},c.prototype.containsRange=function(b){return 0==this.comparePoint(b.start)&&0==this.comparePoint(b.end)},c.prototype.intersects=function(b){var s=this.compareRange(b);return-1==s||0==s||1==s},c.prototype.isEnd=function(b,s){return this.end.row==b&&this.end.column==s},c.prototype.isStart=function(b,s){return this.start.row==b&&this.start.column==s},c.prototype.setStart=function(b,s){"object"==typeof b?(this.start.column=b.column,this.start.row=b.row):(this.start.row=b,this.start.column=s)},c.prototype.setEnd=function(b,s){"object"==typeof b?(this.end.column=b.column,this.end.row=b.row):(this.end.row=b,this.end.column=s)},c.prototype.inside=function(b,s){return 0==this.compare(b,s)&&!(this.isEnd(b,s)||this.isStart(b,s))},c.prototype.insideStart=function(b,s){return 0==this.compare(b,s)&&!this.isEnd(b,s)},c.prototype.insideEnd=function(b,s){return 0==this.compare(b,s)&&!this.isStart(b,s)},c.prototype.compare=function(b,s){return this.isMultiLine()||b!==this.start.row?bthis.end.row?1:this.start.row===b?s>=this.start.column?0:-1:this.end.row===b?s<=this.end.column?0:1:0:sthis.end.column?1:0},c.prototype.compareStart=function(b,s){return this.start.row==b&&this.start.column==s?-1:this.compare(b,s)},c.prototype.compareEnd=function(b,s){return this.end.row==b&&this.end.column==s?1:this.compare(b,s)},c.prototype.compareInside=function(b,s){return this.end.row==b&&this.end.column==s?1:this.start.row==b&&this.start.column==s?-1:this.compare(b,s)},c.prototype.clipRows=function(b,s){if(this.end.row>s)var f={row:s+1,column:0};else this.end.rows)var d={row:s+1,column:0};else this.start.row1?++O>4&&(O=1):O=1,c.isIE){var U=Math.abs(A.clientX-T)>5||Math.abs(A.clientY-N)>5;(!S||U)&&(O=1),S&&clearTimeout(S),S=setTimeout(function(){S=null},w[O-1]||600),1==O&&(T=A.clientX,N=A.clientY)}if(A._clicks=O,k[D]("mousedown",A),O>4)O=0;else if(O>1)return k[D](F[O],A)}Array.isArray(M)||(M=[M]),M.forEach(function(A){r(A,"mousedown",L,I)})},v.getModifierString=function(M){return E.KEY_MODS[h(M)]},v.addCommandKeyListener=function(M,w,k){var D=null;r(M,"keydown",function(I){b[I.keyCode]=(b[I.keyCode]||0)+1;var O=function p(M,w,k){var D=h(w);if(!c.isMac&&b){if(w.getModifierState&&(w.getModifierState("OS")||w.getModifierState("Win"))&&(D|=8),b.altGr){if(3==(3&D))return;b.altGr=0}if(18===k||17===k){var I=w.location;17===k&&1===I?1==b[k]&&(s=w.timeStamp):18===k&&3===D&&2===I&&w.timeStamp-s<50&&(b.altGr=!0)}}if(k in E.MODIFIER_KEYS&&(k=-1),D||13!==k||3!==w.location||(M(w,D,-k),!w.defaultPrevented)){if(c.isChromeOS&&8&D){if(M(w,D,k),w.defaultPrevented)return;D&=-9}return!!(D||k in E.FUNCTION_KEYS||k in E.PRINTABLE_KEYS)&&M(w,D,k)}}(w,I,I.keyCode);return D=I.defaultPrevented,O},k),r(M,"keypress",function(I){D&&(I.ctrlKey||I.altKey||I.shiftKey||I.metaKey)&&(v.stopEvent(I),D=null)},k),r(M,"keyup",function(I){b[I.keyCode]=null},k),b||(_(),r(window,"focus",_))},"object"==typeof window&&window.postMessage&&!c.isOldIE){var y=1;v.nextTick=function(M,w){w=w||window;var k="zero-timeout-message-"+y++,D=function(I){I.data==k&&(v.stopPropagation(I),u(w,"message",D),M())};r(w,"message",D),w.postMessage(k,"*")}}v.$idleBlocked=!1,v.onIdle=function(M,w){return setTimeout(function k(){v.$idleBlocked?setTimeout(k,100):M()},w)},v.$idleBlockId=null,v.blockIdle=function(M){v.$idleBlockId&&clearTimeout(v.$idleBlockId),v.$idleBlocked=!0,v.$idleBlockId=setTimeout(function(){v.$idleBlocked=!1},M||100)},v.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),v.nextFrame=v.nextFrame?v.nextFrame.bind(window):function(M){setTimeout(M,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(t,v,C){"use strict";var E;C.exports={lineMode:!1,pasteCancelled:function(){return!!(E&&E>Date.now()-50)||(E=!1)},cancel:function(){E=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(t,v,C){"use strict";var E=t("../lib/event"),c=t("../config").nls,b=t("../lib/useragent"),s=t("../lib/dom"),f=t("../lib/lang"),d=t("../clipboard"),l=b.isChrome<18,a=b.isIE,r=b.isChrome>63,u=400,h=t("../lib/keys"),p=h.KEY_MODS,_=b.isIOS,y=_?/\s/:/\n/,M=b.isMobile;v.TextInput=function(k,D){var I=s.createElement("textarea");I.className="ace_text-input",I.setAttribute("wrap","off"),I.setAttribute("autocorrect","off"),I.setAttribute("autocapitalize","off"),I.setAttribute("spellcheck","false"),I.style.opacity="0",k.insertBefore(I,k.firstChild);var O=!1,T=!1,N=!1,S=!1,F="";M||(I.style.fontSize="1px");var L=!1,A=!1,U="",K=0,ee=0,ne=0,B=Number.MAX_SAFE_INTEGER,H=Number.MIN_SAFE_INTEGER,z=0;try{var X=document.activeElement===I}catch{}this.setNumberOfExtraLines=function(ze){B=Number.MAX_SAFE_INTEGER,H=Number.MIN_SAFE_INTEGER,z=ze<0?0:ze},this.setAriaOptions=function(ze){ze.activeDescendant?(I.setAttribute("aria-haspopup","true"),I.setAttribute("aria-autocomplete",ze.inline?"both":"list"),I.setAttribute("aria-activedescendant",ze.activeDescendant)):(I.setAttribute("aria-haspopup","false"),I.setAttribute("aria-autocomplete","both"),I.removeAttribute("aria-activedescendant")),ze.role&&I.setAttribute("role",ze.role),ze.setLabel&&(I.setAttribute("aria-roledescription",c("editor")),D.session)&&I.setAttribute("aria-label",c("Cursor at row $0",[D.session.selection.cursor.row+1]))},this.setAriaOptions({role:"textbox"}),E.addListener(I,"blur",function(ze){A||(D.onBlur(ze),X=!1)},D),E.addListener(I,"focus",function(ze){if(!A){if(X=!0,b.isEdge)try{if(!document.hasFocus())return}catch{}D.onFocus(ze),b.isEdge?setTimeout(j):j()}},D),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:D.renderer.enableKeyboardAccessibility}),F||r||"browser"==this.$focusScroll)return I.focus({preventScroll:!0});var ze=I.style.top;I.style.position="fixed",I.style.top="0px";try{var pt=0!=I.getBoundingClientRect().top}catch{return}var Pt=[];if(pt)for(var Gt=I.parentElement;Gt&&1==Gt.nodeType;)Pt.push(Gt),Gt.setAttribute("ace_nocontext","true"),Gt=!Gt.parentElement&&Gt.getRootNode?Gt.getRootNode().host:Gt.parentElement;I.focus({preventScroll:!0}),pt&&Pt.forEach(function(rn){rn.removeAttribute("ace_nocontext")}),setTimeout(function(){I.style.position="","0px"==I.style.top&&(I.style.top=ze)},0)},this.blur=function(){I.blur()},this.isFocused=function(){return X},D.on("beforeEndOperation",function(){var ze=D.curOp,pt=ze&&ze.command&&ze.command.name;"insertstring"!=pt&&(N&&pt&&(ze.docChanged||ze.selectionChanged)&&(U=I.value="",je()),j())});var G=function(ze,pt){for(var Pt=pt,Gt=1;Gt<=ze-B&&Gt<2*z+1;Gt++)Pt+=D.session.getLine(ze-Gt).length+1;return Pt},j=_?function(ze){if(X&&(!O||ze)&&!S){ze||(ze="");var pt="\n ab"+ze+"cde fg\n";pt!=I.value&&(I.value=U=pt);var Gt=4+(ze.length||(D.selection.isEmpty()?0:1));(4!=K||ee!=Gt)&&I.setSelectionRange(4,Gt),K=4,ee=Gt}}:function(){if(!N&&!S&&(X||Je)){N=!0;var ze=0,pt=0,Pt="";if(D.session){var Gt=D.selection,rn=Gt.getRange(),on=Gt.cursor.row;on===H+1?H=(B=H+1)+2*z:on===B-1?B=(H=B-1)-2*z:(onH+1)&&(B=on>z?on-z:0,H=on>z?on+z:2*z);for(var tn=[],gn=B;gn<=H;gn++)tn.push(D.session.getLine(gn));if(Pt=tn.join("\n"),ze=G(rn.start.row,rn.start.column),pt=G(rn.end.row,rn.end.column),rn.start.rowH){var an=D.session.getLine(H+1);pt=rn.end.row>H+1?an.length:rn.end.column,pt+=Pt.length+1,Pt=Pt+"\n"+an}else M&&on>0&&(Pt="\n"+Pt,pt+=1,ze+=1);Pt.length>u&&(ze0&&U[an]==ze[an];)an++,rn--;for(tn=tn.slice(an),an=1;on>0&&U.length-an>K-1&&U[U.length-an]==ze[ze.length-an];)an++,on--;gn-=an-1,Jt-=an-1;var Ot=tn.length-an+1;if(Ot<0&&(rn=-Ot,Ot=0),tn=tn.slice(0,Ot),!(pt||tn||gn||rn||on||Jt))return"";S=!0;var Ut=!1;return b.isAndroid&&". "==tn&&(tn=" ",Ut=!0),tn&&!rn&&!on&&!gn&&!Jt||L?D.onTextInput(tn):D.onTextInput(tn,{extendLeft:rn,extendRight:on,restoreStart:gn,restoreEnd:Jt}),S=!1,U=ze,K=Pt,ee=Gt,ne=Jt,Ut?"\n":tn},ct=function(ze){if(N)return Ie();if(ze&&ze.inputType){if("historyUndo"==ze.inputType)return D.execCommand("undo");if("historyRedo"==ze.inputType)return D.execCommand("redo")}var pt=I.value,Pt=_t(pt,!0);(pt.length>500||y.test(Pt)||M&&K<1&&K==ee)&&j()},Ct=function(ze,pt,Pt){var Gt=ze.clipboardData||window.clipboardData;if(Gt&&!l){var rn=a||Pt?"Text":"text/plain";try{return pt?!1!==Gt.setData(rn,pt):Gt.getData(rn)}catch(on){if(!Pt)return Ct(on,pt,!0)}}},Re=function(ze,pt){var Pt=D.getCopyText();if(!Pt)return E.preventDefault(ze);Ct(ze,Pt)?(_&&(j(Pt),O=Pt,setTimeout(function(){O=!1},10)),pt?D.onCut():D.onCopy(),E.preventDefault(ze)):(O=!0,I.value=Pt,I.select(),setTimeout(function(){O=!1,j(),pt?D.onCut():D.onCopy()}))},ke=function(ze){Re(ze,!0)},fe=function(ze){Re(ze,!1)},Ke=function(ze){var pt=Ct(ze);d.pasteCancelled()||("string"==typeof pt?(pt&&D.onPaste(pt,ze),b.isIE&&setTimeout(j),E.preventDefault(ze)):(I.value="",T=!0))};E.addCommandKeyListener(I,function(ze,pt,Pt){if(!N)return D.onCommandKey(ze,pt,Pt)},D),E.addListener(I,"select",function(ze){N||(O?O=!1:function(ze){return 0===ze.selectionStart&&ze.selectionEnd>=U.length&&ze.value===U&&U&&ze.selectionEnd!==ee}(I)?(D.selectAll(),j()):M&&I.selectionStart!=K&&j())},D),E.addListener(I,"input",ct,D),E.addListener(I,"cut",ke,D),E.addListener(I,"copy",fe,D),E.addListener(I,"paste",Ke,D),(!("oncut"in I)||!("oncopy"in I)||!("onpaste"in I))&&E.addListener(k,"keydown",function(ze){if((!b.isMac||ze.metaKey)&&ze.ctrlKey)switch(ze.keyCode){case 67:fe(ze);break;case 86:Ke(ze);break;case 88:ke(ze)}},D);var Ie=function(){if(N&&D.onCompositionUpdate&&!D.$readOnly){if(L)return q();N.useTextareaForIME?D.onCompositionUpdate(I.value):(_t(I.value),N.markerRange&&(N.context&&(N.markerRange.start.column=N.selectionStart=N.context.compositionStartOffset),N.markerRange.end.column=N.markerRange.start.column+ee-N.selectionStart+ne))}},je=function(ze){!D.onCompositionEnd||D.$readOnly||(N=!1,D.onCompositionEnd(),D.off("mousedown",q),ze&&ct())};function q(){A=!0,I.blur(),I.focus(),A=!1}var Xe,be=f.delayedCall(Ie,50).schedule.bind(null,null);function ge(){clearTimeout(Xe),Xe=setTimeout(function(){F&&(I.style.cssText=F,F=""),D.renderer.$isMousePressed=!1,D.renderer.$keepTextAreaAtCursor&&D.renderer.$moveTextAreaToCursor()},0)}E.addListener(I,"compositionstart",function(ze){if(!N&&D.onCompositionStart&&!D.$readOnly&&(N={},!L)){ze.data&&(N.useTextareaForIME=!1),setTimeout(Ie,0),D._signal("compositionStart"),D.on("mousedown",q);var pt=D.getSelectionRange();pt.end.row=pt.start.row,pt.end.column=pt.start.column,N.markerRange=pt,N.selectionStart=K,D.onCompositionStart(N),N.useTextareaForIME?(U=I.value="",K=0,ee=0):(I.msGetInputContext&&(N.context=I.msGetInputContext()),I.getInputContext&&(N.context=I.getInputContext()))}},D),E.addListener(I,"compositionupdate",Ie,D),E.addListener(I,"keyup",function Oe(ze){27==ze.keyCode&&I.value.lengthee&&"\n"==U[Jt]?an=h.end:gnee&&U.slice(0,Jt).split("\n").length>2?an=h.down:Jt>ee&&" "==U[Jt-1]?(an=h.right,Ot=p.option):(Jt>ee||Jt==ee&&ee!=K&&gn==Jt)&&(an=h.right),gn!==Jt&&(Ot|=p.shift),an){if(!pt.onCommandKey({},Ot,an)&&pt.commands){an=h.keyCodeToString(an);var xe=pt.commands.findKeyCommand(Ot,an);xe&&pt.execCommand(xe)}K=gn,ee=Jt,j("")}}};document.addEventListener("selectionchange",on),pt.on("destroy",function(){document.removeEventListener("selectionchange",on)})}(0,D,I),this.destroy=function(){I.parentElement&&I.parentElement.removeChild(I)}},v.$setUserAgentForTests=function(k,D){M=k,_=D}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(t,v,C){"use strict";var E=t("../lib/useragent"),s=function(){function l(a){a.$clickSelection=null;var r=a.editor;r.setDefaultHandler("mousedown",this.onMouseDown.bind(a)),r.setDefaultHandler("dblclick",this.onDoubleClick.bind(a)),r.setDefaultHandler("tripleclick",this.onTripleClick.bind(a)),r.setDefaultHandler("quadclick",this.onQuadClick.bind(a)),r.setDefaultHandler("mousewheel",this.onMouseWheel.bind(a)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(h){a[h]=this[h]},this),a.selectByLines=this.extendSelectionBy.bind(a,"getLineRange"),a.selectByWords=this.extendSelectionBy.bind(a,"getWordRange")}return l.prototype.onMouseDown=function(a){var r=a.inSelection(),u=a.getDocumentPosition();this.mousedownEvent=a;var h=this.editor,p=a.getButton();return 0!==p?((h.getSelectionRange().isEmpty()||1==p)&&h.selection.moveToPosition(u),void(2==p&&(h.textInput.onContextMenu(a.domEvent),E.isMozilla||a.preventDefault()))):(this.mousedownEvent.time=Date.now(),!r||h.isFocused()||(h.focus(),!this.$focusTimeout||this.$clickSelection||h.inMultiSelectMode)?(this.captureMouse(a),this.startSelect(u,a.domEvent._clicks>1),a.preventDefault()):(this.setState("focusWait"),void this.captureMouse(a)))},l.prototype.startSelect=function(a,r){a=a||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var u=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?u.selection.selectToPosition(a):r||u.selection.moveToPosition(a),r||this.select(),u.setStyle("ace_selecting"),this.setState("select"))},l.prototype.select=function(){var a,r=this.editor,u=r.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var h=this.$clickSelection.comparePoint(u);if(-1==h)a=this.$clickSelection.end;else if(1==h)a=this.$clickSelection.start;else{var p=d(this.$clickSelection,u);u=p.cursor,a=p.anchor}r.selection.setSelectionAnchor(a.row,a.column)}r.selection.selectToPosition(u),r.renderer.scrollCursorIntoView()},l.prototype.extendSelectionBy=function(a){var r,u=this.editor,h=u.renderer.screenToTextCoordinates(this.x,this.y),p=u.selection[a](h.row,h.column);if(this.$clickSelection){var _=this.$clickSelection.comparePoint(p.start),y=this.$clickSelection.comparePoint(p.end);if(-1==_&&y<=0)r=this.$clickSelection.end,(p.end.row!=h.row||p.end.column!=h.column)&&(h=p.start);else if(1==y&&_>=0)r=this.$clickSelection.start,(p.start.row!=h.row||p.start.column!=h.column)&&(h=p.end);else if(-1==_&&1==y)h=p.end,r=p.start;else{var M=d(this.$clickSelection,h);h=M.cursor,r=M.anchor}u.selection.setSelectionAnchor(r.row,r.column)}u.selection.selectToPosition(h),u.renderer.scrollCursorIntoView()},l.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},l.prototype.focusWait=function(){var a=function f(l,a,r,u){return Math.sqrt(Math.pow(r-l,2)+Math.pow(u-a,2))}(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),r=Date.now();(a>0||r-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},l.prototype.onDoubleClick=function(a){var r=a.getDocumentPosition(),u=this.editor,p=u.session.getBracketRange(r);p?(p.isEmpty()&&(p.start.column--,p.end.column++),this.setState("select")):(p=u.selection.getWordRange(r.row,r.column),this.setState("selectByWords")),this.$clickSelection=p,this.select()},l.prototype.onTripleClick=function(a){var r=a.getDocumentPosition(),u=this.editor;this.setState("selectByLines");var h=u.getSelectionRange();h.isMultiLine()&&h.contains(r.row,r.column)?(this.$clickSelection=u.selection.getLineRange(h.start.row),this.$clickSelection.end=u.selection.getLineRange(h.end.row).end):this.$clickSelection=u.selection.getLineRange(r.row),this.select()},l.prototype.onQuadClick=function(a){var r=this.editor;r.selectAll(),this.$clickSelection=r.getSelectionRange(),this.setState("selectAll")},l.prototype.onMouseWheel=function(a){if(!a.getAccelKey()){a.getShiftKey()&&a.wheelY&&!a.wheelX&&(a.wheelX=a.wheelY,a.wheelY=0);var r=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var u=this.$lastScroll,h=a.domEvent.timeStamp,p=h-u.t,_=p?a.wheelX/p:u.vx,y=p?a.wheelY/p:u.vy;p<550&&(_=(_+u.vx)/2,y=(y+u.vy)/2);var M=Math.abs(_/y),w=!1;if(M>=1&&r.renderer.isScrollableBy(a.wheelX*a.speed,0)&&(w=!0),M<=1&&r.renderer.isScrollableBy(0,a.wheelY*a.speed)&&(w=!0),w?u.allowed=h:h-u.allowed<550&&(Math.abs(_)<=1.5*Math.abs(u.vx)&&Math.abs(y)<=1.5*Math.abs(u.vy)?(w=!0,u.allowed=h):u.allowed=0),u.t=h,u.vx=_,u.vy=y,w)return r.renderer.scrollBy(a.wheelX*a.speed,a.wheelY*a.speed),a.stop()}},l}();function d(l,a){if(l.start.row==l.end.row)var r=2*a.column-l.start.column-l.end.column;else if(l.start.row!=l.end.row-1||l.start.column||l.end.column)r=2*a.row-l.start.row-l.end.row;else r=a.column-4;return r<0?{cursor:l.start,anchor:l.end}:{cursor:l.end,anchor:l.start}}s.prototype.selectEnd=s.prototype.selectByLinesEnd,s.prototype.selectAllEnd=s.prototype.selectByLinesEnd,s.prototype.selectByWordsEnd=s.prototype.selectByLinesEnd,v.DefaultHandlers=s}),ace.define("ace/lib/scroll",["require","exports","module"],function(t,v,C){v.preventParentScroll=function(c){c.stopPropagation();var b=c.currentTarget;b.scrollHeight>b.clientHeight||c.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(t,v,C){"use strict";var E=this&&this.__extends||function(){var p=function(_,y){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,w){M.__proto__=w}||function(M,w){for(var k in w)Object.prototype.hasOwnProperty.call(w,k)&&(M[k]=w[k])})(_,y)};return function(_,y){if("function"!=typeof y&&null!==y)throw new TypeError("Class extends value "+String(y)+" is not a constructor or null");function M(){this.constructor=_}p(_,y),_.prototype=null===y?Object.create(y):(M.prototype=y.prototype,new M)}}(),c=this&&this.__values||function(p){var _="function"==typeof Symbol&&Symbol.iterator,y=_&&p[_],M=0;if(y)return y.call(p);if(p&&"number"==typeof p.length)return{next:function(){return p&&M>=p.length&&(p=void 0),{value:p&&p[M++],done:!p}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},b=t("./lib/dom"),f=(t("./lib/event"),t("./range").Range),d=t("./lib/scroll").preventParentScroll,l="ace_tooltip",a=function(){function p(_){this.isOpen=!1,this.$element=null,this.$parentNode=_}return p.prototype.$init=function(){return this.$element=b.createElement("div"),this.$element.className=l,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},p.prototype.getElement=function(){return this.$element||this.$init()},p.prototype.setText=function(_){this.getElement().textContent=_},p.prototype.setHtml=function(_){this.getElement().innerHTML=_},p.prototype.setPosition=function(_,y){this.getElement().style.left=_+"px",this.getElement().style.top=y+"px"},p.prototype.setClassName=function(_){b.addCssClass(this.getElement(),_)},p.prototype.setTheme=function(_){this.$element.className=l+" "+(_.isDark?"ace_dark ":"")+(_.cssClass||"")},p.prototype.show=function(_,y,M){null!=_&&this.setText(_),null!=y&&null!=M&&this.setPosition(y,M),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},p.prototype.hide=function(_){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=l,this.isOpen=!1)},p.prototype.getHeight=function(){return this.getElement().offsetHeight},p.prototype.getWidth=function(){return this.getElement().offsetWidth},p.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},p}(),u=new(function(){function p(){this.popups=[]}return p.prototype.addPopup=function(_){this.popups.push(_),this.updatePopups()},p.prototype.removePopup=function(_){var y=this.popups.indexOf(_);-1!==y&&(this.popups.splice(y,1),this.updatePopups())},p.prototype.updatePopups=function(){var _,y,M,w;this.popups.sort(function(L,A){return A.priority-L.priority});var k=[];try{for(var D=c(this.popups),I=D.next();!I.done;I=D.next()){var O=I.value,T=!0;try{for(var N=(M=void 0,c(k)),S=N.next();!S.done;S=N.next())if(this.doPopupsOverlap(S.value,O)){T=!1;break}}catch(L){M={error:L}}finally{try{S&&!S.done&&(w=N.return)&&w.call(N)}finally{if(M)throw M.error}}T?k.push(O):O.hide()}}catch(L){_={error:L}}finally{try{I&&!I.done&&(y=D.return)&&y.call(D)}finally{if(_)throw _.error}}},p.prototype.doPopupsOverlap=function(_,y){var M=_.getElement().getBoundingClientRect(),w=y.getElement().getBoundingClientRect();return M.leftw.left&&M.topw.top},p}());v.popupManager=u,v.Tooltip=a;var h=function(p){function _(y){void 0===y&&(y=document.body);var M=p.call(this,y)||this;M.timeout=void 0,M.lastT=0,M.idleTime=350,M.lastEvent=void 0,M.onMouseOut=M.onMouseOut.bind(M),M.onMouseMove=M.onMouseMove.bind(M),M.waitForHover=M.waitForHover.bind(M),M.hide=M.hide.bind(M);var w=M.getElement();return w.style.whiteSpace="pre-wrap",w.style.pointerEvents="auto",w.addEventListener("mouseout",M.onMouseOut),w.tabIndex=-1,w.addEventListener("blur",function(){w.contains(document.activeElement)||this.hide()}.bind(M)),w.addEventListener("wheel",d),M}return E(_,p),_.prototype.addToEditor=function(y){y.on("mousemove",this.onMouseMove),y.on("mousedown",this.hide),y.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},_.prototype.removeFromEditor=function(y){y.off("mousemove",this.onMouseMove),y.off("mousedown",this.hide),y.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},_.prototype.onMouseMove=function(y,M){this.lastEvent=y,this.lastT=Date.now();var w=M.$mouseHandler.isMousePressed;if(this.isOpen){var k=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(k.row,k.column)||w||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||w||(this.lastEvent=y,this.timeout=setTimeout(this.waitForHover,this.idleTime))},_.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var y=Date.now()-this.lastT;this.idleTime-y>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-y):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},_.prototype.isOutsideOfText=function(y){var M=y.editor,w=y.getDocumentPosition(),k=M.session.getLine(w.row);if(w.column==k.length){var D=M.renderer.pixelToScreenCoordinates(y.clientX,y.clientY),I=M.session.documentToScreenPosition(w.row,w.column);if(I.column!=D.column||I.row!=D.row)return!0}return!1},_.prototype.setDataProvider=function(y){this.$gatherData=y},_.prototype.showForRange=function(y,M,w,k){if(!(k&&k!=this.lastEvent||this.isOpen&&document.activeElement==this.getElement())){var I=y.renderer;this.isOpen||(u.addPopup(this),this.$registerCloseEvents(),this.setTheme(I.theme)),this.isOpen=!0,this.addMarker(M,y.session),this.range=f.fromPoints(M.start,M.end);var O=I.textToScreenCoordinates(M.start.row,M.start.column),T=I.scroller.getBoundingClientRect();O.pageX=r.length&&(r=void 0),{value:r&&r[p++],done:!r}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")},b=t("../lib/dom"),s=t("../lib/event"),f=t("../tooltip").Tooltip,d=t("../config").nls;v.GutterHandler=function l(r){var _,y,u=r.editor,h=u.renderer.$gutterLayer,p=new a(u);function w(){_&&(_=clearTimeout(_)),p.isOpen&&(p.hideTooltip(),u.off("mousewheel",w))}function k(D){p.setPosition(D.x,D.y)}r.editor.setDefaultHandler("guttermousedown",function(D){if(u.isFocused()&&0==D.getButton()&&"foldWidgets"!=h.getRegion(D)){var O=D.getDocumentPosition().row,T=u.session.selection;if(D.getShiftKey())T.selectTo(O,0);else{if(2==D.domEvent.detail)return u.selectAll(),D.preventDefault();r.$clickSelection=u.selection.getLineRange(O)}return r.setState("selectByLines"),r.captureMouse(D),D.preventDefault()}}),r.editor.setDefaultHandler("guttermousemove",function(D){if(b.hasCssClass(D.domEvent.target||D.domEvent.srcElement,"ace_fold-widget"))return w();p.isOpen&&r.$tooltipFollowsMouse&&k(D),y=D,!_&&(_=setTimeout(function(){_=null,y&&!r.isMousePressed?function M(){var D=y.getDocumentPosition().row;if(D==u.session.getLength()){var O=u.renderer.pixelToScreenCoordinates(0,y.y).row,T=y.$pos;if(O>u.session.documentToScreenRow(T.row,T.column))return w()}if(p.showTooltip(D),p.isOpen)if(u.on("mousewheel",w),r.$tooltipFollowsMouse)k(y);else{var N=y.getGutterRow(),S=h.$lines.get(N);if(S){var L=S.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),A=p.getElement().style;A.left=L.right+"px",A.top=L.bottom+"px"}else k(y)}}():w()},50))}),s.addListener(u.renderer.$gutter,"mouseout",function(D){y=null,p.isOpen&&!_&&(_=setTimeout(function(){_=null,w()},50))},u),u.on("changeSession",w),u.on("input",w)};var a=function(r){function u(h){var p=r.call(this,h.container)||this;return p.editor=h,p}return E(u,r),u.prototype.setPosition=function(h,p){var _=window.innerWidth||document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight,M=this.getWidth(),w=this.getHeight();(h+=15)+M>_&&(h-=h+M-_),(p+=15)+w>y&&(p-=20+w),f.prototype.setPosition.call(this,h,p)},Object.defineProperty(u,"annotationLabels",{get:function(){return{error:{singular:d("error"),plural:d("errors")},warning:{singular:d("warning"),plural:d("warnings")},info:{singular:d("information message"),plural:d("information messages")}}},enumerable:!1,configurable:!0}),u.prototype.showTooltip=function(h){var y,p=this.editor.renderer.$gutterLayer,_=p.$annotations[h];y=_?{text:Array.from(_.text),type:Array.from(_.type)}:{text:[],type:[]};var M=p.session.getFoldLine(h);if(M&&p.$showFoldedAnnotations){for(var k,w={error:[],warning:[],info:[]},D=h+1;D<=M.end.row;D++)if(p.$annotations[D])for(var I=0;I ").concat(y.text[D]);N[y.type[D].replace("_fold","")].push(F)}var L=[].concat(N.error,N.warning,N.info).join("
");this.setHtml(L),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},u.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},u.annotationsToSummaryString=function(h){var p,_,y=[];try{for(var w=c(["error","warning","info"]),k=w.next();!k.done;k=w.next()){var D=k.value;if(h[D].length){var I=1===h[D].length?u.annotationLabels[D].singular:u.annotationLabels[D].plural;y.push("".concat(h[D].length," ").concat(I))}}}catch(O){p={error:O}}finally{try{k&&!k.done&&(_=w.return)&&_.call(w)}finally{if(p)throw p.error}}return y.join(", ")},u}(f);v.GutterTooltip=a}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(t,v,C){"use strict";var E=t("../lib/event"),c=t("../lib/useragent"),b=function(){function s(f,d){this.domEvent=f,this.editor=d,this.x=this.clientX=f.clientX,this.y=this.clientY=f.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return s.prototype.stopPropagation=function(){E.stopPropagation(this.domEvent),this.propagationStopped=!0},s.prototype.preventDefault=function(){E.preventDefault(this.domEvent),this.defaultPrevented=!0},s.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},s.prototype.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},s.prototype.getGutterRow=function(){var f=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(f,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},s.prototype.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var d=this.editor.getSelectionRange();if(d.isEmpty())this.$inSelection=!1;else{var l=this.getDocumentPosition();this.$inSelection=d.contains(l.row,l.column)}return this.$inSelection},s.prototype.getButton=function(){return E.getButton(this.domEvent)},s.prototype.getShiftKey=function(){return this.domEvent.shiftKey},s.prototype.getAccelKey=function(){return c.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},s}();v.MouseEvent=b}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(t,v,C){"use strict";var E=t("../lib/dom"),c=t("../lib/event"),b=t("../lib/useragent");function l(r){var u=r.editor,h=E.createElement("div");h.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",h.textContent="\xa0",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(G){r[G]=this[G]},this),u.on("mousedown",this.onMouseDown.bind(r));var y,M,w,k,D,I,T,N,S,F,L,_=u.container,O=0;function K(){var G=I;(function A(G,j){var le=Date.now();F&&j&&G.row==j.row&&j&&G.column==j.column?a(L.x,L.y,M,w)>5?F=null:le-F>=200&&(u.renderer.scrollCursorIntoView(),F=null):(u.moveCursorToPosition(G),F=le,L={x:M,y:w})})(I=u.renderer.screenToTextCoordinates(M,w),G),function U(G,j){var le=Date.now(),ue=u.renderer.layerConfig.lineHeight,ve=u.renderer.layerConfig.characterWidth,Je=u.renderer.scroller.getBoundingClientRect(),_t={x:{left:M-Je.left,right:Je.right-M},y:{top:w-Je.top,bottom:Je.bottom-w}},ct=Math.min(_t.x.left,_t.x.right),Ct=Math.min(_t.y.top,_t.y.bottom),Re={row:G.row,column:G.column};ct/ve<=2&&(Re.column+=_t.x.left<_t.x.right?-3:2),Ct/ue<=1&&(Re.row+=_t.y.top<_t.y.bottom?-1:1),G.row!=Re.row||G.column!=Re.column&&j&&G.row==j.row?S?le-S>=200&&u.renderer.scrollCursorIntoView(Re):S=le:S=null}(I,G)}function ee(){D=u.selection.toOrientedRange(),y=u.session.addMarker(D,"ace_selection",u.getSelectionStyle()),u.clearSelection(),u.isFocused()&&u.renderer.$cursorLayer.setBlinking(!1),clearInterval(k),K(),k=setInterval(K,20),O=0,c.addListener(document,"mousemove",H)}function ne(){clearInterval(k),u.session.removeMarker(y),y=null,u.selection.fromOrientedRange(D),u.isFocused()&&!N&&u.$resetCursorStyle(),D=null,I=null,O=0,S=null,F=null,c.removeListener(document,"mousemove",H)}this.onDragStart=function(G){if(this.cancelDrag||!_.draggable){var j=this;return setTimeout(function(){j.startSelect(),j.captureMouse(G)},0),G.preventDefault()}D=u.getSelectionRange();var le=G.dataTransfer;le.effectAllowed=u.getReadOnly()?"copy":"copyMove",u.container.appendChild(h),le.setDragImage&&le.setDragImage(h,0,0),setTimeout(function(){u.container.removeChild(h)}),le.clearData(),le.setData("Text",u.session.getTextRange()),N=!0,this.setState("drag")},this.onDragEnd=function(G){_.draggable=!1,N=!1,this.setState(null),u.getReadOnly()||(!T&&"move"==G.dataTransfer.dropEffect&&u.session.remove(u.getSelectionRange()),u.$resetCursorStyle()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(G){if(!u.getReadOnly()&&z(G.dataTransfer))return M=G.clientX,w=G.clientY,y||ee(),O++,G.dataTransfer.dropEffect=T=X(G),c.preventDefault(G)},this.onDragOver=function(G){if(!u.getReadOnly()&&z(G.dataTransfer))return M=G.clientX,w=G.clientY,y||(ee(),O++),null!==B&&(B=null),G.dataTransfer.dropEffect=T=X(G),c.preventDefault(G)},this.onDragLeave=function(G){if(--O<=0&&y)return ne(),T=null,c.preventDefault(G)},this.onDrop=function(G){if(I){var j=G.dataTransfer;if(N)switch(T){case"move":D=D.contains(I.row,I.column)?{start:I,end:I}:u.moveText(D,I);break;case"copy":D=u.moveText(D,I,!0)}else{var le=j.getData("Text");D={start:I,end:u.session.insert(I,le)},u.focus(),T=null}return ne(),c.preventDefault(G)}},c.addListener(_,"dragstart",this.onDragStart.bind(r),u),c.addListener(_,"dragend",this.onDragEnd.bind(r),u),c.addListener(_,"dragenter",this.onDragEnter.bind(r),u),c.addListener(_,"dragover",this.onDragOver.bind(r),u),c.addListener(_,"dragleave",this.onDragLeave.bind(r),u),c.addListener(_,"drop",this.onDrop.bind(r),u);var B=null;function H(){null==B&&(B=setTimeout(function(){null!=B&&y&&ne()},20))}function z(G){var j=G.types;return!j||Array.prototype.some.call(j,function(le){return"text/plain"==le||"Text"==le})}function X(G){var j=["copy","copymove","all","uninitialized"],ue=b.isMac?G.altKey:G.ctrlKey,ve="uninitialized";try{ve=G.dataTransfer.effectAllowed.toLowerCase()}catch{}var Je="none";return ue&&j.indexOf(ve)>=0?Je="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(ve)>=0?Je="move":j.indexOf(ve)>=0&&(Je="copy"),Je}}function a(r,u,h,p){return Math.sqrt(Math.pow(h-r,2)+Math.pow(p-u,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(r){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var r=this.editor;r.container.draggable=!0,r.renderer.$cursorLayer.setBlinking(!1),r.setStyle("ace_dragging"),r.renderer.setCursorStyle(b.isWin?"default":"move"),this.setState("dragReady")},this.onMouseDrag=function(r){var u=this.editor.container;b.isIE&&"dragReady"==this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&u.dragDrop(),"dragWait"===this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(u.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(r){if(this.$dragEnabled){this.mousedownEvent=r;var u=this.editor,h=r.inSelection(),p=r.getButton();if(1===(r.domEvent.detail||1)&&0===p&&h){if(r.editor.inMultiSelectMode&&(r.getAccelKey()||r.getShiftKey()))return;this.mousedownEvent.time=Date.now();var y=r.domEvent.target||r.domEvent.srcElement;"unselectable"in y&&(y.unselectable="on"),u.getDragDelay()?(b.isWebKit&&(this.cancelDrag=!0,u.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(r,this.onMouseDrag.bind(this)),r.defaultPrevented=!0}}}}).call(l.prototype),v.DragdropHandler=l}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(t,v,C){"use strict";var E=t("./mouse_event").MouseEvent,c=t("../lib/event"),b=t("../lib/dom");v.addTouchListeners=function(s,f){var l,a,r,u,h,p,y,D,I,d="scroll",_=0,M=0,w=0,k=0;function T(){I||function O(){var A=window.navigator&&window.navigator.clipboard,U=!1,ee=function(ne){var B=ne.target.getAttribute("action");if("more"==B||!U)return U=!U,function(){var ne=f.getCopyText(),B=f.session.getUndoManager().hasUndo();I.replaceChild(b.buildDom(U?["span",!ne&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],ne&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],ne&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],A&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],B&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),I.firstChild)}();"paste"==B?A.readText().then(function(H){f.execCommand(B,H)}):B&&(("cut"==B||"copy"==B)&&(A?A.writeText(f.getCopyText()):document.execCommand("copy")),f.execCommand(B)),I.firstChild.style.display="none",U=!1,"openCommandPalette"!=B&&f.focus()};I=b.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(ne){d="menu",ne.stopPropagation(),ne.preventDefault(),f.textInput.focus()},ontouchend:function(ne){ne.stopPropagation(),ne.preventDefault(),ee(ne)},onclick:ee},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],f.container)}();var A=f.selection.cursor,U=f.renderer.textToScreenCoordinates(A.row,A.column),K=f.renderer.textToScreenCoordinates(0,0).pageX,ee=f.renderer.scrollLeft,ne=f.container.getBoundingClientRect();I.style.top=U.pageY-ne.top-3+"px",U.pageX-ne.left1)return clearTimeout(h),h=null,r=-1,void(d="zoom");D=f.$mouseHandler.isMousePressed=!0;var K=f.renderer.layerConfig.lineHeight,ee=f.renderer.layerConfig.lineHeight,ne=A.timeStamp;u=ne;var B=U[0],H=B.clientX,z=B.clientY;Math.abs(l-H)+Math.abs(a-z)>K&&(r=-1),l=A.clientX=H,a=A.clientY=z,w=k=0;var X=new E(A,f);if(y=X.getDocumentPosition(),ne-r<500&&1==U.length&&!_)M++,A.preventDefault(),A.button=0,function F(){h=null,clearTimeout(h),f.selection.moveToPosition(y);var A=M>=2?f.selection.getLineRange(y.row):f.session.getBracketRange(y);A&&!A.isEmpty()?f.selection.setRange(A):f.selection.selectWord(),d="wait"}();else{M=0;var G=f.selection.cursor,j=f.selection.isEmpty()?G:f.selection.anchor,le=f.renderer.$cursorLayer.getPixelPosition(G,!0),ue=f.renderer.$cursorLayer.getPixelPosition(j,!0),ve=f.renderer.scroller.getBoundingClientRect(),Je=f.renderer.layerConfig.offset,_t=f.renderer.scrollLeft,ct=function(ke,fe){return(ke/=ee)*ke+(fe=fe/K-.75)*fe};if(A.clientXRe?"cursor":"anchor"),d=Re<3.5?"anchor":Ct<3.5?"cursor":"scroll",h=setTimeout(S,450)}r=ne},f),c.addListener(s,"touchend",function(A){D=f.$mouseHandler.isMousePressed=!1,p&&clearInterval(p),"zoom"==d?(d="",_=0):h?(f.selection.moveToPosition(y),_=0,T()):"scroll"==d?(function L(){_+=60,p=setInterval(function(){_--<=0&&(clearInterval(p),p=null),Math.abs(w)<.01&&(w=0),Math.abs(k)<.01&&(k=0),_<20&&(w*=.9),_<20&&(k*=.9);var A=f.session.getScrollTop();f.renderer.scrollBy(10*w,10*k),A==f.session.getScrollTop()&&(_=0)},10)}(),N()):T(),clearTimeout(h),h=null},f),c.addListener(s,"touchmove",function(A){h&&(clearTimeout(h),h=null);var U=A.touches;if(!(U.length>1||"zoom"==d)){var K=U[0],ee=l-K.clientX,ne=a-K.clientY;if("wait"==d){if(!(ee*ee+ne*ne>4))return A.preventDefault();d="cursor"}l=K.clientX,a=K.clientY,A.clientX=K.clientX,A.clientY=K.clientY;var B=A.timeStamp,H=B-u;if(u=B,"scroll"==d){var z=new E(A,f);z.speed=1,z.wheelX=ee,z.wheelY=ne,10*Math.abs(ee)=_t){for(fe=ke+1;fe=_t;)fe++;for(Ke=ke,Be=fe-1;Ke=ct.length||2!=(fe=Ct[Re-1])&&3!=fe||2!=(Ke=ct[Re+1])&&3!=Ke?4:(f&&(Ke=3),Ke==fe?Ke:4);case 10:return 2==(fe=Re>0?Ct[Re-1]:5)&&Re+10&&2==Ct[Re-1])return 2;if(f)return 4;for(Ie=Re+1,Be=ct.length;Ie=1425&&je<=2303||64286==je)&&(1==fe||7==fe))return 1}return Re<1||5==(fe=ct[Re-1])?4:Ct[Re-1];case 5:return f=!1,l=!0,b;case 6:return a=!0,4;case 13:case 14:case 16:case 17:case 15:f=!1;case z:return 4}}function ve(_t){var ct=_t.charCodeAt(0),Ct=ct>>8;return 0==Ct?ct>191?0:X[ct]:5==Ct?/[\u0591-\u05f4]/.test(_t)?1:0:6==Ct?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(_t)?12:/[\u0660-\u0669\u066b-\u066c]/.test(_t)?3:1642==ct?A:/[\u06f0-\u06f9]/.test(_t)?2:7:32==Ct&&ct<=8287?G[255&ct]:254==Ct&&ct>=65136?7:4}v.L=0,v.R=1,v.EN=2,v.ON_R=3,v.AN=4,v.R_H=5,v.B=6,v.RLE=7,v.DOT="\xb7",v.doBidiReorder=function(_t,ct,Ct){if(_t.length<2)return{};var Re=_t.split(""),ke=new Array(Re.length),fe=new Array(Re.length),Ke=[];b=Ct?1:0,function j(_t,ct,Ct,Re){var ke=b?p:h,fe=null,Ke=null,Be=null,Ie=0,je=null,be=-1,Oe=null,Xe=null,ge=[];if(!Re)for(Oe=0,Re=[];Oe0)if(16==je){for(Oe=be;Oe-1){for(Oe=be;Oe=0&&8==Re[Ve];Ve--)ct[Ve]=b}}(Re,Ke,Re.length,ct);for(var Be=0;Be7&&ct[Be]<13||4===ct[Be]||ct[Be]===z)?Ke[Be]=v.ON_R:Be>0&&"\u0644"===Re[Be-1]&&/\u0622|\u0623|\u0625|\u0627/.test(Re[Be])&&(Ke[Be-1]=Ke[Be]=v.R_H,Be++);for(Re[Re.length-1]===v.DOT&&(Ke[Re.length-1]=v.B),"\u202b"===Re[0]&&(Ke[0]=v.RLE),Be=0;Be=0&&(d=this.session.$docRowCache[a])}return d},f.prototype.getSplitIndex=function(){var d=0,l=this.session.$screenRowCache;if(l.length)for(var a,r=this.session.$getRowCacheIndex(l,this.currentRow);this.currentRow-d>0&&(a=this.session.$getRowCacheIndex(l,this.currentRow-d-1))===r;)r=a,d++;else d=this.currentRow;return d},f.prototype.updateRowLine=function(d,l){void 0===d&&(d=this.getDocumentRow());var r=d===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(d),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var u=this.session.$wrapData[d];u&&(void 0===l&&(l=this.getSplitIndex()),l>0&&u.length?(this.wrapIndent=u.indent,this.wrapOffset=this.wrapIndent*this.charWidths[E.L],this.line=ll?this.session.getOverwrite()?d:d-1:l,r=E.getVisualFromLogicalIdx(a,this.bidiMap),u=this.bidiMap.bidiLevels,h=0;!this.session.getOverwrite()&&d<=l&&u[r]%2!=0&&r++;for(var p=0;pl&&u[r]%2==0&&(h+=this.charWidths[u[r]]),this.wrapIndent&&(h+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(h+=this.rtlLineOffset),h},f.prototype.getSelections=function(d,l){var u,a=this.bidiMap,r=a.bidiLevels,h=[],p=0,_=Math.min(d,l)-this.wrapIndent,y=Math.max(d,l)-this.wrapIndent,M=!1,w=!1,k=0;this.wrapIndent&&(p+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var D,I=0;I=_&&Dr+p/2;){if(r+=p,u===h.length-1){p=0;break}p=this.charWidths[h[++u]]}return u>0&&h[u-1]%2!=0&&h[u]%2==0?(a0&&h[u-1]%2==0&&h[u]%2!=0?l=1+(a>r?this.bidiMap.logicalFromVisual[u]:this.bidiMap.logicalFromVisual[u-1]):this.isRtlDir&&u===h.length-1&&0===p&&h[u-1]%2==0||!this.isRtlDir&&0===u&&h[u]%2!=0?l=1+this.bidiMap.logicalFromVisual[u]:(u>0&&h[u-1]%2!=0&&0!==p&&u--,l=this.bidiMap.logicalFromVisual[u]),0===l&&this.isRtlDir&&l++,l+this.wrapIndent},f}();v.BidiHandler=s}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(t,v,C){"use strict";var E=t("./lib/oop"),c=t("./lib/lang"),b=t("./lib/event_emitter").EventEmitter,s=t("./range").Range,f=function(){function d(l){this.session=l,this.doc=l.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var a=this;this.cursor.on("change",function(r){a.$cursorChanged=!0,a.$silent||a._emit("changeCursor"),!a.$isEmpty&&!a.$silent&&a._emit("changeSelection"),!a.$keepDesiredColumnOnChange&&r.old.column!=r.value.column&&(a.$desiredColumn=null)}),this.anchor.on("change",function(){a.$anchorChanged=!0,!a.$isEmpty&&!a.$silent&&a._emit("changeSelection")})}return d.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},d.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},d.prototype.getCursor=function(){return this.lead.getPosition()},d.prototype.setAnchor=function(l,a){this.$isEmpty=!1,this.anchor.setPosition(l,a)},d.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},d.prototype.getSelectionLead=function(){return this.lead.getPosition()},d.prototype.isBackwards=function(){var l=this.anchor,a=this.lead;return l.row>a.row||l.row==a.row&&l.column>a.column},d.prototype.getRange=function(){var l=this.anchor,a=this.lead;return this.$isEmpty?s.fromPoints(a,a):this.isBackwards()?s.fromPoints(a,l):s.fromPoints(l,a)},d.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},d.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},d.prototype.setRange=function(l,a){var r=a?l.end:l.start,u=a?l.start:l.end;this.$setSelection(r.row,r.column,u.row,u.column)},d.prototype.$setSelection=function(l,a,r,u){if(!this.$silent){var h=this.$isEmpty,p=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(l,a),this.cursor.setPosition(r,u),this.$isEmpty=!s.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||h!=this.$isEmpty||p)&&this._emit("changeSelection")}},d.prototype.$moveSelection=function(l){var a=this.lead;this.$isEmpty&&this.setSelectionAnchor(a.row,a.column),l.call(this)},d.prototype.selectTo=function(l,a){this.$moveSelection(function(){this.moveCursorTo(l,a)})},d.prototype.selectToPosition=function(l){this.$moveSelection(function(){this.moveCursorToPosition(l)})},d.prototype.moveTo=function(l,a){this.clearSelection(),this.moveCursorTo(l,a)},d.prototype.moveToPosition=function(l){this.clearSelection(),this.moveCursorToPosition(l)},d.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},d.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},d.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},d.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},d.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},d.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},d.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},d.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},d.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},d.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},d.prototype.getWordRange=function(l,a){if(typeof a>"u"){var r=l||this.lead;l=r.row,a=r.column}return this.session.getWordRange(l,a)},d.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},d.prototype.selectAWord=function(){var l=this.getCursor(),a=this.session.getAWordRange(l.row,l.column);this.setSelectionRange(a)},d.prototype.getLineRange=function(l,a){var u,r="number"==typeof l?l:this.lead.row,h=this.session.getFoldLine(r);return h?(r=h.start.row,u=h.end.row):u=r,!0===a?new s(r,0,u,this.session.getLine(u).length):new s(r,0,u+1,0)},d.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},d.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},d.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},d.prototype.wouldMoveIntoSoftTab=function(l,a,r){var u=l.column,h=l.column+a;return r<0&&(u=l.column-a,h=l.column),this.session.isTabStop(l)&&this.doc.getLine(l.row).slice(u,h).split(" ").length-1==a},d.prototype.moveCursorLeft=function(){var a,l=this.lead.getPosition();if(a=this.session.getFoldAt(l.row,l.column,-1))this.moveCursorTo(a.start.row,a.start.column);else if(0===l.column)l.row>0&&this.moveCursorTo(l.row-1,this.doc.getLine(l.row-1).length);else{var r=this.session.getTabSize();this.wouldMoveIntoSoftTab(l,r,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-r):this.moveCursorBy(0,-1)}},d.prototype.moveCursorRight=function(){var a,l=this.lead.getPosition();if(a=this.session.getFoldAt(l.row,l.column,1))this.moveCursorTo(a.end.row,a.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(a.column=u)}}this.moveCursorTo(a.row,a.column)},d.prototype.moveCursorFileEnd=function(){var l=this.doc.getLength()-1,a=this.doc.getLine(l).length;this.moveCursorTo(l,a)},d.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},d.prototype.moveCursorLongWordRight=function(){var l=this.lead.row,a=this.lead.column,r=this.doc.getLine(l),u=r.substring(a);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var h=this.session.getFoldAt(l,a,1);if(!h)return this.session.nonTokenRe.exec(u)&&(a+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,u=r.substring(a)),a>=r.length?(this.moveCursorTo(l,r.length),this.moveCursorRight(),void(l0&&this.moveCursorWordLeft());this.session.tokenRe.exec(h)&&(a-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(l,a)}},d.prototype.$shortWordEndIndex=function(l){var r,a=0,u=/\s/,h=this.session.tokenRe;if(h.lastIndex=0,this.session.tokenRe.exec(l))a=this.session.tokenRe.lastIndex;else{for(;(r=l[a])&&u.test(r);)a++;if(a<1)for(h.lastIndex=0;(r=l[a])&&!h.test(r);)if(h.lastIndex=0,a++,u.test(r)){if(a>2){a--;break}for(;(r=l[a])&&u.test(r);)a++;if(a>2)break}}return h.lastIndex=0,a},d.prototype.moveCursorShortWordRight=function(){var l=this.lead.row,a=this.lead.column,r=this.doc.getLine(l),u=r.substring(a),h=this.session.getFoldAt(l,a,1);if(h)return this.moveCursorTo(h.end.row,h.end.column);if(a==r.length){var p=this.doc.getLength();do{l++,u=this.doc.getLine(l)}while(l0&&/^\s*$/.test(u));a=u.length,/\s+$/.test(u)||(u="")}var h=c.stringReverse(u),p=this.$shortWordEndIndex(h);return this.moveCursorTo(l,a-p)},d.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},d.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},d.prototype.moveCursorBy=function(l,a){var u,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===a&&(0!==l&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(u=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(u/this.session.$bidiHandler.charWidths[0])):u=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column),0!=l&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var h=this.session.lineWidgets[this.lead.row];l<0?l-=h.rowsAbove||0:l>0&&(l+=h.rowCount-(h.rowsAbove||0))}var p=this.session.screenToDocumentPosition(r.row+l,r.column,u);this.moveCursorTo(p.row,p.column+a,0===a)},d.prototype.moveCursorToPosition=function(l){this.moveCursorTo(l.row,l.column)},d.prototype.moveCursorTo=function(l,a,r){var u=this.session.getFoldAt(l,a,1);u&&(l=u.start.row,a=u.start.column),this.$keepDesiredColumnOnChange=!0;var h=this.session.getLine(l);/[\uDC00-\uDFFF]/.test(h.charAt(a))&&h.charAt(a-1)&&(this.lead.row==l&&this.lead.column==a+1?a-=1:a+=1),this.lead.setPosition(l,a),this.$keepDesiredColumnOnChange=!1,r||(this.$desiredColumn=null)},d.prototype.moveCursorToScreen=function(l,a,r){var u=this.session.screenToDocumentPosition(l,a);this.moveCursorTo(u.row,u.column,r)},d.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},d.prototype.fromOrientedRange=function(l){this.setSelectionRange(l,l.cursor==l.start),this.$desiredColumn=l.desiredColumn||this.$desiredColumn},d.prototype.toOrientedRange=function(l){var a=this.getRange();return l?(l.start.column=a.start.column,l.start.row=a.start.row,l.end.column=a.end.column,l.end.row=a.end.row):l=a,l.cursor=this.isBackwards()?l.start:l.end,l.desiredColumn=this.$desiredColumn,l},d.prototype.getRangeOfMovements=function(l){var a=this.getCursor();try{l(this);var r=this.getCursor();return s.fromPoints(a,r)}catch{return s.fromPoints(a,a)}finally{this.moveCursorToPosition(a)}},d.prototype.toJSON=function(){if(this.rangeCount)var l=this.ranges.map(function(a){var r=a.clone();return r.isBackwards=a.cursor==a.start,r});else(l=this.getRange()).isBackwards=this.isBackwards();return l},d.prototype.fromJSON=function(l){if(null==l.start){if(this.rangeList&&l.length>1){this.toSingleRange(l[0]);for(var a=l.length;a--;){var r=s.fromPoints(l[a].start,l[a].end);l[a].isBackwards&&(r.cursor=r.start),this.addRange(r,!0)}return}l=l[0]}this.rangeList&&this.toSingleRange(l),this.setSelectionRange(l,l.isBackwards)},d.prototype.isEqual=function(l){if((l.length||this.rangeCount)&&l.length!=this.rangeCount)return!1;if(!l.length||!this.ranges)return this.getRange().isEqual(l);for(var a=this.ranges.length;a--;)if(!this.ranges[a].isEqual(l[a]))return!1;return!0},d}();f.prototype.setSelectionAnchor=f.prototype.setAnchor,f.prototype.getSelectionAnchor=f.prototype.getAnchor,f.prototype.setSelectionRange=f.prototype.setRange,E.implement(f.prototype,b),v.Selection=f}),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],function(t,v,C){"use strict";var E=t("./lib/report_error").reportError,c=2e3,b=function(){function s(f){for(var d in this.states=f,this.regExps={},this.matchMappings={},this.states){for(var l=this.states[d],a=[],r=0,u=this.matchMappings[d]={defaultToken:"text"},h="g",p=[],_=0;_1?this.$applyToken:y.token),w>1&&(/\\\d/.test(y.regex)?M=y.regex.replace(/\\([0-9]+)/g,function(k,D){return"\\"+(parseInt(D,10)+r+1)}):(w=1,M=this.removeCapturingGroups(y.regex)),!y.splitRegex&&"string"!=typeof y.token&&p.push(y)),u[r]=_,r+=w,a.push(M),y.onMatch||(y.onMatch=null)}}a.length||(u[0]=0,a.push("$")),p.forEach(function(k){k.splitRegex=this.createSplitterRegexp(k.regex,h)},this),this.regExps[d]=new RegExp("("+a.join(")|(")+")|($)",h)}}return s.prototype.$setMaxTokenCount=function(f){c=0|f},s.prototype.$applyToken=function(f){var d=this.splitRegex.exec(f).slice(1),l=this.token.apply(this,d);if("string"==typeof l)return[{type:l,value:f}];for(var a=[],r=0,u=l.length;ry){var T=f.substring(y,O-I.length);w.type==k?w.value+=T:(w.type&&_.push(w),w={type:k,value:T})}for(var N=0;Nc){for(M>2*f.length&&this.reportError("infinite loop with in ace tokenizer",{startState:d,line:f});y1&&l[0]!==a&&l.unshift("#tmp",a),{tokens:_,state:l.length?l:a}},s}();b.prototype.reportError=E,v.Tokenizer=b}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],function(t,v,C){"use strict";var c,E=t("../lib/deep_copy").deepCopy;(function(){this.addRules=function(f,d){if(d)for(var l in f){for(var a=f[l],r=0;r=this.$rowTokens.length;){if(this.$row+=1,s||(s=this.$session.getLength()),this.$row>=s)return this.$row=s-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},b.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},b.prototype.getCurrentTokenRow=function(){return this.$row},b.prototype.getCurrentTokenColumn=function(){var s=this.$rowTokens,f=this.$tokenIndex,d=s[f].start;if(void 0!==d)return d;for(d=0;f>0;)d+=s[f-=1].value.length;return d},b.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},b.prototype.getCurrentTokenRange=function(){var s=this.$rowTokens[this.$tokenIndex],f=this.getCurrentTokenColumn();return new E(this.$row,f,this.$row,f+s.value.length)},b}();v.TokenIterator=c}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(t,v,C){"use strict";var l,p,E=t("../../lib/oop"),c=t("../behaviour").Behaviour,b=t("../../token_iterator").TokenIterator,s=t("../../lib/lang"),f=["text","paren.rparen","rparen","paren","punctuation.operator"],d=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],a={},r={'"':'"',"'":"'"},u=function(_){var y=-1;if(_.multiSelect&&(y=_.selection.index,a.rangeCount!=_.multiSelect.rangeCount&&(a={rangeCount:_.multiSelect.rangeCount})),a[y])return l=a[y];l=a[y]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},h=function(_,y,M,w){var k=_.end.row-_.start.row;return{text:M+y+w,selection:[0,_.start.column+1,k,_.end.column+(k?0:1)]}};(p=function(_){_=_||{},this.add("braces","insertion",function(y,M,w,k,D){var I=w.getCursorPosition(),O=k.doc.getLine(I.row);if("{"==D){u(w);var T=w.getSelectionRange(),N=k.doc.getTextRange(T);if(""!==N&&"{"!==N&&w.getWrapBehavioursEnabled())return h(T,N,"{","}");if(p.isSaneInsertion(w,k))return/[\]\}\)]/.test(O[I.column])||w.inMultiSelectMode||_.braces?(p.recordAutoInsert(w,k,"}"),{text:"{}",selection:[1,1]}):(p.recordMaybeInsert(w,k,"{"),{text:"{",selection:[1,1]})}else if("}"==D){if(u(w),"}"==O.substring(I.column,I.column+1)&&null!==k.$findOpeningBracket("}",{column:I.column+1,row:I.row})&&p.isAutoInsertedClosing(I,O,D))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==D||"\r\n"==D){u(w);var L="";if(p.isMaybeInsertedClosing(I,O)&&(L=s.stringRepeat("}",l.maybeInsertedBrackets),p.clearMaybeInsertedClosing()),"}"===O.substring(I.column,I.column+1)){var A=k.findMatchingBracket({row:I.row,column:I.column+1},"}");if(!A)return null;var U=this.$getIndent(k.getLine(A.row))}else{if(!L)return void p.clearMaybeInsertedClosing();U=this.$getIndent(O)}var K=U+k.getTabString();return{text:"\n"+K+"\n"+U+L,selection:[1,K.length,1,K.length]}}p.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(y,M,w,k,D){var I=k.doc.getTextRange(D);if(!D.isMultiLine()&&"{"==I){if(u(w),"}"==k.doc.getLine(D.start.row).substring(D.end.column,D.end.column+1))return D.end.column++,D;l.maybeInsertedBrackets--}}),this.add("parens","insertion",function(y,M,w,k,D){if("("==D){u(w);var I=w.getSelectionRange(),O=k.doc.getTextRange(I);if(""!==O&&w.getWrapBehavioursEnabled())return h(I,O,"(",")");if(p.isSaneInsertion(w,k))return p.recordAutoInsert(w,k,")"),{text:"()",selection:[1,1]}}else if(")"==D){u(w);var T=w.getCursorPosition(),N=k.doc.getLine(T.row);if(")"==N.substring(T.column,T.column+1)&&null!==k.$findOpeningBracket(")",{column:T.column+1,row:T.row})&&p.isAutoInsertedClosing(T,N,D))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("parens","deletion",function(y,M,w,k,D){var I=k.doc.getTextRange(D);if(!D.isMultiLine()&&"("==I&&(u(w),")"==k.doc.getLine(D.start.row).substring(D.start.column+1,D.start.column+2)))return D.end.column++,D}),this.add("brackets","insertion",function(y,M,w,k,D){if("["==D){u(w);var I=w.getSelectionRange(),O=k.doc.getTextRange(I);if(""!==O&&w.getWrapBehavioursEnabled())return h(I,O,"[","]");if(p.isSaneInsertion(w,k))return p.recordAutoInsert(w,k,"]"),{text:"[]",selection:[1,1]}}else if("]"==D){u(w);var T=w.getCursorPosition(),N=k.doc.getLine(T.row);if("]"==N.substring(T.column,T.column+1)&&null!==k.$findOpeningBracket("]",{column:T.column+1,row:T.row})&&p.isAutoInsertedClosing(T,N,D))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("brackets","deletion",function(y,M,w,k,D){var I=k.doc.getTextRange(D);if(!D.isMultiLine()&&"["==I&&(u(w),"]"==k.doc.getLine(D.start.row).substring(D.start.column+1,D.start.column+2)))return D.end.column++,D}),this.add("string_dquotes","insertion",function(y,M,w,k,D){var I=k.$mode.$quotes||r;if(1==D.length&&I[D]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(D))return;u(w);var O=D,T=w.getSelectionRange(),N=k.doc.getTextRange(T);if(""!==N&&(1!=N.length||!I[N])&&w.getWrapBehavioursEnabled())return h(T,N,O,O);if(!N){var S=w.getCursorPosition(),F=k.doc.getLine(S.row),L=F.substring(S.column-1,S.column),A=F.substring(S.column,S.column+1),U=k.getTokenAt(S.row,S.column),K=k.getTokenAt(S.row,S.column+1);if("\\"==L&&U&&/escape/.test(U.type))return null;var B,ee=U&&/string|escape/.test(U.type),ne=!K||/string|escape/.test(K.type);if(A==O)(B=ee!==ne)&&/string\.end/.test(K.type)&&(B=!1);else{if(ee&&!ne||ee&&ne)return null;var H=k.$mode.tokenRe;H.lastIndex=0;var z=H.test(L);H.lastIndex=0;var X=H.test(A),G=k.$mode.$pairQuotesAfter;if(!(G&&G[O]&&G[O].test(L))&&z||X||A&&!/[\s;,.})\]\\]/.test(A))return null;var le=F[S.column-2];if(L==O&&(le==O||H.test(le)))return null;B=!0}return{text:B?O+O:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(y,M,w,k,D){var I=k.$mode.$quotes||r,O=k.doc.getTextRange(D);if(!D.isMultiLine()&&I.hasOwnProperty(O)&&(u(w),k.doc.getLine(D.start.row).substring(D.start.column+1,D.start.column+2)==O))return D.end.column++,D}),!1!==_.closeDocComment&&this.add("doc comment end","insertion",function(y,M,w,k,D){if("doc-start"===y&&("\n"===D||"\r\n"===D)&&w.selection.isEmpty()){var I=w.getCursorPosition(),O=k.doc.getLine(I.row),T=k.doc.getLine(I.row+1),N=this.$getIndent(O);if(/\s*\*/.test(T))return/^\s*\*/.test(O)?{text:D+N+"* ",selection:[1,3+N.length,1,3+N.length]}:{text:D+N+" * ",selection:[1,3+N.length,1,3+N.length]};if(/\/\*\*/.test(O.substring(0,I.column)))return{text:D+N+" * "+D+" "+N+"*/",selection:[1,4+N.length,1,4+N.length]}}})}).isSaneInsertion=function(_,y){var M=_.getCursorPosition(),w=new b(y,M.row,M.column);if(!this.$matchTokenType(w.getCurrentToken()||"text",f)){if(/[)}\]]/.test(_.session.getLine(M.row)[M.column]))return!0;var k=new b(y,M.row,M.column+1);if(!this.$matchTokenType(k.getCurrentToken()||"text",f))return!1}return w.stepForward(),w.getCurrentTokenRow()!==M.row||this.$matchTokenType(w.getCurrentToken()||"text",d)},p.$matchTokenType=function(_,y){return y.indexOf(_.type||_)>-1},p.recordAutoInsert=function(_,y,M){var w=_.getCursorPosition(),k=y.doc.getLine(w.row);this.isAutoInsertedClosing(w,k,l.autoInsertedLineEnd[0])||(l.autoInsertedBrackets=0),l.autoInsertedRow=w.row,l.autoInsertedLineEnd=M+k.substr(w.column),l.autoInsertedBrackets++},p.recordMaybeInsert=function(_,y,M){var w=_.getCursorPosition(),k=y.doc.getLine(w.row);this.isMaybeInsertedClosing(w,k)||(l.maybeInsertedBrackets=0),l.maybeInsertedRow=w.row,l.maybeInsertedLineStart=k.substr(0,w.column)+M,l.maybeInsertedLineEnd=k.substr(w.column),l.maybeInsertedBrackets++},p.isAutoInsertedClosing=function(_,y,M){return l.autoInsertedBrackets>0&&_.row===l.autoInsertedRow&&M===l.autoInsertedLineEnd[0]&&y.substr(_.column)===l.autoInsertedLineEnd},p.isMaybeInsertedClosing=function(_,y){return l.maybeInsertedBrackets>0&&_.row===l.maybeInsertedRow&&y.substr(_.column)===l.maybeInsertedLineEnd&&y.substr(0,_.column)==l.maybeInsertedLineStart},p.popAutoInsertedClosing=function(){l.autoInsertedLineEnd=l.autoInsertedLineEnd.substr(1),l.autoInsertedBrackets--},p.clearMaybeInsertedClosing=function(){l&&(l.maybeInsertedBrackets=0,l.maybeInsertedRow=-1)},E.inherits(p,c),v.CstyleBehaviour=p}),ace.define("ace/unicode",["require","exports","module"],function(t,v,C){"use strict";for(var E=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],c=0,b=[],s=0;s2?le%D!=D-1:le%D==0}}else{if(!this.blockComment)return!1;O=this.blockComment.start;var T=this.blockComment.end,S=(N=new RegExp("^(\\s*)(?:"+d.escapeRegExp(O)+")"),new RegExp("(?:"+d.escapeRegExp(T)+")\\s*$"));F=function(B,H){A(B,H)||(!M||/\S/.test(B))&&(y.insertInLine({row:H,column:B.length},T),y.insertInLine({row:H,column:k},O))},L=function(B,H){var z;(z=B.match(S))&&y.removeInLine(H,B.length-z[0].length,B.length),(z=B.match(N))&&y.removeInLine(H,z[1].length,z[0].length)},A=function(B,H){if(N.test(B))return!0;for(var z=h.getTokens(H),X=0;XB.length&&(ne=B.length)}),k==1/0&&(k=ne,M=!1,w=!1),I&&k%D!=0&&(k=Math.floor(k/D)*D),ee(w?L:F)},this.toggleBlockComment=function(u,h,p,_){var y=this.blockComment;if(y){!y.start&&y[0]&&(y=y[0]);var I,O,w=(M=new l(h,_.row,_.column)).getCurrentToken(),D=h.selection.toOrientedRange();if(w&&/comment/.test(w.type)){for(var T,N;w&&/comment/.test(w.type);){if(-1!=(S=w.value.indexOf(y.start))){var F=M.getCurrentTokenRow(),L=M.getCurrentTokenColumn()+S;T=new a(F,L,F,L+y.start.length);break}w=M.stepBackward()}var M;for(w=(M=new l(h,_.row,_.column)).getCurrentToken();w&&/comment/.test(w.type);){var S;if(-1!=(S=w.value.indexOf(y.end))){F=M.getCurrentTokenRow(),L=M.getCurrentTokenColumn()+S,N=new a(F,L,F,L+y.end.length);break}w=M.stepForward()}N&&h.remove(N),T&&(h.remove(T),I=T.start.row,O=-y.start.length)}else O=y.start.length,I=p.start.row,h.insert(p.end,y.end),h.insert(p.start,y.start);D.start.row==I&&(D.start.column+=O),D.end.row==I&&(D.end.column+=O),h.selection.fromOrientedRange(D)}},this.getNextLineIndent=function(u,h,p){return this.$getIndent(h)},this.checkOutdent=function(u,h,p){return!1},this.autoOutdent=function(u,h,p){},this.$getIndent=function(u){return u.match(/^\s*/)[0]},this.createWorker=function(u){return null},this.createModeDelegates=function(u){for(var h in this.$embeds=[],this.$modes={},u)if(u[h]){var p=u[h],_=p.prototype.$id,y=E.$modes[_];y||(E.$modes[_]=y=new p),E.$modes[h]||(E.$modes[h]=y),this.$embeds.push(h),this.$modes[h]=y}var M=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],w=function(D){var I,O,T;T=(I=k)[O=M[D]],I[M[D]]=function(){return this.$delegator(O,arguments,T)}},k=this;for(h=0;hthis.row)){var a=function f(d,l,a){var r="insert"==d.action,u=(r?1:-1)*(d.end.row-d.start.row),h=(r?1:-1)*(d.end.column-d.start.column),p=d.start,_=r?p:d.end;return s(l,p,a)?{row:l.row,column:l.column}:s(_,l,!a)?{row:l.row+u,column:l.column+(l.row==_.row?h:0)}:{row:p.row,column:p.column}}(l,{row:this.row,column:this.column},this.$insertRight);this.setPosition(a.row,a.column,!0)}},d.prototype.setPosition=function(l,a,r){var u;if(u=r?{row:l,column:a}:this.$clipPositionToDocument(l,a),this.row!=u.row||this.column!=u.column){var h={row:this.row,column:this.column};this.row=u.row,this.column=u.column,this._signal("change",{old:h,value:u})}},d.prototype.detach=function(){this.document.off("change",this.$onChange)},d.prototype.attach=function(l){this.document=l||this.document,this.document.on("change",this.$onChange)},d.prototype.$clipPositionToDocument=function(l,a){var r={};return l>=this.document.getLength()?(r.row=Math.max(0,this.document.getLength()-1),r.column=this.document.getLine(r.row).length):l<0?(r.row=0,r.column=0):(r.row=l,r.column=Math.min(this.document.getLine(r.row).length,Math.max(0,a))),a<0&&(r.column=0),r},d}();function s(d,l,a){return d.row=u&&(a=u-1,r=void 0);var h=this.getLine(a);return null==r&&(r=h.length),{row:a,column:r=Math.min(Math.max(r,0),h.length)}},l.prototype.clonePos=function(a){return{row:a.row,column:a.column}},l.prototype.pos=function(a,r){return{row:a,column:r}},l.prototype.$clipPosition=function(a){var r=this.getLength();return a.row>=r?(a.row=Math.max(0,r-1),a.column=this.getLine(r-1).length):(a.row=Math.max(0,a.row),a.column=Math.min(Math.max(a.column,0),this.getLine(a.row).length)),a},l.prototype.insertFullLines=function(a,r){var u=0;(a=Math.min(Math.max(a,0),this.getLength()))0,h=r=0&&this.applyDelta({start:this.pos(a,this.getLine(a).length),end:this.pos(a+1,0),action:"remove",lines:["",""]})},l.prototype.replace=function(a,r){return a instanceof s||(a=s.fromPoints(a.start,a.end)),0===r.length&&a.isEmpty()?a.start:r==this.getTextRange(a)?a.end:(this.remove(a),r?this.insert(a.start,r):a.start)},l.prototype.applyDeltas=function(a){for(var r=0;r=0;r--)this.revertDelta(a[r])},l.prototype.applyDelta=function(a,r){var u="insert"==a.action;(u?a.lines.length<=1&&!a.lines[0]:!s.comparePoints(a.start,a.end))||(u&&a.lines.length>2e4?this.$splitAndapplyLargeDelta(a,2e4):(c(this.$lines,a,r),this._signal("change",a)))},l.prototype.$safeApplyDelta=function(a){var r=this.$lines.length;("remove"==a.action&&a.start.row20){l.running=setTimeout(l.$worker,20);break}}l.currentLine=r,-1==u&&(u=r),p<=u&&l.fireUpdateEvent(p,u)}}}return s.prototype.setTokenizer=function(f){this.tokenizer=f,this.lines=[],this.states=[],this.start(0)},s.prototype.setDocument=function(f){this.doc=f,this.lines=[],this.states=[],this.stop()},s.prototype.fireUpdateEvent=function(f,d){this._signal("update",{data:{first:f,last:d}})},s.prototype.start=function(f){this.currentLine=Math.min(f||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},s.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},s.prototype.$updateOnChange=function(f){var d=f.start.row,l=f.end.row-d;if(0===l)this.lines[d]=null;else if("remove"==f.action)this.lines.splice(d,l+1,null),this.states.splice(d,l+1,null);else{var a=Array(l+1);a.unshift(d,1),this.lines.splice.apply(this.lines,a),this.states.splice.apply(this.states,a)}this.currentLine=Math.min(d,this.currentLine,this.doc.getLength()),this.stop()},s.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},s.prototype.getTokens=function(f){return this.lines[f]||this.$tokenizeRow(f)},s.prototype.getState=function(f){return this.currentLine==f&&this.$tokenizeRow(f),this.states[f]||"start"},s.prototype.$tokenizeRow=function(f){var d=this.doc.getLine(f),a=this.tokenizer.getLineTokens(d,this.states[f-1],f);return this.states[f]+""!=a.state+""?(this.states[f]=a.state,this.lines[f+1]=null,this.currentLine>f+1&&(this.currentLine=f+1)):this.currentLine==f&&(this.currentLine=f+1),this.lines[f]=a.tokens},s.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},s}();E.implement(b.prototype,c),v.BackgroundTokenizer=b}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(t,v,C){"use strict";var E=t("./lib/lang"),c=t("./range").Range,b=function(){function s(f,d,l){void 0===l&&(l="text"),this.setRegexp(f),this.clazz=d,this.type=l}return s.prototype.setRegexp=function(f){this.regExp+""!=f+""&&(this.regExp=f,this.cache=[])},s.prototype.update=function(f,d,l,a){if(this.regExp)for(var u=a.lastRow,h={},p=a.firstRow;p<=u;p++){var _=this.cache[p];null==_&&((_=E.getMatchOffsets(l.getLine(p),this.regExp)).length>this.MAX_RANGES&&(_=_.slice(0,this.MAX_RANGES)),_=_.map(function(k){return new c(p,k.offset,p,k.offset+k.length)}),this.cache[p]=_.length?_:"");for(var y=_.length;y--;){var M=_[y].toScreenRange(l),w=M.toString();h[w]||(h[w]=!0,d.drawSingleLineMarker(f,M,this.clazz,a))}}},s}();b.prototype.MAX_RANGES=500,v.SearchHighlight=b}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(t,v,C){"use strict";var E=function(){function I(){this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return I.prototype.addSession=function(O){this.$session=O},I.prototype.add=function(O,T,N){if(!this.$fromUndo&&O!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===T||!this.lastDeltas){this.lastDeltas=[];var S=this.$undoStack.length;S>this.$undoDepth-1&&this.$undoStack.splice(0,S-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),O.id=this.$rev=++this.$maxRev}("remove"==O.action||"insert"==O.action)&&(this.$lastDelta=O),this.lastDeltas.push(O)}},I.prototype.addSelection=function(O,T){this.selections.push({value:O,rev:T||this.$rev})},I.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},I.prototype.markIgnored=function(O,T){null==T&&(T=this.$rev+1);for(var N=this.$undoStack,S=N.length;S--;){var F=N[S][0];if(F.id<=O)break;F.id0},I.prototype.canRedo=function(){return this.$redoStack.length>0},I.prototype.bookmark=function(O){null==O&&(O=this.$rev),this.mark=O},I.prototype.isAtBookmark=function(){return this.$rev===this.mark},I.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},I.prototype.fromJSON=function(O){this.reset(),this.$undoStack=O.$undoStack,this.$redoStack=O.$redoStack},I.prototype.$prettyPrint=function(O){return O?r(O):r(this.$undoStack)+"\n---\n"+r(this.$redoStack)},I}();E.prototype.hasUndo=E.prototype.canUndo,E.prototype.hasRedo=E.prototype.canRedo,E.prototype.isClean=E.prototype.isAtBookmark,E.prototype.markClean=E.prototype.bookmark;var b=t("./range").Range,s=b.comparePoints;function l(I){return{row:I.row,column:I.column}}function r(I){if(I=I||this,Array.isArray(I))return I.map(r).join("\n");var O="";return I.action?(O="insert"==I.action?"+":"-",O+="["+I.lines+"]"):I.value&&(O=Array.isArray(I.value)?I.value.map(u).join("\n"):u(I.value)),I.start&&(O+=u(I)),(I.id||I.rev)&&(O+="\t("+(I.id||I.rev)+")"),O}function u(I){return I.start.row+":"+I.start.column+"=>"+I.end.row+":"+I.end.column}function h(I,O){var T="insert"==I.action,N="insert"==O.action;if(T&&N)if(s(O.start,I.end)>=0)y(O,I,-1);else{if(!(s(O.start,I.start)<=0))return null;y(I,O,1)}else if(T&&!N)if(s(O.start,I.end)>=0)y(O,I,-1);else{if(!(s(O.end,I.start)<=0))return null;y(I,O,-1)}else if(!T&&N)if(s(O.start,I.start)>=0)y(O,I,1);else{if(!(s(O.start,I.start)<=0))return null;y(I,O,1)}else if(!T&&!N)if(s(O.start,I.start)>=0)y(O,I,1);else{if(!(s(O.end,I.start)<=0))return null;y(I,O,-1)}return[O,I]}function p(I,O){for(var T=I.length;T--;)for(var N=0;N=0?y(I,O,-1):(s(I.start,O.start)<=0||y(I,b.fromPoints(O.start,I.start),-1),y(O,I,1));else if(!T&&N)s(O.start,I.end)>=0?y(O,I,-1):(s(O.start,I.start)<=0||y(O,b.fromPoints(I.start,O.start),-1),y(I,O,1));else if(!T&&!N)if(s(O.start,I.end)>=0)y(O,I,-1);else{var S,F;if(!(s(O.end,I.start)<=0))return s(I.start,O.start)<0&&(S=I,I=w(I,O.start)),s(I.end,O.end)>0&&(F=w(I,O.end)),M(O.end,I.start,I.end,-1),F&&!S&&(I.lines=F.lines,I.start=F.start,I.end=F.end,F=I),[O,S,F].filter(Boolean);y(I,O,-1)}return[O,I]}function y(I,O,T){M(I.start,O.start,O.end,T),M(I.end,O.start,O.end,T)}function M(I,O,T,N){I.row==(1==N?O:T).row&&(I.column+=N*(T.column-O.column)),I.row+=N*(T.row-O.row)}function w(I,O){var T=I.lines,N=I.end;I.end=l(O);var S=I.end.row-I.start.row,F=T.splice(S,T.length),L=S?O.column:O.column-I.start.column;return T.push(F[0].substring(0,L)),F[0]=F[0].substr(L),{start:l(O),end:N,lines:F,action:I.action}}function k(I,O){O=function a(I){return{start:l(I.start),end:l(I.end),action:I.action,lines:I.lines.slice()}}(O);for(var T=I.length;T--;){for(var N=I[T],S=0;Sthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(s),this.folds.sort(function(f,d){return-f.range.compareEnd(d.start.row,d.start.column)}),this.range.compareEnd(s.start.row,s.start.column)>0?(this.end.row=s.end.row,this.end.column=s.end.column):this.range.compareStart(s.end.row,s.end.column)<0&&(this.start.row=s.start.row,this.start.column=s.start.column)}else if(s.start.row==this.end.row)this.folds.push(s),this.end.row=s.end.row,this.end.column=s.end.column;else{if(s.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(s),this.start.row=s.start.row,this.start.column=s.start.column}s.foldLine=this},b.prototype.containsRow=function(s){return s>=this.start.row&&s<=this.end.row},b.prototype.walk=function(s,f,d){var r,u,l=0,a=this.folds,p=!0;null==f&&(f=this.end.row,d=this.end.column);for(var _=0;_0)){var p=c(f,u.start);return 0===h?d&&0!==p?-r-2:r:p>0||0===p&&!d?r:-r-1}}return-r-1},s.prototype.add=function(f){var d=!f.isEmpty(),l=this.pointIndex(f.start,d);l<0&&(l=-l-1);var a=this.pointIndex(f.end,d,l);return a<0?a=-a-1:a++,this.ranges.splice(l,a-l,f)},s.prototype.addList=function(f){for(var d=[],l=f.length;l--;)d.push.apply(d,this.add(f[l]));return d},s.prototype.substractPoint=function(f){var d=this.pointIndex(f);if(d>=0)return this.ranges.splice(d,1)},s.prototype.merge=function(){for(var a,f=[],d=this.ranges,l=(d=d.sort(function(h,p){return c(h.start,p.start)}))[0],r=1;r=0},s.prototype.containsPoint=function(f){return this.pointIndex(f)>=0},s.prototype.rangeAtPoint=function(f){var d=this.pointIndex(f);if(d>=0)return this.ranges[d]},s.prototype.clipRows=function(f,d){var l=this.ranges;if(l[0].start.row>d||l[l.length-1].start.row=a);h++);if("insert"==f.action){for(var y=r-a,M=-d.column+l.column;ha);h++)if(_.start.row==a&&_.start.column>=d.column&&(_.start.column==d.column&&this.$bias<=0||(_.start.column+=M,_.start.row+=y)),_.end.row==a&&_.end.column>=d.column){if(_.end.column==d.column&&this.$bias<0)continue;_.end.column==d.column&&M>0&&h_.start.column&&_.end.column==u[h+1].start.column&&(_.end.column-=M),_.end.column+=M,_.end.row+=y}}else for(y=a-r,M=d.column-l.column;hr);h++)_.end.rowd.column)&&(_.end.column=d.column,_.end.row=d.row):(_.end.column+=M,_.end.row+=y):_.end.row>r&&(_.end.row+=y),_.start.rowd.column)&&(_.start.column=d.column,_.start.row=d.row):(_.start.column+=M,_.start.row+=y):_.start.row>r&&(_.start.row+=y);if(0!=y&&h=l)return h;if(h.end.row>l)return null}return null},this.getNextFoldLine=function(l,a){var r=this.$foldData,u=0;for(a&&(u=r.indexOf(a)),-1==u&&(u=0);u=l)return h}return null},this.getFoldedRowCount=function(l,a){for(var r=this.$foldData,u=a-l+1,h=0;h=a){y=l?u-=a-y:u=0);break}_>=l&&(u-=y>=l?_-y:_-l+1)}return u},this.$addFoldLine=function(l){return this.$foldData.push(l),this.$foldData.sort(function(a,r){return a.start.row-r.start.row}),l},this.addFold=function(l,a){var h,r=this.$foldData,u=!1;l instanceof b?h=l:(h=new b(a,l)).collapseChildren=a.collapseChildren,this.$clipRangeToDocument(h.range);var p=h.start.row,_=h.start.column,y=h.end.row,M=h.end.column,w=this.getFoldAt(p,_,1),k=this.getFoldAt(y,M,-1);if(w&&k==w)return w.addSubFold(h);w&&!w.range.isStart(p,_)&&this.removeFold(w),k&&!k.range.isEnd(y,M)&&this.removeFold(k);var D=this.getFoldsInRange(h.range);D.length>0&&(this.removeFolds(D),h.collapseChildren||D.forEach(function(N){h.addSubFold(N)}));for(var I=0;I0&&this.foldAll(l.start.row+1,l.end.row,l.collapseChildren-1),l.subFolds=[]},this.expandFolds=function(l){l.forEach(function(a){this.expandFold(a)},this)},this.unfold=function(l,a){var r,u;if(null==l)r=new E(0,0,this.getLength(),0),null==a&&(a=!0);else if("number"==typeof l)r=new E(l,0,l,this.getLine(l).length);else if("row"in l)r=E.fromPoints(l,l);else{if(Array.isArray(l))return u=[],l.forEach(function(p){u=u.concat(this.unfold(p))},this),u;r=l}for(var h=u=this.getFoldsInRangeList(r);1==u.length&&E.comparePoints(u[0].start,r.start)<0&&E.comparePoints(u[0].end,r.end)>0;)this.expandFolds(u),u=this.getFoldsInRangeList(r);if(0!=a?this.removeFolds(u):this.expandFolds(u),h.length)return h},this.isRowFolded=function(l,a){return!!this.getFoldLine(l,a)},this.getRowFoldEnd=function(l,a){var r=this.getFoldLine(l,a);return r?r.end.row:l},this.getRowFoldStart=function(l,a){var r=this.getFoldLine(l,a);return r?r.start.row:l},this.getFoldDisplayLine=function(l,a,r,u,h){null==u&&(u=l.start.row),null==h&&(h=0),null==a&&(a=l.end.row),null==r&&(r=this.getLine(a).length);var p=this.doc,_="";return l.walk(function(y,M,w,k){if(!(MM)break}while(h&&_.test(h.type)&&!/^comment.start/.test(h.type));h=u.stepBackward()}else h=u.getCurrentToken();return y.end.row=u.getCurrentTokenRow(),y.end.column=u.getCurrentTokenColumn(),/^comment.end/.test(h.type)||(y.end.column+=h.value.length-2),y}},this.foldAll=function(l,a,r,u){null==r&&(r=1e5);var h=this.foldWidgets;if(h){a=a||this.getLength();for(var p=l=l||0;p=l&&(p=_.end.row,_.collapseChildren=r,this.addFold("...",_))}}},this.foldToLevel=function(l){for(this.foldAll();l-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var l=this;this.foldAll(null,null,null,function(a){for(var r=l.getTokens(a),u=0;u=0;){var p=r[u];if(null==p&&(p=r[u]=this.getFoldWidget(u)),"start"==p){var _=this.getFoldWidgetRange(u);if(h||(h=_),_&&_.end.row>=l)break}u--}return{range:-1!==u&&_,firstRange:h}},this.onFoldWidgetClick=function(l,a){if(a instanceof f&&(a=a.domEvent),!this.$toggleFoldWidget(l,{children:a.shiftKey,all:a.ctrlKey||a.metaKey,siblings:a.altKey})){var h=a.target||a.srcElement;h&&/ace_fold-widget/.test(h.className)&&(h.className+=" ace_invalid")}},this.$toggleFoldWidget=function(l,a){if(this.getFoldWidget){var r=this.getFoldWidget(l),u=this.getLine(l),h="end"===r?-1:1,p=this.getFoldAt(l,-1===h?0:u.length,h);if(p)return a.children||a.all?this.removeFold(p):this.expandFold(p),p;var _=this.getFoldWidgetRange(l,!0);if(_&&!_.isMultiLine()&&(p=this.getFoldAt(_.start.row,_.start.column,1))&&_.isEqual(p.range))return this.removeFold(p),p;if(a.siblings){var y=this.getParentFoldRangeData(l);if(y.range)var M=y.range.start.row+1,w=y.range.end.row;this.foldAll(M,w,a.all?1e4:0)}else a.children?(w=_?_.end.row:this.getLength(),this.foldAll(l+1,w,a.all?1e4:0)):_&&(a.all&&(_.collapseChildren=1e4),this.addFold("...",_));return _}},this.toggleFoldWidget=function(l){var a=this.selection.getCursor().row;a=this.getRowFoldStart(a);var r=this.$toggleFoldWidget(a,{});if(!r){var u=this.getParentFoldRangeData(a,!0);if(r=u.range||u.firstRange){var h=this.getFoldAt(a=r.start.row,this.getLine(a).length,1);h?this.removeFold(h):this.addFold("...",r)}}},this.updateFoldWidgets=function(l){var a=l.start.row,r=l.end.row-a;if(0===r)this.foldWidgets[a]=null;else if("remove"==l.action)this.foldWidgets.splice(a,r+1,null);else{var u=Array(r+1);u.unshift(a,1),this.foldWidgets.splice.apply(this.foldWidgets,u)}},this.tokenizerUpdateFoldWidgets=function(l){var a=l.data;a.first!=a.last&&this.foldWidgets.length>a.first&&this.foldWidgets.splice(a.first,this.foldWidgets.length)}}}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(t,v,C){"use strict";var E=t("../token_iterator").TokenIterator,c=t("../range").Range;v.BracketMatch=function b(){this.findMatchingBracket=function(s,f){if(0==s.column)return null;var d=f||this.getLine(s.row).charAt(s.column-1);if(""==d)return null;var l=d.match(/([\(\[\{])|([\)\]\}])/);return l?l[1]?this.$findClosingBracket(l[1],s):this.$findOpeningBracket(l[2],s):null},this.getBracketRange=function(s){var l,f=this.getLine(s.row),d=!0,a=f.charAt(s.column-1),r=a&&a.match(/([\(\[\{])|([\)\]\}])/);if(r||(a=f.charAt(s.column),s={row:s.row,column:s.column+1},r=a&&a.match(/([\(\[\{])|([\)\]\}])/),d=!1),!r)return null;if(r[1]){if(!(u=this.$findClosingBracket(r[1],s)))return null;l=c.fromPoints(s,u),d||(l.end.column++,l.start.column--),l.cursor=l.end}else{var u;if(!(u=this.$findOpeningBracket(r[2],s)))return null;l=c.fromPoints(u,s),d||(l.start.column++,l.end.column--),l.cursor=l.start}return l},this.getMatchingBracketRanges=function(s,f){var d=this.getLine(s.row),l=/([\(\[\{])|([\)\]\}])/,a=!f&&d.charAt(s.column-1),r=a&&a.match(l);if(r||(a=(void 0===f||f)&&d.charAt(s.column),s={row:s.row,column:s.column+1},r=a&&a.match(l)),!r)return null;var u=new c(s.row,s.column-1,s.row,s.column),h=r[1]?this.$findClosingBracket(r[1],s):this.$findOpeningBracket(r[2],s);return h?[u,new c(h.row,h.column,h.row,h.column+1)]:[u]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(s,f,d){var l=this.$brackets[s],a=1,r=new E(this,f.row,f.column),u=r.getCurrentToken();if(u||(u=r.stepForward()),u){d||(d=new RegExp("(\\.?"+u.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var h=f.column-r.getCurrentTokenColumn()-2,p=u.value;;){for(;h>=0;){var _=p.charAt(h);if(_==l){if(0==(a-=1))return{row:r.getCurrentTokenRow(),column:h+r.getCurrentTokenColumn()}}else _==s&&(a+=1);h-=1}do{u=r.stepBackward()}while(u&&!d.test(u.type));if(null==u)break;h=(p=u.value).length-1}return null}},this.$findClosingBracket=function(s,f,d){var l=this.$brackets[s],a=1,r=new E(this,f.row,f.column),u=r.getCurrentToken();if(u||(u=r.stepForward()),u){d||(d=new RegExp("(\\.?"+u.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var h=f.column-r.getCurrentTokenColumn();;){for(var p=u.value,_=p.length;h<_;){var y=p.charAt(h);if(y==l){if(0==(a-=1))return{row:r.getCurrentTokenRow(),column:h+r.getCurrentTokenColumn()}}else y==s&&(a+=1);h+=1}do{u=r.stepForward()}while(u&&!d.test(u.type));if(null==u)break;h=0}return null}},this.getMatchingTags=function(s){var f=new E(this,s.row,s.column),d=this.$findTagName(f);if(d)return"<"===f.stepBackward().value?this.$findClosingTag(f,d):this.$findOpeningTag(f,d)},this.$findTagName=function(s){var f=s.getCurrentToken(),d=!1,l=!1;if(f&&-1===f.type.indexOf("tag-name"))do{(f=l?s.stepBackward():s.stepForward())&&("/>"===f.value?l=!0:-1!==f.type.indexOf("tag-name")&&(d=!0))}while(f&&!d);return f},this.$findClosingTag=function(s,f){var d,l=f.value,a=f.value,r=0,u=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);f=s.stepForward();var h=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+f.value.length),p=!1;do{if(d=f,f=s.stepForward()){if(">"===f.value&&!p){var _=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);p=!0}if(-1!==f.type.indexOf("tag-name")){if(a===(l=f.value))if("<"===d.value)r++;else if(""!==f.value)return;var w=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1)}}else a===l&&"/>"===f.value&&--r<0&&(w=M=y=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+2),_=new c(h.end.row,h.end.column,h.end.row,h.end.column+1))}}while(f&&r>=0);if(u&&_&&y&&w&&h&&M)return{openTag:new c(u.start.row,u.start.column,_.end.row,_.end.column),closeTag:new c(y.start.row,y.start.column,w.end.row,w.end.column),openTagName:h,closeTagName:M}},this.$findOpeningTag=function(s,f){var d=s.getCurrentToken(),l=f.value,a=0,r=s.getCurrentTokenRow(),u=s.getCurrentTokenColumn(),h=u+2,p=new c(r,u,r,h);s.stepForward();var _=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+f.value.length);if((f=s.stepForward())&&">"===f.value){var y=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);s.stepBackward(),s.stepBackward();do{if(f=d,r=s.getCurrentTokenRow(),h=(u=s.getCurrentTokenColumn())+f.value.length,d=s.stepBackward(),f)if(-1!==f.type.indexOf("tag-name")){if(l===f.value)if("<"===d.value){if(++a>0){var M=new c(r,u,r,h),w=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1);do{f=s.stepForward()}while(f&&">"!==f.value);var k=new c(s.getCurrentTokenRow(),s.getCurrentTokenColumn(),s.getCurrentTokenRow(),s.getCurrentTokenColumn()+1)}}else""===f.value){for(var D=0,I=d;I;){if(-1!==I.type.indexOf("tag-name")&&I.value===l){a--;break}if("<"===I.value)break;I=s.stepBackward(),D++}for(var O=0;OA&&(this.$docRowCache.splice(A,L),this.$screenRowCache.splice(A,L))},S.prototype.$getRowCacheIndex=function(F,L){for(var A=0,U=F.length-1;A<=U;){var K=A+U>>1,ee=F[K];if(L>ee)A=K+1;else{if(!(L=L);ee++);return(U=A[ee])?(U.index=ee,U.start=K-U.value.length,U):null},S.prototype.setUndoManager=function(F){if(this.$undoManager=F,this.$informUndoManager&&this.$informUndoManager.cancel(),F){var L=this;F.addSession(this),this.$syncInformUndoManager=function(){L.$informUndoManager.cancel(),L.mergeUndoDeltas=!1},this.$informUndoManager=c.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},S.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},S.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},S.prototype.getTabString=function(){return this.getUseSoftTabs()?c.stringRepeat(" ",this.getTabSize()):"\t"},S.prototype.setUseSoftTabs=function(F){this.setOption("useSoftTabs",F)},S.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},S.prototype.setTabSize=function(F){this.setOption("tabSize",F)},S.prototype.getTabSize=function(){return this.$tabSize},S.prototype.isTabStop=function(F){return this.$useSoftTabs&&F.column%this.$tabSize==0},S.prototype.setNavigateWithinSoftTabs=function(F){this.setOption("navigateWithinSoftTabs",F)},S.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},S.prototype.setOverwrite=function(F){this.setOption("overwrite",F)},S.prototype.getOverwrite=function(){return this.$overwrite},S.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},S.prototype.addGutterDecoration=function(F,L){this.$decorations[F]||(this.$decorations[F]=""),this.$decorations[F]+=" "+L,this._signal("changeBreakpoint",{})},S.prototype.removeGutterDecoration=function(F,L){this.$decorations[F]=(this.$decorations[F]||"").replace(" "+L,""),this._signal("changeBreakpoint",{})},S.prototype.getBreakpoints=function(){return this.$breakpoints},S.prototype.setBreakpoints=function(F){this.$breakpoints=[];for(var L=0;L0&&(U=!!A.charAt(L-1).match(this.tokenRe)),U||(U=!!A.charAt(L).match(this.tokenRe)),U)var K=this.tokenRe;else K=/^\s+$/.test(A.slice(L-1,L+1))?/\s/:this.nonTokenRe;var ee=L;if(ee>0){do{ee--}while(ee>=0&&A.charAt(ee).match(K));ee++}for(var ne=L;neF&&(F=L.screenWidth)}),this.lineWidgetWidth=F},S.prototype.$computeWidth=function(F){if(this.$modified||F){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var L=this.doc.getAllLines(),A=this.$rowLengthCache,U=0,K=0,ee=this.$foldData[K],ne=ee?ee.start.row:1/0,B=L.length,H=0;Hne){if((H=ee.end.row+1)>=B)break;ne=(ee=this.$foldData[K++])?ee.start.row:1/0}null==A[H]&&(A[H]=this.$getStringScreenWidth(L[H])[0]),A[H]>U&&(U=A[H])}this.screenWidth=U}},S.prototype.getLine=function(F){return this.doc.getLine(F)},S.prototype.getLines=function(F,L){return this.doc.getLines(F,L)},S.prototype.getLength=function(){return this.doc.getLength()},S.prototype.getTextRange=function(F){return this.doc.getTextRange(F||this.selection.getRange())},S.prototype.insert=function(F,L){return this.doc.insert(F,L)},S.prototype.remove=function(F){return this.doc.remove(F)},S.prototype.removeFullLines=function(F,L){return this.doc.removeFullLines(F,L)},S.prototype.undoChanges=function(F,L){if(F.length){this.$fromUndo=!0;for(var A=F.length-1;-1!=A;A--){var U=F[A];"insert"==U.action||"remove"==U.action?this.doc.revertDelta(U):U.folds&&this.addFolds(U.folds)}!L&&this.$undoSelect&&(F.selectionBefore?this.selection.fromJSON(F.selectionBefore):this.selection.setRange(this.$getUndoSelection(F,!0))),this.$fromUndo=!1}},S.prototype.redoChanges=function(F,L){if(F.length){this.$fromUndo=!0;for(var A=0;AF.end.column&&(ee.start.column+=B),ee.end.row==F.end.row&&ee.end.column>F.end.column&&(ee.end.column+=B)),ne&&ee.start.row>=F.end.row&&(ee.start.row+=ne,ee.end.row+=ne)),ee.end=this.insert(ee.start,U),K.length){var H=F.start,z=ee.start,ne=z.row-H.row,B=z.column-H.column;this.addFolds(K.map(function(j){return(j=j.clone()).start.row==H.row&&(j.start.column+=B),j.end.row==H.row&&(j.end.column+=B),j.start.row+=ne,j.end.row+=ne,j}))}return ee},S.prototype.indentRows=function(F,L,A){A=A.replace(/\t/g,this.getTabString());for(var U=F;U<=L;U++)this.doc.insertInLine({row:U,column:0},A)},S.prototype.outdentRows=function(F){for(var L=F.collapseRows(),A=new a(0,0,0,0),U=this.getTabSize(),K=L.start.row;K<=L.end.row;++K){var ee=this.getLine(K);A.start.row=K,A.end.row=K;for(var ne=0;ne0){var U;if((U=this.getRowFoldEnd(L+A))>this.doc.getLength()-1)return 0;K=U-L}else F=this.$clipRowToDocument(F),K=(L=this.$clipRowToDocument(L))-F+1;var ee=new a(F,0,L,Number.MAX_VALUE),ne=this.getFoldsInRange(ee).map(function(H){return(H=H.clone()).start.row+=K,H.end.row+=K,H}),B=0==A?this.doc.getLines(F,L):this.doc.removeFullLines(F,L);return this.doc.insertFullLines(F+K,B),ne.length&&this.addFolds(ne),K},S.prototype.moveLinesUp=function(F,L){return this.$moveLines(F,L,-1)},S.prototype.moveLinesDown=function(F,L){return this.$moveLines(F,L,1)},S.prototype.duplicateLines=function(F,L){return this.$moveLines(F,L,0)},S.prototype.$clipRowToDocument=function(F){return Math.max(0,Math.min(F,this.doc.getLength()-1))},S.prototype.$clipColumnToRow=function(F,L){return L<0?0:Math.min(this.doc.getLine(F).length,L)},S.prototype.$clipPositionToDocument=function(F,L){if(L=Math.max(0,L),F<0)F=0,L=0;else{var A=this.doc.getLength();F>=A?(F=A-1,L=this.doc.getLine(A-1).length):L=Math.min(this.doc.getLine(F).length,L)}return{row:F,column:L}},S.prototype.$clipRangeToDocument=function(F){F.start.row<0?(F.start.row=0,F.start.column=0):F.start.column=this.$clipColumnToRow(F.start.row,F.start.column);var L=this.doc.getLength()-1;return F.end.row>L?(F.end.row=L,F.end.column=this.doc.getLine(L).length):F.end.column=this.$clipColumnToRow(F.end.row,F.end.column),F},S.prototype.setUseWrapMode=function(F){if(F!=this.$useWrapMode){if(this.$useWrapMode=F,this.$modified=!0,this.$resetRowCache(0),F){var L=this.getLength();this.$wrapData=Array(L),this.$updateWrapData(0,L-1)}this._signal("changeWrapMode")}},S.prototype.getUseWrapMode=function(){return this.$useWrapMode},S.prototype.setWrapLimitRange=function(F,L){(this.$wrapLimitRange.min!==F||this.$wrapLimitRange.max!==L)&&(this.$wrapLimitRange={min:F,max:L},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},S.prototype.adjustWrapLimit=function(F,L){var A=this.$wrapLimitRange;A.max<0&&(A={min:L,max:L});var U=this.$constrainWrapLimit(F,A.min,A.max);return U!=this.$wrapLimit&&U>1&&(this.$wrapLimit=U,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},S.prototype.$constrainWrapLimit=function(F,L,A){return L&&(F=Math.max(L,F)),A&&(F=Math.min(A,F)),F},S.prototype.getWrapLimit=function(){return this.$wrapLimit},S.prototype.setWrapLimit=function(F){this.setWrapLimitRange(F,F)},S.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},S.prototype.$updateInternalDataOnChange=function(F){var L=this.$useWrapMode,A=F.action,U=F.start,K=F.end,ee=U.row,ne=K.row,B=ne-ee,H=null;if(this.$updating=!0,0!=B)if("remove"===A){this[L?"$wrapData":"$rowLengthCache"].splice(ee,B);var z=this.$foldData;H=this.getFoldsInRange(F),this.removeFolds(H);var G=0;if(X=this.getFoldLine(K.row)){X.addRemoveChars(K.row,K.column,U.column-K.column),X.shiftRow(-B);var j=this.getFoldLine(ee);j&&j!==X&&(j.merge(X),X=j),G=z.indexOf(X)+1}for(;G=K.row&&X.shiftRow(-B);ne=ee}else{var le=Array(B);le.unshift(ee,0);var ue=L?this.$wrapData:this.$rowLengthCache;if(ue.splice.apply(ue,le),z=this.$foldData,G=0,X=this.getFoldLine(ee)){var ve=X.range.compareInside(U.row,U.column);0==ve?(X=X.split(U.row,U.column))&&(X.shiftRow(B),X.addRemoveChars(ne,0,K.column-U.column)):-1==ve&&(X.addRemoveChars(ee,0,K.column-U.column),X.shiftRow(B)),G=z.indexOf(X)+1}for(;G=ee&&X.shiftRow(B)}}else B=Math.abs(F.start.column-F.end.column),"remove"===A&&(H=this.getFoldsInRange(F),this.removeFolds(H),B=-B),(X=this.getFoldLine(ee))&&X.addRemoveChars(ee,U.column,B);return L&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,L?this.$updateWrapData(ee,ne):this.$updateRowLengthCache(ee,ne),H},S.prototype.$updateRowLengthCache=function(F,L){this.$rowLengthCache[F]=null,this.$rowLengthCache[L]=null},S.prototype.$updateWrapData=function(F,L){var ne,B,A=this.doc.getAllLines(),U=this.getTabSize(),K=this.$wrapData,ee=this.$wrapLimit,H=F;for(L=Math.min(L,A.length-1);H<=L;)(B=this.getFoldLine(H,B))?(ne=[],B.walk(function(z,X,G,j){var le;if(null!=z){(le=this.$getDisplayTokens(z,ne.length))[0]=w;for(var ue=1;ueL-j;){var le=ee+L-j;if(F[le-1]>=I&&F[le]>=I)G(le);else if(F[le]!=w&&F[le]!=k){for(var ue=Math.max(le-(L-(L>>2)),ee-1);le>ue&&F[le]ue&&F[le]ue&&F[le]==D;)le--}else for(;le>ue&&F[le]ue?G(++le):(F[le=ee+L]==M&&le--,G(le-j))}else{for(;le!=ee-1&&F[le]!=w;le--);if(le>ee){G(le);continue}for(le=ee+L;le39&&ee<48||ee>57&&ee<64?A.push(D):ee>=4352&&N(ee)?A.push(y,M):A.push(y)}return A},S.prototype.$getStringScreenWidth=function(F,L,A){if(0==L)return[0,0];var U,K;for(null==L&&(L=1/0),A=A||0,K=0;K=4352&&N(U)?A+=2:A+=1,!(A>L));K++);return[A,K]},S.prototype.getRowLength=function(F){var L=1;return this.lineWidgets&&(L+=this.lineWidgets[F]&&this.lineWidgets[F].rowCount||0),this.$useWrapMode&&this.$wrapData[F]?this.$wrapData[F].length+L:L},S.prototype.getRowLineCount=function(F){return this.$useWrapMode&&this.$wrapData[F]?this.$wrapData[F].length+1:1},S.prototype.getRowWrapIndent=function(F){if(this.$useWrapMode){var L=this.screenToDocumentPosition(F,Number.MAX_VALUE),A=this.$wrapData[L.row];return A.length&&A[0]=0){B=z[X],K=this.$docRowCache[X];var j=F>z[G-1]}else j=!G;for(var le=this.getLength()-1,ue=this.getNextFoldLine(K),ve=ue?ue.start.row:1/0;B<=F&&!(B+(H=this.getRowLength(K))>F||K>=le);)B+=H,++K>ve&&(ve=(ue=this.getNextFoldLine(K=ue.end.row+1,ue))?ue.start.row:1/0),j&&(this.$docRowCache.push(K),this.$screenRowCache.push(B));if(ue&&ue.start.row<=K)U=this.getFoldDisplayLine(ue),K=ue.start.row;else{if(B+H<=F||K>le)return{row:le,column:this.getLine(le).length};U=this.getLine(K),ue=null}var Je=0,_t=Math.floor(F-B);if(this.$useWrapMode){var ct=this.$wrapData[K];ct&&(ne=ct[_t],_t>0&&ct.length&&(Je=ct.indent,U=U.substring(ee=ct[_t-1]||ct[ct.length-1])))}return void 0!==A&&this.$bidiHandler.isBidiRow(B+_t,K,_t)&&(L=this.$bidiHandler.offsetToCol(A)),ee+=this.$getStringScreenWidth(U,L-Je)[1],this.$useWrapMode&&ee>=ne&&(ee=ne-1),ue?ue.idxToPosition(ee):{row:K,column:ee}},S.prototype.documentToScreenPosition=function(F,L){if(typeof L>"u")var A=this.$clipPositionToDocument(F.row,F.column);else A=this.$clipPositionToDocument(F,L);var ee,U=0,K=null;(ee=this.getFoldAt(F=A.row,L=A.column,1))&&(F=ee.start.row,L=ee.start.column);var ne,B=0,H=this.$docRowCache,z=this.$getRowCacheIndex(H,F),X=H.length;if(X&&z>=0){B=H[z],U=this.$screenRowCache[z];var G=F>H[X-1]}else G=!X;for(var j=this.getNextFoldLine(B),le=j?j.start.row:1/0;B=le){if((ne=j.end.row+1)>F)break;le=(j=this.getNextFoldLine(ne,j))?j.start.row:1/0}else ne=B+1;U+=this.getRowLength(B),B=ne,G&&(this.$docRowCache.push(B),this.$screenRowCache.push(U))}var ue="";j&&B>=le?(ue=this.getFoldDisplayLine(j,F,L),K=j.start.row):(ue=this.getLine(F).substring(0,L),K=F);var ve=0;if(this.$useWrapMode){var Je=this.$wrapData[K];if(Je){for(var _t=0;ue.length>=Je[_t];)U++,_t++;ue=ue.substring(Je[_t-1]||0,ue.length),ve=_t>0?Je.indent:0}}return this.lineWidgets&&this.lineWidgets[B]&&this.lineWidgets[B].rowsAbove&&(U+=this.lineWidgets[B].rowsAbove),{row:U,column:ve+this.$getStringScreenWidth(ue)[0]}},S.prototype.documentToScreenColumn=function(F,L){return this.documentToScreenPosition(F,L).column},S.prototype.documentToScreenRow=function(F,L){return this.documentToScreenPosition(F,L).row},S.prototype.getScreenLength=function(){var F=0,L=null;if(this.$useWrapMode)for(var K=this.$wrapData.length,ee=0,U=0,ne=(L=this.$foldData[U++])?L.start.row:1/0;eene&&(ee=L.end.row+1,ne=(L=this.$foldData[U++])?L.start.row:1/0)}else{F=this.getLength();var A=this.$foldData;for(U=0;UA);ee++);return[U,ee]})},S.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},S}();_.$uid=0,_.prototype.$modes=s.$modes,_.prototype.getValue=_.prototype.toString,_.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},_.prototype.$overwrite=!1,_.prototype.$mode=null,_.prototype.$modeId=null,_.prototype.$scrollTop=0,_.prototype.$scrollLeft=0,_.prototype.$wrapLimit=80,_.prototype.$useWrapMode=!1,_.prototype.$wrapLimitRange={min:null,max:null},_.prototype.lineWidgets=null,_.prototype.isFullWidth=N,E.implement(_.prototype,f);var y=1,M=2,w=3,k=4,D=9,I=10,O=11,T=12;function N(S){return!(S<4352)&&(S>=4352&&S<=4447||S>=4515&&S<=4519||S>=4602&&S<=4607||S>=9001&&S<=9002||S>=11904&&S<=11929||S>=11931&&S<=12019||S>=12032&&S<=12245||S>=12272&&S<=12283||S>=12288&&S<=12350||S>=12353&&S<=12438||S>=12441&&S<=12543||S>=12549&&S<=12589||S>=12593&&S<=12686||S>=12688&&S<=12730||S>=12736&&S<=12771||S>=12784&&S<=12830||S>=12832&&S<=12871||S>=12880&&S<=13054||S>=13056&&S<=19903||S>=19968&&S<=42124||S>=42128&&S<=42182||S>=43360&&S<=43388||S>=44032&&S<=55203||S>=55216&&S<=55238||S>=55243&&S<=55291||S>=63744&&S<=64255||S>=65040&&S<=65049||S>=65072&&S<=65106||S>=65108&&S<=65126||S>=65128&&S<=65131||S>=65281&&S<=65376||S>=65504&&S<=65510)}t("./edit_session/folding").Folding.call(_.prototype),t("./edit_session/bracket_match").BracketMatch.call(_.prototype),s.defineOptions(_.prototype,"session",{wrap:{set:function(S){if(S&&"off"!=S?"free"==S?S=!0:"printMargin"==S?S=-1:"string"==typeof S&&(S=parseInt(S,10)||!1):S=!1,this.$wrap!=S)if(this.$wrap=S,S){var F="number"==typeof S?S:null;this.setWrapLimitRange(F,F),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(S){(S="auto"==S?"text"!=this.$mode.type:"text"!=S)!=this.$wrapAsCode&&(this.$wrapAsCode=S,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(S){this.$useWorker=S,this.$stopWorker(),S&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(S){(S=parseInt(S))>0&&this.$tabSize!==S&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=S,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(S){this.setFoldStyle(S)},handlesSet:!0},overwrite:{set:function(S){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(S){this.doc.setNewLineMode(S)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(S){this.setMode(S)},get:function(){return this.$modeId},handlesSet:!0}}),v.EditSession=_}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(t,v,C){"use strict";var E=t("./lib/lang"),c=t("./lib/oop"),b=t("./range").Range,s=function(){function d(){this.$options={}}return d.prototype.set=function(l){return c.mixin(this.$options,l),this},d.prototype.getOptions=function(){return E.copyObject(this.$options)},d.prototype.setOptions=function(l){this.$options=l},d.prototype.find=function(l){var a=this.$options,r=this.$matchIterator(l,a);if(!r)return!1;var u=null;return r.forEach(function(h,p,_,y){return u=new b(h,p,_,y),!(p==y&&a.start&&a.start.start&&0!=a.skipCurrent&&u.isEqual(a.start)&&(u=null,1))}),u},d.prototype.findAll=function(l){var a=this.$options;if(!a.needle)return[];this.$assembleRegExp(a);var r=a.range,u=r?l.getLines(r.start.row,r.end.row):l.doc.getAllLines(),h=[],p=a.re;if(a.$isMultiLine){var M,_=p.length,y=u.length-_;e:for(var w=p.offset||0;w<=y;w++){for(var k=0;k<_;k++)if(-1==u[w+k].search(p[k]))continue e;var D=u[w],I=u[w+_-1],O=D.length-D.match(p[0])[0].length,T=I.match(p[_-1])[0].length;M&&M.end.row===w&&M.end.column>O||(h.push(M=new b(w,O,w+_-1,T)),_>2&&(w=w+_-2))}}else for(var N=0;NA&&h[k].end.row==U;)k--;for(h=h.slice(N,k+1),N=0,k=h.length;N=M;T--)if(I(T,Number.MAX_VALUE,O))return;if(0!=a.wrap)for(T=w,M=y.row;T>=M;T--)if(I(T,Number.MAX_VALUE,O))return}};else k=function(T){var N=y.row;if(!I(N,y.column,T)){for(N+=1;N<=w;N++)if(I(N,0,T))return;if(0!=a.wrap)for(N=M,w=y.row;N<=w;N++)if(I(N,0,T))return}};if(a.$isMultiLine)var D=r.length,I=function(O,T,N){var S=u?O-D+1:O;if(!(S<0||S+D>l.getLength())){var F=l.getLine(S),L=F.search(r[0]);if(!(!u&&LT)&&N(S,L,S+D-1,U))return!0}}};else I=u?function(T,N,S){var A,F=l.getLine(T),L=[],U=0;for(r.lastIndex=0;A=r.exec(F);){if(U=A.index,!(K=A[0].length)){if(U>=F.length)break;r.lastIndex=U+=E.skipEmptyMatch(F,U,p)}if(A.index+K>N)break;L.push(A.index,K)}for(var ee=L.length-1;ee>=0;ee-=2){var K,ne=L[ee-1];if(S(T,ne,T,ne+(K=L[ee])))return!0}}:function(T,N,S){var L,A,F=l.getLine(T);for(r.lastIndex=N;A=r.exec(F);){var U=A[0].length;if(S(T,L=A.index,T,L+U))return!0;if(!U&&(r.lastIndex=L+=E.skipEmptyMatch(F,L,p),L>=F.length))return!1}};return{forEach:k}},d}();v.Search=s}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(t,v,C){"use strict";var E=this&&this.__extends||function(){var a=function(r,u){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,p){h.__proto__=p}||function(h,p){for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&(h[_]=p[_])})(r,u)};return function(r,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function h(){this.constructor=r}a(r,u),r.prototype=null===u?Object.create(u):(h.prototype=u.prototype,new h)}}(),c=t("../lib/keys"),b=t("../lib/useragent"),s=c.KEY_MODS,f=function(){function a(r,u){this.$init(r,u,!1)}return a.prototype.$init=function(r,u,h){this.platform=u||(b.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(r),this.$singleCommand=h},a.prototype.addCommand=function(r){this.commands[r.name]&&this.removeCommand(r),this.commands[r.name]=r,r.bindKey&&this._buildKeyHash(r)},a.prototype.removeCommand=function(r,u){var h=r&&("string"==typeof r?r:r.name);r=this.commands[h],u||delete this.commands[h];var p=this.commandKeyBinding;for(var _ in p){var y=p[_];if(y==r)delete p[_];else if(Array.isArray(y)){var M=y.indexOf(r);-1!=M&&(y.splice(M,1),1==y.length&&(p[_]=y[0]))}}},a.prototype.bindKey=function(r,u,h){if("object"==typeof r&&r&&(null==h&&(h=r.position),r=r[this.platform]),r){if("function"==typeof u)return this.addCommand({exec:u,bindKey:r,name:u.name||r});r.split("|").forEach(function(p){var _="";if(-1!=p.indexOf(" ")){var y=p.split(/\s+/);p=y.pop(),y.forEach(function(k){var D=this.parseKeys(k);this._addCommandToBinding(_+=(_?" ":"")+(s[D.hashId]+D.key),"chainKeys")},this),_+=" "}var M=this.parseKeys(p);this._addCommandToBinding(_+(s[M.hashId]+M.key),u,h)},this)}},a.prototype._addCommandToBinding=function(r,u,h){var _,p=this.commandKeyBinding;if(u)if(!p[r]||this.$singleCommand)p[r]=u;else{Array.isArray(p[r])?-1!=(_=p[r].indexOf(u))&&p[r].splice(_,1):p[r]=[p[r]],"number"!=typeof h&&(h=d(u));var y=p[r];for(_=0;_h);_++);y.splice(_,0,u)}else delete p[r]},a.prototype.addCommands=function(r){r&&Object.keys(r).forEach(function(u){var h=r[u];if(h){if("string"==typeof h)return this.bindKey(h,u);"function"==typeof h&&(h={exec:h}),"object"==typeof h&&(h.name||(h.name=u),this.addCommand(h))}},this)},a.prototype.removeCommands=function(r){Object.keys(r).forEach(function(u){this.removeCommand(r[u])},this)},a.prototype.bindKeys=function(r){Object.keys(r).forEach(function(u){this.bindKey(u,r[u])},this)},a.prototype._buildKeyHash=function(r){this.bindKey(r.bindKey,r)},a.prototype.parseKeys=function(r){var u=r.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(w){return w}),h=u.pop(),p=c[h];if(c.FUNCTION_KEYS[p])h=c.FUNCTION_KEYS[p].toLowerCase();else{if(!u.length)return{key:h,hashId:-1};if(1==u.length&&"shift"==u[0])return{key:h.toUpperCase(),hashId:-1}}for(var _=0,y=u.length;y--;){var M=c.KEY_MODS[u[y]];if(null==M)return typeof console<"u"&&console.error("invalid modifier "+u[y]+" in "+r),!1;_|=M}return{key:h,hashId:_}},a.prototype.findKeyCommand=function(r,u){return this.commandKeyBinding[s[r]+u]},a.prototype.handleKeyboard=function(r,u,h,p){if(!(p<0)){var _=s[u]+h,y=this.commandKeyBinding[_];return r.$keyChain&&(r.$keyChain+=" "+_,y=this.commandKeyBinding[r.$keyChain]||y),!y||"chainKeys"!=y&&"chainKeys"!=y[y.length-1]?(r.$keyChain&&(u&&4!=u||1!=h.length?(-1==u||p>0)&&(r.$keyChain=""):r.$keyChain=r.$keyChain.slice(0,-_.length-1)),{command:y}):(r.$keyChain=r.$keyChain||_,{command:"null"})}},a.prototype.getStatusText=function(r,u){return u.$keyChain||""},a}();function d(a){return"object"==typeof a&&a.bindKey&&a.bindKey.position||(a.isDefault?-100:0)}var l=function(a){function r(u,h){var p=a.call(this,u,h)||this;return p.$singleCommand=!0,p}return E(r,a),r}(f);l.call=function(a,r,u){f.prototype.$init.call(a,r,u,!0)},f.call=function(a,r,u){f.prototype.$init.call(a,r,u,!1)},v.HashHandler=l,v.MultiHashHandler=f}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(t,v,C){"use strict";var E=this&&this.__extends||function(){var d=function(l,a){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,u){r.__proto__=u}||function(r,u){for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&(r[h]=u[h])})(l,a)};return function(l,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function r(){this.constructor=l}d(l,a),l.prototype=null===a?Object.create(a):(r.prototype=a.prototype,new r)}}(),c=t("../lib/oop"),b=t("../keyboard/hash_handler").MultiHashHandler,s=t("../lib/event_emitter").EventEmitter,f=function(d){function l(a,r){var u=d.call(this,r,a)||this;return u.byName=u.commands,u.setDefaultHandler("exec",function(h){return h.args?h.command.exec(h.editor,h.args,h.event,!1):h.command.exec(h.editor,{},h.event,!0)}),u}return E(l,d),l.prototype.exec=function(a,r,u){if(Array.isArray(a)){for(var h=a.length;h--;)if(this.exec(a[h],r,u))return!0;return!1}if("string"==typeof a&&(a=this.commands[a]),!a||r&&r.$readOnly&&!a.readOnly||0!=this.$checkCommandState&&a.isAvailable&&!a.isAvailable(r))return!1;var p={editor:r,command:a,args:u};return p.returnValue=this._emit("exec",p),this._signal("afterExec",p),!1!==p.returnValue},l.prototype.toggleRecording=function(a){if(!this.$inReplay)return a&&a._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(r){this.macro.push([r.command,r.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},l.prototype.replay=function(a){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(a);try{this.$inReplay=!0,this.macro.forEach(function(r){"string"==typeof r?this.exec(r,a):this.exec(r[0],a,r[1])},this)}finally{this.$inReplay=!1}}},l.prototype.trimMacro=function(a){return a.map(function(r){return"string"!=typeof r[0]&&(r[0]=r[0].name),r[1]||(r=r[0]),r})},l}(b);c.implement(f.prototype,s),v.CommandManager=f}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(t,v,C){"use strict";var E=t("../lib/lang"),c=t("../config"),b=t("../range").Range;function s(d,l){return{win:d,mac:l}}v.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:s("Ctrl-,","Command-,"),exec:function(d){c.loadModule("ace/ext/settings_menu",function(l){l.init(d),d.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:s("Alt-E","F4"),exec:function(d){c.loadModule("ace/ext/error_marker",function(l){l.showErrorMarker(d,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(d){c.loadModule("ace/ext/error_marker",function(l){l.showErrorMarker(d,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:s("Ctrl-A","Command-A"),exec:function(d){d.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:s(null,"Ctrl-L"),exec:function(d){d.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:s("Ctrl-L","Command-L"),exec:function(d,l){"number"==typeof l&&!isNaN(l)&&d.gotoLine(l),d.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(d){d.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(d){d.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:s("F2","F2"),exec:function(d){d.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:s("Alt-F2","Alt-F2"),exec:function(d){d.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(d){d.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(d){d.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:s("Alt-0","Command-Option-0"),exec:function(d){d.session.foldAll(),d.session.unfold(d.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(d){d.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:s("Ctrl-K","Command-G"),exec:function(d){d.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(d){d.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:s("Alt-K","Ctrl-G"),exec:function(d){d.selection.isEmpty()?d.selection.selectWord():d.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(d){d.selection.isEmpty()?d.selection.selectWord():d.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:s("Ctrl-F","Command-F"),exec:function(d){c.loadModule("ace/ext/searchbox",function(l){l.Search(d)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(d){d.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(d){d.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(d){d.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(d){d.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:s("Up","Up|Ctrl-P"),exec:function(d,l){d.navigateUp(l.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(d){d.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(d){d.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(d){d.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:s("Down","Down|Ctrl-N"),exec:function(d,l){d.navigateDown(l.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(d){d.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:s("Ctrl-Left","Option-Left"),exec:function(d){d.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(d){d.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(d){d.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(d){d.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:s("Left","Left|Ctrl-B"),exec:function(d,l){d.navigateLeft(l.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(d){d.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:s("Ctrl-Right","Option-Right"),exec:function(d){d.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(d){d.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(d){d.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:s("Shift-Right","Shift-Right"),exec:function(d){d.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:s("Right","Right|Ctrl-F"),exec:function(d,l){d.navigateRight(l.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(d){d.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:s(null,"Option-PageDown"),exec:function(d){d.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(d){d.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(d){d.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:s(null,"Option-PageUp"),exec:function(d){d.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(d){d.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:s("Ctrl-Up",null),exec:function(d){d.renderer.scrollBy(0,-2*d.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:s("Ctrl-Down",null),exec:function(d){d.renderer.scrollBy(0,2*d.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(d){d.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(d){d.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(d){d.commands.toggleRecording(d)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(d){d.commands.replay(d)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:s("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(d){d.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:s("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(d){d.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(d){d.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(d){},readOnly:!0},{name:"cut",description:"Cut",exec:function(d){var a=d.$copyWithEmptySelection&&d.selection.isEmpty()?d.selection.getLineRange():d.selection.getRange();d._emit("cut",a),a.isEmpty()||d.session.remove(a),d.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(d,l){d.$handlePaste(l)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:s("Ctrl-D","Command-D"),exec:function(d){d.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(d){d.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(d){d.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:s("Ctrl-/","Command-/"),exec:function(d){d.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(d){d.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(d){d.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(d){d.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(d){c.loadModule("ace/ext/searchbox",function(l){l.Search(d,!0)})}},{name:"undo",description:"Undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(d){d.undo()}},{name:"redo",description:"Redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(d){d.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(d){d.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:s("Alt-Up","Option-Up"),exec:function(d){d.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(d){d.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:s("Alt-Down","Option-Down"),exec:function(d){d.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(d){d.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(d){d.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:s("Shift-Delete",null),exec:function(d){if(!d.selection.isEmpty())return!1;d.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(d){d.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(d){d.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(d){var l=d.selection.getRange();l.start.column=0,d.session.remove(l)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(d){var l=d.selection.getRange();l.end.column=Number.MAX_VALUE,d.session.remove(l)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(d){d.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(d){d.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(d){d.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:s("Tab","Tab"),exec:function(d){d.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(d){d.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(d){d.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(d,l){d.insert(l)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(d,l){d.insert(E.stringRepeat(l.text||"",l.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:s(null,"Ctrl-O"),exec:function(d){d.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(d){d.transposeLetters()},multiSelectAction:function(d){d.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(d){d.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(d){d.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:s(null,null),exec:function(d){d.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(d){var l=d.selection.getRange();l.start.column=l.end.column=0,l.end.row++,d.selection.setRange(l,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:s("Ctrl+F3","F3"),exec:function(d){d.openLink()}},{name:"joinlines",description:"Join lines",bindKey:s(null,null),exec:function(d){for(var l=d.selection.isBackwards(),a=l?d.selection.getSelectionLead():d.selection.getSelectionAnchor(),r=l?d.selection.getSelectionAnchor():d.selection.getSelectionLead(),u=d.session.doc.getLine(a.row).length,p=d.session.doc.getTextRange(d.selection.getRange()).replace(/\n\s*/," ").length,_=d.session.doc.getLine(a.row),y=a.row+1;y<=r.row+1;y++){var M=E.stringTrimLeft(E.stringTrimRight(d.session.doc.getLine(y)));0!==M.length&&(M=" "+M),_+=M}r.row+10?(d.selection.moveCursorTo(a.row,a.column),d.selection.selectTo(a.row,a.column+p)):(u=d.session.doc.getLine(a.row).length>u?u+1:u,d.selection.moveCursorTo(a.row,u))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:s(null,null),exec:function(d){var l=d.session.doc.getLength()-1,a=d.session.doc.getLine(l).length,r=d.selection.rangeList.ranges,u=[];r.length<1&&(r=[d.selection.getRange()]);for(var h=0;hf[d].column&&d++,r.unshift(d,0),f.splice.apply(f,r),this.$updateRows()}}},b.prototype.$updateRows=function(){var s=this.session.lineWidgets;if(s){var f=!0;s.forEach(function(d,l){if(d)for(f=!1,d.row=l;d.$oldWidget;)d.$oldWidget.row=l,d=d.$oldWidget}),f&&(this.session.lineWidgets=null)}},b.prototype.$registerLineWidget=function(s){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var f=this.session.lineWidgets[s.row];return f&&(s.$oldWidget=f,f.el&&f.el.parentNode&&(f.el.parentNode.removeChild(f.el),f._inDocument=!1)),this.session.lineWidgets[s.row]=s,s},b.prototype.addLineWidget=function(s){if(this.$registerLineWidget(s),s.session=this.session,!this.editor)return s;var f=this.editor.renderer;s.html&&!s.el&&(s.el=E.createElement("div"),s.el.innerHTML=s.html),s.text&&!s.el&&(s.el=E.createElement("div"),s.el.textContent=s.text),s.el&&(E.addCssClass(s.el,"ace_lineWidgetContainer"),s.className&&E.addCssClass(s.el,s.className),s.el.style.position="absolute",s.el.style.zIndex="5",f.container.appendChild(s.el),s._inDocument=!0,s.coverGutter||(s.el.style.zIndex="3"),null==s.pixelHeight&&(s.pixelHeight=s.el.offsetHeight)),null==s.rowCount&&(s.rowCount=s.pixelHeight/f.layerConfig.lineHeight);var d=this.session.getFoldAt(s.row,0);if(s.$fold=d,d){var l=this.session.lineWidgets;s.row!=d.end.row||l[d.start.row]?s.hidden=!0:l[d.start.row]=s}return this.session._emit("changeFold",{data:{start:{row:s.row}}}),this.$updateRows(),this.renderWidgets(null,f),this.onWidgetChanged(s),s},b.prototype.removeLineWidget=function(s){if(s._inDocument=!1,s.session=null,s.el&&s.el.parentNode&&s.el.parentNode.removeChild(s.el),s.editor&&s.editor.destroy)try{s.editor.destroy()}catch{}if(this.session.lineWidgets){var f=this.session.lineWidgets[s.row];if(f==s)this.session.lineWidgets[s.row]=s.$oldWidget,s.$oldWidget&&this.onWidgetChanged(s.$oldWidget);else for(;f;){if(f.$oldWidget==s){f.$oldWidget=s.$oldWidget;break}f=f.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:s.row}}}),this.$updateRows()},b.prototype.getWidgetsAtRow=function(s){for(var f=this.session.lineWidgets,d=f&&f[s],l=[];d;)l.push(d),d=d.$oldWidget;return l},b.prototype.onWidgetChanged=function(s){this.session._changedWidgets.push(s),this.editor&&this.editor.renderer.updateFull()},b.prototype.measureWidgets=function(s,f){var d=this.session._changedWidgets,l=f.layerConfig;if(d&&d.length){for(var a=1/0,r=0;r0&&!l[a];)a--;this.firstRow=d.firstRow,this.lastRow=d.lastRow,f.$cursorLayer.config=d;for(var u=a;u<=r;u++){var h=l[u];if(h&&h.el){if(h.hidden){h.el.style.top=-100-(h.pixelHeight||0)+"px";continue}h._inDocument||(h._inDocument=!0,f.container.appendChild(h.el));var p=f.$cursorLayer.getPixelPosition({row:u,column:0},!0).top;h.coverLine||(p+=d.lineHeight*this.session.getRowLineCount(h.row)),h.el.style.top=p-d.offset+"px";var _=h.coverGutter?0:f.gutterWidth;h.fixedWidth||(_-=f.scrollLeft),h.el.style.left=_+"px",h.fullWidth&&h.screenWidth&&(h.el.style.minWidth=d.width+2*d.padding+"px"),h.el.style.right=h.fixedWidth?f.scrollBar.getWidth()+"px":""}}}},b}();v.LineWidgets=c}),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],function(t,v,C){"use strict";var E=t("../lib/keys"),c=t("../mouse/default_gutter_handler").GutterTooltip,b=function(){function f(d){this.editor=d,this.gutterLayer=d.renderer.$gutterLayer,this.element=d.renderer.$gutter,this.lines=d.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new c(this.editor)}return f.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},f.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},f.prototype.$onGutterKeyDown=function(d){if(this.annotationTooltip.isOpen)return d.preventDefault(),void(d.keyCode===E.escape&&this.annotationTooltip.hideTooltip());if(d.target===this.element){if(d.keyCode!=E.enter)return;d.preventDefault();var l=this.editor.getCursorPosition().row;return this.editor.isRowVisible(l)||this.editor.scrollToLine(l,!0,!0),void setTimeout(function(){var a=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),r=this.$findNearestFoldWidget(a),u=this.$findNearestAnnotation(a);if(null!==r||null!==u)return null===r&&null!==u?(this.activeRowIndex=u,this.activeLane="annotation",void this.$focusAnnotation(this.activeRowIndex)):null!==r&&null===u?(this.activeRowIndex=r,this.activeLane="fold",void this.$focusFoldWidget(this.activeRowIndex)):Math.abs(u-a)0||d+l=0&&this.$isFoldWidgetVisible(d-l))return d-l;if(d+l<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(d+l))return d+l}return null},f.prototype.$findNearestAnnotation=function(d){if(this.$isAnnotationVisible(d))return d;for(var l=0;d-l>0||d+l=0&&this.$isAnnotationVisible(d-l))return d-l;if(d+l<=this.lines.getLength()-1&&this.$isAnnotationVisible(d+l))return d+l}return null},f.prototype.$focusFoldWidget=function(d){if(null!=d){var l=this.$getFoldWidget(d);l.classList.add(this.editor.renderer.keyboardFocusClassName),l.focus()}},f.prototype.$focusAnnotation=function(d){if(null!=d){var l=this.$getAnnotation(d);l.classList.add(this.editor.renderer.keyboardFocusClassName),l.focus()}},f.prototype.$blurFoldWidget=function(d){var l=this.$getFoldWidget(d);l.classList.remove(this.editor.renderer.keyboardFocusClassName),l.blur()},f.prototype.$blurAnnotation=function(d){var l=this.$getAnnotation(d);l.classList.remove(this.editor.renderer.keyboardFocusClassName),l.blur()},f.prototype.$moveFoldWidgetUp=function(){for(var d=this.activeRowIndex;d>0;)if(d--,this.$isFoldWidgetVisible(d))return this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=d,void this.$focusFoldWidget(this.activeRowIndex)},f.prototype.$moveFoldWidgetDown=function(){for(var d=this.activeRowIndex;d0;)if(d--,this.$isAnnotationVisible(d))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=d,void this.$focusAnnotation(this.activeRowIndex)},f.prototype.$moveAnnotationDown=function(){for(var d=this.activeRowIndex;d=L.length&&(L=void 0),{value:L&&L[K++],done:!L}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")},c=t("./lib/oop"),b=t("./lib/dom"),s=t("./lib/lang"),f=t("./lib/useragent"),d=t("./keyboard/textinput").TextInput,l=t("./mouse/mouse_handler").MouseHandler,a=t("./mouse/fold_handler").FoldHandler,r=t("./keyboard/keybinding").KeyBinding,u=t("./edit_session").EditSession,h=t("./search").Search,p=t("./range").Range,_=t("./lib/event_emitter").EventEmitter,y=t("./commands/command_manager").CommandManager,M=t("./commands/default_commands").commands,w=t("./config"),k=t("./token_iterator").TokenIterator,D=t("./line_widgets").LineWidgets,I=t("./keyboard/gutter_handler").GutterKeyboardHandler,O=t("./config").nls,T=t("./clipboard"),N=t("./lib/keys"),S=function(){function L(A,U,K){this.$toDestroy=[];var ee=A.getContainerElement();this.container=ee,this.renderer=A,this.id="editor"+ ++L.$uid,this.commands=new y(f.isMac?"mac":"win",M),"object"==typeof document&&(this.textInput=new d(A.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new l(this),new a(this)),this.keyBinding=new r(this),this.$search=(new h).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(ne,B){B._$emitInputEvent.schedule(31)}),this.setSession(U||K&&K.session||new u("")),w.resetOptions(this),K&&this.setOptions(K),w._signal("editor",this)}return L.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},L.prototype.startOperation=function(A){if(this.curOp){if(!A||this.curOp.command)return;this.prevOp=this.curOp}A||(this.previousCommand=null,A={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:A.command||{},args:A.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},L.prototype.endOperation=function(A){if(this.curOp&&this.session){if(A&&!1===A.returnValue||!this.session)return this.curOp=null;if(1==A&&this.curOp.command&&"mouse"==this.curOp.command.name||(this._signal("beforeEndOperation"),!this.curOp))return;var U=this.curOp.command,K=U&&U.scrollIntoView;if(K){switch(K){case"center-animate":K="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var ee=this.selection.getRange(),ne=this.renderer.layerConfig;(ee.start.row>=ne.lastRow||ee.end.row<=ne.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==K&&this.renderer.animateScrolling(this.curOp.scrollTop)}var B=this.selection.toJSON();this.curOp.selectionAfter=B,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(B),this.prevOp=this.curOp,this.curOp=null}},L.prototype.$historyTracker=function(A){if(this.$mergeUndoDeltas){var U=this.prevOp,K=this.$mergeableCommands,ee=U.command&&A.command.name==U.command.name;if("insertstring"==A.command.name){var ne=A.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),ee=ee&&this.mergeNextCommand&&(!/\s/.test(ne)||/\s/.test(U.args)),this.mergeNextCommand=!0}else ee=ee&&-1!==K.indexOf(A.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(ee=!1),ee?this.session.mergeUndoDeltas=!0:-1!==K.indexOf(A.command.name)&&(this.sequenceStartTime=Date.now())}},L.prototype.setKeyboardHandler=function(A,U){if(A&&"string"==typeof A&&"ace"!=A){this.$keybindingId=A;var K=this;w.loadModule(["keybinding",A],function(ee){K.$keybindingId==A&&K.keyBinding.setKeyboardHandler(ee&&ee.handler),U&&U()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(A),U&&U()},L.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},L.prototype.setSession=function(A){if(this.session!=A){this.curOp&&this.endOperation(),this.curOp={};var U=this.session;if(U){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var K=this.session.getSelection();K.off("changeCursor",this.$onCursorChange),K.off("changeSelection",this.$onSelectionChange)}this.session=A,A?(this.$onDocumentChange=this.onDocumentChange.bind(this),A.on("change",this.$onDocumentChange),this.renderer.setSession(A),this.$onChangeMode=this.onChangeMode.bind(this),A.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),A.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),A.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),A.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),A.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),A.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=A.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(A)),this._signal("changeSession",{session:A,oldSession:U}),this.curOp=null,U&&U._signal("changeEditor",{oldEditor:this}),A&&A._signal("changeEditor",{editor:this}),A&&!A.destroyed&&A.bgTokenizer.scheduleStart()}},L.prototype.getSession=function(){return this.session},L.prototype.setValue=function(A,U){return this.session.doc.setValue(A),U?1==U?this.navigateFileEnd():-1==U&&this.navigateFileStart():this.selectAll(),A},L.prototype.getValue=function(){return this.session.getValue()},L.prototype.getSelection=function(){return this.selection},L.prototype.resize=function(A){this.renderer.onResize(A)},L.prototype.setTheme=function(A,U){this.renderer.setTheme(A,U)},L.prototype.getTheme=function(){return this.renderer.getTheme()},L.prototype.setStyle=function(A){this.renderer.setStyle(A)},L.prototype.unsetStyle=function(A){this.renderer.unsetStyle(A)},L.prototype.getFontSize=function(){return this.getOption("fontSize")||b.computedStyle(this.container).fontSize},L.prototype.setFontSize=function(A){this.setOption("fontSize",A)},L.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var A=this;this.$highlightPending=!0,setTimeout(function(){A.$highlightPending=!1;var U=A.session;if(U&&!U.destroyed){U.$bracketHighlight&&(U.$bracketHighlight.markerIds.forEach(function(j){U.removeMarker(j)}),U.$bracketHighlight=null);var K=A.getCursorPosition(),ee=A.getKeyboardHandler(),ne=ee&&ee.$getDirectionForHighlight&&ee.$getDirectionForHighlight(A),B=U.getMatchingBracketRanges(K,ne);if(!B){var z=new k(U,K.row,K.column).getCurrentToken();if(z&&/\b(?:tag-open|tag-name)/.test(z.type)){var X=U.getMatchingTags(K);X&&(B=[X.openTagName,X.closeTagName])}}if(!B&&U.$mode.getMatching&&(B=U.$mode.getMatching(A.session)),!B)return void(A.getHighlightIndentGuides()&&A.renderer.$textLayer.$highlightIndentGuide());var G="ace_bracket";Array.isArray(B)?1==B.length&&(G="ace_error_bracket"):B=[B],2==B.length&&(0==p.comparePoints(B[0].end,B[1].start)?B=[p.fromPoints(B[0].start,B[1].end)]:0==p.comparePoints(B[0].start,B[1].end)&&(B=[p.fromPoints(B[1].start,B[0].end)])),U.$bracketHighlight={ranges:B,markerIds:B.map(function(j){return U.addMarker(j,G,"text")})},A.getHighlightIndentGuides()&&A.renderer.$textLayer.$highlightIndentGuide()}},50)}},L.prototype.focus=function(){this.textInput.focus()},L.prototype.isFocused=function(){return this.textInput.isFocused()},L.prototype.blur=function(){this.textInput.blur()},L.prototype.onFocus=function(A){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",A))},L.prototype.onBlur=function(A){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",A))},L.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},L.prototype.onDocumentChange=function(A){this.renderer.updateLines(A.start.row,A.start.row==A.end.row?A.end.row:1/0,this.session.$useWrapMode),this._signal("change",A),this.$cursorChange()},L.prototype.onTokenizerUpdate=function(A){var U=A.data;this.renderer.updateLines(U.first,U.last)},L.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},L.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},L.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},L.prototype.$updateHighlightActiveLine=function(){var U,A=this.getSession();if(this.$highlightActiveLine&&(("line"!=this.$selectionStyle||!this.selection.isMultiLine())&&(U=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(U=!1),this.renderer.$maxLines&&1===this.session.getLength()&&!(this.renderer.$minLines>1)&&(U=!1)),A.$highlightLineMarker&&!U)A.removeMarker(A.$highlightLineMarker.id),A.$highlightLineMarker=null;else if(!A.$highlightLineMarker&&U){var K=new p(U.row,U.column,U.row,1/0);K.id=A.addMarker(K,"ace_active-line","screenLine"),A.$highlightLineMarker=K}else U&&(A.$highlightLineMarker.start.row=U.row,A.$highlightLineMarker.end.row=U.row,A.$highlightLineMarker.start.column=U.column,A._signal("changeBackMarker"))},L.prototype.onSelectionChange=function(A){var U=this.session;if(U.$selectionMarker&&U.removeMarker(U.$selectionMarker),U.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var K=this.selection.getRange(),ee=this.getSelectionStyle();U.$selectionMarker=U.addMarker(K,"ace_selection",ee)}var ne=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(ne),this._signal("changeSelection")},L.prototype.$getSelectionHighLightRegexp=function(){var A=this.session,U=this.getSelectionRange();if(!U.isEmpty()&&!U.isMultiLine()){var K=U.start.column,ee=U.end.column,ne=A.getLine(U.start.row),B=ne.substring(K,ee);if(!(B.length>5e3)&&/[\w\d]/.test(B)){var H=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:B}),z=ne.substring(K-1,ee+1);if(H.test(z))return H}}},L.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},L.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},L.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},L.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},L.prototype.onChangeMode=function(A){this.renderer.updateText(),this._emit("changeMode",A)},L.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},L.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},L.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},L.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},L.prototype.getCopyText=function(){var A=this.getSelectedText(),U=this.session.doc.getNewLineCharacter(),K=!1;if(!A&&this.$copyWithEmptySelection){K=!0;for(var ee=this.selection.getAllRanges(),ne=0;nej.search(/\S|$/)){var z=j.substr(ne.column).search(/\S|$/);K.doc.removeInLine(ne.row,ne.column,ne.column+z)}}this.clearSelection();var X=ne.column,G=K.getState(ne.row),le=(j=K.getLine(ne.row),ee.checkOutdent(G,j,A));if(K.insert(ne,A),B&&B.selection&&this.selection.setSelectionRange(2==B.selection.length?new p(ne.row,X+B.selection[0],ne.row,X+B.selection[1]):new p(ne.row+B.selection[0],B.selection[1],ne.row+B.selection[2],B.selection[3])),this.$enableAutoIndent){if(K.getDocument().isNewLine(A)){var ue=ee.getNextLineIndent(G,j.slice(0,ne.column),K.getTabString());K.insert({row:ne.row+1,column:0},ue)}le&&ee.autoOutdent(G,K,ne.row)}},L.prototype.autoIndent=function(){for(var A=this.session,U=A.getMode(),K=this.selection.isEmpty()?[new p(0,0,A.doc.getLength()-1,0)]:this.selection.getAllRanges(),ee="",ne="",B="",H=A.getTabString(),z=0;z0&&(ee=A.getState(j-1),ne=A.getLine(j-1),B=U.getNextLineIndent(ee,ne,H));var le=A.getLine(j),ue=U.$getIndent(le);if(B!==ue){if(ue.length>0){var ve=new p(j,0,j,ue.length);A.remove(ve)}B.length>0&&A.insert({row:j,column:0},B)}U.autoOutdent(ee,A,j)}},L.prototype.onTextInput=function(A,U){if(!U)return this.keyBinding.onTextInput(A);this.startOperation({command:{name:"insertstring"}});var K=this.applyComposition.bind(this,A,U);this.selection.rangeCount?this.forEachSelection(K):K(),this.endOperation()},L.prototype.applyComposition=function(A,U){var K;(U.extendLeft||U.extendRight)&&((K=this.selection.getRange()).start.column-=U.extendLeft,K.end.column+=U.extendRight,K.start.column<0&&(K.start.row--,K.start.column+=this.session.getLine(K.start.row).length+1),this.selection.setRange(K),!A&&!K.isEmpty()&&this.remove()),(A||!this.selection.isEmpty())&&this.insert(A,!0),(U.restoreStart||U.restoreEnd)&&((K=this.selection.getRange()).start.column-=U.restoreStart,K.end.column-=U.restoreEnd,this.selection.setRange(K))},L.prototype.onCommandKey=function(A,U,K){return this.keyBinding.onCommandKey(A,U,K)},L.prototype.setOverwrite=function(A){this.session.setOverwrite(A)},L.prototype.getOverwrite=function(){return this.session.getOverwrite()},L.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},L.prototype.setScrollSpeed=function(A){this.setOption("scrollSpeed",A)},L.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},L.prototype.setDragDelay=function(A){this.setOption("dragDelay",A)},L.prototype.getDragDelay=function(){return this.getOption("dragDelay")},L.prototype.setSelectionStyle=function(A){this.setOption("selectionStyle",A)},L.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},L.prototype.setHighlightActiveLine=function(A){this.setOption("highlightActiveLine",A)},L.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},L.prototype.setHighlightGutterLine=function(A){this.setOption("highlightGutterLine",A)},L.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},L.prototype.setHighlightSelectedWord=function(A){this.setOption("highlightSelectedWord",A)},L.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},L.prototype.setAnimatedScroll=function(A){this.renderer.setAnimatedScroll(A)},L.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},L.prototype.setShowInvisibles=function(A){this.renderer.setShowInvisibles(A)},L.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},L.prototype.setDisplayIndentGuides=function(A){this.renderer.setDisplayIndentGuides(A)},L.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},L.prototype.setHighlightIndentGuides=function(A){this.renderer.setHighlightIndentGuides(A)},L.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},L.prototype.setShowPrintMargin=function(A){this.renderer.setShowPrintMargin(A)},L.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},L.prototype.setPrintMarginColumn=function(A){this.renderer.setPrintMarginColumn(A)},L.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},L.prototype.setReadOnly=function(A){this.setOption("readOnly",A)},L.prototype.getReadOnly=function(){return this.getOption("readOnly")},L.prototype.setBehavioursEnabled=function(A){this.setOption("behavioursEnabled",A)},L.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},L.prototype.setWrapBehavioursEnabled=function(A){this.setOption("wrapBehavioursEnabled",A)},L.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},L.prototype.setShowFoldWidgets=function(A){this.setOption("showFoldWidgets",A)},L.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},L.prototype.setFadeFoldWidgets=function(A){this.setOption("fadeFoldWidgets",A)},L.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},L.prototype.remove=function(A){this.selection.isEmpty()&&("left"==A?this.selection.selectLeft():this.selection.selectRight());var U=this.getSelectionRange();if(this.getBehavioursEnabled()){var K=this.session,ee=K.getState(U.start.row),ne=K.getMode().transformAction(ee,"deletion",this,K,U);if(0===U.end.column){var B=K.getTextRange(U);if("\n"==B[B.length-1]){var H=K.getLine(U.end.row);/^\s+$/.test(H)&&(U.end.column=H.length)}}ne&&(U=ne)}this.session.remove(U),this.clearSelection()},L.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},L.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},L.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},L.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var A=this.getSelectionRange();A.start.column==A.end.column&&A.start.row==A.end.row&&(A.end.column=0,A.end.row++),this.session.remove(A),this.clearSelection()},L.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var A=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(A)},L.prototype.setGhostText=function(A,U){this.session.widgetManager||(this.session.widgetManager=new D(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(A,U)},L.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},L.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var A=this.getCursorPosition(),U=A.column;if(0!==U){var ee,ne,K=this.session.getLine(A.row);Uz.toLowerCase()?1:0});var ne=new p(0,0,0,0);for(ee=A.first;ee<=A.last;ee++){var B=U.getLine(ee);ne.start.row=ee,ne.end.row=ee,ne.end.column=B.length,U.replace(ne,K[ee-A.first])}},L.prototype.toggleCommentLines=function(){var A=this.session.getState(this.getCursorPosition().row),U=this.$getSelectedRows();this.session.getMode().toggleCommentLines(A,this.session,U.first,U.last)},L.prototype.toggleBlockComment=function(){var A=this.getCursorPosition(),U=this.session.getState(A.row),K=this.getSelectionRange();this.session.getMode().toggleBlockComment(U,this.session,K,A)},L.prototype.getNumberAt=function(A,U){var K=/[\-]?[0-9]+(?:\.[0-9]+)?/g;K.lastIndex=0;for(var ee=this.session.getLine(A);K.lastIndex=U)return{value:ne[0],start:ne.index,end:ne.index+ne[0].length}}return null},L.prototype.modifyNumber=function(A){var U=this.selection.getCursor().row,K=this.selection.getCursor().column,ee=new p(U,K-1,U,K),ne=this.session.getTextRange(ee);if(!isNaN(parseFloat(ne))&&isFinite(ne)){var B=this.getNumberAt(U,K);if(B){var H=B.value.indexOf(".")>=0?B.start+B.value.indexOf(".")+1:B.end,z=B.start+B.value.length-H,X=parseFloat(B.value);X*=Math.pow(10,z),X+=A*=H!==B.end&&K=H&&B<=z&&(K=Ct,X.selection.clearSelection(),X.moveCursorTo(A,H+ee),X.selection.selectTo(A,z+ee)),H=z});for(var j,G=this.$toggleWordPairs,le=0;le=z&&H<=X&&ue.match(/((?:https?|ftp):\/\/[\S]+)/)){G=ue.replace(/[\s:.,'";}\]]+$/,"");break}z=X}}catch(ve){K={error:ve}}finally{try{le&&!le.done&&(ee=j.return)&&ee.call(j)}finally{if(K)throw K.error}}return G},L.prototype.openLink=function(){var A=this.selection.getCursor(),U=this.findLinkAt(A.row,A.column);return U&&window.open(U,"_blank"),null!=U},L.prototype.removeLines=function(){var A=this.$getSelectedRows();this.session.removeFullLines(A.first,A.last),this.clearSelection()},L.prototype.duplicateSelection=function(){var A=this.selection,U=this.session,K=A.getRange(),ee=A.isBackwards();if(K.isEmpty()){var ne=K.start.row;U.duplicateLines(ne,ne)}else{var B=ee?K.start:K.end,H=U.insert(B,U.getTextRange(K));K.start=B,K.end=H,A.setSelectionRange(K,ee)}},L.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},L.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},L.prototype.moveText=function(A,U,K){return this.session.moveText(A,U,K)},L.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},L.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},L.prototype.$moveLines=function(A,U){var K,ee,ne=this.selection;if(!ne.inMultiSelectMode||this.inVirtualSelectionMode){var B=ne.toOrientedRange();K=this.$getSelectedRows(B),ee=this.session.$moveLines(K.first,K.last,U?0:A),U&&-1==A&&(ee=0),B.moveBy(ee,0),ne.fromOrientedRange(B)}else{var H=ne.rangeList.ranges;ne.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var z=0,X=0,G=H.length,j=0;jve+1)break;ve=Je.last}for(j--,z=this.session.$moveLines(ue,ve,U?0:A),U&&-1==A&&(le=j+1);le<=j;)H[le].moveBy(z,0),le++;U||(z=0),X+=z}ne.fromOrientedRange(ne.ranges[0]),ne.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},L.prototype.$getSelectedRows=function(A){return A=(A||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(A.start.row),last:this.session.getRowFoldEnd(A.end.row)}},L.prototype.onCompositionStart=function(A){this.renderer.showComposition(A)},L.prototype.onCompositionUpdate=function(A){this.renderer.setCompositionText(A)},L.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},L.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},L.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},L.prototype.isRowVisible=function(A){return A>=this.getFirstVisibleRow()&&A<=this.getLastVisibleRow()},L.prototype.isRowFullyVisible=function(A){return A>=this.renderer.getFirstFullyVisibleRow()&&A<=this.renderer.getLastFullyVisibleRow()},L.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},L.prototype.$moveByPage=function(A,U){var K=this.renderer,ee=this.renderer.layerConfig,ne=A*Math.floor(ee.height/ee.lineHeight);!0===U?this.selection.$moveSelection(function(){this.moveCursorBy(ne,0)}):!1===U&&(this.selection.moveCursorBy(ne,0),this.selection.clearSelection());var B=K.scrollTop;K.scrollBy(0,ne*ee.lineHeight),null!=U&&K.scrollCursorIntoView(null,.5),K.animateScrolling(B)},L.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},L.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},L.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},L.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},L.prototype.scrollPageDown=function(){this.$moveByPage(1)},L.prototype.scrollPageUp=function(){this.$moveByPage(-1)},L.prototype.scrollToRow=function(A){this.renderer.scrollToRow(A)},L.prototype.scrollToLine=function(A,U,K,ee){this.renderer.scrollToLine(A,U,K,ee)},L.prototype.centerSelection=function(){var A=this.getSelectionRange(),U={row:Math.floor(A.start.row+(A.end.row-A.start.row)/2),column:Math.floor(A.start.column+(A.end.column-A.start.column)/2)};this.renderer.alignCursor(U,.5)},L.prototype.getCursorPosition=function(){return this.selection.getCursor()},L.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},L.prototype.getSelectionRange=function(){return this.selection.getRange()},L.prototype.selectAll=function(){this.selection.selectAll()},L.prototype.clearSelection=function(){this.selection.clearSelection()},L.prototype.moveCursorTo=function(A,U){this.selection.moveCursorTo(A,U)},L.prototype.moveCursorToPosition=function(A){this.selection.moveCursorToPosition(A)},L.prototype.jumpToMatching=function(A,U){var K=this.getCursorPosition(),ee=new k(this.session,K.row,K.column),ne=ee.getCurrentToken(),B=0;ne&&-1!==ne.type.indexOf("tag-name")&&(ne=ee.stepBackward());var H=ne||ee.stepForward();if(H){var z,le,X=!1,G={},j=K.column-H.start,ue={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(H.value.match(/[{}()\[\]]/g)){for(;j1?G[H.value]++:"=0;--B)this.$tryReplace(K[B],A)&&ee++;return this.selection.setSelectionRange(ne),ee},L.prototype.$tryReplace=function(A,U){var K=this.session.getTextRange(A);return null!==(U=this.$search.replace(K,U))?(A.end=this.session.replace(A,U),A):null},L.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},L.prototype.find=function(A,U,K){U||(U={}),"string"==typeof A||A instanceof RegExp?U.needle=A:"object"==typeof A&&c.mixin(U,A);var ee=this.selection.getRange();null==U.needle&&((A=this.session.getTextRange(ee)||this.$search.$options.needle)||(ee=this.session.getWordRange(ee.start.row,ee.start.column),A=this.session.getTextRange(ee)),this.$search.set({needle:A})),this.$search.set(U),U.start||this.$search.set({start:ee});var ne=this.$search.find(this.session);return U.preventScroll?ne:ne?(this.revealRange(ne,K),ne):(U.backwards?ee.start=ee.end:ee.end=ee.start,void this.selection.setRange(ee))},L.prototype.findNext=function(A,U){this.find({skipCurrent:!0,backwards:!1},A,U)},L.prototype.findPrevious=function(A,U){this.find(A,{skipCurrent:!0,backwards:!0},U)},L.prototype.revealRange=function(A,U){this.session.unfold(A),this.selection.setSelectionRange(A);var K=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(A.start,A.end,.5),!1!==U&&this.renderer.animateScrolling(K)},L.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},L.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},L.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(A){A.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},L.prototype.setAutoScrollEditorIntoView=function(A){if(A){var U,K=this,ee=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var ne=this.$scrollAnchor;ne.style.cssText="position:absolute",this.container.insertBefore(ne,this.container.firstChild);var B=this.on("changeSelection",function(){ee=!0}),H=this.renderer.on("beforeRender",function(){ee&&(U=K.renderer.container.getBoundingClientRect())}),z=this.renderer.on("afterRender",function(){if(ee&&U&&(K.isFocused()||K.searchBox&&K.searchBox.isFocused())){var X=K.renderer,G=X.$cursorLayer.$pixelPos,j=X.layerConfig,le=G.top-j.offset;null!=(ee=G.top>=0&&le+U.top<0||!(G.topwindow.innerHeight)&&null)&&(ne.style.top=le+"px",ne.style.left=G.left+"px",ne.style.height=j.lineHeight+"px",ne.scrollIntoView(ee)),ee=U=null}});this.setAutoScrollEditorIntoView=function(X){X||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",B),this.renderer.off("afterRender",z),this.renderer.off("beforeRender",H))}}},L.prototype.$resetCursorStyle=function(){var A=this.$cursorStyle||"ace",U=this.renderer.$cursorLayer;U&&(U.setSmoothBlinking(/smooth/.test(A)),U.isBlinking=!this.$readOnly&&"wide"!=A,b.setCssClass(U.element,"ace_slim-cursors",/slim/.test(A)))},L.prototype.prompt=function(A,U,K){var ee=this;w.loadModule("ace/ext/prompt",function(ne){ne.prompt(ee,A,U,K)})},L}();S.$uid=0,S.prototype.curOp=null,S.prototype.prevOp={},S.prototype.$mergeableCommands=["backspace","del","insertstring"],S.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],c.implement(S.prototype,_),w.defineOptions(S.prototype,"editor",{selectionStyle:{set:function(L){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:L})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(L){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(L){this.textInput.setReadOnly(L),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(L){this.textInput.setCopyWithEmptySelection(L)},initialValue:!1},cursorStyle:{set:function(L){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(L){this.setAutoScrollEditorIntoView(L)}},keyboardHandler:{set:function(L){this.setKeyboardHandler(L)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(L){this.session.setValue(L)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(L){this.setSession(L)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(L){this.renderer.$gutterLayer.setShowLineNumbers(L),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),L&&this.$relativeLineNumbers?F.attach(this):F.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(L){this.$showLineNumbers&&L?F.attach(this):F.detach(this)}},placeholder:{set:function(L){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var A=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(A&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),b.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(A||this.renderer.placeholderNode)!A&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),b.addCssClass(this.container,"ace_hasPlaceholder");var U=b.createElement("div");U.className="ace_placeholder",U.textContent=this.$placeholder||"",this.renderer.placeholderNode=U,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(L){var K,A={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(ee){ee.blur(),ee.renderer.scroller.focus()},readOnly:!0},U=function(ee){if(ee.target==this.renderer.scroller&&ee.keyCode===N.enter){ee.preventDefault();var ne=this.getCursorPosition().row;this.isRowVisible(ne)||this.scrollToLine(ne,!0,!0),this.focus()}};L?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(f.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",O("editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",O("Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",U.bind(this)),this.commands.addCommand(A),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",O("editor")),this.renderer.$gutter.setAttribute("aria-label",O("Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),K||(K=new I(this)),K.addListener()):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",U.bind(this)),this.commands.removeCommand(A),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),K&&K.removeListener())},initialValue:!1},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var F={getText:function(L,A){return(Math.abs(L.selection.lead.row-A)||A+1+(A<9?"\xb7":""))+""},getWidth:function(L,A,U){return Math.max(A.toString().length,(U.lastRow+1).toString().length,2)*U.characterWidth},update:function(L,A){A.renderer.$loop.schedule(A.renderer.CHANGE_GUTTER)},attach:function(L){L.renderer.$gutterLayer.$renderer=this,L.on("changeSelection",this.update),this.update(null,L)},detach:function(L){L.renderer.$gutterLayer.$renderer==this&&(L.renderer.$gutterLayer.$renderer=null),L.off("changeSelection",this.update),this.update(null,L)}};v.Editor=S}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(t,v,C){"use strict";var E=t("../lib/dom"),c=function(){function b(s,f){this.element=s,this.canvasHeight=f||5e5,this.element.style.height=2*this.canvasHeight+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return b.prototype.moveContainer=function(s){E.translate(this.element,0,-s.firstRowScreen*s.lineHeight%this.canvasHeight-s.offset*this.$offsetCoefficient)},b.prototype.pageChanged=function(s,f){return Math.floor(s.firstRowScreen*s.lineHeight/this.canvasHeight)!==Math.floor(f.firstRowScreen*f.lineHeight/this.canvasHeight)},b.prototype.computeLineTop=function(s,f,d){var a=Math.floor(f.firstRowScreen*f.lineHeight/this.canvasHeight);return d.documentToScreenRow(s,0)*f.lineHeight-a*this.canvasHeight},b.prototype.computeLineHeight=function(s,f,d){return f.lineHeight*d.getRowLineCount(s)},b.prototype.getLength=function(){return this.cells.length},b.prototype.get=function(s){return this.cells[s]},b.prototype.shift=function(){this.$cacheCell(this.cells.shift())},b.prototype.pop=function(){this.$cacheCell(this.cells.pop())},b.prototype.push=function(s){if(Array.isArray(s)){this.cells.push.apply(this.cells,s);for(var f=E.createFragment(this.element),d=0;dM&&(M=(y=h.getNextFoldLine(D=y.end.row+1,y))?y.start.row:1/0),D>_){for(;this.$lines.getLength()>k+1;)this.$lines.pop();break}(w=this.$lines.get(++k))?w.row=D:(w=this.$lines.createCell(D,u,this.session,a),this.$lines.push(w)),this.$renderCell(w,u,y,D),D++}this._signal("afterRender"),this.$updateGutterWidth(u)},r.prototype.$updateGutterWidth=function(u){var h=this.session,p=h.gutterRenderer||this.$renderer,_=h.$firstLineNumber,y=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||h.$useWrapMode)&&(y=h.getLength()+_-1);var M=p?p.getWidth(h,y,u):y.toString().length*u.characterWidth,w=this.$padding||this.$computePadding();(M+=w.left+w.right)!==this.gutterWidth&&!isNaN(M)&&(this.gutterWidth=M,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",M))},r.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var u=this.session.selection.getCursor();this.$cursorRow!==u.row&&(this.$cursorRow=u.row)}},r.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var u=this.session.selection.cursor.row;if(this.$cursorRow=u,!this.$cursorCell||this.$cursorCell.row!=u){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var h=this.$lines.cells;this.$cursorCell=null;for(var p=0;p=this.$cursorRow){if(_.row>this.$cursorRow){var y=this.session.getFoldLine(this.$cursorRow);if(!(p>0&&y&&y.start.row==h[p-1].row))break;_=h[p-1]}_.element.className="ace_gutter-active-line "+_.element.className,this.$cursorCell=_;break}}}}},r.prototype.scrollLines=function(u){var h=this.config;if(this.config=u,this.$updateCursorRow(),this.$lines.pageChanged(h,u))return this.update(u);this.$lines.moveContainer(u);var p=Math.min(u.lastRow+u.gutterOffset,this.session.getLength()-1),_=this.oldLastRow;if(this.oldLastRow=p,!h||_0;y--)this.$lines.shift();if(_>p)for(y=this.session.getFoldedRowCount(p+1,_);y>0;y--)this.$lines.pop();u.firstRow_&&this.$lines.push(this.$renderLines(u,_+1,p)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(u)},r.prototype.$renderLines=function(u,h,p){for(var _=[],y=h,M=this.session.getNextFoldLine(y),w=M?M.start.row:1/0;y>w&&(w=(M=this.session.getNextFoldLine(y=M.end.row+1,M))?M.start.row:1/0),!(y>p);){var k=this.$lines.createCell(y,u,this.session,a);this.$renderCell(k,u,M,y),_.push(k),y++}return _},r.prototype.$renderCell=function(u,h,p,_){var y=u.element,M=this.session,w=y.childNodes[0],k=y.childNodes[1],D=y.childNodes[2],I=D.firstChild,O=M.$firstLineNumber,T=M.$breakpoints,N=M.$decorations,S=M.gutterRenderer||this.$renderer,F=this.$showFoldWidgets&&M.foldWidgets,L=p?p.start.row:Number.MAX_VALUE,A=h.lineHeight+"px",U=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",K=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",ee=(S?S.getText(M,_):_+O).toString();if(this.$highlightGutterLine&&(_==this.$cursorRow||p&&_=L&&this.$cursorRow<=p.end.row)&&(U+="ace_gutter-active-line ",this.$cursorCell!=u&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=u)),T[_]&&(U+=T[_]),N[_]&&(U+=N[_]),this.$annotations[_]&&_!==L&&(U+=this.$annotations[_].className),F){var ne=F[_];null==ne&&(ne=F[_]=M.getFoldWidget(_))}if(ne){var B="ace_fold-widget ace_"+ne,H="start"==ne&&_==L&&_p.right-h.right?"foldWidgets":void 0},r}();function a(r){var u=document.createTextNode("");r.appendChild(u);var h=E.createElement("span");r.appendChild(h);var p=E.createElement("span");r.appendChild(p);var _=E.createElement("span");return p.appendChild(_),r}l.prototype.$fixedWidth=!1,l.prototype.$highlightGutterLine=!0,l.prototype.$renderer="",l.prototype.$showLineNumbers=!0,l.prototype.$showFoldWidgets=!0,c.implement(l.prototype,s),v.Gutter=l}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(t,v,C){"use strict";var E=t("../range").Range,c=t("../lib/dom"),b=function(){function f(d){this.element=c.createElement("div"),this.element.className="ace_layer ace_marker-layer",d.appendChild(this.element)}return f.prototype.setPadding=function(d){this.$padding=d},f.prototype.setSession=function(d){this.session=d},f.prototype.setMarkers=function(d){this.markers=d},f.prototype.elt=function(d,l){var a=-1!=this.i&&this.element.childNodes[this.i];a?this.i++:(a=document.createElement("div"),this.element.appendChild(a),this.i=-1),a.style.cssText=l,a.className=d},f.prototype.update=function(d){if(d){var l;for(var a in this.config=d,this.i=0,this.markers){var r=this.markers[a];if(r.range){var u=r.range.clipRows(d.firstRow,d.lastRow);if(!u.isEmpty())if(u=u.toScreenRange(this.session),r.renderer){var h=this.$getTop(u.start.row,d);r.renderer(l,u,this.$padding+u.start.column*d.characterWidth,h,d)}else"fullLine"==r.type?this.drawFullLineMarker(l,u,r.clazz,d):"screenLine"==r.type?this.drawScreenLineMarker(l,u,r.clazz,d):u.isMultiLine()?"text"==r.type?this.drawTextMarker(l,u,r.clazz,d):this.drawMultiLineMarker(l,u,r.clazz,d):this.drawSingleLineMarker(l,u,r.clazz+" ace_start ace_br15",d)}else r.update(l,this,this.session,d)}if(-1!=this.i)for(;this.ik,y==_),r,y==_?0:1,u)},f.prototype.drawMultiLineMarker=function(d,l,a,r,u){var M,h=this.$padding,p=r.lineHeight,_=this.$getTop(l.start.row,r),y=h+l.start.column*r.characterWidth;if(u=u||"",this.session.$bidiHandler.isBidiRow(l.start.row)?((M=l.clone()).end.row=M.start.row,M.end.column=this.session.getLine(M.start.row).length,this.drawBidiSingleLineMarker(d,M,a+" ace_br1 ace_start",r,null,u)):this.elt(a+" ace_br1 ace_start","height:"+p+"px;right:0;top:"+_+"px;left:"+y+"px;"+(u||"")),this.session.$bidiHandler.isBidiRow(l.end.row)?((M=l.clone()).start.row=M.end.row,M.start.column=0,this.drawBidiSingleLineMarker(d,M,a+" ace_br12",r,null,u)):(_=this.$getTop(l.end.row,r),this.elt(a+" ace_br12","height:"+p+"px;width:"+l.end.column*r.characterWidth+"px;top:"+_+"px;left:"+h+"px;"+(u||""))),!((p=(l.end.row-l.start.row-1)*r.lineHeight)<=0)){_=this.$getTop(l.start.row+1,r);var k=(l.start.column?1:0)|(l.end.column?0:8);this.elt(a+(k?" ace_br"+k:""),"height:"+p+"px;right:0;top:"+_+"px;left:"+h+"px;"+(u||""))}},f.prototype.drawSingleLineMarker=function(d,l,a,r,u,h){if(this.session.$bidiHandler.isBidiRow(l.start.row))return this.drawBidiSingleLineMarker(d,l,a,r,u,h);var p=r.lineHeight,_=(l.end.column+(u||0)-l.start.column)*r.characterWidth,y=this.$getTop(l.start.row,r);this.elt(a,"height:"+p+"px;width:"+_+"px;top:"+y+"px;left:"+(this.$padding+l.start.column*r.characterWidth)+"px;"+(h||""))},f.prototype.drawBidiSingleLineMarker=function(d,l,a,r,u,h){var p=r.lineHeight,_=this.$getTop(l.start.row,r),y=this.$padding;this.session.$bidiHandler.getSelections(l.start.column,l.end.column).forEach(function(w){this.elt(a,"height:"+p+"px;width:"+(w.width+(u||0))+"px;top:"+_+"px;left:"+(y+w.left)+"px;"+(h||""))},this)},f.prototype.drawFullLineMarker=function(d,l,a,r,u){var h=this.$getTop(l.start.row,r),p=r.lineHeight;l.start.row!=l.end.row&&(p+=this.$getTop(l.end.row,r)-h),this.elt(a,"height:"+p+"px;top:"+h+"px;left:0;right:0;"+(u||""))},f.prototype.drawScreenLineMarker=function(d,l,a,r,u){var h=this.$getTop(l.start.row,r);this.elt(a,"height:"+r.lineHeight+"px;top:"+h+"px;left:0;right:0;"+(u||""))},f}();function s(f,d,l,a){return(f?1:0)|(d?2:0)|(l?4:0)|(a?8:0)}b.prototype.$padding=0,v.Marker=b}),ace.define("ace/layer/text_util",["require","exports","module"],function(t,v,C){var E=new Set(["text","rparen","lparen"]);v.isTextToken=function(c){return E.has(c)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(t,v,C){"use strict";var E=t("../lib/oop"),c=t("../lib/dom"),b=t("../lib/lang"),s=t("./lines").Lines,f=t("../lib/event_emitter").EventEmitter,d=t("../config").nls,l=t("./text_util").isTextToken,a=function(){function r(u){this.dom=c,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",u.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new s(this.element)}return r.prototype.$updateEolChar=function(){var u=this.session.doc,p="\n"==u.getNewLineCharacter()&&"windows"!=u.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=p)return this.EOL_CHAR=p,!0},r.prototype.setPadding=function(u){this.$padding=u,this.element.style.margin="0 "+u+"px"},r.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},r.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},r.prototype.$setFontMetrics=function(u){this.$fontMetrics=u,this.$fontMetrics.on("changeCharacterSize",function(h){this._signal("changeCharacterSize",h)}.bind(this)),this.$pollSizeChanges()},r.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},r.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},r.prototype.setSession=function(u){this.session=u,u&&this.$computeTabString()},r.prototype.setShowInvisibles=function(u){return this.showInvisibles!=u&&(this.showInvisibles=u,"string"==typeof u?(this.showSpaces=/tab/i.test(u),this.showTabs=/space/i.test(u),this.showEOL=/eol/i.test(u)):this.showSpaces=this.showTabs=this.showEOL=u,this.$computeTabString(),!0)},r.prototype.setDisplayIndentGuides=function(u){return this.displayIndentGuides!=u&&(this.displayIndentGuides=u,this.$computeTabString(),!0)},r.prototype.setHighlightIndentGuides=function(u){return this.$highlightIndentGuides!==u&&(this.$highlightIndentGuides=u,u)},r.prototype.$computeTabString=function(){var u=this.session.getTabSize();this.tabSize=u;for(var h=this.$tabStrings=[0],p=1;pO&&(O=(I=this.session.getNextFoldLine(D=I.end.row+1,I))?I.start.row:1/0),!(D>y);){var T=M[w++];if(T){this.dom.removeChildren(T),this.$renderLine(T,D,D==O&&I),k&&(T.style.top=this.$lines.computeLineTop(D,u,this.session)+"px");var N=u.lineHeight*this.session.getRowLength(D)+"px";T.style.height!=N&&(k=!0,T.style.height=N)}D++}if(k)for(;w0;y--)this.$lines.shift();if(h.lastRow>u.lastRow)for(y=this.session.getFoldedRowCount(u.lastRow+1,h.lastRow);y>0;y--)this.$lines.pop();u.firstRowh.lastRow&&this.$lines.push(this.$renderLinesFragment(u,h.lastRow+1,u.lastRow)),this.$highlightIndentGuide()},r.prototype.$renderLinesFragment=function(u,h,p){for(var _=[],y=h,M=this.session.getNextFoldLine(y),w=M?M.start.row:1/0;y>w&&(w=(M=this.session.getNextFoldLine(y=M.end.row+1,M))?M.start.row:1/0),!(y>p);){var k=this.$lines.createCell(y,u,this.session),D=k.element;this.dom.removeChildren(D),c.setStyle(D.style,"height",this.$lines.computeLineHeight(y,u,this.session)+"px"),c.setStyle(D.style,"top",this.$lines.computeLineTop(y,u,this.session)+"px"),this.$renderLine(D,y,y==w&&M),D.className=this.$useLineGroups()?"ace_line_group":"ace_line",_.push(k),y++}return _},r.prototype.update=function(u){this.$lines.moveContainer(u),this.config=u;for(var h=u.firstRow,p=u.lastRow,_=this.$lines;_.getLength();)_.pop();_.push(this.$renderLinesFragment(u,h,p))},r.prototype.$renderToken=function(u,h,p,_){for(var k,y=this,M=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,w=this.dom.createFragment(this.element),D=0;k=M.exec(_);){var I=k[1],O=k[2],T=k[3],N=k[4],S=k[5];if(y.showSpaces||!O){var F=D!=k.index?_.slice(D,k.index):"";if(D=k.index+k[0].length,F&&w.appendChild(this.dom.createTextNode(F,this.element)),I){var L=y.session.getScreenTabSize(h+k.index);w.appendChild(y.$tabStrings[L].cloneNode(!0)),h+=L-1}else O?y.showSpaces?((A=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",A.textContent=b.stringRepeat(y.SPACE_CHAR,O.length),w.appendChild(A)):w.appendChild(this.dom.createTextNode(O,this.element)):T?((A=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",A.textContent=b.stringRepeat(y.SPACE_CHAR,T.length),w.appendChild(A)):N?(h+=1,(A=this.dom.createElement("span")).style.width=2*y.config.characterWidth+"px",A.className=y.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",A.textContent=y.showSpaces?y.SPACE_CHAR:N,w.appendChild(A)):S&&(h+=1,(A=this.dom.createElement("span")).style.width=2*y.config.characterWidth+"px",A.className="ace_cjk",A.textContent=S,w.appendChild(A))}}if(w.appendChild(this.dom.createTextNode(D?_.slice(D):_,this.element)),l(p.type))u.appendChild(w);else{var U="ace_"+p.type.replace(/\./g," ace_"),A=this.dom.createElement("span");"fold"==p.type&&(A.style.width=p.value.length*this.config.characterWidth+"px",A.setAttribute("title",d("Unfold code"))),A.className=U,A.appendChild(w),u.appendChild(A)}return h+_.length},r.prototype.renderIndentGuide=function(u,h,p){var _=h.search(this.$indentGuideRe);if(_<=0||_>=p)return h;if(" "==h[0]){for(var y=(_-=_%this.tabSize)/this.tabSize,M=0;MM[w].start.row?-1:1;break}if(!this.$highlightIndentGuideMarker.end&&""!==u[h.row]&&h.column===u[h.row].length)for(this.$highlightIndentGuideMarker.dir=1,w=h.row+1;w0)for(var y=0;y<_.length;y++)if(_[y].classList&&_[y].classList.contains("ace_indent-guide-active")){_[y].classList.remove("ace_indent-guide-active");break}}},r.prototype.$setIndentGuideActive=function(u,h){if(""!==this.session.doc.getLine(u.row)){var _=u.element.childNodes;if(_){var y=_[h-1];y&&y.classList&&y.classList.contains("ace_indent-guide")&&y.classList.add("ace_indent-guide-active")}}},r.prototype.$renderHighlightIndentGuide=function(){if(this.$lines){var u=this.$lines.cells;this.$clearActiveIndentGuide();var h=this.$highlightIndentGuideMarker.indentLevel;if(0!==h)if(1===this.$highlightIndentGuideMarker.dir)for(var p=0;p=this.$highlightIndentGuideMarker.start+1){if(_.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(_,h)}}else for(p=u.length-1;p>=0;p--)if(_=u[p],this.$highlightIndentGuideMarker.end&&_.row=M;)w=this.$renderToken(k,w,I,O.substring(0,M-_)),O=O.substring(M-_),_=M,k=this.$createLineElement(),u.appendChild(k),k.appendChild(this.dom.createTextNode(b.stringRepeat("\xa0",p.indent),this.element)),w=0,M=p[++y]||Number.MAX_VALUE;0!=O.length&&(_+=O.length,w=this.$renderToken(k,w,I,O))}}p[p.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(k,w,null,"",!0)},r.prototype.$renderSimpleLine=function(u,h){for(var p=0,_=0;_this.MAX_LINE_LENGTH)return this.$renderOverflowMessage(u,p,y,M);p=this.$renderToken(u,p,y,M)}}},r.prototype.$renderOverflowMessage=function(u,h,p,_,y){p&&this.$renderToken(u,h,p,_.slice(0,this.MAX_LINE_LENGTH-h));var M=this.dom.createElement("span");M.className="ace_inline_button ace_keyword ace_toggle_wrap",M.textContent=y?"":"",u.appendChild(M)},r.prototype.$renderLine=function(u,h,p){if(!p&&0!=p&&(p=this.session.getFoldLine(h)),p)var _=this.$getFoldLineTokens(h,p);else _=this.session.getTokens(h);var y=u;if(_.length){var M=this.session.getRowSplitData(h);M&&M.length?(this.$renderWrappedLine(u,_,M),y=u.lastChild):(y=u,this.$useLineGroups()&&(y=this.$createLineElement(),u.appendChild(y)),this.$renderSimpleLine(y,_))}else this.$useLineGroups()&&(y=this.$createLineElement(),u.appendChild(y));if(this.showEOL&&y){p&&(h=p.end.row);var w=this.dom.createElement("span");w.className="ace_invisible ace_invisible_eol",w.textContent=h==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,y.appendChild(w)}},r.prototype.$getFoldLineTokens=function(u,h){var p=this.session,_=[],M=p.getTokens(u);return h.walk(function(w,k,D,I,O){null!=w?_.push({type:"fold",value:w}):(O&&(M=p.getTokens(k)),M.length&&function y(w,k,D){for(var I=0,O=0;O+w[I].value.lengthD-k&&(T=T.substring(0,D-k)),_.push({type:w[I].type,value:T}),O=k+T.length,I+=1);OD?{type:w[I].type,value:T.substring(0,D-O)}:w[I]),O+=T.length,I+=1}}(M,I,D))},h.end.row,this.session.getLine(h.end.row).length),_},r.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},r}();a.prototype.EOF_CHAR="\xb6",a.prototype.EOL_CHAR_LF="\xac",a.prototype.EOL_CHAR_CRLF="\xa4",a.prototype.EOL_CHAR=a.prototype.EOL_CHAR_LF,a.prototype.TAB_CHAR="\u2014",a.prototype.SPACE_CHAR="\xb7",a.prototype.$padding=0,a.prototype.MAX_LINE_LENGTH=1e4,a.prototype.showInvisibles=!1,a.prototype.showSpaces=!1,a.prototype.showTabs=!1,a.prototype.showEOL=!1,a.prototype.displayIndentGuides=!0,a.prototype.$highlightIndentGuides=!0,a.prototype.$tabStrings=[],a.prototype.destroy={},a.prototype.onChangeTabSize=a.prototype.$computeTabString,E.implement(a.prototype,f),v.Text=a}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(t,v,C){"use strict";var E=t("../lib/dom"),c=function(){function b(s){this.element=E.createElement("div"),this.element.className="ace_layer ace_cursor-layer",s.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),E.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return b.prototype.$updateOpacity=function(s){for(var f=this.cursors,d=f.length;d--;)E.setStyle(f[d].style,"opacity",s?"":"0")},b.prototype.$startCssAnimation=function(){for(var s=this.cursors,f=s.length;f--;)s[f].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&E.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},b.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,E.removeCssClass(this.element,"ace_animate-blinking")},b.prototype.setPadding=function(s){this.$padding=s},b.prototype.setSession=function(s){this.session=s},b.prototype.setBlinking=function(s){s!=this.isBlinking&&(this.isBlinking=s,this.restartTimer())},b.prototype.setBlinkInterval=function(s){s!=this.blinkInterval&&(this.blinkInterval=s,this.restartTimer())},b.prototype.setSmoothBlinking=function(s){s!=this.smoothBlinking&&(this.smoothBlinking=s,E.setCssClass(this.element,"ace_smooth-blinking",s),this.$updateCursors(!0),this.restartTimer())},b.prototype.addCursor=function(){var s=E.createElement("div");return s.className="ace_cursor",this.element.appendChild(s),this.cursors.push(s),s},b.prototype.removeCursor=function(){if(this.cursors.length>1){var s=this.cursors.pop();return s.parentNode.removeChild(s),s}},b.prototype.hideCursor=function(){this.isVisible=!1,E.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},b.prototype.showCursor=function(){this.isVisible=!0,E.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},b.prototype.restartTimer=function(){var s=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,E.removeCssClass(this.element,"ace_smooth-blinking")),s(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&E.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),E.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var f=function(){this.timeoutId=setTimeout(function(){s(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){s(!0),f()},this.blinkInterval),f()}else this.$stopCssAnimation()},b.prototype.getPixelPosition=function(s,f){if(!this.config||!this.session)return{left:0,top:0};s||(s=this.session.selection.getCursor());var d=this.session.documentToScreenPosition(s);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(d.row,s.row)?this.session.$bidiHandler.getPosLeft(d.column):d.column*this.config.characterWidth),top:(d.row-(f?this.config.firstRowScreen:0))*this.config.lineHeight}},b.prototype.isCursorInView=function(s,f){return s.top>=0&&s.tops.height+s.offset||r.top<0)&&d>1)){var u=this.cursors[l++]||this.addCursor(),h=u.style;this.drawCursor?this.drawCursor(u,r,s,f[d],this.session):this.isCursorInView(r,s)?(E.setStyle(h,"display","block"),E.translate(u,r.left,r.top),E.setStyle(h,"width",Math.round(s.characterWidth)+"px"),E.setStyle(h,"height",s.lineHeight+"px")):E.setStyle(h,"display","none")}}for(;this.cursors.length>l;)this.removeCursor();var p=this.session.getOverwrite();this.$setOverwrite(p),this.$pixelPos=r,this.restartTimer()},b.prototype.$setOverwrite=function(s){s!=this.overwrite&&(this.overwrite=s,s?E.addCssClass(this.element,"ace_overwrite-cursors"):E.removeCssClass(this.element,"ace_overwrite-cursors"))},b.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},b}();c.prototype.$padding=0,c.prototype.drawCursor=null,v.Cursor=c}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(t,v,C){"use strict";var E=this&&this.__extends||function(){var u=function(h,p){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,y){_.__proto__=y}||function(_,y){for(var M in y)Object.prototype.hasOwnProperty.call(y,M)&&(_[M]=y[M])})(h,p)};return function(h,p){if("function"!=typeof p&&null!==p)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");function _(){this.constructor=h}u(h,p),h.prototype=null===p?Object.create(p):(_.prototype=p.prototype,new _)}}(),c=t("./lib/oop"),b=t("./lib/dom"),s=t("./lib/event"),f=t("./lib/event_emitter").EventEmitter,d=32768,l=function(){function u(h,p){this.element=b.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+p,this.inner=b.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xa0",this.element.appendChild(this.inner),h.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,s.addListener(this.element,"scroll",this.onScroll.bind(this)),s.addListener(this.element,"mousedown",s.preventDefault)}return u.prototype.setVisible=function(h){this.element.style.display=h?"":"none",this.isVisible=h,this.coeff=1},u}();c.implement(l.prototype,f);var a=function(u){function h(p,_){var y=u.call(this,p,"-v")||this;return y.scrollTop=0,y.scrollHeight=0,_.$scrollbarWidth=y.width=b.scrollbarWidth(p.ownerDocument),y.inner.style.width=y.element.style.width=(y.width||15)+5+"px",y.$minWidth=0,y}return E(h,u),h.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var p=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-p)/(this.coeff-p)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},h.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},h.prototype.setHeight=function(p){this.element.style.height=p+"px"},h.prototype.setScrollHeight=function(p){this.scrollHeight=p,p>d?(this.coeff=d/p,p=d):1!=this.coeff&&(this.coeff=1),this.inner.style.height=p+"px"},h.prototype.setScrollTop=function(p){this.scrollTop!=p&&(this.skipEvent=!0,this.scrollTop=p,this.element.scrollTop=p*this.coeff)},h}(l);a.prototype.setInnerHeight=a.prototype.setScrollHeight;var r=function(u){function h(p,_){var y=u.call(this,p,"-h")||this;return y.scrollLeft=0,y.height=_.$scrollbarWidth,y.inner.style.height=y.element.style.height=(y.height||15)+5+"px",y}return E(h,u),h.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},h.prototype.getHeight=function(){return this.isVisible?this.height:0},h.prototype.setWidth=function(p){this.element.style.width=p+"px"},h.prototype.setInnerWidth=function(p){this.inner.style.width=p+"px"},h.prototype.setScrollWidth=function(p){this.inner.style.width=p+"px"},h.prototype.setScrollLeft=function(p){this.scrollLeft!=p&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=p)},h}(l);v.ScrollBar=a,v.ScrollBarV=a,v.ScrollBarH=r,v.VScrollBar=a,v.HScrollBar=r}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(t,v,C){"use strict";var E=this&&this.__extends||function(){var r=function(u,h){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,_){p.__proto__=_}||function(p,_){for(var y in _)Object.prototype.hasOwnProperty.call(_,y)&&(p[y]=_[y])})(u,h)};return function(u,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function p(){this.constructor=u}r(u,h),u.prototype=null===h?Object.create(h):(p.prototype=h.prototype,new p)}}(),c=t("./lib/oop"),b=t("./lib/dom"),s=t("./lib/event"),f=t("./lib/event_emitter").EventEmitter;b.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css",!1);var d=function(){function r(u,h){this.element=b.createElement("div"),this.element.className="ace_sb"+h,this.inner=b.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,u.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,s.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return r.prototype.setVisible=function(u){this.element.style.display=u?"":"none",this.isVisible=u,this.coeff=1},r}();c.implement(d.prototype,f);var l=function(r){function u(h,p){var _=r.call(this,h,"-v")||this;return _.scrollTop=0,_.scrollHeight=0,_.parent=h,_.width=_.VScrollWidth,_.renderer=p,_.inner.style.width=_.element.style.width=(_.width||15)+"px",_.$minWidth=0,_}return E(u,r),u.prototype.onMouseDown=function(h,p){if("mousedown"===h&&0===s.getButton(p)&&2!==p.detail){if(p.target===this.inner){var _=this,y=p.clientY,k=p.clientY,D=this.thumbTop;s.capture(this.inner,function(N){y=N.clientY},function(){clearInterval(O)});var O=setInterval(function(){if(void 0!==y){var N=_.scrollTopFromThumbTop(D+y-k);N!==_.scrollTop&&_._emit("scroll",{data:N})}},20);return s.preventDefault(p)}var T=p.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(T)}),s.preventDefault(p)}},u.prototype.getHeight=function(){return this.height},u.prototype.scrollTopFromThumbTop=function(h){var p=h*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(p>>=0)<0?p=0:p>this.pageHeight-this.viewHeight&&(p=this.pageHeight-this.viewHeight),p},u.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},u.prototype.setHeight=function(h){this.height=Math.max(0,h),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},u.prototype.setScrollHeight=function(h,p){this.pageHeight===h&&!p||(this.pageHeight=h,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},u.prototype.setScrollTop=function(h){this.scrollTop=h,h<0&&(h=0),this.thumbTop=h*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},u}(d);l.prototype.setInnerHeight=l.prototype.setScrollHeight;var a=function(r){function u(h,p){var _=r.call(this,h,"-h")||this;return _.scrollLeft=0,_.scrollWidth=0,_.height=_.HScrollHeight,_.inner.style.height=_.element.style.height=(_.height||12)+"px",_.renderer=p,_}return E(u,r),u.prototype.onMouseDown=function(h,p){if("mousedown"===h&&0===s.getButton(p)&&2!==p.detail){if(p.target===this.inner){var _=this,y=p.clientX,k=p.clientX,D=this.thumbLeft;s.capture(this.inner,function(N){y=N.clientX},function(){clearInterval(O)});var O=setInterval(function(){if(void 0!==y){var N=_.scrollLeftFromThumbLeft(D+y-k);N!==_.scrollLeft&&_._emit("scroll",{data:N})}},20);return s.preventDefault(p)}var T=p.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(T)}),s.preventDefault(p)}},u.prototype.getHeight=function(){return this.isVisible?this.height:0},u.prototype.scrollLeftFromThumbLeft=function(h){var p=h*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(p>>=0)<0?p=0:p>this.pageWidth-this.viewWidth&&(p=this.pageWidth-this.viewWidth),p},u.prototype.setWidth=function(h){this.width=Math.max(0,h),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},u.prototype.setScrollWidth=function(h,p){this.pageWidth===h&&!p||(this.pageWidth=h,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},u.prototype.setScrollLeft=function(h){this.scrollLeft=h,h<0&&(h=0),this.thumbLeft=h*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},u}(d);a.prototype.setInnerWidth=a.prototype.setScrollWidth,v.ScrollBar=l,v.ScrollBarV=l,v.ScrollBarH=a,v.VScrollBar=l,v.HScrollBar=a}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(t,v,C){"use strict";var E=t("./lib/event"),c=function(){function b(s,f){this.onRender=s,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=f||window;var d=this;this._flush=function(l){d.pending=!1;var a=d.changes;if(a&&(E.blockIdle(100),d.changes=0,d.onRender(a)),d.changes){if(d.$recursionLimit--<0)return;d.schedule()}else d.$recursionLimit=2}}return b.prototype.schedule=function(s){this.changes=this.changes|s,this.changes&&!this.pending&&(E.nextFrame(this._flush),this.pending=!0)},b.prototype.clear=function(s){var f=this.changes;return this.changes=0,f},b}();v.RenderLoop=c}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(t,v,C){var E=t("../lib/oop"),c=t("../lib/dom"),b=t("../lib/lang"),s=t("../lib/event"),f=t("../lib/useragent"),d=t("../lib/event_emitter").EventEmitter,l=512,a="function"==typeof ResizeObserver,r=200,u=function(){function h(p){this.el=c.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=c.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=c.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),p.appendChild(this.el),this.$measureNode.textContent=b.stringRepeat("X",l),this.$characterSize={width:0,height:0},a?this.$addObserver():this.checkForSizeChanges()}return h.prototype.$setMeasureNodeStyles=function(p,_){p.width=p.height="auto",p.left=p.top="0px",p.visibility="hidden",p.position="absolute",p.whiteSpace="pre",f.isIE<8?p["font-family"]="inherit":p.font="inherit",p.overflow=_?"hidden":"visible"},h.prototype.checkForSizeChanges=function(p){if(void 0===p&&(p=this.$measureSizes()),p&&(this.$characterSize.width!==p.width||this.$characterSize.height!==p.height)){this.$measureNode.style.fontWeight="bold";var _=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=p,this.charSizes=Object.create(null),this.allowBoldFonts=_&&_.width===p.width&&_.height===p.height,this._emit("changeCharacterSize",{data:p})}},h.prototype.$addObserver=function(){var p=this;this.$observer=new window.ResizeObserver(function(_){p.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},h.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var p=this;return this.$pollSizeChangesTimer=s.onIdle(function _(){p.checkForSizeChanges(),s.onIdle(_,500)},500)},h.prototype.setPolling=function(p){p?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},h.prototype.$measureSizes=function(p){var _={height:(p||this.$measureNode).clientHeight,width:(p||this.$measureNode).clientWidth/l};return 0===_.width||0===_.height?null:_},h.prototype.$measureCharWidth=function(p){return this.$main.textContent=b.stringRepeat(p,l),this.$main.getBoundingClientRect().width/l},h.prototype.getCharacterWidth=function(p){var _=this.charSizes[p];return void 0===_&&(_=this.charSizes[p]=this.$measureCharWidth(p)/this.$characterSize.width),_},h.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},h.prototype.$getZoom=function(p){return p&&p.parentElement?(window.getComputedStyle(p).zoom||1)*this.$getZoom(p.parentElement):1},h.prototype.$initTransformMeasureNodes=function(){var p=function(_,y){return["div",{style:"position: absolute;top:"+_+"px;left:"+y+"px;"}]};this.els=c.buildDom([p(0,0),p(r,0),p(0,r),p(r,r)],this.el)},h.prototype.transformCoordinates=function(p,_){function M(H,z,X){var G=H[1]*z[0]-H[0]*z[1];return[(-z[1]*X[0]+z[0]*X[1])/G,(+H[1]*X[0]-H[0]*X[1])/G]}function w(H,z){return[H[0]-z[0],H[1]-z[1]]}function k(H,z){return[H[0]+z[0],H[1]+z[1]]}function D(H,z){return[H*z[0],H*z[1]]}function I(H){var z=H.getBoundingClientRect();return[z.left,z.top]}p&&(p=D(1/this.$getZoom(this.el),p)),this.els||this.$initTransformMeasureNodes();var O=I(this.els[0]),T=I(this.els[1]),N=I(this.els[2]),S=I(this.els[3]),F=M(w(S,T),w(S,N),w(k(T,N),k(S,O))),L=D(1+F[0],w(T,O)),A=D(1+F[1],w(N,O));if(_){var U=_,K=F[0]*U[0]/r+F[1]*U[1]/r+1,ee=k(D(U[0],L),D(U[1],A));return k(D(1/K/r,ee),O)}var ne=w(p,O),B=M(w(L,D(F[0],ne)),w(A,D(F[1],ne)),ne);return D(r,B)},h}();u.prototype.$characterSize={width:0,height:0},E.implement(u.prototype,d),v.FontMetrics=u}),ace.define("ace/css/editor-css",["require","exports","module"],function(t,v,C){C.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n overflow: auto;\n max-width: min(60em, 66vw);\n overscroll-behavior: contain;\n}\n.ace_tooltip pre {\n white-space: pre-wrap;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n white-space: pre;\n}\n\n.ace_screenreader-only {\n position:absolute;\n left:-10000px;\n top:auto;\n width:1px;\n height:1px;\n overflow:hidden;\n}'}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(t,v,C){"use strict";var E=t("../lib/dom"),c=t("../lib/oop"),b=t("../lib/event_emitter").EventEmitter,s=function(){function f(d,l){this.canvas=E.createElement("canvas"),this.renderer=l,this.pixelRatio=1,this.maxHeight=l.layerConfig.maxHeight,this.lineHeight=l.layerConfig.lineHeight,this.canvasHeight=d.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=d.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},d.element.appendChild(this.canvas)}return f.prototype.$updateDecorators=function(d){var l=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;d&&(this.maxHeight=d.maxHeight,this.lineHeight=d.lineHeight,this.canvasHeight=d.height,this.heightRatio=(d.lastRow+1)*this.lineHeightF.priority?1:0});for(var _=this.renderer.session.$foldData,y=0;ythis.canvasHeight&&(T=this.canvasHeight-this.halfMinDecorationHeight),D=Math.round(T-this.halfMinDecorationHeight),I=Math.round(T+this.halfMinDecorationHeight)}r.fillStyle=l[h[y].type]||null,r.fillRect(0,k,this.canvasWidth,I-D)}}var N=this.renderer.session.selection.getCursor();N&&(w=this.compensateFoldRows(N.row,_),k=Math.round((N.row-w)*this.lineHeight*this.heightRatio),r.fillStyle="rgba(0, 0, 0, 0.5)",r.fillRect(0,k,this.canvasWidth,2))},f.prototype.compensateFoldRows=function(d,l){var a=0;if(l&&l.length>0)for(var r=0;rl[r].start.row&&d=l[r].end.row&&(a+=l[r].end.row-l[r].start.row);return a},f}();c.implement(s.prototype,b),v.Decorator=s}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],function(t,v,C){"use strict";var E=t("./lib/oop"),c=t("./lib/dom"),b=t("./lib/lang"),s=t("./config"),f=t("./layer/gutter").Gutter,d=t("./layer/marker").Marker,l=t("./layer/text").Text,a=t("./layer/cursor").Cursor,r=t("./scrollbar").HScrollBar,u=t("./scrollbar").VScrollBar,h=t("./scrollbar_custom").HScrollBar,p=t("./scrollbar_custom").VScrollBar,_=t("./renderloop").RenderLoop,y=t("./layer/font_metrics").FontMetrics,M=t("./lib/event_emitter").EventEmitter,w=t("./css/editor-css"),k=t("./layer/decorators").Decorator,D=t("./lib/useragent");c.importCssString(w,"ace_editor.css",!1);var I=function(){function O(T,N){var S=this;this.container=T||c.createElement("div"),c.addCssClass(this.container,"ace_editor"),c.HI_DPI&&c.addCssClass(this.container,"ace_hidpi"),this.setTheme(N),null==s.get("useStrictCSP")&&s.set("useStrictCSP",!1),this.$gutter=c.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=c.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=c.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new f(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new d(this.content);var F=this.$textLayer=new l(this.content);this.canvas=F.element,this.$markerFront=new d(this.content),this.$cursorLayer=new a(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new u(this.container,this),this.scrollBarH=new r(this.container,this),this.scrollBarV.on("scroll",function(L){S.$scrollAnimation||S.session.setScrollTop(L.data-S.scrollMargin.top)}),this.scrollBarH.on("scroll",function(L){S.$scrollAnimation||S.session.setScrollLeft(L.data-S.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new y(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(L){S.updateCharacterSize(),S.onResize(!0,S.gutterWidth,S.$size.width,S.$size.height),S._signal("changeCharacterSize",L)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!D.isIOS,this.$loop=new _(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),s.resetOptions(this),s._signal("renderer",this)}return O.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),c.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},O.prototype.setSession=function(T){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=T,T&&this.scrollMargin.top&&T.getScrollTop()<=0&&T.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(T),this.$markerBack.setSession(T),this.$markerFront.setSession(T),this.$gutterLayer.setSession(T),this.$textLayer.setSession(T),T&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},O.prototype.updateLines=function(T,N,S){if(void 0===N&&(N=1/0),this.$changedLines?(this.$changedLines.firstRow>T&&(this.$changedLines.firstRow=T),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},O.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},O.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},O.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},O.prototype.updateFull=function(T){T?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},O.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},O.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},O.prototype.onResize=function(T,N,S,F){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=T?1:0;var L=this.container;F||(F=L.clientHeight||L.scrollHeight),S||(S=L.clientWidth||L.scrollWidth);var A=this.$updateCachedSize(T,N,S,F);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!S&&!F)return this.resizing=0;T&&(this.$gutterLayer.$padding=null),T?this.$renderChanges(A|this.$changes,!0):this.$loop.schedule(A|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},O.prototype.$updateCachedSize=function(T,N,S,F){var L=0,A=this.$size,U={width:A.width,height:A.height,scrollerHeight:A.scrollerHeight,scrollerWidth:A.scrollerWidth};if((F-=this.$extraHeight||0)&&(T||A.height!=F)&&(A.height=F,L|=this.CHANGE_SIZE,A.scrollerHeight=A.height,this.$horizScroll&&(A.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(A.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",L|=this.CHANGE_SCROLL),S&&(T||A.width!=S)){L|=this.CHANGE_SIZE,A.width=S,null==N&&(N=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=N,c.setStyle(this.scrollBarH.element.style,"left",N+"px"),c.setStyle(this.scroller.style,"left",N+this.margin.left+"px"),A.scrollerWidth=Math.max(0,S-N-this.scrollBarV.getWidth()-this.margin.h),c.setStyle(this.$gutter.style,"left",this.margin.left+"px");var K=this.scrollBarV.getWidth()+"px";c.setStyle(this.scrollBarH.element.style,"right",K),c.setStyle(this.scroller.style,"right",K),c.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(A.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||T)&&(L|=this.CHANGE_FULL)}return A.$dirty=!S||!F,L&&this._signal("resize",U),L},O.prototype.onGutterResize=function(T){var N=this.$showGutter?T:0;N!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,N,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},O.prototype.adjustWrapLimit=function(){var N=Math.floor((this.$size.scrollerWidth-2*this.$padding)/this.characterWidth);return this.session.adjustWrapLimit(N,this.$showPrintMargin&&this.$printMarginColumn)},O.prototype.setAnimatedScroll=function(T){this.setOption("animatedScroll",T)},O.prototype.getAnimatedScroll=function(){return this.$animatedScroll},O.prototype.setShowInvisibles=function(T){this.setOption("showInvisibles",T),this.session.$bidiHandler.setShowInvisibles(T)},O.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},O.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},O.prototype.setDisplayIndentGuides=function(T){this.setOption("displayIndentGuides",T)},O.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},O.prototype.setHighlightIndentGuides=function(T){this.setOption("highlightIndentGuides",T)},O.prototype.setShowPrintMargin=function(T){this.setOption("showPrintMargin",T)},O.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},O.prototype.setPrintMarginColumn=function(T){this.setOption("printMarginColumn",T)},O.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},O.prototype.getShowGutter=function(){return this.getOption("showGutter")},O.prototype.setShowGutter=function(T){return this.setOption("showGutter",T)},O.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},O.prototype.setFadeFoldWidgets=function(T){this.setOption("fadeFoldWidgets",T)},O.prototype.setHighlightGutterLine=function(T){this.setOption("highlightGutterLine",T)},O.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},O.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var T=c.createElement("div");T.className="ace_layer ace_print-margin-layer",this.$printMarginEl=c.createElement("div"),this.$printMarginEl.className="ace_print-margin",T.appendChild(this.$printMarginEl),this.content.insertBefore(T,this.content.firstChild)}var N=this.$printMarginEl.style;N.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",N.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},O.prototype.getContainerElement=function(){return this.container},O.prototype.getMouseEventTarget=function(){return this.scroller},O.prototype.getTextAreaContainer=function(){return this.container},O.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var T=this.textarea.style,N=this.$composition;if(!this.$keepTextAreaAtCursor&&!N)return void c.translate(this.textarea,-100,0);var S=this.$cursorLayer.$pixelPos;if(S){N&&N.markerRange&&(S=this.$cursorLayer.getPixelPosition(N.markerRange.start,!0));var F=this.layerConfig,L=S.top,A=S.left,U=N&&N.useTextareaForIME||D.isMobile?this.lineHeight:1;if((L-=F.offset)<0||L>F.height-U)return void c.translate(this.textarea,0,0);var K=1,ee=this.$size.height-U;N?N.useTextareaForIME?K=this.characterWidth*this.session.$getStringScreenWidth(this.textarea.value)[0]:L+=this.lineHeight+2:L+=this.lineHeight,(A-=this.scrollLeft)>this.$size.scrollerWidth-K&&(A=this.$size.scrollerWidth-K),A+=this.gutterWidth+this.margin.left,c.setStyle(T,"height",U+"px"),c.setStyle(T,"width",K+"px"),c.translate(this.textarea,Math.min(A,this.$size.scrollerWidth-K),Math.min(L,ee))}}},O.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},O.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},O.prototype.getLastFullyVisibleRow=function(){var T=this.layerConfig,N=T.lastRow;return this.session.documentToScreenRow(N,0)*T.lineHeight-this.session.getScrollTop()>T.height-T.lineHeight?N-1:N},O.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},O.prototype.setPadding=function(T){this.$padding=T,this.$textLayer.setPadding(T),this.$cursorLayer.setPadding(T),this.$markerFront.setPadding(T),this.$markerBack.setPadding(T),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},O.prototype.setScrollMargin=function(T,N,S,F){var L=this.scrollMargin;L.top=0|T,L.bottom=0|N,L.right=0|F,L.left=0|S,L.v=L.top+L.bottom,L.h=L.left+L.right,L.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-L.top),this.updateFull()},O.prototype.setMargin=function(T,N,S,F){var L=this.margin;L.top=0|T,L.bottom=0|N,L.right=0|F,L.left=0|S,L.v=L.top+L.bottom,L.h=L.left+L.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},O.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},O.prototype.setHScrollBarAlwaysVisible=function(T){this.setOption("hScrollBarAlwaysVisible",T)},O.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},O.prototype.setVScrollBarAlwaysVisible=function(T){this.setOption("vScrollBarAlwaysVisible",T)},O.prototype.$updateScrollBarV=function(){var T=this.layerConfig.maxHeight,N=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>(T-=(N-this.lineHeight)*this.$scrollPastEnd)-N&&(T=this.scrollTop+N,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(T+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},O.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},O.prototype.freeze=function(){this.$frozen=!0},O.prototype.unfreeze=function(){this.$frozen=!1},O.prototype.$renderChanges=function(T,N){if(this.$changes&&(T|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(T||N)){if(this.$size.$dirty)return this.$changes|=T,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",T),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var S=this.layerConfig;if(T&this.CHANGE_FULL||T&this.CHANGE_SIZE||T&this.CHANGE_TEXT||T&this.CHANGE_LINES||T&this.CHANGE_SCROLL||T&this.CHANGE_H_SCROLL){if(T|=this.$computeLayerConfig()|this.$loop.clear(),S.firstRow!=this.layerConfig.firstRow&&S.firstRowScreen==this.layerConfig.firstRowScreen){var F=this.scrollTop+(S.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;F>0&&(this.scrollTop=F,T|=this.CHANGE_SCROLL,T|=this.$computeLayerConfig()|this.$loop.clear())}S=this.layerConfig,this.$updateScrollBarV(),T&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),c.translate(this.content,-this.scrollLeft,-S.offset);var A=S.minHeight+"px";c.setStyle(this.content.style,"width",S.width+2*this.$padding+"px"),c.setStyle(this.content.style,"height",A)}return T&this.CHANGE_H_SCROLL&&(c.translate(this.content,-this.scrollLeft,-S.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),T&this.CHANGE_FULL?(this.$changedLines=null,this.$textLayer.update(S),this.$showGutter&&this.$gutterLayer.update(S),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(S),this.$markerBack.update(S),this.$markerFront.update(S),this.$cursorLayer.update(S),this.$moveTextAreaToCursor(),void this._signal("afterRender",T)):T&this.CHANGE_SCROLL?(this.$changedLines=null,T&this.CHANGE_TEXT||T&this.CHANGE_LINES?this.$textLayer.update(S):this.$textLayer.scrollLines(S),this.$showGutter&&(T&this.CHANGE_GUTTER||T&this.CHANGE_LINES?this.$gutterLayer.update(S):this.$gutterLayer.scrollLines(S)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(S),this.$markerBack.update(S),this.$markerFront.update(S),this.$cursorLayer.update(S),this.$moveTextAreaToCursor(),void this._signal("afterRender",T)):(T&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(S),this.$showGutter&&this.$gutterLayer.update(S),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(S)):T&this.CHANGE_LINES?((this.$updateLines()||T&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(S),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(S)):T&this.CHANGE_TEXT||T&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(S),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(S)):T&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(S),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(S)),T&this.CHANGE_CURSOR&&(this.$cursorLayer.update(S),this.$moveTextAreaToCursor()),T&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(S),T&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(S),void this._signal("afterRender",T))}this.$changes|=T},O.prototype.$autosize=function(){var T=this.session.getScreenLength()*this.lineHeight,N=this.$maxLines*this.lineHeight,S=Math.min(N,Math.max((this.$minLines||1)*this.lineHeight,T))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(S+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&S>this.$maxPixelHeight&&(S=this.$maxPixelHeight);var L=!(S<=2*this.lineHeight)&&T>N;if(S!=this.desiredHeight||this.$size.height!=this.desiredHeight||L!=this.$vScroll){L!=this.$vScroll&&(this.$vScroll=L,this.scrollBarV.setVisible(L));var A=this.container.clientWidth;this.container.style.height=S+"px",this.$updateCachedSize(!0,this.$gutterWidth,A,S),this.desiredHeight=S,this._signal("autosize")}},O.prototype.$computeLayerConfig=function(){var T=this.session,N=this.$size,S=N.height<=2*this.lineHeight,L=this.session.getScreenLength()*this.lineHeight,A=this.$getLongestLine(),U=!S&&(this.$hScrollBarAlwaysVisible||N.scrollerWidth-A-2*this.$padding<0),K=this.$horizScroll!==U;K&&(this.$horizScroll=U,this.scrollBarH.setVisible(U));var ee=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var ne=N.scrollerHeight+this.lineHeight,B=!this.$maxLines&&this.$scrollPastEnd?(N.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;L+=B;var H=this.scrollMargin;this.session.setScrollTop(Math.max(-H.top,Math.min(this.scrollTop,L-N.scrollerHeight+H.bottom))),this.session.setScrollLeft(Math.max(-H.left,Math.min(this.scrollLeft,A+2*this.$padding-N.scrollerWidth+H.right)));var z=!S&&(this.$vScrollBarAlwaysVisible||N.scrollerHeight-L+B<0||this.scrollTop>H.top),X=ee!==z;X&&(this.$vScroll=z,this.scrollBarV.setVisible(z));var ve,Je,G=this.scrollTop%this.lineHeight,j=Math.ceil(ne/this.lineHeight)-1,le=Math.max(0,Math.round((this.scrollTop-G)/this.lineHeight)),ue=le+j,_t=this.lineHeight;le=T.screenToDocumentRow(le,0);var ct=T.getFoldLine(le);ct&&(le=ct.start.row),ve=T.documentToScreenRow(le,0),Je=T.getRowLength(le)*_t,ue=Math.min(T.screenToDocumentRow(ue,0),T.getLength()-1),ne=N.scrollerHeight+T.getRowLength(ue)*_t+Je,G=this.scrollTop-ve*_t;var Ct=0;return(this.layerConfig.width!=A||K)&&(Ct=this.CHANGE_H_SCROLL),(K||X)&&(Ct|=this.$updateCachedSize(!0,this.gutterWidth,N.width,N.height),this._signal("scrollbarVisibilityChanged"),X&&(A=this.$getLongestLine())),this.layerConfig={width:A,padding:this.$padding,firstRow:le,firstRowScreen:ve,lastRow:ue,lineHeight:_t,characterWidth:this.characterWidth,minHeight:ne,maxHeight:L,offset:G,gutterOffset:_t?Math.max(0,Math.ceil((G+N.height-N.scrollerHeight)/_t)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(A-this.$padding),Ct},O.prototype.$updateLines=function(){if(this.$changedLines){var T=this.$changedLines.firstRow,N=this.$changedLines.lastRow;this.$changedLines=null;var S=this.layerConfig;if(!(T>S.lastRow+1||Nthis.$textLayer.MAX_LINE_LENGTH&&(T=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(T*this.characterWidth))},O.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},O.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},O.prototype.addGutterDecoration=function(T,N){this.$gutterLayer.addGutterDecoration(T,N)},O.prototype.removeGutterDecoration=function(T,N){this.$gutterLayer.removeGutterDecoration(T,N)},O.prototype.updateBreakpoints=function(T){this._rows=T,this.$loop.schedule(this.CHANGE_GUTTER)},O.prototype.setAnnotations=function(T){this.$gutterLayer.setAnnotations(T),this.$loop.schedule(this.CHANGE_GUTTER)},O.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},O.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},O.prototype.showCursor=function(){this.$cursorLayer.showCursor()},O.prototype.scrollSelectionIntoView=function(T,N,S){this.scrollCursorIntoView(T,S),this.scrollCursorIntoView(N,S)},O.prototype.scrollCursorIntoView=function(T,N,S){if(0!==this.$size.scrollerHeight){var F=this.$cursorLayer.getPixelPosition(T),L=F.left,A=F.top,U=S&&S.top||0,K=S&&S.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var ee=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;ee+U>A?(N&&ee+U>A+this.lineHeight&&(A-=N*this.$size.scrollerHeight),0===A&&(A=-this.scrollMargin.top),this.session.setScrollTop(A)):ee+this.$size.scrollerHeight-K=1-this.scrollMargin.top||N>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||T<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||T>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},O.prototype.pixelToScreenCoordinates=function(T,N){var S;if(this.$hasCssTransforms){S={top:0,left:0};var F=this.$fontMetrics.transformCoordinates([T,N]);T=F[1]-this.gutterWidth-this.margin.left,N=F[0]}else S=this.scroller.getBoundingClientRect();var L=T+this.scrollLeft-S.left-this.$padding,A=L/this.characterWidth,U=Math.floor((N+this.scrollTop-S.top)/this.lineHeight),K=this.$blockCursor?Math.floor(A):Math.round(A);return{row:U,column:K,side:A-K>0?1:-1,offsetX:L}},O.prototype.screenToTextCoordinates=function(T,N){var S;if(this.$hasCssTransforms){S={top:0,left:0};var F=this.$fontMetrics.transformCoordinates([T,N]);T=F[1]-this.gutterWidth-this.margin.left,N=F[0]}else S=this.scroller.getBoundingClientRect();var L=T+this.scrollLeft-S.left-this.$padding,A=L/this.characterWidth,U=this.$blockCursor?Math.floor(A):Math.round(A),K=Math.floor((N+this.scrollTop-S.top)/this.lineHeight);return this.session.screenToDocumentPosition(K,Math.max(U,0),L)},O.prototype.textToScreenCoordinates=function(T,N){var S=this.scroller.getBoundingClientRect(),F=this.session.documentToScreenPosition(T,N),L=this.$padding+(this.session.$bidiHandler.isBidiRow(F.row,T)?this.session.$bidiHandler.getPosLeft(F.column):Math.round(F.column*this.characterWidth));return{pageX:S.left+L-this.scrollLeft,pageY:S.top+F.row*this.lineHeight-this.scrollTop}},O.prototype.visualizeFocus=function(){c.addCssClass(this.container,"ace_focus")},O.prototype.visualizeBlur=function(){c.removeCssClass(this.container,"ace_focus")},O.prototype.showComposition=function(T){this.$composition=T,T.cssText||(T.cssText=this.textarea.style.cssText),null==T.useTextareaForIME&&(T.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(c.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):T.markerId=this.session.addMarker(T.markerRange,"ace_composition_marker","text")},O.prototype.setCompositionText=function(T){var N=this.session.selection.cursor;this.addToken(T,"composition_placeholder",N.row,N.column),this.$moveTextAreaToCursor()},O.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),c.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var T=this.session.selection.cursor;this.removeExtraToken(T.row,T.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},O.prototype.setGhostText=function(T,N){var S=this.session.selection.cursor,F=N||{row:S.row,column:S.column};this.removeGhostText();var L=T.split("\n");if(this.addToken(L[0],"ghost_text",F.row,F.column),this.$ghostText={text:T,position:{row:F.row,column:F.column}},L.length>1){this.$ghostTextWidget={text:L.slice(1).join("\n"),row:F.row,column:F.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var A=this.$cursorLayer.getPixelPosition(F,!0),K=this.container.getBoundingClientRect().height,ee=L.length*this.lineHeight;if(ee1||Math.abs(T.$size.height-F)>1?T.$resizeTimer.delay():T.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},O}();I.prototype.CHANGE_CURSOR=1,I.prototype.CHANGE_MARKER=2,I.prototype.CHANGE_GUTTER=4,I.prototype.CHANGE_SCROLL=8,I.prototype.CHANGE_LINES=16,I.prototype.CHANGE_TEXT=32,I.prototype.CHANGE_SIZE=64,I.prototype.CHANGE_MARKER_BACK=128,I.prototype.CHANGE_MARKER_FRONT=256,I.prototype.CHANGE_FULL=512,I.prototype.CHANGE_H_SCROLL=1024,I.prototype.$changes=0,I.prototype.$padding=null,I.prototype.$frozen=!1,I.prototype.STEPS=8,E.implement(I.prototype,M),s.defineOptions(I.prototype,"renderer",{useResizeObserver:{set:function(O){!O&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):O&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(O){this.$textLayer.setShowInvisibles(O)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(O){"number"==typeof O&&(this.$printMarginColumn=O),this.$showPrintMargin=!!O,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(O){this.$gutter.style.display=O?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(O){this.$gutterLayer.$useSvgGutterIcons=O},initialValue:!1},showFoldedAnnotations:{set:function(O){this.$gutterLayer.$showFoldedAnnotations=O},initialValue:!1},fadeFoldWidgets:{set:function(O){c.setCssClass(this.$gutter,"ace_fade-fold-widgets",O)},initialValue:!1},showFoldWidgets:{set:function(O){this.$gutterLayer.setShowFoldWidgets(O),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(O){this.$textLayer.setDisplayIndentGuides(O)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(O){1==this.$textLayer.setHighlightIndentGuides(O)?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(O){this.$gutterLayer.setHighlightGutterLine(O),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(O){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(O){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(O){"number"==typeof O&&(O+="px"),this.container.style.fontSize=O,this.updateFontSize()},initialValue:12},fontFamily:{set:function(O){this.container.style.fontFamily=O,this.updateFontSize()}},maxLines:{set:function(O){this.updateFull()}},minLines:{set:function(O){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(O){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(O){this.$scrollPastEnd!=(O=+O||0)&&(this.$scrollPastEnd=O,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(O){this.$gutterLayer.$fixedWidth=!!O,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(O){this.$updateCustomScrollbar(O)},initialValue:!1},theme:{set:function(O){this.setTheme(O)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!D.isMobile&&!D.isIE}}),v.VirtualRenderer=I}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(t,v,C){"use strict";var E=t("../lib/oop"),c=t("../lib/net"),b=t("../lib/event_emitter").EventEmitter,s=t("../config");function d(r){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(s.get("loadWorkerFromBlob")){var u=function f(r){var u="importScripts('"+c.qualifyURL(r)+"');";try{return new Blob([u],{type:"application/javascript"})}catch{var p=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return p.append(u),p.getBlob("application/javascript")}}(r),p=(window.URL||window.webkitURL).createObjectURL(u);return new Worker(p)}return new Worker(r)}var l=function(r){r.postMessage||(r=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=r,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){E.implement(this,b),this.$createWorkerFromOldConfig=function(r,u,h,p,_){if(t.nameToUrl&&!t.toUrl&&(t.toUrl=t.nameToUrl),s.get("packaged")||!t.toUrl)p=p||s.moduleUrl(u,"worker");else{var y=this.$normalizePath;p=p||y(t.toUrl("ace/worker/worker.js",null,"_"));var M={};r.forEach(function(w){M[w]=y(t.toUrl(w,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=d(p),_&&this.send("importScripts",_),this.$worker.postMessage({init:!0,tlns:M,module:u,classname:h}),this.$worker},this.onMessage=function(r){var u=r.data;switch(u.type){case"event":this._signal(u.name,{data:u.data});break;case"call":var h=this.callbacks[u.id];h&&(h(u.data),delete this.callbacks[u.id]);break;case"error":this.reportError(u.data);break;case"log":window.console&&console.log&&console.log.apply(console,u.data)}},this.reportError=function(r){window.console&&console.error&&console.error(r)},this.$normalizePath=function(r){return c.qualifyURL(r)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(r){r.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(r,u){this.$worker.postMessage({command:r,args:u})},this.call=function(r,u,h){if(h){var p=this.callbackId++;this.callbacks[p]=h,u.push(p)}this.send(r,u)},this.emit=function(r,u){try{u.data&&u.data.err&&(u.data.err={message:u.data.err.message,stack:u.data.err.stack,code:u.data.err.code}),this.$worker&&this.$worker.postMessage({event:r,data:{data:u.data}})}catch(h){console.error(h.stack)}},this.attachToDocument=function(r){this.$doc&&this.terminate(),this.$doc=r,this.call("setValue",[r.getValue()]),r.on("change",this.changeListener,!0)},this.changeListener=function(r){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),this.deltaQueue.push(r.start,"insert"==r.action?r.lines:r.end)},this.$sendDeltaQueue=function(){var r=this.deltaQueue;r&&(this.deltaQueue=null,r.length>50&&r.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:r}))}}).call(l.prototype),v.UIWorkerClient=function(r,u,h){var p=null,_=!1,y=Object.create(b),M=[],w=new l({messageBuffer:M,terminate:function(){},postMessage:function(D){M.push(D),p&&(_?setTimeout(k):k())}});w.setEmitSync=function(D){_=D};var k=function(){var D=M.shift();D.command?p[D.command].apply(p,D.args):D.event&&y._signal(D.event,D.data)};return y.postMessage=function(D){w.onMessage({data:D})},y.callback=function(D,I){this.postMessage({type:"call",id:I,data:D})},y.emit=function(D,I){this.postMessage({type:"event",name:D,data:I})},s.loadModule(["worker",u],function(D){for(p=new D[h](y);M.length;)k()}),w},v.WorkerClient=l,v.createWorker=d}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(t,v,C){"use strict";var E=t("./range").Range,c=t("./lib/event_emitter").EventEmitter,b=t("./lib/oop"),s=function(){function f(d,l,a,r,u,h){var p=this;this.length=l,this.session=d,this.doc=d.getDocument(),this.mainClass=u,this.othersClass=h,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=r,this.$onCursorChange=function(){setTimeout(function(){p.onCursorChange()})},this.$pos=a;var _=d.getUndoManager().$undoStack||d.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=_.length,this.setup(),d.selection.on("changeCursor",this.$onCursorChange)}return f.prototype.setup=function(){var d=this,l=this.doc,a=this.session;this.selectionBefore=a.selection.toJSON(),a.selection.inMultiSelectMode&&a.selection.toSingleRange(),this.pos=l.createAnchor(this.$pos.row,this.$pos.column);var r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=a.addMarker(new E(r.row,r.column,r.row,r.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(u){var h=l.createAnchor(u.row,u.column);h.$insertRight=!0,h.detach(),d.others.push(h)}),a.setUndoSelect(!1)},f.prototype.showOtherMarkers=function(){if(!this.othersActive){var d=this.session,l=this;this.othersActive=!0,this.others.forEach(function(a){a.markerId=d.addMarker(new E(a.row,a.column,a.row,a.column+l.length),l.othersClass,null,!1)})}},f.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var d=0;d=this.pos.column&&l.start.column<=this.pos.column+this.length+1,u=l.start.column-this.pos.column;if(this.updateAnchors(d),r&&(this.length+=a),r&&!this.session.$fromUndo)if("insert"===d.action)for(var h=this.others.length-1;h>=0;h--)this.doc.insertMergedLines(_={row:(p=this.others[h]).row,column:p.column+u},d.lines);else if("remove"===d.action)for(h=this.others.length-1;h>=0;h--){var p,_;this.doc.remove(new E((_={row:(p=this.others[h]).row,column:p.column+u}).row,_.column,_.row,_.column-a))}this.$updating=!1,this.updateMarkers()}},f.prototype.updateAnchors=function(d){this.pos.onChange(d);for(var l=this.others.length;l--;)this.others[l].onChange(d);this.updateMarkers()},f.prototype.updateMarkers=function(){if(!this.$updating){var d=this,l=this.session,a=function(u,h){l.removeMarker(u.markerId),u.markerId=l.addMarker(new E(u.row,u.column,u.row,u.column+d.length),h,null,!1)};a(this.pos,this.mainClass);for(var r=this.others.length;r--;)a(this.others[r],this.othersClass)}},f.prototype.onCursorChange=function(d){if(!this.$updating&&this.session){var l=this.session.selection.getCursor();l.row===this.pos.row&&l.column>=this.pos.column&&l.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",d)):(this.hideOtherMarkers(),this._emit("cursorLeave",d))}},f.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},f.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var d=this.session.getUndoManager(),l=(d.$undoStack||d.$undostack).length-this.$undoStackDepth,a=0;a1?c.multiSelect.joinSelections():c.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(c){c.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(c){c.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(c){c.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],v.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(c){c.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(c){return c&&c.inMultiSelectMode}}];var E=t("../keyboard/hash_handler").HashHandler;v.keyboardHandler=new E(v.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(t,v,C){var E=t("./range_list").RangeList,c=t("./range").Range,b=t("./selection").Selection,s=t("./mouse/multi_select_handler").onMouseDown,f=t("./lib/event"),d=t("./lib/lang"),l=t("./commands/multi_select_commands");v.commands=l.defaultCommands.concat(l.multiSelectCommands);var r=new(0,t("./search").Search),h=t("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(h.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(w,k){if(w){if(!this.inMultiSelectMode&&0===this.rangeCount){var D=this.toOrientedRange();if(this.rangeList.add(D),this.rangeList.add(w),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),k||this.fromOrientedRange(w);this.rangeList.removeAll(),this.rangeList.add(D),this.$onAddRange(D)}w.cursor||(w.cursor=w.end);var I=this.rangeList.add(w);return this.$onAddRange(w),I.length&&this.$onRemoveRange(I),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),k||this.fromOrientedRange(w)}},this.toSingleRange=function(w){w=w||this.ranges[0];var k=this.rangeList.removeAll();k.length&&this.$onRemoveRange(k),w&&this.fromOrientedRange(w)},this.substractPoint=function(w){var k=this.rangeList.substractPoint(w);if(k)return this.$onRemoveRange(k),k[0]},this.mergeOverlappingRanges=function(){var w=this.rangeList.merge();w.length&&this.$onRemoveRange(w)},this.$onAddRange=function(w){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(w),this._signal("addRange",{range:w})},this.$onRemoveRange=function(w){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var k=this.rangeList.ranges.pop();w.push(k),this.rangeCount=0}for(var D=w.length;D--;){var I=this.ranges.indexOf(w[D]);this.ranges.splice(I,1)}this._signal("removeRange",{ranges:w}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(k=k||this.ranges[0])&&!k.isEqual(this.getRange())&&this.fromOrientedRange(k)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new E,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var w=this.ranges.length?this.ranges:[this.getRange()],k=[],D=0;D1){var w=this.rangeList.ranges,k=w[w.length-1],D=c.fromPoints(w[0].start,k.end);this.toSingleRange(),this.setSelectionRange(D,k.cursor==k.start)}else{var I=this.session.documentToScreenPosition(this.cursor),O=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(I,O).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(w,k,D){var I=[],O=w.column0;)B--;if(B>0)for(var H=0;I[H].isEmpty();)H++;for(var z=B;z>=H;z--)I[z].isEmpty()&&I.splice(z,1)}return I}}.call(b.prototype);var p=t("./editor").Editor;function _(w,k){return w.row==k.row&&w.column==k.column}function y(w){w.$multiselectOnSessionChange||(w.$onAddRange=w.$onAddRange.bind(w),w.$onRemoveRange=w.$onRemoveRange.bind(w),w.$onMultiSelect=w.$onMultiSelect.bind(w),w.$onSingleSelect=w.$onSingleSelect.bind(w),w.$multiselectOnSessionChange=v.onSessionChange.bind(w),w.$checkMultiselectChange=w.$checkMultiselectChange.bind(w),w.$multiselectOnSessionChange(w),w.on("changeSession",w.$multiselectOnSessionChange),w.on("mousedown",s),w.commands.addCommands(l.defaultCommands),function M(w){if(w.textInput){var k=w.textInput.getElement(),D=!1;f.addListener(k,"keydown",function(O){w.$blockSelectEnabled&&18==O.keyCode&&!(O.ctrlKey||O.shiftKey||O.metaKey)?D||(w.renderer.setMouseCursor("crosshair"),D=!0):D&&I()},w),f.addListener(k,"keyup",I,w),f.addListener(k,"blur",I,w)}function I(O){D&&(w.renderer.setMouseCursor(""),D=!1)}}(w))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(w){w.cursor||(w.cursor=w.end);var k=this.getSelectionStyle();return w.marker=this.session.addMarker(w,"ace_selection",k),this.session.$selectionMarkers.push(w),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,w},this.removeSelectionMarker=function(w){if(w.marker){this.session.removeMarker(w.marker);var k=this.session.$selectionMarkers.indexOf(w);-1!=k&&this.session.$selectionMarkers.splice(k,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(w){for(var k=this.session.$selectionMarkers,D=w.length;D--;){var I=w[D];if(I.marker){this.session.removeMarker(I.marker);var O=k.indexOf(I);-1!=O&&k.splice(O,1)}}this.session.selectionMarkerCount=k.length},this.$onAddRange=function(w){this.addSelectionMarker(w.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(w){this.removeSelectionMarkers(w.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(w){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(l.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(w){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(l.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(w){var k=w.command,D=w.editor;if(D.multiSelect){if(k.multiSelectAction)"forEach"==k.multiSelectAction?I=D.forEachSelection(k,w.args):"forEachLine"==k.multiSelectAction?I=D.forEachSelection(k,w.args,!0):"single"==k.multiSelectAction?(D.exitMultiSelectMode(),I=k.exec(D,w.args||{})):I=k.multiSelectAction(D,w.args||{});else{var I=k.exec(D,w.args||{});D.multiSelect.addRange(D.multiSelect.toOrientedRange()),D.multiSelect.mergeOverlappingRanges()}return I}},this.forEachSelection=function(w,k,D){if(!this.inVirtualSelectionMode){var L,O=1==D||D&&D.$byLines,T=this.session,N=this.selection,F=(D&&D.keepOrder?N:N.rangeList).ranges;if(!F.length)return w.exec?w.exec(this,k||{}):w(this,k||{});var A=N._eventRegistry;N._eventRegistry={};var U=new b(T);this.inVirtualSelectionMode=!0;for(var K=F.length;K--;){if(O)for(;K>0&&F[K].start.row==F[K-1].end.row;)K--;U.fromOrientedRange(F[K]),U.index=K,this.selection=T.selection=U;var ee=w.exec?w.exec(this,k||{}):w(this,k||{});!L&&void 0!==ee&&(L=ee),U.toOrientedRange(F[K])}U.detach(),this.selection=T.selection=N,this.inVirtualSelectionMode=!1,N._eventRegistry=A,N.mergeOverlappingRanges(),N.ranges[0]&&N.fromOrientedRange(N.ranges[0]);var ne=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),ne&&ne.from==ne.to&&this.renderer.animateScrolling(ne.from),L}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var w="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var k=this.multiSelect.rangeList.ranges,D=[],I=0;IK&&(K=H.column),XG?w.insert(z,d.stringRepeat(" ",X-G)):w.remove(new c(z.row,z.column,z.row,z.column-X+G)),B.start.column=B.end.column=K,B.start.row=B.end.row=z.row,B.cursor=B.end}),k.fromOrientedRange(D[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var T=this.selection.getRange(),N=T.start.row,S=T.end.row,F=N==S;if(F){var A,L=this.session.getLength();do{A=this.session.getLine(S)}while(/[=:]/.test(A)&&++S0);N<0&&(N=0),S>=L&&(S=L-1)}var U=this.session.removeFullLines(N,S);U=this.$reAlignText(U,F),this.session.insert({row:N,column:0},U.join("\n")+"\n"),F||(T.start.column=0,T.end.column=U[U.length-1].length),this.selection.setRange(T)}},this.$reAlignText=function(w,k){var O,T,N,D=!0,I=!0;return w.map(function(U){var K=U.match(/(\s*)(.*?)(\s*)([=:].*)/);return K?null==O?(O=K[1].length,T=K[2].length,N=K[3].length,K):(O+T+N!=K[1].length+K[2].length+K[3].length&&(I=!1),O!=K[1].length&&(D=!1),O>K[1].length&&(O=K[1].length),TK[3].length&&(N=K[3].length),K):[U]}).map(k?F:D?I?function L(U){return U[2]?S(O+T-U[2].length)+U[2]+S(N)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]}:F:function A(U){return U[2]?S(O)+U[2]+S(N)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]});function S(U){return d.stringRepeat(" ",U)}function F(U){return U[2]?S(O)+U[2]+S(T-U[2].length+N)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]}}}).call(p.prototype),v.onSessionChange=function(w){var k=w.session;k&&!k.multiSelect&&(k.$selectionMarkers=[],k.selection.$initRangeList(),k.multiSelect=k.selection),this.multiSelect=k&&k.multiSelect;var D=w.oldSession;D&&(D.multiSelect.off("addRange",this.$onAddRange),D.multiSelect.off("removeRange",this.$onRemoveRange),D.multiSelect.off("multiSelect",this.$onMultiSelect),D.multiSelect.off("singleSelect",this.$onSingleSelect),D.multiSelect.lead.off("change",this.$checkMultiselectChange),D.multiSelect.anchor.off("change",this.$checkMultiselectChange)),k&&(k.multiSelect.on("addRange",this.$onAddRange),k.multiSelect.on("removeRange",this.$onRemoveRange),k.multiSelect.on("multiSelect",this.$onMultiSelect),k.multiSelect.on("singleSelect",this.$onSingleSelect),k.multiSelect.lead.on("change",this.$checkMultiselectChange),k.multiSelect.anchor.on("change",this.$checkMultiselectChange)),k&&this.inMultiSelectMode!=k.selection.inMultiSelectMode&&(k.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},v.MultiSelect=y,t("./config").defineOptions(p.prototype,"editor",{enableMultiselect:{set:function(w){y(this),w?this.on("mousedown",s):this.off("mousedown",s)},value:!0},enableBlockSelect:{set:function(w){this.$blockSelectEnabled=w},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(t,v,C){"use strict";var E=t("../../range").Range,c=v.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(b,s,f){var d=b.getLine(f);return this.foldingStartMarker.test(d)?"start":"markbeginend"==s&&this.foldingStopMarker&&this.foldingStopMarker.test(d)?"end":""},this.getFoldWidgetRange=function(b,s,f){return null},this.indentationBlock=function(b,s,f){var d=/\S/,l=b.getLine(s),a=l.search(d);if(-1!=a){for(var r=f||l.length,u=b.getLength(),h=s,p=s;++sh){var M=b.getLine(p).length;return new E(h,r,p,M)}}},this.openingBracketBlock=function(b,s,f,d,l){var a={row:f,column:d+1},r=b.$findClosingBracket(s,a,l);if(r){var u=b.foldWidgets[r.row];return null==u&&(u=b.getFoldWidget(r.row)),"start"==u&&r.row>a.row&&(r.row--,r.column=b.getLine(r.row).length),E.fromPoints(a,r)}},this.closingBracketBlock=function(b,s,f,d,l){var a={row:f,column:d},r=b.$findOpeningBracket(s,a);if(r)return r.column++,a.column--,E.fromPoints(r,a)}}).call(c.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(t,v,C){"use strict";var E=t("../line_widgets").LineWidgets,c=t("../lib/dom"),b=t("../range").Range,s=t("../config").nls;v.showErrorMarker=function(l,a){var r=l.session;r.widgetManager||(r.widgetManager=new E(r),r.widgetManager.attach(l));var u=l.getCursorPosition(),h=u.row,p=r.widgetManager.getWidgetsAtRow(h).filter(function(T){return"errorMarker"==T.type})[0];p?p.destroy():h-=a;var y,_=function d(l,a,r){var u=l.getAnnotations().sort(b.comparePoints);if(u.length){var h=function f(l,a,r){for(var u=0,h=l.length-1;u<=h;){var p=u+h>>1,_=r(a,l[p]);if(_>0)u=p+1;else{if(!(_<0))return p;h=p-1}}return-(u+1)}(u,{row:a,column:-1},b.comparePoints);h<0&&(h=-h-1),h>=u.length?h=r>0?0:u.length-1:0===h&&r<0&&(h=u.length-1);var p=u[h];if(p&&r){if(p.row===a){do{p=u[h+=r]}while(p&&p.row===a);if(!p)return u.slice()}var _=[];a=p.row;do{_[r<0?"unshift":"push"](p),p=u[h+=r]}while(p&&p.row==a);return _.length&&_}}}(r,h,a);if(_){var M=_[0];u.column=(M.pos&&"number"!=typeof M.column?M.pos.sc:M.column)||0,u.row=M.row,y=l.renderer.$gutterLayer.$annotations[u.row]}else{if(p)return;y={text:[s("Looks good!")],className:"ace_ok"}}l.session.unfold(u.row),l.selection.moveToPosition(u);var w={row:u.row,fixedWidth:!0,coverGutter:!0,el:c.createElement("div"),type:"errorMarker"},k=w.el.appendChild(c.createElement("div")),D=w.el.appendChild(c.createElement("div"));D.className="error_widget_arrow "+y.className;var I=l.renderer.$cursorLayer.getPixelPosition(u).left;D.style.left=I+l.renderer.gutterWidth-5+"px",w.el.className="error_widget_wrapper",k.className="error_widget "+y.className,k.innerHTML=y.text.join("
"),k.appendChild(c.createElement("div"));var O=function(T,N,S){if(0===N&&("esc"===S||"return"===S))return w.destroy(),{command:"null"}};w.destroy=function(){l.$mouseHandler.isMousePressed||(l.keyBinding.removeKeyboardHandler(O),r.widgetManager.removeLineWidget(w),l.off("changeSelection",w.destroy),l.off("changeSession",w.destroy),l.off("mouseup",w.destroy),l.off("change",w.destroy))},l.keyBinding.addKeyboardHandler(O),l.on("changeSelection",w.destroy),l.on("changeSession",w.destroy),l.on("mouseup",w.destroy),l.on("change",w.destroy),l.session.widgetManager.addLineWidget(w),w.el.onmousedown=l.focus.bind(l),l.renderer.scrollCursorIntoView(null,.5,{bottom:w.el.offsetHeight})},c.importCssString("\n .error_widget_wrapper {\n background: inherit;\n color: inherit;\n border:none\n }\n .error_widget {\n border-top: solid 2px;\n border-bottom: solid 2px;\n margin: 5px 0;\n padding: 10px 40px;\n white-space: pre-wrap;\n }\n .error_widget.ace_error, .error_widget_arrow.ace_error{\n border-color: #ff5a5a\n }\n .error_widget.ace_warning, .error_widget_arrow.ace_warning{\n border-color: #F1D817\n }\n .error_widget.ace_info, .error_widget_arrow.ace_info{\n border-color: #5a5a5a\n }\n .error_widget.ace_ok, .error_widget_arrow.ace_ok{\n border-color: #5aaa5a\n }\n .error_widget_arrow {\n position: absolute;\n border: solid 5px;\n border-top-color: transparent!important;\n border-right-color: transparent!important;\n border-left-color: transparent!important;\n top: -5px;\n }\n","error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],function(t,v,C){"use strict";t("./loader_build")(v);var E=t("./lib/dom"),c=t("./range").Range,b=t("./editor").Editor,s=t("./edit_session").EditSession,f=t("./undomanager").UndoManager,d=t("./virtual_renderer").VirtualRenderer;t("./worker/worker_client"),t("./keyboard/hash_handler"),t("./placeholder"),t("./multi_select"),t("./mode/folding/fold_mode"),t("./theme/textmate"),t("./ext/error_marker"),v.config=t("./config"),v.edit=function(l,a){if("string"==typeof l){var r=l;if(!(l=document.getElementById(r)))throw new Error("ace.edit can't find div #"+r)}if(l&&l.env&&l.env.editor instanceof b)return l.env.editor;var u="";if(l&&/input|textarea/i.test(l.tagName)){var h=l;u=h.value,l=E.createElement("pre"),h.parentNode.replaceChild(l,h)}else l&&(u=l.textContent,l.innerHTML="");var p=v.createEditSession(u),_=new b(new d(l),p,a),y={document:p,editor:_,onResize:_.resize.bind(_,null)};return h&&(y.textarea=h),_.on("destroy",function(){y.editor.container.env=null}),_.container.env=_.env=y,_},v.createEditSession=function(l,a){var r=new s(l,a);return r.setUndoManager(new f),r},v.Range=c,v.Editor=b,v.EditSession=s,v.UndoManager=f,v.VirtualRenderer=d,v.version=v.config.version}),ace.require(["ace/ace"],function(t){t&&(t.config.init(!0),t.define=ace.define);var v=function(){return this}();for(var C in!v&&typeof window<"u"&&(v=window),!v&&typeof self<"u"&&(v=self),v.ace||(v.ace=t),t)t.hasOwnProperty(C)&&(v.ace[C]=t[C]);v.ace.default=v.ace,De&&(De.exports=v.ace)})},7836:(De,te,g)=>{De=g.nmd(De),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(t,v,C){"use strict";var E=t("../lib/oop"),c=t("./text_highlight_rules").TextHighlightRules,b=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};E.inherits(b,c),v.JsonHighlightRules=b}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(t,v,C){"use strict";var E=t("../range").Range,c=function(){};(function(){this.checkOutdent=function(b,s){return!!/^\s+$/.test(b)&&/^\s*\}/.test(s)},this.autoOutdent=function(b,s){var d=b.getLine(s).match(/^(\s*\})/);if(!d)return 0;var l=d[1].length,a=b.findMatchingBracket({row:s,column:l});if(!a||a.row==s)return 0;var r=this.$getIndent(b.getLine(a.row));b.replace(new E(s,0,s,l-1),r)},this.$getIndent=function(b){return b.match(/^\s*/)[0]}}).call(c.prototype),v.MatchingBraceOutdent=c}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(t,v,C){"use strict";var E=t("../../lib/oop"),c=t("../../range").Range,b=t("./fold_mode").FoldMode,s=v.FoldMode=function(f){f&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+f.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+f.end)))};E.inherits(s,b),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(f,d,l){var a=f.getLine(l);if(this.singleLineBlockCommentRe.test(a)&&!this.startRegionRe.test(a)&&!this.tripleStarBlockCommentRe.test(a))return"";var r=this._getFoldWidgetBase(f,d,l);return!r&&this.startRegionRe.test(a)?"start":r},this.getFoldWidgetRange=function(f,d,l,a){var p,r=f.getLine(l);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(f,r,l);if(p=r.match(this.foldingStartMarker)){var u=p.index;if(p[1])return this.openingBracketBlock(f,p[1],l,u);var h=f.getCommentFoldRange(l,u+p[0].length,1);return h&&!h.isMultiLine()&&(a?h=this.getSectionRange(f,l):"all"!=d&&(h=null)),h}return"markbegin"!==d&&(p=r.match(this.foldingStopMarker))?(u=p.index+p[0].length,p[1]?this.closingBracketBlock(f,p[1],l,u):f.getCommentFoldRange(l,u,-1)):void 0},this.getSectionRange=function(f,d){for(var l=f.getLine(d),a=l.search(/\S/),r=d,u=l.length,h=d+=1,p=f.getLength();++d_)break;var y=this.getFoldWidgetRange(f,"all",d);if(y){if(y.start.row<=r)break;if(y.isMultiLine())d=y.end.row;else if(a==_)break}h=d}}return new c(r,u,h,f.getLine(h).length)},this.getCommentRegionBlock=function(f,d,l){for(var a=d.search(/\s*$/),r=f.getLength(),u=l,h=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,p=1;++lu)return new c(u,a,l,d.length)}}.call(s.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],function(t,v,C){"use strict";var E=t("../lib/oop"),c=t("./text").Mode,b=t("./json_highlight_rules").JsonHighlightRules,s=t("./matching_brace_outdent").MatchingBraceOutdent,f=t("./folding/cstyle").FoldMode,d=t("../worker/worker_client").WorkerClient,l=function(){this.HighlightRules=b,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new f};E.inherits(l,c),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(a,r,u){var h=this.$getIndent(r);return"start"==a&&r.match(/^.*[\{\(\[]\s*$/)&&(h+=u),h},this.checkOutdent=function(a,r,u){return this.$outdent.checkOutdent(r,u)},this.autoOutdent=function(a,r,u){this.$outdent.autoOutdent(r,u)},this.createWorker=function(a){var r=new d(["ace"],"ace/mode/json_worker","JsonWorker");return r.attachToDocument(a.getDocument()),r.on("annotate",function(u){a.setAnnotations(u.data)}),r.on("terminate",function(){a.clearAnnotations()}),r},this.$id="ace/mode/json"}.call(l.prototype),v.Mode=l}),ace.require(["ace/mode/json"],function(t){De&&(De.exports=t)})},5148:(De,te,g)=>{De=g.nmd(De),ace.define("ace/theme/textmate",["require","exports","module","ace/theme/textmate-css","ace/lib/dom"],function(t,v,C){"use strict";v.isDark=!1,v.cssClass="ace-tm",v.cssText=t("./textmate-css"),v.$id="ace/theme/textmate",t("../lib/dom").importCssString(v.cssText,v.cssClass,!1)}),ace.require(["ace/theme/textmate"],function(t){De&&(De.exports=t)})},5368:De=>{function te(){}De.exports=te,De.exports.HttpsAgent=te},2504:(De,te,g)=>{const{Token:t}=g(9300),v=g(6580),{Interval:C}=g(2344);class E{}De.exports=class c extends E{constructor(s){super(),this.tokenSource=s,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(s){}reset(){this.seek(0)}seek(s){this.lazyInit(),this.index=this.adjustSeekIndex(s)}get(s){return this.lazyInit(),this.tokens[s]}consume(){let s=!1;if(s=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(f)>=f}fetch(s){if(this.fetchedEOF)return 0;for(let f=0;f=this.tokens.length&&(f=this.tokens.length-1);for(let a=s;a=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[f]}adjustSeekIndex(s){return s}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(s){this.tokenSource=s,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(s,f){if(this.sync(s),s>=this.tokens.length)return-1;let d=this.tokens[s];for(;d.channel!==this.channel;){if(d.type===t.EOF)return-1;this.sync(s+=1),d=this.tokens[s]}return s}previousTokenOnChannel(s,f){for(;s>=0&&this.tokens[s].channel!==f;)s-=1;return s}getHiddenTokensToRight(s,f){if(void 0===f&&(f=-1),this.lazyInit(),s<0||s>=this.tokens.length)throw s+" not in 0.."+this.tokens.length-1;const d=this.nextTokenOnChannel(s+1,v.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(s+1,-1===d?this.tokens.length-1:d,f)}getHiddenTokensToLeft(s,f){if(void 0===f&&(f=-1),this.lazyInit(),s<0||s>=this.tokens.length)throw s+" not in 0.."+this.tokens.length-1;const d=this.previousTokenOnChannel(s-1,v.DEFAULT_TOKEN_CHANNEL);return d===s-1?null:this.filterForChannel(d+1,s-1,f)}filterForChannel(s,f,d){const l=[];for(let a=s;a=this.tokens.length&&(d=this.tokens.length-1);let l="";for(let a=f;a{const t=g(9300).CommonToken;class v{}class C extends v{constructor(c){super(),this.copyText=void 0!==c&&c}create(c,b,s,f,d,l,a,r){const u=new t(c,b,f,d,l);return u.line=a,u.column=r,null!==s?u.text=s:this.copyText&&null!==c[1]&&(u.text=c[1].getText(d,l)),u}createThin(c,b){const s=new t(null,c);return s.text=b,s}}C.DEFAULT=new C,De.exports=C},8957:(De,te,g)=>{const t=g(9300).Token,v=g(2504);De.exports=class C extends v{constructor(c,b){super(c),this.channel=void 0===b?t.DEFAULT_CHANNEL:b}adjustSeekIndex(c){return this.nextTokenOnChannel(c,this.channel)}LB(c){if(0===c||this.index-c<0)return null;let b=this.index,s=1;for(;s<=c;)b=this.previousTokenOnChannel(b-1,this.channel),s+=1;return b<0?null:this.tokens[b]}LT(c){if(this.lazyInit(),0===c)return null;if(c<0)return this.LB(-c);let b=this.index,s=1;for(;s{const{Token:t}=g(9300);g(2388),g(9700),De.exports=class v{constructor(E,c){if(this.name="",this.strdata=E,this.decodeToUnicodeCodePoints=c||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let b=0;b=this._size)throw"cannot consume EOF";this._index+=1}LA(E){if(0===E)return 0;E<0&&(E+=1);const c=this._index+E-1;return c<0||c>=this._size?t.EOF:this.data[c]}LT(E){return this.LA(E)}mark(){return-1}release(E){}seek(E){this._index=E<=this._index?E:Math.min(E,this._size)}getText(E,c){if(c>=this._size&&(c=this._size-1),E>=this._size)return"";if(this.decodeToUnicodeCodePoints){let b="";for(let s=E;s<=c;s++)b+=String.fromCodePoint(this.data[s]);return b}return this.strdata.slice(E,c+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}},2344:(De,te,g)=>{const{Token:t}=g(9300);class v{constructor(c,b){this.start=c,this.stop=b}clone(){return new v(this.start,this.stop)}contains(c){return c>=this.start&&cthis.addInterval(b),this),this}reduce(c){if(c=s.stop?(this.intervals.splice(c+1,1),this.reduce(c)):b.stop>=s.start&&(this.intervals[c]=new v(b.start,s.stop),this.intervals.splice(c+1,1))}}complement(c,b){const s=new C;return s.addInterval(new v(c,b+1)),null!==this.intervals&&this.intervals.forEach(f=>s.removeRange(f)),s}contains(c){if(null===this.intervals)return!1;for(let b=0;bf.start&&c.stop=f.stop?(this.intervals.splice(b,1),b-=1):c.start":"'"+String.fromCharCode(s.start)+"'":"'"+String.fromCharCode(s.start)+"'..'"+String.fromCharCode(s.stop-1)+"'")}return c.length>1?"{"+c.join(", ")+"}":c[0]}toIndexString(){const c=[];for(let b=0;b":s.start.toString():s.start.toString()+".."+(s.stop-1).toString())}return c.length>1?"{"+c.join(", ")+"}":c[0]}toTokenString(c,b){const s=[];for(let f=0;f1?"{"+s.join(", ")+"}":s[0]}elementName(c,b,s){return s===t.EOF?"":s===t.EPSILON?"":c[s]||b[s]}get length(){return this.intervals.map(c=>c.length).reduce((c,b)=>c+b)}}De.exports={Interval:v,IntervalSet:C}},2464:(De,te,g)=>{const{Set:t,BitSet:v}=g(1464),{Token:C}=g(9300),{ATNConfig:E}=g(4644),{IntervalSet:c}=g(2344),{RuleStopState:b}=g(6968),{RuleTransition:s,NotSetTransition:f,WildcardTransition:d,AbstractPredicateTransition:l}=g(3568),{predictionContextFromRuleContext:a,PredictionContext:r,SingletonPredictionContext:u}=g(1483);class h{constructor(_){this.atn=_}getDecisionLookahead(_){if(null===_)return null;const y=_.transitions.length,M=[];for(let w=0;w{const{Token:t}=g(9300),v=g(1384),C=g(1492),{RecognitionException:E}=g(7772),{LexerNoViableAltException:c}=g(7772);class s extends v{constructor(d){super(),this._input=d,this._factory=C.DEFAULT,this._tokenFactorySourcePair=[this,d],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=t.DEFAULT_CHANNEL,this._type=t.INVALID_TYPE,this._modeStack=[],this._mode=s.DEFAULT_MODE,this._text=null}reset(){null!==this._input&&this._input.seek(0),this._token=null,this._type=t.INVALID_TYPE,this._channel=t.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=s.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}nextToken(){if(null===this._input)throw"nextToken requires a non-null input stream.";const d=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=t.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;let l=!1;for(;;){this._type=t.INVALID_TYPE;let a=s.SKIP;try{a=this._interp.match(this._input,this._mode)}catch(r){if(!(r instanceof E))throw console.log(r.stack),r;this.notifyListeners(r),this.recover(r)}if(this._input.LA(1)===t.EOF&&(this._hitEOF=!0),this._type===t.INVALID_TYPE&&(this._type=a),this._type===s.SKIP){l=!0;break}if(this._type!==s.MORE)break}if(!l)return null===this._token&&this.emit(),this._token}}finally{this._input.release(d)}}skip(){this._type=s.SKIP}more(){this._type=s.MORE}mode(d){this._mode=d}pushMode(d){this._interp.debug&&console.log("pushMode "+d),this._modeStack.push(this._mode),this.mode(d)}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(d){this._token=d}emit(){const d=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(d),d}emitEOF(){const a=this._factory.create(this._tokenFactorySourcePair,t.EOF,null,t.DEFAULT_CHANNEL,this._input.index,this._input.index-1,this.line,this.column);return this.emitToken(a),a}getCharIndex(){return this._input.index}getAllTokens(){const d=[];let l=this.nextToken();for(;l.type!==t.EOF;)d.push(l),l=this.nextToken();return d}notifyListeners(d){const r=this._input.getText(this._tokenStartCharIndex,this._input.index),u="token recognition error at: '"+this.getErrorDisplay(r)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,u,d)}getErrorDisplay(d){const l=[];for(let a=0;a":"\n"===d?"\\n":"\t"===d?"\\t":"\r"===d?"\\r":d}getCharErrorDisplay(d){return"'"+this.getErrorDisplayForChar(d)+"'"}recover(d){this._input.LA(1)!==t.EOF&&(d instanceof c?this._interp.consume(this._input):this._input.consume())}get inputStream(){return this._input}set inputStream(d){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=d,this._tokenFactorySourcePair=[this,this._input]}get sourceName(){return this._input.sourceName}get type(){return this._type}set type(d){this._type=d}get line(){return this._interp.line}set line(d){this._interp.line=d}get column(){return this._interp.column}set column(d){this._interp.column=d}get text(){return null!==this._text?this._text:this._interp.getText(this._input)}set text(d){this._text=d}}s.DEFAULT_MODE=0,s.MORE=-2,s.SKIP=-3,s.DEFAULT_TOKEN_CHANNEL=t.DEFAULT_CHANNEL,s.HIDDEN=t.HIDDEN_CHANNEL,s.MIN_CHAR_VALUE=0,s.MAX_CHAR_VALUE=1114111,De.exports=s},5472:(De,te,g)=>{const{Token:t}=g(9300),{ParseTreeListener:v,TerminalNode:C,ErrorNode:E}=g(7336),c=g(1384),{DefaultErrorStrategy:b}=g(2079),s=g(8064),f=g(7992),d=g(6580);class l extends v{constructor(u){super(),this.parser=u}enterEveryRule(u){console.log("enter "+this.parser.ruleNames[u.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(u){console.log("consume "+u.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(u){console.log("exit "+this.parser.ruleNames[u.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}De.exports=(()=>{class r extends c{constructor(h){super(),this._input=null,this._errHandler=new b,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(h)}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(h){let p=this.getCurrentToken();return p.type===h?(this._errHandler.reportMatch(this),this.consume()):(p=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===p.tokenIndex&&this._ctx.addErrorNode(p)),p}matchWildcard(){let h=this.getCurrentToken();return h.type>0?(this._errHandler.reportMatch(this),this.consume()):(h=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===h.tokenIndex&&this._ctx.addErrorNode(h)),h}getParseListeners(){return this._parseListeners||[]}addParseListener(h){if(null===h)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(h)}removeParseListener(h){if(null!==this._parseListeners){const p=this._parseListeners.indexOf(h);p>=0&&this._parseListeners.splice(p,1),0===this._parseListeners.length&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(null!==this._parseListeners){const h=this._ctx;this._parseListeners.forEach(function(p){p.enterEveryRule(h),h.enterRule(p)})}}triggerExitRuleEvent(){if(null!==this._parseListeners){const h=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(p){h.exitRule(p),p.exitEveryRule(h)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(h){this._input.tokenSource._factory=h}getATNWithBypassAlts(){const h=this.getSerializedATN();if(null===h)throw"The current parser does not support an ATN with bypass alternatives.";let p=this.bypassAltsAtnCache[h];if(null===p){const _=new f;_.generateRuleBypassTransitions=!0,p=new s(_).deserialize(h),this.bypassAltsAtnCache[h]=p}return p}compileParseTreePattern(h,p,_){if(null===(_=_||null)&&null!==this.getTokenStream()){const M=this.getTokenStream().tokenSource;M instanceof d&&(_=M)}if(null===_)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(_,this).compile(h,p)}getInputStream(){return this.getTokenStream()}setInputStream(h){this.setTokenStream(h)}getTokenStream(){return this._input}setTokenStream(h){this._input=null,this.reset(),this._input=h}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(h,p,_){_=_||null,null===(p=p||null)&&(p=this.getCurrentToken()),this._syntaxErrors+=1;const y=p.line,M=p.column;this.getErrorListenerDispatch().syntaxError(this,p,y,M,h,_)}consume(){const h=this.getCurrentToken();h.type!==t.EOF&&this.getInputStream().consume();const p=null!==this._parseListeners&&this._parseListeners.length>0;if(this.buildParseTrees||p){let _;_=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(h):this._ctx.addTokenNode(h),_.invokingState=this.state,p&&this._parseListeners.forEach(function(y){_ instanceof E||void 0!==_.isErrorNode&&_.isErrorNode()?y.visitErrorNode(_):_ instanceof C&&y.visitTerminal(_)})}return h}addContextToParseTree(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(h,p,_){this.state=p,this._ctx=h,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(h,p){h.setAltNumber(p),this.buildParseTrees&&this._ctx!==h&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(h)),this._ctx=h}getPrecedence(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(h,p,_,y){this.state=p,this._precedenceStack.push(y),this._ctx=h,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(h,p,_){const y=this._ctx;y.parentCtx=h,y.invokingState=p,y.stop=this._input.LT(-1),this._ctx=h,this._ctx.start=y.start,this.buildParseTrees&&this._ctx.addChild(y),this.triggerEnterRuleEvent()}unrollRecursionContexts(h){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const p=this._ctx,_=this.getParseListeners();if(null!==_&&_.length>0)for(;this._ctx!==h;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=h;p.parentCtx=h,this.buildParseTrees&&null!==h&&h.addChild(p)}getInvokingContext(h){let p=this._ctx;for(;null!==p;){if(p.ruleIndex===h)return p;p=p.parentCtx}return null}precpred(h,p){return p>=this._precedenceStack[this._precedenceStack.length-1]}inContext(h){return!1}isExpectedToken(h){const p=this._interp.atn;let _=this._ctx,M=p.nextTokens(p.states[this.state]);if(M.contains(h))return!0;if(!M.contains(t.EPSILON))return!1;for(;null!==_&&_.invokingState>=0&&M.contains(t.EPSILON);){if(M=p.nextTokens(p.states[_.invokingState].transitions[0].followState),M.contains(h))return!0;_=_.parentCtx}return!(!M.contains(t.EPSILON)||h!==t.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const h=this._interp.atn;return h.nextTokens(h.states[this.state])}getRuleIndex(h){const p=this.getRuleIndexMap()[h];return null!==p?p:-1}getRuleInvocationStack(h){null===(h=h||null)&&(h=this._ctx);const p=[];for(;null!==h;){const _=h.ruleIndex;p.push(_<0?"n/a":this.ruleNames[_]),h=h.parentCtx}return p}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let h=!1;for(let p=0;p0&&(h&&console.log(),this.printer.println("Decision "+_.decision+":"),this.printer.print(_.toString(this.literalNames,this.symbolicNames)),h=!0)}}getSourceName(){return this._input.sourceName}setTrace(h){h?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new l(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}return r.bypassAltsAtnCache={},r})()},4256:(De,te,g)=>{const t=g(3160),v=g(7336),C=v.INVALID_INTERVAL,E=v.TerminalNode,c=v.TerminalNodeImpl,b=v.ErrorNodeImpl,s=g(2344).Interval;class f extends t{constructor(a,r){super(a=a||null,r=r||null),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(a){this.parentCtx=a.parentCtx,this.invokingState=a.invokingState,this.children=null,this.start=a.start,this.stop=a.stop,a.children&&(this.children=[],a.children.map(function(r){r instanceof b&&(this.children.push(r),r.parentCtx=this)},this))}enterRule(a){}exitRule(a){}addChild(a){return null===this.children&&(this.children=[]),this.children.push(a),a}removeLastChild(){null!==this.children&&this.children.pop()}addTokenNode(a){const r=new c(a);return this.addChild(r),r.parentCtx=this,r}addErrorNode(a){const r=new b(a);return this.addChild(r),r.parentCtx=this,r}getChild(a,r){if(null===this.children||a<0||a>=this.children.length)return null;if(null===(r=r||null))return this.children[a];for(let u=0;u=this.children.length)return null;for(let u=0;u{const t=g(3160),{Hash:v,Map:C,equalArrays:E}=g(1464);class c{constructor(w){this.cachedHashCode=w}isEmpty(){return this===c.EMPTY}hasEmptyPath(){return this.getReturnState(this.length-1)===c.EMPTY_RETURN_STATE}hashCode(){return this.cachedHashCode}updateHashCode(w){w.update(this.cachedHashCode)}}c.EMPTY=null,c.EMPTY_RETURN_STATE=2147483647,c.globalNodeCount=1,c.id=c.globalNodeCount;class s extends c{constructor(w,k){let D=0;const I=new v;null!==w?I.update(w,k):I.update(1),D=I.finish(),super(D),this.parentCtx=w,this.returnState=k}getParent(w){return this.parentCtx}getReturnState(w){return this.returnState}equals(w){return this===w||w instanceof s&&this.hashCode()===w.hashCode()&&this.returnState===w.returnState&&(null==this.parentCtx?null==w.parentCtx:this.parentCtx.equals(w.parentCtx))}toString(){const w=null===this.parentCtx?"":this.parentCtx.toString();return 0===w.length?this.returnState===c.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+w}get length(){return 1}static create(w,k){return k===c.EMPTY_RETURN_STATE&&null===w?c.EMPTY:new s(w,k)}}class f extends s{constructor(){super(null,c.EMPTY_RETURN_STATE)}isEmpty(){return!0}getParent(w){return null}getReturnState(w){return this.returnState}equals(w){return this===w}toString(){return"$"}}c.EMPTY=new f;class d extends c{constructor(w,k){const D=new v;return D.update(w,k),super(D.finish()),this.parents=w,this.returnStates=k,this}isEmpty(){return this.returnStates[0]===c.EMPTY_RETURN_STATE}getParent(w){return this.parents[w]}getReturnState(w){return this.returnStates[w]}equals(w){return this===w||w instanceof d&&this.hashCode()===w.hashCode()&&E(this.returnStates,w.returnStates)&&E(this.parents,w.parents)}toString(){if(this.isEmpty())return"[]";{let w="[";for(let k=0;k0&&(w+=", "),this.returnStates[k]!==c.EMPTY_RETURN_STATE?(w+=this.returnStates[k],null!==this.parents[k]?w=w+" "+this.parents[k]:w+="null"):w+="$";return w+"]"}}get length(){return this.returnStates.length}}De.exports={merge:function a(M,w,k,D){if(M===w)return M;if(M instanceof s&&w instanceof s)return function r(M,w,k,D){if(null!==D){let O=D.get(M,w);if(null!==O||(O=D.get(w,M),null!==O))return O}const I=function u(M,w,k){if(k){if(M===c.EMPTY||w===c.EMPTY)return c.EMPTY}else{if(M===c.EMPTY&&w===c.EMPTY)return c.EMPTY;if(M===c.EMPTY)return new d([w.parentCtx,null],[w.returnState,c.EMPTY_RETURN_STATE]);if(w===c.EMPTY)return new d([M.parentCtx,null],[M.returnState,c.EMPTY_RETURN_STATE])}return null}(M,w,k);if(null!==I)return null!==D&&D.set(M,w,I),I;if(M.returnState===w.returnState){const O=a(M.parentCtx,w.parentCtx,k,D);if(O===M.parentCtx)return M;if(O===w.parentCtx)return w;const T=s.create(O,M.returnState);return null!==D&&D.set(M,w,T),T}{let O=null;if((M===w||null!==M.parentCtx&&M.parentCtx===w.parentCtx)&&(O=M.parentCtx),null!==O){const F=[M.returnState,w.returnState];M.returnState>w.returnState&&(F[0]=w.returnState,F[1]=M.returnState);const A=new d([O,O],F);return null!==D&&D.set(M,w,A),A}const T=[M.returnState,w.returnState];let N=[M.parentCtx,w.parentCtx];M.returnState>w.returnState&&(T[0]=w.returnState,T[1]=M.returnState,N=[w.parentCtx,M.parentCtx]);const S=new d(N,T);return null!==D&&D.set(M,w,S),S}}(M,w,k,D);if(k){if(M instanceof f)return M;if(w instanceof f)return w}return M instanceof s&&(M=new d([M.getParent()],[M.returnState])),w instanceof s&&(w=new d([w.getParent()],[w.returnState])),function h(M,w,k,D){if(null!==D){let L=D.get(M,w);if(null!==L||(L=D.get(w,M),null!==L))return L}let I=0,O=0,T=0,N=[],S=[];for(;I{const{Token:t}=g(9300),{ConsoleErrorListener:v}=g(3032),{ProxyErrorListener:C}=g(3032);De.exports=(()=>{class c{constructor(){this._listeners=[v.INSTANCE],this._interp=null,this._stateNumber=-1}checkVersion(s){"4.9.3"!==s&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+s)}addErrorListener(s){this._listeners.push(s)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const s=this.getLiteralNames(),f=this.getSymbolicNames(),d=s.length>f.length?s.length:f.length;this.tokenNames=[];for(let l=0;l";let f=s.text;return null===f&&(f=s.type===t.EOF?"":"<"+s.type+">"),f=f.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+f+"'"}getErrorListenerDispatch(){return new C(this._listeners)}sempred(s,f,d){return!0}precpred(s,f){return!0}get state(){return this._stateNumber}set state(s){this._stateNumber=s}}return c.tokenTypeMapCache={},c.ruleIndexMapCache={},c})()},3160:(De,te,g)=>{const{RuleNode:t}=g(7336),{INVALID_INTERVAL:v}=g(7336),C=g(8);De.exports=class E extends t{constructor(b,s){super(),this.parentCtx=b||null,this.invokingState=s||-1}depth(){let b=0,s=this;for(;null!==s;)s=s.parentCtx,b+=1;return b}isEmpty(){return-1===this.invokingState}getSourceInterval(){return v}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(b){return b.getText()}).join("")}getAltNumber(){return 0}setAltNumber(b){}getChild(b){return null}getChildCount(){return 0}accept(b){return b.visitChildren(this)}toStringTree(b,s){return C.toStringTree(this,b,s)}toString(b,s){b=b||null,s=s||null;let f=this,d="[";for(;null!==f&&f!==s;){if(null===b)f.isEmpty()||(d+=f.invokingState);else{const l=f.ruleIndex;d+=l>=0&&l{let te=(()=>{class t{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(C){this._text=C}}return t.INVALID_TYPE=0,t.EPSILON=-2,t.MIN_USER_TOKEN_TYPE=1,t.EOF=-1,t.DEFAULT_CHANNEL=0,t.HIDDEN_CHANNEL=1,t})();De.exports={Token:te,CommonToken:(()=>{class t extends te{constructor(C,E,c,b,s){super(),this.source=void 0!==C?C:t.EMPTY_SOURCE,this.type=void 0!==E?E:null,this.channel=void 0!==c?c:te.DEFAULT_CHANNEL,this.start=void 0!==b?b:-1,this.stop=void 0!==s?s:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=C[0].line,this.column=C[0].column):this.column=-1}clone(){const C=new t(this.source,this.type,this.channel,this.start,this.stop);return C.tokenIndex=this.tokenIndex,C.line=this.line,C.column=this.column,C.text=this.text,C}toString(){let C=this.text;return C=null!==C?C.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+C+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}get text(){if(null!==this._text)return this._text;const C=this.getInputStream();if(null===C)return null;const E=C.size;return this.start"}set text(C){this._text=C}}return t.EMPTY_SOURCE=[null,null],t})()}},1464:De=>{function te(u){return null===u?"null":u}function g(u){return Array.isArray(u)?"["+u.map(te).join(", ")+"]":"null"}function t(u,h){return u?u.equals(h):u==h}function v(u){return u?u.hashCode():-1}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){const u=this.toString();let h,p;const _=3&u.length,y=u.length-_;let M=String.prototype.seed;const w=3432918353,k=461845907;let D=0;for(;D>>16)*w&65535)<<16)&4294967295,p=p<<15|p>>>17,p=(65535&p)*k+(((p>>>16)*k&65535)<<16)&4294967295,M^=p,M=M<<13|M>>>19,h=5*(65535&M)+((5*(M>>>16)&65535)<<16)&4294967295,M=27492+(65535&h)+((58964+(h>>>16)&65535)<<16);switch(p=0,_){case 3:p^=(255&u.charCodeAt(D+2))<<16;case 2:p^=(255&u.charCodeAt(D+1))<<8;case 1:p^=255&u.charCodeAt(D),p=(65535&p)*w+(((p>>>16)*w&65535)<<16)&4294967295,p=p<<15|p>>>17,p=(65535&p)*k+(((p>>>16)*k&65535)<<16)&4294967295,M^=p}return M^=u.length,M^=M>>>16,M=2246822507*(65535&M)+((2246822507*(M>>>16)&65535)<<16)&4294967295,M^=M>>>13,M=3266489909*(65535&M)+((3266489909*(M>>>16)&65535)<<16)&4294967295,M^=M>>>16,M>>>0};class E{constructor(){this.data=[]}add(h){this.data[h]=!0}or(h){const p=this;Object.keys(h.data).map(function(_){p.add(_)})}remove(h){delete this.data[h]}contains(h){return!0===this.data[h]}values(){return Object.keys(this.data)}minValue(){return Math.min.apply(null,this.values())}hashCode(){const h=new f;return h.update(this.values()),h.finish()}equals(h){return h instanceof E&&this.hashCode()===h.hashCode()}toString(){return"{"+this.values().join(", ")+"}"}get length(){return this.values().length}}class c{constructor(h,p){this.data={},this.hashFunction=h||v,this.equalsFunction=p||t}put(h,p){const _="hash_"+this.hashFunction(h);if(_ in this.data){const y=this.data[_];for(let M=0;M>>17,_*=461845907,this.count=this.count+1;let y=this.hash^_;y=y<<13|y>>>19,y=5*y+3864292196,this.hash=y}}}finish(){let h=this.hash^4*this.count;return h^=h>>>16,h*=2246822507,h^=h>>>13,h*=3266489909,h^=h>>>16,h}}De.exports={Hash:f,Set:class C{constructor(h,p){this.data={},this.hashFunction=h||v,this.equalsFunction=p||t}add(h){const _="hash_"+this.hashFunction(h);if(_ in this.data){const y=this.data[_];for(let M=0;M{const t=g(2464),{IntervalSet:v}=g(2344),{Token:C}=g(9300);De.exports=(()=>{class c{constructor(s,f){this.grammarType=s,this.maxTokenType=f,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(s,f){return new t(this).LOOK(s,null,f)}nextTokensNoContext(s){return null!==s.nextTokenWithinRule||(s.nextTokenWithinRule=this.nextTokensInContext(s,null),s.nextTokenWithinRule.readOnly=!0),s.nextTokenWithinRule}nextTokens(s,f){return void 0===f?this.nextTokensNoContext(s):this.nextTokensInContext(s,f)}addState(s){null!==s&&(s.atn=this,s.stateNumber=this.states.length),this.states.push(s)}removeState(s){this.states[s.stateNumber]=null}defineDecisionState(s){return this.decisionToState.push(s),s.decision=this.decisionToState.length-1,s.decision}getDecisionState(s){return 0===this.decisionToState.length?null:this.decisionToState[s]}getExpectedTokens(s,f){if(s<0||s>=this.states.length)throw"Invalid state number.";let l=this.nextTokens(this.states[s]);if(!l.contains(C.EPSILON))return l;const a=new v;for(a.addSet(l),a.removeOne(C.EPSILON);null!==f&&f.invokingState>=0&&l.contains(C.EPSILON);)l=this.nextTokens(this.states[f.invokingState].transitions[0].followState),a.addSet(l),a.removeOne(C.EPSILON),f=f.parentCtx;return l.contains(C.EPSILON)&&a.addOne(C.EOF),a}}return c.INVALID_ALT_NUMBER=0,c})()},4644:(De,te,g)=>{const{DecisionState:t}=g(6968),{SemanticContext:v}=g(8764),{Hash:C}=g(1464);function E(s,f){if(null===s){const d={state:null,alt:null,context:null,semanticContext:null};return f&&(d.reachesIntoOuterContext=0),d}{const d={};return d.state=s.state||null,d.alt=void 0===s.alt?null:s.alt,d.context=s.context||null,d.semanticContext=s.semanticContext||null,f&&(d.reachesIntoOuterContext=s.reachesIntoOuterContext||0,d.precedenceFilterSuppressed=s.precedenceFilterSuppressed||!1),d}}class c{constructor(f,d){this.checkContext(f,d),f=E(f),d=E(d,!0),this.state=null!==f.state?f.state:d.state,this.alt=null!==f.alt?f.alt:d.alt,this.context=null!==f.context?f.context:d.context,this.semanticContext=null!==f.semanticContext?f.semanticContext:null!==d.semanticContext?d.semanticContext:v.NONE,this.reachesIntoOuterContext=d.reachesIntoOuterContext,this.precedenceFilterSuppressed=d.precedenceFilterSuppressed}checkContext(f,d){null==f.context&&(null===d||null==d.context)&&(this.context=null)}hashCode(){const f=new C;return this.updateHashCode(f),f.finish()}updateHashCode(f){f.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}equals(f){return this===f||f instanceof c&&this.state.stateNumber===f.state.stateNumber&&this.alt===f.alt&&(null===this.context?null===f.context:this.context.equals(f.context))&&this.semanticContext.equals(f.semanticContext)&&this.precedenceFilterSuppressed===f.precedenceFilterSuppressed}hashCodeForConfigSet(){const f=new C;return f.update(this.state.stateNumber,this.alt,this.semanticContext),f.finish()}equalsForConfigSet(f){return this===f||f instanceof c&&this.state.stateNumber===f.state.stateNumber&&this.alt===f.alt&&this.semanticContext.equals(f.semanticContext)}toString(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==v.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}class b extends c{constructor(f,d){return super(f,d),this.lexerActionExecutor=f.lexerActionExecutor||(null!==d?d.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==d&&this.checkNonGreedyDecision(d,this.state),this.hashCodeForConfigSet=b.prototype.hashCode,this.equalsForConfigSet=b.prototype.equals,this}updateHashCode(f){f.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}equals(f){return this===f||f instanceof b&&this.passedThroughNonGreedyDecision===f.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(f.lexerActionExecutor):!f.lexerActionExecutor)&&super.equals(f)}checkNonGreedyDecision(f,d){return f.passedThroughNonGreedyDecision||d instanceof t&&d.nonGreedy}}De.exports.ATNConfig=c,De.exports.LexerATNConfig=b},8815:(De,te,g)=>{const t=g(512),v=g(1464),{SemanticContext:C}=g(8764),{merge:E}=g(1483);function c(d){return d.hashCodeForConfigSet()}function b(d,l){return d===l||null!==d&&null!==l&&d.equalsForConfigSet(l)}class s{constructor(l){this.configLookup=new v.Set(c,b),this.fullCtx=void 0===l||l,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}add(l,a){if(void 0===a&&(a=null),this.readOnly)throw"This set is readonly";l.semanticContext!==C.NONE&&(this.hasSemanticContext=!0),l.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);const r=this.configLookup.add(l);if(r===l)return this.cachedHashCode=-1,this.configs.push(l),!0;const h=E(r.context,l.context,!this.fullCtx,a);return r.reachesIntoOuterContext=Math.max(r.reachesIntoOuterContext,l.reachesIntoOuterContext),l.precedenceFilterSuppressed&&(r.precedenceFilterSuppressed=!0),r.context=h,!0}getStates(){const l=new v.Set;for(let a=0;a{class te{constructor(t){void 0===t&&(t=null),this.readOnly=!1,this.verifyATN=null===t||t.verifyATN,this.generateRuleBypassTransitions=null!==t&&t.generateRuleBypassTransitions}}te.defaultOptions=new te,te.defaultOptions.readOnly=!0,De.exports=te},8064:(De,te,g)=>{const{Token:t}=g(9300),v=g(512),C=g(1448),{ATNState:E,BasicState:c,DecisionState:b,BlockStartState:s,BlockEndState:f,LoopEndState:d,RuleStartState:l,RuleStopState:a,TokensStartState:r,PlusLoopbackState:u,StarLoopbackState:h,StarLoopEntryState:p,PlusBlockStartState:_,StarBlockStartState:y,BasicBlockStartState:M}=g(6968),{Transition:w,AtomTransition:k,SetTransition:D,NotSetTransition:I,RuleTransition:O,RangeTransition:T,ActionTransition:N,EpsilonTransition:S,WildcardTransition:F,PredicateTransition:L,PrecedencePredicateTransition:A}=g(3568),{IntervalSet:U}=g(2344),K=g(7992),{LexerActionType:ee,LexerSkipAction:ne,LexerChannelAction:B,LexerCustomAction:H,LexerMoreAction:z,LexerTypeAction:X,LexerPushModeAction:G,LexerPopModeAction:j,LexerModeAction:le}=g(9868),ve="59627784-3BE5-417A-B9EB-8131A7286089",Je=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",ve],ct=ve;function Ct(Ke,Be){const Ie=[];return Ie[Ke-1]=Be,Ie.map(function(je){return Be})}const fe=function ke(){const Ke=[];for(let Be=0;Be<256;Be++)Ke[Be]=(Be+256).toString(16).substr(1).toUpperCase();return Ke}();De.exports=class Re{constructor(Be){null==Be&&(Be=K.defaultOptions),this.deserializationOptions=Be,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Be,Ie){const je=Je.indexOf(Be);return!(je<0)&&Je.indexOf(Ie)>=je}deserialize(Be){this.reset(Be),this.checkVersion(),this.checkUUID();const Ie=this.readATN();this.readStates(Ie),this.readRules(Ie),this.readModes(Ie);const je=[];return this.readSets(Ie,je,this.readInt.bind(this)),this.isFeatureSupported(ve,this.uuid)&&this.readSets(Ie,je,this.readInt32.bind(this)),this.readEdges(Ie,je),this.readDecisions(Ie),this.readLexerActions(Ie),this.markPrecedenceDecisions(Ie),this.verifyATN(Ie),this.deserializationOptions.generateRuleBypassTransitions&&Ie.grammarType===C.PARSER&&(this.generateRuleBypassTransitions(Ie),this.verifyATN(Ie)),Ie}reset(Be){const je=Be.split("").map(function(q){const be=q.charCodeAt(0);return be>1?be-2:be+65534});je[0]=Be.charCodeAt(0),this.data=je,this.pos=0}checkVersion(){const Be=this.readInt();if(3!==Be)throw"Could not deserialize ATN with version "+Be+" (expected 3)."}checkUUID(){const Be=this.readUUID();if(Je.indexOf(Be)<0)throw ct;this.uuid=Be}readATN(){const Be=this.readInt(),Ie=this.readInt();return new v(Be,Ie)}readStates(Be){let Ie,je,q;const be=[],Oe=[],Xe=this.readInt();for(let ot=0;ot0;)be.addTransition(Ve.transitions[ot-1]),Ve.transitions=Ve.transitions.slice(-1);Be.ruleToStartState[Ie].addTransition(new S(be)),Oe.addTransition(new S(ge));const ze=new c;Be.addState(ze),ze.addTransition(new k(Oe,Be.ruleToTokenType[Ie])),be.addTransition(new S(ze))}stateIsEndStateFor(Be,Ie){if(Be.ruleIndex!==Ie||!(Be instanceof p))return null;const je=Be.transitions[Be.transitions.length-1].target;return je instanceof d&&je.epsilonOnlyTransitions&&je.transitions[0].target instanceof a?Be:null}markPrecedenceDecisions(Be){for(let Ie=0;Ie=0:je.transitions.length<=1||je instanceof a)}}checkCondition(Be,Ie){if(!Be)throw null==Ie&&(Ie="IllegalState"),Ie}readInt(){return this.data[this.pos++]}readInt32(){return this.readInt()|this.readInt()<<16}readLong(){return 4294967295&this.readInt32()|this.readInt32()<<32}readUUID(){const Be=[];for(let Ie=7;Ie>=0;Ie--){const je=this.readInt();Be[2*Ie+1]=255&je,Be[2*Ie]=je>>8&255}return fe[Be[0]]+fe[Be[1]]+fe[Be[2]]+fe[Be[3]]+"-"+fe[Be[4]]+fe[Be[5]]+"-"+fe[Be[6]]+fe[Be[7]]+"-"+fe[Be[8]]+fe[Be[9]]+"-"+fe[Be[10]]+fe[Be[11]]+fe[Be[12]]+fe[Be[13]]+fe[Be[14]]+fe[Be[15]]}edgeFactory(Be,Ie,je,q,be,Oe,Xe,ge){const Ve=Be.states[q];switch(Ie){case w.EPSILON:return new S(Ve);case w.RANGE:return new T(Ve,0!==Xe?t.EOF:be,Oe);case w.RULE:return new O(Be.states[be],Oe,Xe,Ve);case w.PREDICATE:return new L(Ve,be,Oe,0!==Xe);case w.PRECEDENCE:return new A(Ve,be);case w.ATOM:return new k(Ve,0!==Xe?t.EOF:be);case w.ACTION:return new N(Ve,be,Oe,0!==Xe);case w.SET:return new D(Ve,ge[be]);case w.NOT_SET:return new I(Ve,ge[be]);case w.WILDCARD:return new F(Ve);default:throw"The specified transition type: "+Ie+" is not valid."}}stateFactory(Be,Ie){if(null===this.stateFactories){const je=[];je[E.INVALID_TYPE]=null,je[E.BASIC]=()=>new c,je[E.RULE_START]=()=>new l,je[E.BLOCK_START]=()=>new M,je[E.PLUS_BLOCK_START]=()=>new _,je[E.STAR_BLOCK_START]=()=>new y,je[E.TOKEN_START]=()=>new r,je[E.RULE_STOP]=()=>new a,je[E.BLOCK_END]=()=>new f,je[E.STAR_LOOP_BACK]=()=>new h,je[E.STAR_LOOP_ENTRY]=()=>new p,je[E.PLUS_LOOP_BACK]=()=>new u,je[E.LOOP_END]=()=>new d,this.stateFactories=je}if(Be>this.stateFactories.length||null===this.stateFactories[Be])throw"The specified state type "+Be+" is not valid.";{const je=this.stateFactories[Be]();if(null!==je)return je.ruleIndex=Ie,je}}lexerActionFactory(Be,Ie,je){if(null===this.actionFactories){const q=[];q[ee.CHANNEL]=(be,Oe)=>new B(be),q[ee.CUSTOM]=(be,Oe)=>new H(be,Oe),q[ee.MODE]=(be,Oe)=>new le(be),q[ee.MORE]=(be,Oe)=>z.INSTANCE,q[ee.POP_MODE]=(be,Oe)=>j.INSTANCE,q[ee.PUSH_MODE]=(be,Oe)=>new G(be),q[ee.SKIP]=(be,Oe)=>ne.INSTANCE,q[ee.TYPE]=(be,Oe)=>new X(be),this.actionFactories=q}if(Be>this.actionFactories.length||null===this.actionFactories[Be])throw"The specified lexer action type "+Be+" is not valid.";return this.actionFactories[Be](Ie,je)}}},6216:(De,te,g)=>{const{DFAState:t}=g(2020),{ATNConfigSet:v}=g(8815),{getCachedPredictionContext:C}=g(1483),{Map:E}=g(1464);class c{constructor(s,f){return this.atn=s,this.sharedContextCache=f,this}getCachedContext(s){if(null===this.sharedContextCache)return s;const f=new E;return C(s,this.sharedContextCache,f)}}c.ERROR=new t(2147483647,new v),De.exports=c},6968:De=>{let g=(()=>{class p{constructor(){this.atn=null,this.stateNumber=p.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}toString(){return this.stateNumber}equals(y){return y instanceof p&&this.stateNumber===y.stateNumber}isNonGreedyExitState(){return!1}addTransition(y,M){void 0===M&&(M=-1),0===this.transitions.length?this.epsilonOnlyTransitions=y.isEpsilon:this.epsilonOnlyTransitions!==y.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===M?this.transitions.push(y):this.transitions.splice(M,1,y)}}return p.INVALID_TYPE=0,p.BASIC=1,p.RULE_START=2,p.BLOCK_START=3,p.PLUS_BLOCK_START=4,p.STAR_BLOCK_START=5,p.TOKEN_START=6,p.RULE_STOP=7,p.BLOCK_END=8,p.STAR_LOOP_BACK=9,p.STAR_LOOP_ENTRY=10,p.PLUS_LOOP_BACK=11,p.LOOP_END=12,p.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"],p.INVALID_STATE_NUMBER=-1,p})();class v extends g{constructor(){return super(),this.decision=-1,this.nonGreedy=!1,this}}class C extends v{constructor(){return super(),this.endState=null,this}}De.exports={ATNState:g,BasicState:class t extends g{constructor(){super(),this.stateType=g.BASIC}},DecisionState:v,BlockStartState:C,BlockEndState:class c extends g{constructor(){return super(),this.stateType=g.BLOCK_END,this.startState=null,this}},LoopEndState:class u extends g{constructor(){return super(),this.stateType=g.LOOP_END,this.loopBackState=null,this}},RuleStartState:class s extends g{constructor(){return super(),this.stateType=g.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class b extends g{constructor(){return super(),this.stateType=g.RULE_STOP,this}},TokensStartState:class h extends v{constructor(){return super(),this.stateType=g.TOKEN_START,this}},PlusLoopbackState:class f extends v{constructor(){return super(),this.stateType=g.PLUS_LOOP_BACK,this}},StarLoopbackState:class a extends g{constructor(){return super(),this.stateType=g.STAR_LOOP_BACK,this}},StarLoopEntryState:class r extends v{constructor(){return super(),this.stateType=g.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}},PlusBlockStartState:class d extends C{constructor(){return super(),this.stateType=g.PLUS_BLOCK_START,this.loopBackState=null,this}},StarBlockStartState:class l extends C{constructor(){return super(),this.stateType=g.STAR_BLOCK_START,this}},BasicBlockStartState:class E extends C{constructor(){return super(),this.stateType=g.BLOCK_START,this}}}},1448:De=>{De.exports={LEXER:0,PARSER:1}},5800:(De,te,g)=>{const{Token:t}=g(9300),v=g(6580),C=g(512),E=g(6216),{DFAState:c}=g(2020),{OrderedATNConfigSet:b}=g(8815),{PredictionContext:s}=g(1483),{SingletonPredictionContext:f}=g(1483),{RuleStopState:d}=g(6968),{LexerATNConfig:l}=g(4644),{Transition:a}=g(3568),r=g(5608),{LexerNoViableAltException:u}=g(7772);function h(y){y.index=-1,y.line=0,y.column=-1,y.dfaState=null}class p{constructor(){h(this)}reset(){h(this)}}De.exports=(()=>{class y extends E{constructor(w,k,D,I){super(k,I),this.decisionToDFA=D,this.recog=w,this.startIndex=-1,this.line=1,this.column=0,this.mode=v.DEFAULT_MODE,this.prevAccept=new p}copyState(w){this.column=w.column,this.line=w.line,this.mode=w.mode,this.startIndex=w.startIndex}match(w,k){this.match_calls+=1,this.mode=k;const D=w.mark();try{this.startIndex=w.index,this.prevAccept.reset();const I=this.decisionToDFA[k];return null===I.s0?this.matchATN(w):this.execATN(w,I.s0)}finally{w.release(D)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=v.DEFAULT_MODE}matchATN(w){const k=this.atn.modeToStartState[this.mode];y.debug&&console.log("matchATN mode "+this.mode+" start: "+k);const D=this.mode,I=this.computeStartState(w,k),O=I.hasSemanticContext;I.hasSemanticContext=!1;const T=this.addDFAState(I);O||(this.decisionToDFA[this.mode].s0=T);const N=this.execATN(w,T);return y.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[D].toLexerString()),N}execATN(w,k){y.debug&&console.log("start state closure="+k.configs),k.isAcceptState&&this.captureSimState(this.prevAccept,w,k);let D=w.LA(1),I=k;for(;;){y.debug&&console.log("execATN loop starting closure: "+I.configs);let O=this.getExistingTargetState(I,D);if(null===O&&(O=this.computeTargetState(w,I,D)),O===E.ERROR||(D!==t.EOF&&this.consume(w),O.isAcceptState&&(this.captureSimState(this.prevAccept,w,O),D===t.EOF)))break;D=w.LA(1),I=O}return this.failOrAccept(this.prevAccept,w,I.configs,D)}getExistingTargetState(w,k){if(null===w.edges||ky.MAX_DFA_EDGE)return null;let D=w.edges[k-y.MIN_DFA_EDGE];return void 0===D&&(D=null),y.debug&&null!==D&&console.log("reuse state "+w.stateNumber+" edge to "+D.stateNumber),D}computeTargetState(w,k,D){const I=new b;return this.getReachableConfigSet(w,k.configs,I,D),0===I.items.length?(I.hasSemanticContext||this.addDFAEdge(k,D,E.ERROR),E.ERROR):this.addDFAEdge(k,D,null,I)}failOrAccept(w,k,D,I){if(null!==this.prevAccept.dfaState)return this.accept(k,w.dfaState.lexerActionExecutor,this.startIndex,w.index,w.line,w.column),w.dfaState.prediction;if(I===t.EOF&&k.index===this.startIndex)return t.EOF;throw new u(this.recog,k,this.startIndex,D)}getReachableConfigSet(w,k,D,I){let O=C.INVALID_ALT_NUMBER;for(let T=0;Ty.MAX_DFA_EDGE||(y.debug&&console.log("EDGE "+w+" -> "+D+" upon "+k),null===w.edges&&(w.edges=[]),w.edges[k-y.MIN_DFA_EDGE]=D),D}addDFAState(w){const k=new c(null,w);let D=null;for(let N=0;N{const te={CHANNEL:0,CUSTOM:1,MODE:2,MORE:3,POP_MODE:4,PUSH_MODE:5,SKIP:6,TYPE:7};class g{constructor(a){this.actionType=a,this.isPositionDependent=!1}hashCode(){const a=new Hash;return this.updateHashCode(a),a.finish()}updateHashCode(a){a.update(this.actionType)}equals(a){return this===a}}class t extends g{constructor(){super(te.SKIP)}execute(a){a.skip()}toString(){return"skip"}}t.INSTANCE=new t;class v extends g{constructor(a){super(te.TYPE),this.type=a}execute(a){a.type=this.type}updateHashCode(a){a.update(this.actionType,this.type)}equals(a){return this===a||a instanceof v&&this.type===a.type}toString(){return"type("+this.type+")"}}class C extends g{constructor(a){super(te.PUSH_MODE),this.mode=a}execute(a){a.pushMode(this.mode)}updateHashCode(a){a.update(this.actionType,this.mode)}equals(a){return this===a||a instanceof C&&this.mode===a.mode}toString(){return"pushMode("+this.mode+")"}}class E extends g{constructor(){super(te.POP_MODE)}execute(a){a.popMode()}toString(){return"popMode"}}E.INSTANCE=new E;class c extends g{constructor(){super(te.MORE)}execute(a){a.more()}toString(){return"more"}}c.INSTANCE=new c;class b extends g{constructor(a){super(te.MODE),this.mode=a}execute(a){a.mode(this.mode)}updateHashCode(a){a.update(this.actionType,this.mode)}equals(a){return this===a||a instanceof b&&this.mode===a.mode}toString(){return"mode("+this.mode+")"}}class s extends g{constructor(a,r){super(te.CUSTOM),this.ruleIndex=a,this.actionIndex=r,this.isPositionDependent=!0}execute(a){a.action(null,this.ruleIndex,this.actionIndex)}updateHashCode(a){a.update(this.actionType,this.ruleIndex,this.actionIndex)}equals(a){return this===a||a instanceof s&&this.ruleIndex===a.ruleIndex&&this.actionIndex===a.actionIndex}}class f extends g{constructor(a){super(te.CHANNEL),this.channel=a}execute(a){a._channel=this.channel}updateHashCode(a){a.update(this.actionType,this.channel)}equals(a){return this===a||a instanceof f&&this.channel===a.channel}toString(){return"channel("+this.channel+")"}}class d extends g{constructor(a,r){super(r.actionType),this.offset=a,this.action=r,this.isPositionDependent=!0}execute(a){this.action.execute(a)}updateHashCode(a){a.update(this.actionType,this.offset,this.action)}equals(a){return this===a||a instanceof d&&this.offset===a.offset&&this.action===a.action}}De.exports={LexerActionType:te,LexerSkipAction:t,LexerChannelAction:f,LexerCustomAction:s,LexerIndexedCustomAction:d,LexerMoreAction:c,LexerTypeAction:v,LexerPushModeAction:C,LexerPopModeAction:E,LexerModeAction:b}},5608:(De,te,g)=>{const{hashStuff:t}=g(1464),{LexerIndexedCustomAction:v}=g(9868);class C{constructor(c){return this.lexerActions=null===c?[]:c,this.cachedHashCode=t(c),this}fixOffsetBeforeMatch(c){let b=null;for(let s=0;s{const t=g(1464),{Set:v,BitSet:C,DoubleDict:E}=t,c=g(512),{ATNState:b,RuleStopState:s}=g(6968),{ATNConfig:f}=g(4644),{ATNConfigSet:d}=g(8815),{Token:l}=g(9300),{DFAState:a,PredPrediction:r}=g(2020),u=g(6216),h=g(7564),p=g(3160),{SemanticContext:y}=(g(4256),g(8764)),{PredictionContext:M}=g(1483),{Interval:w}=g(2344),{Transition:k,SetTransition:D,NotSetTransition:I,RuleTransition:O,ActionTransition:T}=g(3568),{NoViableAltException:N}=g(7772),{SingletonPredictionContext:S,predictionContextFromRuleContext:F}=g(1483);De.exports=class L extends u{constructor(U,K,ee,ne){super(K,ne),this.parser=U,this.decisionToDFA=ee,this.predictionMode=h.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(U,K,ee){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+K+" exec LA(1)=="+this.getLookaheadName(U)+" line "+U.LT(1).line+":"+U.LT(1).column),this._input=U,this._startIndex=U.index,this._outerContext=ee;const ne=this.decisionToDFA[K];this._dfa=ne;const B=U.mark(),H=U.index;try{let z;if(z=ne.precedenceDfa?ne.getPrecedenceStartState(this.parser.getPrecedence()):ne.s0,null===z){null===ee&&(ee=p.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+ne.decision+" exec LA(1)=="+this.getLookaheadName(U)+", outerContext="+ee.toString(this.parser.ruleNames));let j=this.computeStartState(ne.atnStartState,p.EMPTY,!1);ne.precedenceDfa?(ne.s0.configs=j,j=this.applyPrecedenceFilter(j),z=this.addDFAState(ne,new a(null,j)),ne.setPrecedenceStartState(this.parser.getPrecedence(),z)):(z=this.addDFAState(ne,new a(null,j)),ne.s0=z)}const X=this.execATN(ne,z,U,H,ee);return this.debug&&console.log("DFA after predictATN: "+ne.toString(this.parser.literalNames,this.parser.symbolicNames)),X}finally{this._dfa=null,this.mergeCache=null,U.seek(H),U.release(B)}}execATN(U,K,ee,ne,B){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+U.decision+" exec LA(1)=="+this.getLookaheadName(ee)+" line "+ee.LT(1).line+":"+ee.LT(1).column);let H,z=K;this.debug&&console.log("s0 = "+K);let X=ee.LA(1);for(;;){let G=this.getExistingTargetState(z,X);if(null===G&&(G=this.computeTargetState(U,z,X)),G===u.ERROR){const j=this.noViableAlt(ee,B,z.configs,ne);if(ee.seek(ne),H=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(z.configs,B),H!==c.INVALID_ALT_NUMBER)return H;throw j}if(G.requiresFullContext&&this.predictionMode!==h.SLL){let j=null;if(null!==G.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const ve=ee.index;if(ve!==ne&&ee.seek(ne),j=this.evalSemanticContext(G.predicates,B,!0),1===j.length)return this.debug&&console.log("Full LL avoided"),j.minValue();ve!==ne&&ee.seek(ve)}this.dfa_debug&&console.log("ctx sensitive state "+B+" in "+G);const ue=this.computeStartState(U.atnStartState,B,!0);return this.reportAttemptingFullContext(U,j,G.configs,ne,ee.index),H=this.execATNWithFullContext(U,G,ue,ee,ne,B),H}if(G.isAcceptState){if(null===G.predicates)return G.prediction;const j=ee.index;ee.seek(ne);const le=this.evalSemanticContext(G.predicates,B,!0);if(0===le.length)throw this.noViableAlt(ee,B,G.configs,ne);return 1===le.length||this.reportAmbiguity(U,G,ne,j,!1,le,G.configs),le.minValue()}z=G,X!==l.EOF&&(ee.consume(),X=ee.LA(1))}}getExistingTargetState(U,K){const ee=U.edges;return null===ee?null:ee[K+1]||null}computeTargetState(U,K,ee){const ne=this.computeReachSet(K.configs,ee,!1);if(null===ne)return this.addDFAEdge(U,K,ee,u.ERROR),u.ERROR;let B=new a(null,ne);const H=this.getUniqueAlt(ne);if(this.debug){const z=h.getConflictingAltSubsets(ne);console.log("SLL altSubSets="+t.arrayToString(z)+", configs="+ne+", predict="+H+", allSubsetsConflict="+h.allSubsetsConflict(z)+", conflictingAlts="+this.getConflictingAlts(ne))}return H!==c.INVALID_ALT_NUMBER?(B.isAcceptState=!0,B.configs.uniqueAlt=H,B.prediction=H):h.hasSLLConflictTerminatingPrediction(this.predictionMode,ne)&&(B.configs.conflictingAlts=this.getConflictingAlts(ne),B.requiresFullContext=!0,B.isAcceptState=!0,B.prediction=B.configs.conflictingAlts.minValue()),B.isAcceptState&&B.configs.hasSemanticContext&&(this.predicateDFAState(B,this.atn.getDecisionState(U.decision)),null!==B.predicates&&(B.prediction=c.INVALID_ALT_NUMBER)),B=this.addDFAEdge(U,K,ee,B),B}predicateDFAState(U,K){const ee=K.transitions.length,ne=this.getConflictingAltsOrUniqueAlt(U.configs),B=this.getPredsForAmbigAlts(ne,U.configs,ee);null!==B?(U.predicates=this.getPredicatePredictions(ne,B),U.prediction=c.INVALID_ALT_NUMBER):U.prediction=ne.minValue()}execATNWithFullContext(U,K,ee,ne,B,H){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+ee);let G,X=!1,j=ee;ne.seek(B);let le=ne.LA(1),ue=-1;for(;;){if(G=this.computeReachSet(j,le,!0),null===G){const Je=this.noViableAlt(ne,H,j,B);ne.seek(B);const _t=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(j,H);if(_t!==c.INVALID_ALT_NUMBER)return _t;throw Je}const ve=h.getConflictingAltSubsets(G);if(this.debug&&console.log("LL altSubSets="+ve+", predict="+h.getUniqueAlt(ve)+", resolvesToJustOneViableAlt="+h.resolvesToJustOneViableAlt(ve)),G.uniqueAlt=this.getUniqueAlt(G),G.uniqueAlt!==c.INVALID_ALT_NUMBER){ue=G.uniqueAlt;break}if(this.predictionMode!==h.LL_EXACT_AMBIG_DETECTION){if(ue=h.resolvesToJustOneViableAlt(ve),ue!==c.INVALID_ALT_NUMBER)break}else if(h.allSubsetsConflict(ve)&&h.allSubsetsEqual(ve)){X=!0,ue=h.getSingleViableAlt(ve);break}j=G,le!==l.EOF&&(ne.consume(),le=ne.LA(1))}return G.uniqueAlt!==c.INVALID_ALT_NUMBER?(this.reportContextSensitivity(U,ue,G,B,ne.index),ue):(this.reportAmbiguity(U,K,B,ne.index,X,null,G),ue)}computeReachSet(U,K,ee){this.debug&&console.log("in computeReachSet, starting closure: "+U),null===this.mergeCache&&(this.mergeCache=new E);const ne=new d(ee);let B=null;for(let z=0;z0&&(H=this.getAltThatFinishedDecisionEntryRule(B),H!==c.INVALID_ALT_NUMBER)?H:c.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(U){const K=[];for(let ee=0;ee0||ne.state instanceof s&&ne.context.hasEmptyPath())&&K.indexOf(ne.alt)<0&&K.push(ne.alt)}return 0===K.length?c.INVALID_ALT_NUMBER:Math.min.apply(null,K)}splitAccordingToSemanticValidity(U,K){const ee=new d(U.fullCtx),ne=new d(U.fullCtx);for(let B=0;B50))throw"problem";if(U.state instanceof s){if(!U.context.isEmpty()){for(let X=0;X=0&&(ve+=1)}this.closureCheckingStopState(ue,K,ee,le,B,ve,z)}}}canDropLoopEntryEdgeInLeftRecursiveRule(U){const K=U.state;if(K.stateType!==b.STAR_LOOP_ENTRY||K.stateType!==b.STAR_LOOP_ENTRY||!K.isPrecedenceDecision||U.context.isEmpty()||U.context.hasEmptyPath())return!1;const ee=U.context.length;for(let z=0;z=0?this.parser.ruleNames[U]:""}getEpsilonTarget(U,K,ee,ne,B,H){switch(K.serializationType){case k.RULE:return this.ruleTransition(U,K);case k.PRECEDENCE:return this.precedenceTransition(U,K,ee,ne,B);case k.PREDICATE:return this.predTransition(U,K,ee,ne,B);case k.ACTION:return this.actionTransition(U,K);case k.EPSILON:return new f({state:K.target},U);case k.ATOM:case k.RANGE:case k.SET:return H&&K.matches(l.EOF,0,1)?new f({state:K.target},U):null;default:return null}}actionTransition(U,K){return this.debug&&console.log("ACTION edge "+K.ruleIndex+":"+(-1===K.actionIndex?65535:K.actionIndex)),new f({state:K.target},U)}precedenceTransition(U,K,ee,ne,B){this.debug&&(console.log("PRED (collectPredicates="+ee+") "+K.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+t.arrayToString(this.parser.getRuleInvocationStack())));let H=null;if(ee&&ne)if(B){const z=this._input.index;this._input.seek(this._startIndex);const X=K.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(z),X&&(H=new f({state:K.target},U))}else{const z=y.andContext(U.semanticContext,K.getPredicate());H=new f({state:K.target,semanticContext:z},U)}else H=new f({state:K.target},U);return this.debug&&console.log("config from pred transition="+H),H}predTransition(U,K,ee,ne,B){this.debug&&(console.log("PRED (collectPredicates="+ee+") "+K.ruleIndex+":"+K.predIndex+", ctx dependent="+K.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+t.arrayToString(this.parser.getRuleInvocationStack())));let H=null;if(ee&&(K.isCtxDependent&&ne||!K.isCtxDependent))if(B){const z=this._input.index;this._input.seek(this._startIndex);const X=K.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(z),X&&(H=new f({state:K.target},U))}else{const z=y.andContext(U.semanticContext,K.getPredicate());H=new f({state:K.target,semanticContext:z},U)}else H=new f({state:K.target},U);return this.debug&&console.log("config from pred transition="+H),H}ruleTransition(U,K){this.debug&&console.log("CALL rule "+this.getRuleName(K.target.ruleIndex)+", ctx="+U.context);const ne=S.create(U.context,K.followState.stateNumber);return new f({state:K.target,context:ne},U)}getConflictingAlts(U){const K=h.getConflictingAltSubsets(U);return h.getAlts(K)}getConflictingAltsOrUniqueAlt(U){let K=null;return U.uniqueAlt!==c.INVALID_ALT_NUMBER?(K=new C,K.add(U.uniqueAlt)):K=U.conflictingAlts,K}getTokenName(U){if(U===l.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(U>=this.parser.literalNames.length&&U>=this.parser.symbolicNames.length))return(this.parser.literalNames[U]||this.parser.symbolicNames[U])+"<"+U+">";console.log(U+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+U}getLookaheadName(U){return this.getTokenName(U.LA(1))}dumpDeadEndConfigs(U){console.log("dead end configs: ");const K=U.getDeadEndConfigs();for(let ee=0;ee0){const H=ne.state.transitions[0];H instanceof AtomTransition?B="Atom "+this.getTokenName(H.label):H instanceof D&&(B=(H instanceof I?"~":"")+"Set "+H.set)}console.error(ne.toString(this.parser,!0)+":"+B)}}noViableAlt(U,K,ee,ne){return new N(this.parser,U,U.get(ne),U.LT(1),ee,K)}getUniqueAlt(U){let K=c.INVALID_ALT_NUMBER;for(let ee=0;ee "+ne+" upon "+this.getTokenName(ee)),null===ne?null:(ne=this.addDFAState(U,ne),null===K||ee<-1||ee>this.atn.maxTokenType||(null===K.edges&&(K.edges=[]),K.edges[ee+1]=ne,this.debug&&console.log("DFA=\n"+U.toString(null===this.parser?null:this.parser.literalNames,null===this.parser?null:this.parser.symbolicNames))),ne)}addDFAState(U,K){if(K===u.ERROR)return K;const ee=U.states.get(K);return null!==ee?ee:(K.stateNumber=U.states.length,K.configs.readOnly||(K.configs.optimizeConfigs(this),K.configs.setReadonly(!0)),U.states.add(K),this.debug&&console.log("adding new DFA state: "+K),K)}reportAttemptingFullContext(U,K,ee,ne,B){if(this.debug||this.retry_debug){const H=new w(ne,B+1);console.log("reportAttemptingFullContext decision="+U.decision+":"+ee+", input="+this.parser.getTokenStream().getText(H))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,U,ne,B,K,ee)}reportContextSensitivity(U,K,ee,ne,B){if(this.debug||this.retry_debug){const H=new w(ne,B+1);console.log("reportContextSensitivity decision="+U.decision+":"+ee+", input="+this.parser.getTokenStream().getText(H))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,U,ne,B,K,ee)}reportAmbiguity(U,K,ee,ne,B,H,z){if(this.debug||this.retry_debug){const X=new w(ee,ne+1);console.log("reportAmbiguity "+H+":"+z+", input="+this.parser.getTokenStream().getText(X))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,U,ee,ne,B,H,z)}}},7564:(De,te,g)=>{const{Map:t,BitSet:v,AltDict:C,hashStuff:E}=g(1464),c=g(512),{RuleStopState:b}=g(6968),{ATNConfigSet:s}=g(8815),{ATNConfig:f}=g(4644),{SemanticContext:d}=g(8764),l={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(a,r){if(l.allConfigsInRuleStopStates(r))return!0;if(a===l.SLL&&r.hasSemanticContext){const h=new s;for(let p=0;p1)return!0;return!1},allSubsetsEqual:function(a){let r=null;for(let u=0;u{const{Set:t,Hash:v,equalArrays:C}=g(1464);class E{hashCode(){const l=new v;return this.updateHashCode(l),l.finish()}evaluate(l,a){}evalPrecedence(l,a){return this}static andContext(l,a){if(null===l||l===E.NONE)return a;if(null===a||a===E.NONE)return l;const r=new s(l,a);return 1===r.opnds.length?r.opnds[0]:r}static orContext(l,a){if(null===l)return a;if(null===a)return l;if(l===E.NONE||a===E.NONE)return E.NONE;const r=new f(l,a);return 1===r.opnds.length?r.opnds[0]:r}}class c extends E{constructor(l,a,r){super(),this.ruleIndex=void 0===l?-1:l,this.predIndex=void 0===a?-1:a,this.isCtxDependent=void 0!==r&&r}evaluate(l,a){return l.sempred(this.isCtxDependent?a:null,this.ruleIndex,this.predIndex)}updateHashCode(l){l.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}equals(l){return this===l||l instanceof c&&this.ruleIndex===l.ruleIndex&&this.predIndex===l.predIndex&&this.isCtxDependent===l.isCtxDependent}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}E.NONE=new c;class b extends E{constructor(l){super(),this.precedence=void 0===l?0:l}evaluate(l,a){return l.precpred(a,this.precedence)}evalPrecedence(l,a){return l.precpred(a,this.precedence)?E.NONE:null}compareTo(l){return this.precedence-l.precedence}updateHashCode(l){l.update(this.precedence)}equals(l){return this===l||l instanceof b&&this.precedence===l.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(l){const a=[];return l.values().map(function(r){r instanceof b&&a.push(r)}),a}}class s extends E{constructor(l,a){super();const r=new t;l instanceof s?l.opnds.map(function(h){r.add(h)}):r.add(l),a instanceof s?a.opnds.map(function(h){r.add(h)}):r.add(a);const u=b.filterPrecedencePredicates(r);if(u.length>0){let h=null;u.map(function(p){(null===h||p.precedencea.toString());return(l.length>3?l.slice(3):l).join("&&")}}class f extends E{constructor(l,a){super();const r=new t;l instanceof f?l.opnds.map(function(h){r.add(h)}):r.add(l),a instanceof f?a.opnds.map(function(h){r.add(h)}):r.add(a);const u=b.filterPrecedencePredicates(r);if(u.length>0){const h=u.sort(function(_,y){return _.compareTo(y)});r.add(h[h.length-1])}this.opnds=Array.from(r.values())}equals(l){return this===l||l instanceof f&&C(this.opnds,l.opnds)}updateHashCode(l){l.update(this.opnds,"OR")}evaluate(l,a){for(let r=0;ra.toString());return(l.length>3?l.slice(3):l).join("||")}}De.exports={SemanticContext:E,PrecedencePredicate:b,Predicate:c}},3568:(De,te,g)=>{const{Token:t}=g(9300),{IntervalSet:v}=g(2344),{Predicate:C,PrecedencePredicate:E}=g(8764);class c{constructor(M){if(null==M)throw"target cannot be null.";this.target=M,this.isEpsilon=!1,this.label=null}}c.EPSILON=1,c.RANGE=2,c.RULE=3,c.PREDICATE=4,c.ATOM=5,c.ACTION=6,c.SET=7,c.NOT_SET=8,c.WILDCARD=9,c.PRECEDENCE=10,c.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],c.serializationTypes={EpsilonTransition:c.EPSILON,RangeTransition:c.RANGE,RuleTransition:c.RULE,PredicateTransition:c.PREDICATE,AtomTransition:c.ATOM,ActionTransition:c.ACTION,SetTransition:c.SET,NotSetTransition:c.NOT_SET,WildcardTransition:c.WILDCARD,PrecedencePredicateTransition:c.PRECEDENCE};class l extends c{constructor(M){super(M)}}class u extends c{constructor(M,w){super(M),this.serializationType=c.SET,null!=w?this.label=w:(this.label=new v,this.label.addOne(t.INVALID_TYPE))}matches(M,w,k){return this.label.contains(M)}toString(){return this.label.toString()}}De.exports={Transition:c,AtomTransition:class b extends c{constructor(M,w){super(M),this.label_=w,this.label=this.makeLabel(),this.serializationType=c.ATOM}makeLabel(){const M=new v;return M.addOne(this.label_),M}matches(M,w,k){return this.label_===M}toString(){return this.label_}},SetTransition:u,NotSetTransition:class h extends u{constructor(M,w){super(M,w),this.serializationType=c.NOT_SET}matches(M,w,k){return M>=w&&M<=k&&!super.matches(M,w,k)}toString(){return"~"+super.toString()}},RuleTransition:class s extends c{constructor(M,w,k,D){super(M),this.ruleIndex=w,this.precedence=k,this.followState=D,this.serializationType=c.RULE,this.isEpsilon=!0}matches(M,w,k){return!1}},ActionTransition:class r extends c{constructor(M,w,k,D){super(M),this.serializationType=c.ACTION,this.ruleIndex=w,this.actionIndex=void 0===k?-1:k,this.isCtxDependent=void 0!==D&&D,this.isEpsilon=!0}matches(M,w,k){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}},EpsilonTransition:class f extends c{constructor(M,w){super(M),this.serializationType=c.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=w}matches(M,w,k){return!1}toString(){return"epsilon"}},RangeTransition:class d extends c{constructor(M,w,k){super(M),this.serializationType=c.RANGE,this.start=w,this.stop=k,this.label=this.makeLabel()}makeLabel(){const M=new v;return M.addRange(this.start,this.stop),M}matches(M,w,k){return M>=this.start&&M<=this.stop}toString(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}},WildcardTransition:class p extends c{constructor(M){super(M),this.serializationType=c.WILDCARD}matches(M,w,k){return M>=w&&M<=k}toString(){return"."}},PredicateTransition:class a extends l{constructor(M,w,k,D){super(M),this.serializationType=c.PREDICATE,this.ruleIndex=w,this.predIndex=k,this.isCtxDependent=D,this.isEpsilon=!0}matches(M,w,k){return!1}getPredicate(){return new C(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}},PrecedencePredicateTransition:class _ extends l{constructor(M,w){super(M),this.serializationType=c.PRECEDENCE,this.precedence=w,this.isEpsilon=!0}matches(M,w,k){return!1}getPredicate(){return new E(this.precedence)}toString(){return this.precedence+" >= _p"}},AbstractPredicateTransition:l}},64:(De,te,g)=>{te.ATN=g(512),te.ATNDeserializer=g(8064),te.LexerATNSimulator=g(5800),te.ParserATNSimulator=g(1536),te.PredictionMode=g(7564)},5872:(De,te,g)=>{const{Set:t}=g(1464),{DFAState:v}=g(2020),{StarLoopEntryState:C}=g(6968),{ATNConfigSet:E}=g(8815),{DFASerializer:c}=g(1812),{LexerDFASerializer:b}=g(1812);De.exports=class s{constructor(d,l){if(void 0===l&&(l=0),this.atnStartState=d,this.decision=l,this._states=new t,this.s0=null,this.precedenceDfa=!1,d instanceof C&&d.isPrecedenceDecision){this.precedenceDfa=!0;const a=new v(null,new E);a.edges=[],a.isAcceptState=!1,a.requiresFullContext=!1,this.s0=a}}getPrecedenceStartState(d){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return d<0||d>=this.s0.edges.length?null:this.s0.edges[d]||null}setPrecedenceStartState(d,l){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";d<0||(this.s0.edges[d]=l)}setPrecedenceDfa(d){if(this.precedenceDfa!==d){if(this._states=new t,d){const l=new v(null,new E);l.edges=[],l.isAcceptState=!1,l.requiresFullContext=!1,this.s0=l}else this.s0=null;this.precedenceDfa=d}}sortedStates(){return this._states.values().sort(function(l,a){return l.stateNumber-a.stateNumber})}toString(d,l){return d=d||null,l=l||null,null===this.s0?"":new c(this,d,l).toString()}toLexerString(){return null===this.s0?"":new b(this).toString()}get states(){return this._states}}},1812:(De,te,g)=>{const t=g(1464);class v{constructor(c,b,s){this.dfa=c,this.literalNames=b||[],this.symbolicNames=s||[]}toString(){if(null===this.dfa.s0)return null;let c="";const b=this.dfa.sortedStates();for(let s=0;s"),c=c.concat(this.getStateString(a)),c=c.concat("\n"))}}}return 0===c.length?null:c}getEdgeLabel(c){return 0===c?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[c-1]||this.symbolicNames[c-1]:String.fromCharCode(c-1)}getStateString(c){const b=(c.isAcceptState?":":"")+"s"+c.stateNumber+(c.requiresFullContext?"^":"");return c.isAcceptState?null!==c.predicates?b+"=>"+t.arrayToString(c.predicates):b+"=>"+c.prediction.toString():b}}De.exports={DFASerializer:v,LexerDFASerializer:class C extends v{constructor(c){super(c,null)}getEdgeLabel(c){return"'"+String.fromCharCode(c)+"'"}}}},2020:(De,te,g)=>{const{ATNConfigSet:t}=g(8815),{Hash:v,Set:C}=g(1464);class c{constructor(s,f){return null===s&&(s=-1),null===f&&(f=new t),this.stateNumber=s,this.configs=f,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const s=new C;if(null!==this.configs)for(let f=0;f{te.DFA=g(5872),te.DFASerializer=g(1812).DFASerializer,te.LexerDFASerializer=g(1812).LexerDFASerializer,te.PredPrediction=g(2020).PredPrediction},7908:(De,te,g)=>{const{BitSet:t}=g(1464),{ErrorListener:v}=g(3032),{Interval:C}=g(2344);De.exports=class E extends v{constructor(b){super(),this.exactOnly=b=b||!0}reportAmbiguity(b,s,f,d,l,a,r){if(this.exactOnly&&!l)return;const u="reportAmbiguity d="+this.getDecisionDescription(b,s)+": ambigAlts="+this.getConflictingAlts(a,r)+", input='"+b.getTokenStream().getText(new C(f,d))+"'";b.notifyErrorListeners(u)}reportAttemptingFullContext(b,s,f,d,l,a){const r="reportAttemptingFullContext d="+this.getDecisionDescription(b,s)+", input='"+b.getTokenStream().getText(new C(f,d))+"'";b.notifyErrorListeners(r)}reportContextSensitivity(b,s,f,d,l,a){const r="reportContextSensitivity d="+this.getDecisionDescription(b,s)+", input='"+b.getTokenStream().getText(new C(f,d))+"'";b.notifyErrorListeners(r)}getDecisionDescription(b,s){const f=s.decision,d=s.atnStartState.ruleIndex,l=b.ruleNames;if(d<0||d>=l.length)return""+f;const a=l[d]||null;return null===a||0===a.length?""+f:`${f} (${a})`}getConflictingAlts(b,s){if(null!==b)return b;const f=new t;for(let d=0;d{class te{syntaxError(C,E,c,b,s,f){}reportAmbiguity(C,E,c,b,s,f,d){}reportAttemptingFullContext(C,E,c,b,s,f){}reportContextSensitivity(C,E,c,b,s,f){}}class g extends te{constructor(){super()}syntaxError(C,E,c,b,s,f){console.error("line "+c+":"+b+" "+s)}}g.INSTANCE=new g,De.exports={ErrorListener:te,ConsoleErrorListener:g,ProxyErrorListener:class t extends te{constructor(C){if(super(),null===C)throw"delegates";return this.delegates=C,this}syntaxError(C,E,c,b,s,f){this.delegates.map(d=>d.syntaxError(C,E,c,b,s,f))}reportAmbiguity(C,E,c,b,s,f,d){this.delegates.map(l=>l.reportAmbiguity(C,E,c,b,s,f,d))}reportAttemptingFullContext(C,E,c,b,s,f){this.delegates.map(d=>d.reportAttemptingFullContext(C,E,c,b,s,f))}reportContextSensitivity(C,E,c,b,s,f){this.delegates.map(d=>d.reportContextSensitivity(C,E,c,b,s,f))}}}},2079:(De,te,g)=>{const{Token:t}=g(9300),{NoViableAltException:v,InputMismatchException:C,FailedPredicateException:E,ParseCancellationException:c}=g(7772),{ATNState:b}=g(6968),{Interval:s,IntervalSet:f}=g(2344);class d{reset(u){}recoverInline(u){}recover(u,h){}sync(u){}inErrorRecoveryMode(u){}reportError(u){}}class l extends d{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(u){this.endErrorCondition(u)}beginErrorCondition(u){this.errorRecoveryMode=!0}inErrorRecoveryMode(u){return this.errorRecoveryMode}endErrorCondition(u){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(u){this.endErrorCondition(u)}reportError(u,h){this.inErrorRecoveryMode(u)||(this.beginErrorCondition(u),h instanceof v?this.reportNoViableAlternative(u,h):h instanceof C?this.reportInputMismatch(u,h):h instanceof E?this.reportFailedPredicate(u,h):(console.log("unknown recognition error type: "+h.constructor.name),console.log(h.stack),u.notifyErrorListeners(h.getOffendingToken(),h.getMessage(),h)))}recover(u,h){this.lastErrorIndex===u.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(u.state)>=0&&u.consume(),this.lastErrorIndex=u._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(u.state);const p=this.getErrorRecoverySet(u);this.consumeUntil(u,p)}sync(u){if(this.inErrorRecoveryMode(u))return;const h=u._interp.atn.states[u.state],p=u.getTokenStream().LA(1),_=u.atn.nextTokens(h);if(_.contains(p))return this.nextTokensContext=null,void(this.nextTokenState=b.INVALID_STATE_NUMBER);if(_.contains(t.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=u._ctx,this.nextTokensState=u._stateNumber);else switch(h.stateType){case b.BLOCK_START:case b.STAR_BLOCK_START:case b.PLUS_BLOCK_START:case b.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(u))return;throw new C(u);case b.PLUS_LOOP_BACK:case b.STAR_LOOP_BACK:this.reportUnwantedToken(u);const y=new f;y.addSet(u.getExpectedTokens());const M=y.addSet(this.getErrorRecoverySet(u));this.consumeUntil(u,M)}}reportNoViableAlternative(u,h){const p=u.getTokenStream();let _;_=null!==p?h.startToken.type===t.EOF?"":p.getText(new s(h.startToken.tokenIndex,h.offendingToken.tokenIndex)):"";const y="no viable alternative at input "+this.escapeWSAndQuote(_);u.notifyErrorListeners(y,h.offendingToken,h)}reportInputMismatch(u,h){const p="mismatched input "+this.getTokenErrorDisplay(h.offendingToken)+" expecting "+h.getExpectedTokens().toString(u.literalNames,u.symbolicNames);u.notifyErrorListeners(p,h.offendingToken,h)}reportFailedPredicate(u,h){u.notifyErrorListeners("rule "+u.ruleNames[u._ctx.ruleIndex]+" "+h.message,h.offendingToken,h)}reportUnwantedToken(u){if(this.inErrorRecoveryMode(u))return;this.beginErrorCondition(u);const h=u.getCurrentToken(),y="extraneous input "+this.getTokenErrorDisplay(h)+" expecting "+this.getExpectedTokens(u).toString(u.literalNames,u.symbolicNames);u.notifyErrorListeners(y,h,null)}reportMissingToken(u){if(this.inErrorRecoveryMode(u))return;this.beginErrorCondition(u);const h=u.getCurrentToken(),_="missing "+this.getExpectedTokens(u).toString(u.literalNames,u.symbolicNames)+" at "+this.getTokenErrorDisplay(h);u.notifyErrorListeners(_,h,null)}recoverInline(u){const h=this.singleTokenDeletion(u);if(null!==h)return u.consume(),h;if(this.singleTokenInsertion(u))return this.getMissingSymbol(u);throw new C(u)}singleTokenInsertion(u){const h=u.getTokenStream().LA(1),p=u._interp.atn;return!!p.nextTokens(p.states[u.state].transitions[0].target,u._ctx).contains(h)&&(this.reportMissingToken(u),!0)}singleTokenDeletion(u){const h=u.getTokenStream().LA(2);if(this.getExpectedTokens(u).contains(h)){this.reportUnwantedToken(u),u.consume();const _=u.getCurrentToken();return this.reportMatch(u),_}return null}getMissingSymbol(u){const h=u.getCurrentToken(),_=this.getExpectedTokens(u).first();let y;y=_===t.EOF?"":"";let M=h;const w=u.getTokenStream().LT(-1);return M.type===t.EOF&&null!==w&&(M=w),u.getTokenFactory().create(M.source,_,y,t.DEFAULT_CHANNEL,-1,-1,M.line,M.column)}getExpectedTokens(u){return u.getExpectedTokens()}getTokenErrorDisplay(u){if(null===u)return"";let h=u.text;return null===h&&(h=u.type===t.EOF?"":"<"+u.type+">"),this.escapeWSAndQuote(h)}escapeWSAndQuote(u){return"'"+(u=(u=(u=u.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}getErrorRecoverySet(u){const h=u._interp.atn;let p=u._ctx;const _=new f;for(;null!==p&&p.invokingState>=0;){const w=h.nextTokens(h.states[p.invokingState].transitions[0].followState);_.addSet(w),p=p.parentCtx}return _.removeOne(t.EPSILON),_}consumeUntil(u,h){let p=u.getTokenStream().LA(1);for(;p!==t.EOF&&!h.contains(p);)u.consume(),p=u.getTokenStream().LA(1)}}De.exports={BailErrorStrategy:class a extends l{constructor(){super()}recover(u,h){let p=u._ctx;for(;null!==p;)p.exception=h,p=p.parentCtx;throw new c(h)}recoverInline(u){this.recover(u,new C(u))}sync(u){}},DefaultErrorStrategy:l}},7772:(De,te,g)=>{const{PredicateTransition:t}=g(3568),{Interval:v}=g(2344).Interval;class C extends Error{constructor(a){super(a.message),Error.captureStackTrace?Error.captureStackTrace(this,C):new Error,this.message=a.message,this.recognizer=a.recognizer,this.input=a.input,this.ctx=a.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 s(l,a){return null!==a?a:"failed predicate: {"+l+"}?"}class d extends Error{constructor(){super(),Error.captureStackTrace(this,d)}}De.exports={RecognitionException:C,NoViableAltException:class c extends C{constructor(a,r,u,h,p,_){_=_||a._ctx,h=h||a.getCurrentToken(),u=u||a.getCurrentToken(),r=r||a.getInputStream(),super({message:"",recognizer:a,input:r,ctx:_}),this.deadEndConfigs=p,this.startToken=u,this.offendingToken=h}},LexerNoViableAltException:class E extends C{constructor(a,r,u,h){super({message:"",recognizer:a,input:r,ctx:null}),this.startIndex=u,this.deadEndConfigs=h}toString(){let a="";return this.startIndex>=0&&this.startIndex{De.exports.RecognitionException=g(7772).RecognitionException,De.exports.NoViableAltException=g(7772).NoViableAltException,De.exports.LexerNoViableAltException=g(7772).LexerNoViableAltException,De.exports.InputMismatchException=g(7772).InputMismatchException,De.exports.FailedPredicateException=g(7772).FailedPredicateException,De.exports.DiagnosticErrorListener=g(7908),De.exports.BailErrorStrategy=g(2079).BailErrorStrategy,De.exports.DefaultErrorStrategy=g(2079).DefaultErrorStrategy,De.exports.ErrorListener=g(3032).ErrorListener},2388:()=>{String.prototype.codePointAt||function(){"use strict";var De=function(){let g;try{const t={},v=Object.defineProperty;g=v(t,t,t)&&v}catch{}return g}();const te=function(g){if(null==this)throw TypeError();const t=String(this),v=t.length;let C=g?Number(g):0;if(C!=C&&(C=0),C<0||C>=v)return;const E=t.charCodeAt(C);let c;return E>=55296&&E<=56319&&v>C+1&&(c=t.charCodeAt(C+1),c>=56320&&c<=57343)?1024*(E-55296)+c-56320+65536:E};De?De(String.prototype,"codePointAt",{value:te,configurable:!0,writable:!0}):String.prototype.codePointAt=te}()},9700:()=>{String.fromCodePoint||function(){const De=function(){let v;try{const C={},E=Object.defineProperty;v=E(C,C,C)&&E}catch{}return v}(),te=String.fromCharCode,g=Math.floor,t=function(v){const E=[];let c,b,s=-1;const f=arguments.length;if(!f)return"";let d="";for(;++s1114111||g(l)!==l)throw RangeError("Invalid code point: "+l);l<=65535?E.push(l):(l-=65536,c=55296+(l>>10),b=l%1024+56320,E.push(c,b)),(s+1===f||E.length>16384)&&(d+=te.apply(null,E),E.length=0)}return d};De?De(String,"fromCodePoint",{value:t,configurable:!0,writable:!0}):String.fromCodePoint=t}()},7336:(De,te,g)=>{const{Token:t}=g(9300),{Interval:v}=g(2344),C=new v(-1,-2);class E{}class c extends E{constructor(){super()}}class b extends c{constructor(){super()}}class f extends b{constructor(){super()}}class d extends f{constructor(){super()}}class r extends f{constructor(_){super(),this.parentCtx=null,this.symbol=_}getChild(_){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(null===this.symbol)return C;const _=this.symbol.tokenIndex;return new v(_,_)}getChildCount(){return 0}accept(_){return _.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===t.EOF?"":this.symbol.text}}class h{walk(_,y){if(y instanceof d||void 0!==y.isErrorNode&&y.isErrorNode())_.visitErrorNode(y);else if(y instanceof f)_.visitTerminal(y);else{this.enterRule(_,y);for(let w=0;w{const t=g(1464),{Token:v}=g(9300),{ErrorNode:C,TerminalNode:E,RuleNode:c}=g(7336),b={toStringTree:function(s,f,d){f=f||null,null!==(d=d||null)&&(f=d.ruleNames);let l=b.getNodeText(s,f);l=t.escapeWhitespace(l,!1);const a=s.getChildCount();if(0===a)return l;let r="("+l+" ";a>0&&(l=b.toStringTree(s.getChild(0),f),r=r.concat(l));for(let u=1;u{const t=g(7336),v=g(8);De.exports={...t,Trees:v}},5640:function(){var De;De=typeof self<"u"?self:this,function(g){var t_searchParams="URLSearchParams"in De,t_iterable="Symbol"in De&&"iterator"in Symbol,t_blob="FileReader"in De&&"Blob"in De&&function(){try{return new Blob,!0}catch{return!1}}(),t_formData="FormData"in De,t_arrayBuffer="ArrayBuffer"in De;if(t_arrayBuffer)var C=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],E=ArrayBuffer.isView||function(T){return T&&C.indexOf(Object.prototype.toString.call(T))>-1};function c(T){if("string"!=typeof T&&(T=String(T)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(T))throw new TypeError("Invalid character in header field name");return T.toLowerCase()}function b(T){return"string"!=typeof T&&(T=String(T)),T}function s(T){var N={next:function(){var S=T.shift();return{done:void 0===S,value:S}}};return t_iterable&&(N[Symbol.iterator]=function(){return N}),N}function f(T){this.map={},T instanceof f?T.forEach(function(N,S){this.append(S,N)},this):Array.isArray(T)?T.forEach(function(N){this.append(N[0],N[1])},this):T&&Object.getOwnPropertyNames(T).forEach(function(N){this.append(N,T[N])},this)}function d(T){if(T.bodyUsed)return Promise.reject(new TypeError("Already read"));T.bodyUsed=!0}function l(T){return new Promise(function(N,S){T.onload=function(){N(T.result)},T.onerror=function(){S(T.error)}})}function a(T){var N=new FileReader,S=l(N);return N.readAsArrayBuffer(T),S}function h(T){if(T.slice)return T.slice(0);var N=new Uint8Array(T.byteLength);return N.set(new Uint8Array(T)),N.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(T){this._bodyInit=T,T?"string"==typeof T?this._bodyText=T:t_blob&&Blob.prototype.isPrototypeOf(T)?this._bodyBlob=T:t_formData&&FormData.prototype.isPrototypeOf(T)?this._bodyFormData=T:t_searchParams&&URLSearchParams.prototype.isPrototypeOf(T)?this._bodyText=T.toString():t_arrayBuffer&&t_blob&&function v(T){return T&&DataView.prototype.isPrototypeOf(T)}(T)?(this._bodyArrayBuffer=h(T.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):t_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(T)||E(T))?this._bodyArrayBuffer=h(T):this._bodyText=T=Object.prototype.toString.call(T):this._bodyText="",this.headers.get("content-type")||("string"==typeof T?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t_searchParams&&URLSearchParams.prototype.isPrototypeOf(T)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t_blob&&(this.blob=function(){var T=d(this);if(T)return T;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?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(a)}),this.text=function(){var T=d(this);if(T)return T;if(this._bodyBlob)return function r(T){var N=new FileReader,S=l(N);return N.readAsText(T),S}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function u(T){for(var N=new Uint8Array(T),S=new Array(N.length),F=0;F-1?N:T}(N.method||this.method||"GET"),this.mode=N.mode||this.mode||null,this.signal=N.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&S)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(S)}function w(T){var N=new FormData;return T.trim().split("&").forEach(function(S){if(S){var F=S.split("="),L=F.shift().replace(/\+/g," "),A=F.join("=").replace(/\+/g," ");N.append(decodeURIComponent(L),decodeURIComponent(A))}}),N}function k(T){var N=new f;return T.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(F){var L=F.split(":"),A=L.shift().trim();if(A){var U=L.join(":").trim();N.append(A,U)}}),N}function D(T,N){N||(N={}),this.type="default",this.status=void 0===N.status?200:N.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in N?N.statusText:"OK",this.headers=new f(N.headers),this.url=N.url||"",this._initBody(T)}M.prototype.clone=function(){return new M(this,{body:this._bodyInit})},p.call(M.prototype),p.call(D.prototype),D.prototype.clone=function(){return new D(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},D.error=function(){var T=new D(null,{status:0,statusText:""});return T.type="error",T};var I=[301,302,303,307,308];D.redirect=function(T,N){if(-1===I.indexOf(N))throw new RangeError("Invalid status code");return new D(null,{status:N,headers:{location:T}})},g.DOMException=De.DOMException;try{new g.DOMException}catch{g.DOMException=function(N,S){this.message=N,this.name=S;var F=Error(N);this.stack=F.stack},g.DOMException.prototype=Object.create(Error.prototype),g.DOMException.prototype.constructor=g.DOMException}function O(T,N){return new Promise(function(S,F){var L=new M(T,N);if(L.signal&&L.signal.aborted)return F(new g.DOMException("Aborted","AbortError"));var A=new XMLHttpRequest;function U(){A.abort()}A.onload=function(){var K={status:A.status,statusText:A.statusText,headers:k(A.getAllResponseHeaders()||"")};K.url="responseURL"in A?A.responseURL:K.headers.get("X-Request-URL"),S(new D("response"in A?A.response:A.responseText,K))},A.onerror=function(){F(new TypeError("Network request failed"))},A.ontimeout=function(){F(new TypeError("Network request failed"))},A.onabort=function(){F(new g.DOMException("Aborted","AbortError"))},A.open(L.method,L.url,!0),"include"===L.credentials?A.withCredentials=!0:"omit"===L.credentials&&(A.withCredentials=!1),"responseType"in A&&t_blob&&(A.responseType="blob"),L.headers.forEach(function(K,ee){A.setRequestHeader(ee,K)}),L.signal&&(L.signal.addEventListener("abort",U),A.onreadystatechange=function(){4===A.readyState&&L.signal.removeEventListener("abort",U)}),A.send(typeof L._bodyInit>"u"?null:L._bodyInit)})}O.polyfill=!0,De.fetch||(De.fetch=O,De.Headers=f,De.Request=M,De.Response=D),g.Headers=f,g.Request=M,g.Response=D,g.fetch=O,Object.defineProperty(g,"__esModule",{value:!0})}({})},9664:De=>{De.exports=function(t){var v=new Date(t.getTime()),C=v.getTimezoneOffset();return v.setSeconds(0,0),6e4*C+v.getTime()%6e4}},6915:(De,te,g)=>{var t=g(9952);De.exports=function v(C,E){var c=t(C),b=Number(E);return c.setDate(c.getDate()+b),c}},4260:(De,te,g)=>{var t=g(2236);De.exports=function C(E,c){var b=Number(c);return t(E,36e5*b)}},2236:(De,te,g)=>{var t=g(9952);De.exports=function v(C,E){var c=t(C).getTime(),b=Number(E);return new Date(c+b)}},7196:(De,te,g)=>{var t=g(2236);De.exports=function C(E,c){var b=Number(c);return t(E,6e4*b)}},4400:(De,te,g)=>{var t=g(9952),v=g(68);De.exports=function C(E,c){var b=t(E),s=Number(c),f=b.getMonth()+s,d=new Date(0);d.setFullYear(b.getFullYear(),f,1),d.setHours(0,0,0,0);var l=v(d);return b.setMonth(f,Math.min(l,b.getDate())),b}},3792:(De,te,g)=>{var t=g(2236);De.exports=function v(C,E){var c=Number(E);return t(C,1e3*c)}},7784:(De,te,g)=>{var t=g(6915);De.exports=function v(C,E){var c=Number(E);return t(C,7*c)}},4824:(De,te,g)=>{var t=g(4400);De.exports=function v(C,E){var c=Number(E);return t(C,12*c)}},68:(De,te,g)=>{var t=g(9952);De.exports=function v(C){var E=t(C),c=E.getFullYear(),b=E.getMonth(),s=new Date(0);return s.setFullYear(c,b+1,0),s.setHours(0,0,0,0),s.getDate()}},1684:De=>{De.exports=function te(g){return g instanceof Date}},9952:(De,te,g)=>{var t=g(9664),v=g(1684),C=36e5,E=6e4,b=/[T ]/,s=/:/,f=/^(\d{2})$/,d=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],l=/^(\d{4})/,a=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],r=/^-(\d{2})$/,u=/^-?(\d{3})$/,h=/^-?(\d{2})-?(\d{2})$/,p=/^-?W(\d{2})$/,_=/^-?W(\d{2})-?(\d{1})$/,y=/^(\d{2}([.,]\d*)?)$/,M=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,w=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,k=/([Z+-].*)$/,D=/^(Z)$/,I=/^([+-])(\d{2})$/,O=/^([+-])(\d{2}):?(\d{2})$/;function U(K,ee,ne){ee=ee||0,ne=ne||0;var B=new Date(0);B.setUTCFullYear(K,0,4);var z=7*ee+ne+1-(B.getUTCDay()||7);return B.setUTCDate(B.getUTCDate()+z),B}De.exports=function T(K,ee){if(v(K))return new Date(K.getTime());if("string"!=typeof K)return new Date(K);var B=(ee||{}).additionalDigits;B=null==B?2:Number(B);var H=function N(K){var B,ee={},ne=K.split(b);if(s.test(ne[0])?(ee.date=null,B=ne[0]):(ee.date=ne[0],B=ne[1]),B){var H=k.exec(B);H?(ee.time=B.replace(H[1],""),ee.timezone=H[1]):ee.time=B}return ee}(K),z=function S(K,ee){var H,ne=d[ee],B=a[ee];if(H=l.exec(K)||B.exec(K)){var z=H[1];return{year:parseInt(z,10),restDateString:K.slice(z.length)}}if(H=f.exec(K)||ne.exec(K)){var X=H[1];return{year:100*parseInt(X,10),restDateString:K.slice(X.length)}}return{year:null}}(H.date,B),j=function F(K,ee){if(null===ee)return null;var ne,B,H;if(0===K.length)return(B=new Date(0)).setUTCFullYear(ee),B;if(ne=r.exec(K))return B=new Date(0),H=parseInt(ne[1],10)-1,B.setUTCFullYear(ee,H),B;if(ne=u.exec(K)){B=new Date(0);var X=parseInt(ne[1],10);return B.setUTCFullYear(ee,0,X),B}if(ne=h.exec(K)){B=new Date(0),H=parseInt(ne[1],10)-1;var G=parseInt(ne[2],10);return B.setUTCFullYear(ee,H,G),B}return(ne=p.exec(K))?U(ee,parseInt(ne[1],10)-1):(ne=_.exec(K))?U(ee,parseInt(ne[1],10)-1,parseInt(ne[2],10)-1):null}(z.restDateString,z.year);if(j){var ve,le=j.getTime(),ue=0;if(H.time&&(ue=function L(K){var ee,ne,B;if(ee=y.exec(K))return(ne=parseFloat(ee[1].replace(",",".")))%24*C;if(ee=M.exec(K))return ne=parseInt(ee[1],10),B=parseFloat(ee[2].replace(",",".")),ne%24*C+B*E;if(ee=w.exec(K)){ne=parseInt(ee[1],10),B=parseInt(ee[2],10);var H=parseFloat(ee[3].replace(",","."));return ne%24*C+B*E+1e3*H}return null}(H.time)),H.timezone)ve=function A(K){var ee,ne;return(ee=D.exec(K))?0:(ee=I.exec(K))?(ne=60*parseInt(ee[2],10),"+"===ee[1]?-ne:ne):(ee=O.exec(K))?(ne=60*parseInt(ee[2],10)+parseInt(ee[3],10),"+"===ee[1]?-ne:ne):0}(H.timezone)*E;else{var Je=le+ue,_t=new Date(Je);ve=t(_t);var ct=new Date(Je);ct.setDate(_t.getDate()+1);var Ct=t(ct)-t(_t);Ct>0&&(ve+=Ct)}return new Date(le+ue+ve)}return new Date(K)}},7020:(De,te,g)=>{te.formatArgs=function v(s){if(s[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+s[0]+(this.useColors?"%c ":" ")+"+"+De.exports.humanize(this.diff),!this.useColors)return;const f="color: "+this.color;s.splice(1,0,f,"color: inherit");let d=0,l=0;s[0].replace(/%[a-zA-Z%]/g,a=>{"%%"!==a&&(d++,"%c"===a&&(l=d))}),s.splice(l,0,f)},te.save=function C(s){try{s?te.storage.setItem("debug",s):te.storage.removeItem("debug")}catch{}},te.load=function E(){let s;try{s=te.storage.getItem("debug")}catch{}return!s&&typeof process<"u"&&"env"in process&&(s=process.env.DEBUG),s},te.useColors=function t(){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+)/))},te.storage=function c(){try{return localStorage}catch{}}(),te.destroy=(()=>{let s=!1;return()=>{s||(s=!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`."))}})(),te.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"],te.log=console.debug||console.log||(()=>{}),De.exports=g(424)(te);const{formatters:b}=De.exports;b.j=function(s){try{return JSON.stringify(s)}catch(f){return"[UnexpectedJSONParseError]: "+f.message}}},424:(De,te,g)=>{De.exports=function t(v){function E(r){let u,p,_,h=null;function y(...M){if(!y.enabled)return;const w=y,k=Number(new Date);w.diff=k-(u||k),w.prev=u,w.curr=k,u=k,M[0]=E.coerce(M[0]),"string"!=typeof M[0]&&M.unshift("%O");let I=0;M[0]=M[0].replace(/%([a-zA-Z%])/g,(T,N)=>{if("%%"===T)return"%";I++;const S=E.formatters[N];return"function"==typeof S&&(T=S.call(w,M[I]),M.splice(I,1),I--),T}),E.formatArgs.call(w,M),(w.log||E.log).apply(w,M)}return y.namespace=r,y.useColors=E.useColors(),y.color=E.selectColor(r),y.extend=c,y.destroy=E.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==h?h:(p!==E.namespaces&&(p=E.namespaces,_=E.enabled(r)),_),set:M=>{h=M}}),"function"==typeof E.init&&E.init(y),y}function c(r,u){const h=E(this.namespace+(typeof u>"u"?":":u)+r);return h.log=this.log,h}function d(r){return r.toString().substring(2,r.toString().length-2).replace(/\.\*\?$/,"*")}return E.debug=E,E.default=E,E.coerce=function l(r){return r instanceof Error?r.stack||r.message:r},E.disable=function s(){const r=[...E.names.map(d),...E.skips.map(d).map(u=>"-"+u)].join(",");return E.enable(""),r},E.enable=function b(r){let u;E.save(r),E.namespaces=r,E.names=[],E.skips=[];const h=("string"==typeof r?r:"").split(/[\s,]+/),p=h.length;for(u=0;u{E[r]=v[r]}),E.names=[],E.skips=[],E.formatters={},E.selectColor=function C(r){let u=0;for(let h=0;h{"use strict";var te="%[a-f0-9]{2}",g=new RegExp("("+te+")|([^%]+?)","gi"),t=new RegExp("("+te+")+","gi");function v(c,b){try{return[decodeURIComponent(c.join(""))]}catch{}if(1===c.length)return c;var s=c.slice(0,b=b||1),f=c.slice(b);return Array.prototype.concat.call([],v(s),v(f))}function C(c){try{return decodeURIComponent(c)}catch{for(var b=c.match(g)||[],s=1;s"u"&&typeof process<"u"&&"[object process]"==={}.toString.call(process),u=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function M(){var Oe=setTimeout;return function(){return Oe(k,1)}}var w=new Array(1e3);function k(){for(var Oe=0;Oe{De.exports=class te{constructor(t){this.capabilityStatement=t}serverCan(t){return this.supportFor({capabilityType:"interaction",where:{code:t}})}resourceCan(t,v){return this.supportFor({resourceType:t,capabilityType:"interaction",where:{code:v}})}serverSearch(t){return this.supportFor({capabilityType:"searchParam",where:{name:t}})}resourceSearch(t,v){return this.supportFor({resourceType:t,capabilityType:"searchParam",where:{name:v}})}supportFor({resourceType:t,capabilityType:v,where:C}={}){let E;if(E=t?this.resourceCapabilities({resourceType:t}):this.serverCapabilities(),!E)return!1;const c=E[v];if(C&&c){const b=Object.keys(C)[0];return void 0!==c.find(f=>f[b]===C[b])}return void 0!==c}interactionsFor({resourceType:t}={}){const v=this.resourceCapabilities({resourceType:t});return void 0===v?[]:v.interaction.map(C=>C.code)}searchParamsFor({resourceType:t}={}){const v=this.resourceCapabilities({resourceType:t});return void 0===v||void 0===v.searchParam?[]:v.searchParam.map(C=>C.name)}resourceCapabilities({resourceType:t}={}){return this.serverCapabilities().resource.find(E=>E.type===t)}capabilityContents({resourceType:t,capabilityType:v}={}){const C=this.resourceCapabilities({resourceType:t});if(void 0!==C)return C[v]}serverCapabilities(){return this.capabilityStatement.rest.find(t=>"server"===t.mode)}}},1920:(De,te,g)=>{var t=g(1196).default;const v=g(4420),{authFromCapability:C,authFromWellKnown:E}=g(2564),c=g(3440),b=g(9924),s=g(9108),{createQueryString:f,validResourceType:d}=g(6780),{FetchQueue:l}=g(2096),{deprecatePaginationArgs:a,deprecateHeaders:r}=g(2324),u=g(7800);De.exports=class h{constructor({baseUrl:_,customHeaders:y,requestOptions:M,requestSigner:w,bearerToken:k}={}){this.httpClient=new c({baseUrl:_,customHeaders:y,requestOptions:M,requestSigner:w}),k&&(this.httpClient.bearerToken=k),this.resolver=new b(this),this.pagination=new s(this.httpClient)}static httpFor(_){return{request:c.requestFor(_),response:c.responseFor(_)}}get baseUrl(){return this.httpClient&&this.httpClient.baseUrl}set baseUrl(_){this.httpClient&&(this.httpClient.baseUrl=_)}get customHeaders(){return this.httpClient.customHeaders}set customHeaders(_){this.httpClient.customHeaders=_}set bearerToken(_){this.httpClient.bearerToken=_}resolve({reference:_,context:y,headers:M,options:w={}}={}){return this.resolver.resolve({reference:_,context:y,options:r(w,M)})}smartAuthMetadata({headers:_,options:y={}}={}){var M=this;return t(function*(){const w={options:r(y,_)};w.options.headers||(w.options.headers={}),w.options.headers.accept="application/fhir+json,application/json";const k=M.baseUrl.replace(/\/*$/,"/"),D=new l,I=D.buildJob(),O=D.buildJob(),T=D.buildJob(),N=[];return new Promise((S,F)=>{function L(A){N.push(A)===D.numJobs&&F(new Error(N.map(U=>U.message).join("; ")))}M.httpClient.request("GET",`${k}.well-known/smart-configuration`,O.addSignalOption(w)).then(A=>(D.safeAbortOthers(O),S(E(A)))).catch(A=>L(A)),M.capabilityStatement(I.addSignalOption(w)).then(A=>(D.safeAbortOthers(I),S(C(A)))).catch(A=>L(A)),M.httpClient.request("GET",`${k}.well-known/openid-configuration`,T.addSignalOption(w)).then(A=>(D.safeAbortOthers(T),S(E(A)))).catch(A=>L(A))})})()}capabilityStatement({headers:_,options:y={}}={}){return this.metadata||(this.metadata=this.httpClient.get("metadata",r(y,_))),this.metadata}request(_,{method:y="GET",options:M={},body:w}={}){return M.method&&M.method!==y&&console.warn(`WARNING: 'options.method' has been specified: ${M.method} but will be ignored. Use 'method' instead.`),this.httpClient.request(y,_,M,w)}read({resourceType:_,id:y,headers:M,options:w={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);return this.httpClient.get(`${_}/${y}`,r(w,M))}vread({resourceType:_,id:y,version:M,headers:w,options:k={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);return this.httpClient.get(`${_}/${y}/_history/${M}`,r(k,w))}create({resourceType:_,body:y,headers:M,options:w={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);return this.httpClient.post(_,y,r(w,M))}delete({resourceType:_,id:y,headers:M,options:w={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);return this.httpClient.delete(`${_}/${y}`,r(w,M))}update({resourceType:_,id:y,searchParams:M,body:w,headers:k,options:D={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);if(y&&M)throw new Error("Conditional update with search params cannot be with id",_);if(M){const I=f(M);return this.httpClient.put(`${_}?${I}`,w,r(D,k))}return this.httpClient.put(`${_}/${y}`,w,r(D,k))}patch({resourceType:_,id:y,JSONPatch:M,headers:w,options:k={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);const I={...r(k,w).headers||{},"Content-Type":"application/json-patch+json"};return this.httpClient.patch(`${_}/${y}`,M,{...k,headers:I})}batch({body:_,headers:y,options:M={}}={}){return this.httpClient.post("/",_,r(M,y))}transaction({body:_,headers:y,options:M={}}={}){return this.httpClient.post("/",_,r(M,y))}operation({name:_,resourceType:y,id:M,method:w="POST",input:k,options:D={}}={}){const I=["/"];if(y){if(!d(y))throw new Error("Invalid resourceType",y);I.push(`${y}/`)}return M&&I.push(`${M}/`),I.push(`${_.startsWith("$")?_:`$${_}`}`),"POST"===w.toUpperCase()?this.httpClient.post(I.join(""),k,D):"GET"===w.toUpperCase()?(k&&I.push(`?${v.stringify(k)}`),this.httpClient.get(I.join(""),D)):void 0}nextPage(_,y){const{bundle:M,options:w={}}=a(_,y);return this.pagination.nextPage(M,w)}prevPage(_,y){const{bundle:M,options:w={}}=a(_,y);return this.pagination.prevPage(M,w)}search({resourceType:_,compartment:y,searchParams:M,headers:w,options:k={}}={}){if(_&&!d(_))throw new Error("Invalid resourceType",_);if(y&&_)return this.compartmentSearch({resourceType:_,compartment:y,searchParams:M,options:r(k,w)});if(_)return this.resourceSearch({resourceType:_,searchParams:M,options:r(k,w)});if(M instanceof Object&&Object.keys(M).length>0)return this.systemSearch({searchParams:M,options:r(k,w)});throw new Error("search requires either searchParams or a resourceType")}resourceSearch({resourceType:_,searchParams:y,headers:M,options:w={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);let k=_;return w.postSearch&&(k+="/_search"),this.baseSearch({searchPath:k,searchParams:y,headers:M,options:w})}systemSearch({searchParams:_,headers:y,options:M={}}={}){return this.baseSearch({searchPath:"/_search",searchParams:_,headers:y,options:M})}compartmentSearch({resourceType:_,compartment:y,searchParams:M,headers:w,options:k={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);const{resourceType:D,id:I}=y;if(!d(D))throw new Error("Invalid compartmentType",D);let O=`/${D}/${I}/${_}`;return k.postSearch&&(O+="/_search"),this.baseSearch({searchPath:O,searchParams:M,headers:w,options:k})}baseSearch({searchPath:_,searchParams:y,headers:M,options:w}){const k=f(y),D=r(w,M);return this[w.postSearch?"postSearch":"getSearch"](_,k,D)}postSearch(_,y,M){const k={"Content-Type":"application/x-www-form-urlencoded",...M.headers},D={...M,headers:k};return this.httpClient.post(_,y,D)}getSearch(_,y,M){let w=_;return y&&(w+=`?${y}`),this.httpClient.get(w,M)}history({resourceType:_,id:y,headers:M,options:w={}}={}){if(_&&!d(_))throw new Error("Invalid resourceType",_);return y&&_?this.resourceHistory({resourceType:_,id:y,options:r(w,M)}):_?this.typeHistory({resourceType:_,options:r(w,M)}):this.systemHistory({options:r(w,M)})}resourceHistory({resourceType:_,id:y,headers:M,options:w={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);return this.httpClient.get(`${_}/${y}/_history`,r(w,M))}typeHistory({resourceType:_,headers:y,options:M={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);return this.httpClient.get(`${_}/_history`,r(M,y))}systemHistory({headers:_,options:y={}}={}){return this.httpClient.get("_history",r(y,_))}},De.exports.CapabilityTool=u},2324:De=>{De.exports={deprecateHeaders:(t,v)=>v?(console.warn("WARNING: headers is deprecated and will be removed in the next major version. Use options.headers instead."),console.warn(JSON.stringify(v,null," ")),{headers:v,...t}):t,deprecatePaginationArgs:(t,v)=>{if(Object.prototype.hasOwnProperty.call(t,"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 C={bundle:t};return v&&(C.options={headers:v}),C}return t}}},2096:(De,te,g)=>{const{AbortController:t}=g(2948);class v{constructor(){this.controller=new t,this.resolving=!1}addSignalOption(c){return{signal:this.controller.signal,...c}}safeAbort(){this.resolving||this.controller.abort()}}De.exports={FetchQueue:class C{constructor(){this.jobs=[],this.numJobs=0}buildJob(){const c=new v;return this.numJobs=this.jobs.push(c),c}safeAbortOthers(c){c.resolving=!0;for(let b=0,s=this.numJobs;b{De.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})?$/}},3440:(De,te,g)=>{var t=g(1196).default;g(4188).polyfill(),g(5640);const{logRequestError:v,logRequestInfo:C,logResponseInfo:E}=g(8016),c={accept:"application/fhir+json"},b="__response",s="__request";let d,l,f=!1;try{d=g(5368),l=g(5368).HttpsAgent,f=!0}catch{C("HTTP Agent is not available")}const a=new WeakMap;function u({status:p,data:_,method:y,headers:M,url:w}){const k={response:{status:p,data:_},config:{method:y,url:w,headers:M}};return v(k),k}De.exports=class Qu{static lcKeys(_){return _&&Object.keys(_).reduce((y,M)=>(y[M.toLowerCase()]=_[M],y),{})}constructor({baseUrl:_,customHeaders:y={},requestOptions:M={},requestSigner:w}){this.baseUrl=_,this.customHeaders=y,this.baseRequestOptions=M,this.requestSigner=w}set baseUrl(_){if(!_)throw new Error("baseUrl cannot be blank");if("string"!=typeof _)throw new Error("baseUrl must be a string");this.baseUrlValue=_}get baseUrl(){return this.baseUrlValue}static responseFor(_){return _[b]}static requestFor(_){return _[s]}set bearerToken(_){this.authHeader={authorization:`Bearer ${_}`}}requestBuilder(_,y,M,w){const k={...this.baseRequestOptions,...M,method:_,body:(p=w,"string"==typeof p?p:JSON.stringify(p))};var p;let D={};return f||(D={keepalive:!Object.prototype.hasOwnProperty.call(k,"keepalive")||k.keepalive}),Object.assign(k,D,{headers:new Headers(this.mergeHeaders(M.headers))},function r(p,_={}){const y={baseUrl:p,agentOptions:_};return f?(a.get(y)||(p.startsWith("https")?a.set(y,{agent:new l(_)}):a.set(y,{agent:new d(_)})),a.get(y)):{}}(this.baseUrl,k)),this.requestSigner&&this.requestSigner(y,k),new Request(y,k)}request(_,y,M={},w){var k=this;return t(function*(){const D=k.expandUrl(y),I=k.requestBuilder(_,D,M,w);C(_,D,I.headers);const O=yield fetch(I),{status:T,headers:N}=O;E({status:T,response:O});const S=yield O.text();let F={};if(S)try{F=JSON.parse(S)}catch{throw F=S,u({status:T,data:F,method:_,headers:N,url:D})}if(!O.ok)throw u({status:T,data:F,method:_,headers:N,url:D});return Object.defineProperty(F,b,{writable:!1,enumerable:!1,value:O}),Object.defineProperty(F,s,{writable:!1,enumerable:!1,value:I}),F})()}get(_,y){var M=this;return t(function*(){return M.request("GET",_,y)})()}delete(_,y){var M=this;return t(function*(){return M.request("DELETE",_,y)})()}put(_,y,M={}){var w=this;return t(function*(){const k={"content-type":"application/fhir+json",...Qu.lcKeys(M.headers)},D={...M,headers:k};return w.request("PUT",_,D,y)})()}post(_,y,M={}){var w=this;return t(function*(){const k={"content-type":"application/fhir+json",...Qu.lcKeys(M.headers)},D={...M,headers:k};return w.request("POST",_,D,y)})()}patch(_,y,M){var w=this;return t(function*(){return w.request("PATCH",_,M,y)})()}expandUrl(_=""){return _.toLowerCase().startsWith("http")?_:this.baseUrl.endsWith("/")&&_.startsWith("/")?this.baseUrl+_.slice(1):this.baseUrl.endsWith("/")||_.startsWith("/")?this.baseUrl+_:`${this.baseUrl}/${_}`}mergeHeaders(_){const{lcKeys:y}=Qu;return{...y(c),...y(this.authHeader),...y(this.customHeaders),...y(_)}}}},8016:(De,te,g)=>{const t=g(4772),v=g(7020)("fhir-kit-client:error"),C=g(7020)("fhir-kit-client:info");function E(l){return t(l)}function c(l){return E(l.raw&&"function"==typeof l.raw?l.raw():l)}De.exports={logRequestError:function b(l){v.enabled&&(v("!!! Error"),l.response&&v(` Status: ${l.response.status}`),l.config&&(v(` ${l.config.method.toUpperCase()}: ${l.config.url}`),v(` Headers: ${c(l.config.headers)}`)),l.response&&l.response.data&&v(E(l.response.data)),v("!!! Request Error"))},logRequestInfo:function s(l,a,r){C.enabled&&(a&&C(`Request: ${l.toUpperCase()} ${a.toString()}`),C(`Request Headers: ${c(r)}`))},logResponseInfo:function f(l){C.enabled&&(C(`Response: ${l.status}`),l.data&&C(E(l.data)))},logError:function d(l){v.enabled&&v(l)}}},9108:De=>{De.exports=class te{constructor(t){this.httpClient=t}nextPage(t,{headers:v}={}){const C=t.link.find(E=>"next"===E.relation);return C?this.httpClient.get(C.url,{headers:v}):void 0}prevPage(t,{headers:v}={}){const C=t.link.find(E=>E.relation.match(/^prev(ious)?$/));return C?this.httpClient.get(C.url,{headers:v}):void 0}}},9924:(De,te,g)=>{var t=g(1196).default;const{splitReference:v}=g(6780),{deprecateHeaders:C}=g(2324);De.exports=class{constructor(E){this.client=E}resolve({reference:E,context:c,headers:b,options:s={}}={}){var f=this;return t(function*(){return void 0===c?E.startsWith("http")?f.resolveAbsoluteReference(E,C(s,b)):f.client.httpClient.get(E,C(s,b)):E.startsWith("#")?f.resolveContainedReference(E,c):f.resolveBundleReference(E,c,C(s,b))})()}resolveAbsoluteReference(E,c){var b=this;return t(function*(){if(E.startsWith(b.client.baseUrl))return b.client.httpClient.get(E,c);const{baseUrl:s,resourceType:f,id:d}=v(E);return new(g(1920))({baseUrl:s}).read({resourceType:f,id:d,options:c})})()}resolveContainedReference(E,c){if(c.contained){const b=E.slice(1),s=c.contained.find(f=>f.id===b);if(s)return s}throw new Error(`Unable to resolve contained reference: ${E}`)}resolveBundleReference(E,c,b){var s=this;return t(function*(){const f=new RegExp(`(^|/)${E}$`),d=c.entry.find(l=>f.test(l.fullUrl));return d?d.resource:s.resolve({reference:E,options:b})})()}}},2564:(De,te,g)=>{const{logError:v}=g(8016);De.exports={authFromCapability:function C(c){const b={};try{return c.rest.forEach(s=>{s.security.extension.find(d=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===d.url).extension.forEach(d=>{switch(d.url){case"authorize":b.authorizeUrl=new URL(d.valueUri);break;case"token":b.tokenUrl=new URL(d.valueUri);break;case"register":b.registerUrl=new URL(d.valueUri);break;case"manage":b.manageUrl=new URL(d.valueUri)}})}),b}catch(s){return v(s),b}},authFromWellKnown:function E(c){const{authorization_endpoint:b,token_endpoint:s,registration_endpoint:f}=c;return{authorizeUrl:b&&new URL(b),tokenUrl:s&&new URL(s),registerUrl:f&&new URL(f)}}}},6780:(De,te,g)=>{const t=g(4420),{fhirReferenceRegEx:v}=g(8840);De.exports={createQueryString:function c(b){if(b instanceof Object&&Object.keys(b).length>0)return t.stringify(b)},splitReference:function C(b){if(!b.match(v))throw new Error(`${b} is not a recognized FHIR reference`);let s,f=b;b.startsWith("http")&&([,s]=v.exec(b),f=b.slice(s.length),s.endsWith("/")&&(s=s.slice(0,-1)));const[d,l]=f.split("/");return{baseUrl:s,resourceType:d,id:l}},validResourceType:function E(b){return!b.startsWith("/")&&!b.includes(":")&&/\S/.test(b)}}},6933:(De,te,g)=>{let t={};const v=g(2936),C=g(7656),E=g(2360);t.aggregateMacro=function(c,b,s){return c.reduce((f,d,l)=>(this.$index=l,this.$total=b(d)),this.$total=s)},t.countFn=function(c){return c&&c.length?c.length:0},t.sumFn=function(c){return t.aggregateMacro.apply(this,[c.slice(1),b=>v.plus(E.arraify(b),E.arraify(this.$total)),c[0]])},t.minFn=function(c){return t.aggregateMacro.apply(this,[c,b=>{const s=E.arraify(b),f=E.arraify(this.$total);return E.isEmpty(f)||C.lt(s,f)?s:f}])},t.maxFn=function(c){return t.aggregateMacro.apply(this,[c,b=>{const s=E.arraify(b),f=E.arraify(this.$total);return E.isEmpty(f)||C.gt(s,f)?s:f}])},t.avgFn=function(c){return v.div(E.arraify(t.sumFn(c)),E.arraify(t.countFn(c)))},De.exports=t},3736:(De,te,g)=>{const{deepEqual:t}=g(8168),v={};function C(E,c){for(var b=0;b1)throw new Error("Expected singleton on right side of contains, got "+JSON.stringify(c));return C(E,c)},v.in=function(E,c){if(0==E.length)return[];if(0==c.length)return!1;if(E.length>1)throw new Error("Expected singleton on right side of in, got "+JSON.stringify(c));return C(c,E)},De.exports=v},8700:(De,te,g)=>{const t={},{distinctFn:v}=g(4052),C=g(1240),{deepEqual:E,maxCollSizeForDeepEqual:c}=g(8168);t.union=function(b,s){return v(b.concat(s))},t.combineFn=function(b,s){return b.concat(s)},t.intersect=function(b,s){let f=[];const d=b.length;let l=s.length;if(d&&l)if(d+l>c){let a={};s.forEach(r=>{const u=C(r);a[u]?l--:a[u]=!0});for(let r=0;r0;++r){let u=b[r],h=C(u);a[h]&&(f.push(u),a[h]=!1,l--)}}else f=v(b).filter(a=>s.some(r=>E(a,r)));return f},t.exclude=function(b,s){let f=[];const d=b.length,l=s.length;if(!l)return b;if(d)if(d+l>c){let a={};s.forEach(r=>{const u=C(r);a[u]=!0}),f=b.filter(r=>!a[C(r)])}else f=b.filter(a=>!s.some(r=>E(a,r)));return f},De.exports=t},1996:De=>{De.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}},4116:(De,te,g)=>{var t={};const v=g(3044),C=g(1996),E=v.FP_Date,c=v.FP_DateTime,b=v.FP_Time;t.now=function(){if(!C.now){var f=c.isoDateTime(C.nowDate);C.now=new c(f)}return C.now},t.today=function(){if(!C.today){var f=E.isoDate(C.nowDate);C.today=new E(f)}return C.today},t.timeOfDay=function(){if(!C.timeOfDay){const f=c.isoTime(C.nowDate);C.timeOfDay=new b(f)}return C.timeOfDay},De.exports=t},8168:(De,te,g)=>{const{FP_Type:t,FP_Quantity:v}=g(3044);var C=g(2360),E=g(3864),c=Array.prototype.slice,b=Object.keys,s=function(h){return"[object Arguments]"==Object.prototype.toString.call(h)};function f(h){return"string"==typeof h||h instanceof String}function d(h){return!isNaN(parseFloat(h))&&isFinite(h)}function l(h){return h.toUpperCase().replace(/\s+/," ")}function r(h){return null==h}De.exports={deepEqual:function a(h,p,_){if(_||(_={}),(h=C.valDataConverted(h))===(p=C.valDataConverted(p)))return!0;if(_.fuzzy){if(f(h)&&f(p))return l(h)==l(p);if(d(h)&&d(p))return E.isEquivalent(h,p)}else if("number"==typeof h&&"number"==typeof p)return E.isEqual(h,p);if(h instanceof Date&&p instanceof Date)return h.getTime()===p.getTime();if(!h||!p||"object"!=typeof h&&"object"!=typeof p)return h===p;var y=h instanceof t,M=p instanceof t;if(y&&M)return _.fuzzy?h.equivalentTo(p):h.equals(p);if(y||M){let w=!1;return"number"==typeof h&&(h=new v(h,"'1'"),w=!0),"number"==typeof p&&(p=new v(p,"'1'"),w=!0),!!w&&(_.fuzzy?h.equivalentTo(p):h.equals(p))}return function u(h,p,_){var y,M;if(r(h)||r(p)||h.prototype!==p.prototype)return!1;if(s(h)||s(p))return a(h=s(h)?c.call(h):h,p=s(p)?c.call(p):p,_);try{var w=b(h),k=b(p)}catch{return!1}if(w.length!=k.length)return!1;for(w.sort(),k.sort(),y=w.length-1;y>=0;y--)if(w[y]!=k[y])return!1;if(1===w.length)return a(h[M=w[0]],p[M],_);for(y=w.length-1;y>=0;y--)if(!a(h[M=w[y]],p[M],_))return!1;return typeof h==typeof p}(h,p,_)},maxCollSizeForDeepEqual:6}},7656:(De,te,g)=>{const t=g(2360),{deepEqual:v}=g(8168),C=g(3044),E=C.FP_Type,c=C.FP_DateTime;var b={};function s(l,a){return t.isEmpty(l)||t.isEmpty(a)?[]:v(l,a)}function f(l,a){return t.isEmpty(l)&&t.isEmpty(a)?[!0]:t.isEmpty(l)||t.isEmpty(a)?[]:v(l,a,{fuzzy:!0})}function d(l,a){t.assertAtMostOne(l,"Singleton was expected"),t.assertAtMostOne(a,"Singleton was expected"),l=t.valDataConverted(l[0]),a=t.valDataConverted(a[0]);let r=l instanceof c?c:l.constructor,u=a instanceof c?c:a.constructor;return r!==u&&t.raiseError('Type of "'+l+'" ('+r.name+') did not match type of "'+a+'" ('+u.name+")","InequalityExpression"),[l,a]}b.equal=function(l,a){return s(l,a)},b.unequal=function(l,a){var r=s(l,a);return void 0===r?void 0:!r},b.equival=function(l,a){return f(l,a)},b.unequival=function(l,a){return!f(l,a)},b.lt=function(l,a){if(!l.length||!a.length)return[];const[r,u]=d(l,a);if(r instanceof E){const h=r.compare(u);return null===h?[]:h<0}return r0}return r>u},b.lte=function(l,a){if(!l.length||!a.length)return[];const[r,u]=d(l,a);if(r instanceof E){const h=r.compare(u);return null===h?[]:h<=0}return r<=u},b.gte=function(l,a){if(!l.length||!a.length)return[];const[r,u]=d(l,a);if(r instanceof E){const h=r.compare(u);return null===h?[]:h>=0}return r>=u},De.exports=b},6728:(De,te,g)=>{const t=g(2360),{whereMacro:v,distinctFn:C}=g(4052),E=g(4036),c=g(1240),{deepEqual:b,maxCollSizeForDeepEqual:s}=g(8168),f={};function d(l,a){const r=l.length,u=a.length;let h=r<=u;if(h)if(r+u>s){const p=a.reduce((_,y)=>(_[c(y)]=!0,_),{});h=!l.some(_=>!p[c(_)])}else for(let p=0,_=l.length;p<_&&h;++p){let y=t.valData(l[p]);h=a.some(M=>b(y,t.valData(M)))}return h}f.emptyFn=t.isEmpty,f.notFn=function(l){let a=E.singleton(l,"Boolean");return"boolean"==typeof a?!a:[]},f.existsMacro=function(l,a){var r=l;return a?f.existsMacro(v.call(this,l,a)):!t.isEmpty(r)},f.allMacro=function(l,a){for(let r=0,u=l.length;r{const{version:t}=g(8526),v=g(7504),C=g(2360);g(4216);const E=g(1996);let c={},b=g(6728),s=g(4052),f=g(6933),d=g(8700),l=g(4036),a=g(7656),r=g(3736),u=g(2936),h=g(4616),p=g(7424),_=g(4116),y=g(4884);const M=g(3044),{FP_Date:w,FP_DateTime:k,FP_Time:D,FP_Quantity:I,FP_Type:O,ResourceNode:T,TypeInfo:N}=M;let S=T.makeResNode;function F(X,G,j,le){if("Expr"===j)return function(ve){const Je=C.arraify(ve);return c.doEval({...X,$this:Je},Je,le)};if("AnyAtRoot"===j){const ve=X.$this||X.dataRoot;return c.doEval({...X,$this:ve},ve,le)}if("Identifier"===j){if("TermExpression"===le.type)return le.text;throw new Error("Expected identifier node, got "+JSON.stringify(le))}if("TypeSpecifier"===j)return c.TypeSpecifier(X,G,le);const ue=c.doEval(X,G,le);if("Any"===j)return ue;if(Array.isArray(j)){if(0===ue.length)return[];j=j[0]}return l.singleton(ue,j)}function A(X){return null==X||C.isEmpty(X)}function U(X,G,j,le){var ue=c.invocationTable[G];if(ue&&ue.fn){var ve=le?le.length:0;if(2!==ve)throw new Error("Infix invoke should have arity 2");var Je=ue.arity[ve];if(Je){for(var _t=[],ct=0;ctct?.__path__?S(ct,ct?.__path__):ct),Je={context:ve,ucum:"http://unitsofmeasure.org"};j&&(j=Object.keys(j).reduce((ct,Ct)=>(ct[Ct]=Array.isArray(j[Ct])?j[Ct].map(Re=>Re?.__path__?S(Re,Re.__path__):Re):j[Ct]?.__path__?S(j[Ct],j[Ct].__path__):j[Ct],ct),{}));let _t={dataRoot:ve,vars:Object.assign(Je,j),model:le};return ue.traceFn&&(_t.customTraceFn=ue.traceFn),ue.userInvocationTable&&(_t.userInvocationTable=ue.userInvocationTable),c.doEval(_t,ve,G.children[0]).reduce((ct,Ct)=>{let Re=Ct instanceof T?Ct.path:null;return(Ct=C.valData(Ct))instanceof O&&ue.resolveInternalTypes&&(Ct=Ct.toString()),null!=Ct&&(Re&&"object"==typeof Ct&&Object.defineProperty(Ct,"__path__",{value:Re}),ct.push(Ct)),ct},[])}function H(X,G,j){const le=(j={resolveInternalTypes:!0,...j}).userInvocationTable;if(le&&(j.userInvocationTable=Object.keys(le).reduce((ue,ve)=>(ue[ve]=le[ve].internalStructures?le[ve]:{...le[ve],fn:(...Je)=>le[ve].fn.apply(this,Je.map(_t=>Array.isArray(_t)?_t.map(ct=>C.valData(ct)):_t))},ue),{})),"object"==typeof X){const ue=K(X.expression);return function(ve,Je){const _t=X.base?S(ve,X.base):ve;return N.model=G,ee(_t,ue,Je,G,j)}}{const ue=K(X);return function(ve,Je){return N.model=G,ee(ve,ue,Je,G,j)}}}c.invocationTable={empty:{fn:b.emptyFn},not:{fn:b.notFn},exists:{fn:b.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:b.allMacro,arity:{1:["Expr"]}},allTrue:{fn:b.allTrueFn},anyTrue:{fn:b.anyTrueFn},allFalse:{fn:b.allFalseFn},anyFalse:{fn:b.anyFalseFn},subsetOf:{fn:b.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:b.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:b.isDistinctFn},distinct:{fn:s.distinctFn},count:{fn:f.countFn},where:{fn:s.whereMacro,arity:{1:["Expr"]}},extension:{fn:s.extension,arity:{1:["String"]}},select:{fn:s.selectMacro,arity:{1:["Expr"]}},aggregate:{fn:f.aggregateMacro,arity:{1:["Expr"],2:["Expr","Any"]}},sum:{fn:f.sumFn},min:{fn:f.minFn},max:{fn:f.maxFn},avg:{fn:f.avgFn},single:{fn:s.singleFn},first:{fn:s.firstFn},last:{fn:s.lastFn},type:{fn:M.typeFn,arity:{0:[]}},ofType:{fn:s.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:M.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:M.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:s.tailFn},take:{fn:s.takeFn,arity:{1:["Integer"]}},skip:{fn:s.skipFn,arity:{1:["Integer"]}},combine:{fn:d.combineFn,arity:{1:["AnyAtRoot"]}},union:{fn:d.union,arity:{1:["AnyAtRoot"]}},intersect:{fn:d.intersect,arity:{1:["AnyAtRoot"]}},exclude:{fn:d.exclude,arity:{1:["AnyAtRoot"]}},iif:{fn:l.iifMacro,arity:{2:["Expr","Expr"],3:["Expr","Expr","Expr"]}},trace:{fn:l.traceFn,arity:{1:["String"],2:["String","Expr"]}},toInteger:{fn:l.toInteger},toDecimal:{fn:l.toDecimal},toString:{fn:l.toString},toDate:{fn:l.toDate},toDateTime:{fn:l.toDateTime},toTime:{fn:l.toTime},toBoolean:{fn:l.toBoolean},toQuantity:{fn:l.toQuantity,arity:{0:[],1:["String"]}},hasValue:{fn:l.hasValueFn},convertsToBoolean:{fn:l.createConvertsToFn(l.toBoolean,"boolean")},convertsToInteger:{fn:l.createConvertsToFn(l.toInteger,"number")},convertsToDecimal:{fn:l.createConvertsToFn(l.toDecimal,"number")},convertsToString:{fn:l.createConvertsToFn(l.toString,"string")},convertsToDate:{fn:l.createConvertsToFn(l.toDate,w)},convertsToDateTime:{fn:l.createConvertsToFn(l.toDateTime,k)},convertsToTime:{fn:l.createConvertsToFn(l.toTime,D)},convertsToQuantity:{fn:l.createConvertsToFn(l.toQuantity,I)},indexOf:{fn:h.indexOf,arity:{1:["String"]}},substring:{fn:h.substring,arity:{1:["Integer"],2:["Integer","Integer"]}},startsWith:{fn:h.startsWith,arity:{1:["String"]}},endsWith:{fn:h.endsWith,arity:{1:["String"]}},contains:{fn:h.containsFn,arity:{1:["String"]}},upper:{fn:h.upper},lower:{fn:h.lower},replace:{fn:h.replace,arity:{2:["String","String"]}},matches:{fn:h.matches,arity:{1:["String"]}},replaceMatches:{fn:h.replaceMatches,arity:{2:["String","String"]}},length:{fn:h.length},toChars:{fn:h.toChars},join:{fn:h.joinFn,arity:{0:[],1:["String"]}},split:{fn:h.splitFn,arity:{1:["String"]}},trim:{fn:h.trimFn},encode:{fn:h.encodeFn,arity:{1:["String"]}},decode:{fn:h.decodeFn,arity:{1:["String"]}},abs:{fn:u.abs},ceiling:{fn:u.ceiling},exp:{fn:u.exp},floor:{fn:u.floor},ln:{fn:u.ln},log:{fn:u.log,arity:{1:["Number"]},nullable:!0},power:{fn:u.power,arity:{1:["Number"]},nullable:!0},round:{fn:u.round,arity:{1:["Number"]}},sqrt:{fn:u.sqrt},truncate:{fn:u.truncate},now:{fn:_.now},today:{fn:_.today},timeOfDay:{fn:_.timeOfDay},repeat:{fn:s.repeatMacro,arity:{1:["Expr"]}},children:{fn:p.children},descendants:{fn:p.descendants},"|":{fn:d.union,arity:{2:["Any","Any"]}},"=":{fn:a.equal,arity:{2:["Any","Any"]},nullable:!0},"!=":{fn:a.unequal,arity:{2:["Any","Any"]},nullable:!0},"~":{fn:a.equival,arity:{2:["Any","Any"]}},"!~":{fn:a.unequival,arity:{2:["Any","Any"]}},"<":{fn:a.lt,arity:{2:["Any","Any"]},nullable:!0},">":{fn:a.gt,arity:{2:["Any","Any"]},nullable:!0},"<=":{fn:a.lte,arity:{2:["Any","Any"]},nullable:!0},">=":{fn:a.gte,arity:{2:["Any","Any"]},nullable:!0},containsOp:{fn:r.contains,arity:{2:["Any","Any"]}},inOp:{fn:r.in,arity:{2:["Any","Any"]}},isOp:{fn:M.isFn,arity:{2:["Any","TypeSpecifier"]}},asOp:{fn:M.asFn,arity:{2:["Any","TypeSpecifier"]}},"&":{fn:u.amp,arity:{2:["String","String"]}},"+":{fn:u.plus,arity:{2:["Any","Any"]},nullable:!0},"-":{fn:u.minus,arity:{2:["Any","Any"]},nullable:!0},"*":{fn:u.mul,arity:{2:["Any","Any"]},nullable:!0},"/":{fn:u.div,arity:{2:["Any","Any"]},nullable:!0},mod:{fn:u.mod,arity:{2:["Number","Number"]},nullable:!0},div:{fn:u.intdiv,arity:{2:["Number","Number"]},nullable:!0},or:{fn:y.orOp,arity:{2:[["Boolean"],["Boolean"]]}},and:{fn:y.andOp,arity:{2:[["Boolean"],["Boolean"]]}},xor:{fn:y.xorOp,arity:{2:[["Boolean"],["Boolean"]]}},implies:{fn:y.impliesOp,arity:{2:[["Boolean"],["Boolean"]]}}},c.InvocationExpression=function(X,G,j){return j.children.reduce(function(le,ue){return c.doEval(X,le,ue)},G)},c.TermExpression=function(X,G,j){return G&&(G=G.map(le=>le instanceof Object&&le.resourceType?S(le,le.resourceType):le)),c.doEval(X,G,j.children[0])},c.PolarityExpression=function(X,G,j){var le=j.terminalNodeText[0],ue=c.doEval(X,G,j.children[0]);if(1!==ue.length)throw new Error("Unary "+le+" can only be applied to an individual number or Quantity.");if(ue[0]instanceof I)"-"===le&&(ue[0]=new I(-ue[0].value,ue[0].unit));else{if("number"!=typeof ue[0]||isNaN(ue[0]))throw new Error("Unary "+le+" can only be applied to a number or Quantity.");"-"===le&&(ue[0]=-ue[0])}return ue},c.TypeSpecifier=function(X,G,j){let le,ue;const ve=j.text.split(".").map(Je=>Je.replace(/(^`|`$)/g,""));switch(ve.length){case 2:[le,ue]=ve;break;case 1:[ue]=ve;break;default:throw new Error("Expected TypeSpecifier node, got "+JSON.stringify(j))}return new N({namespace:le,name:ue})},c.ExternalConstantTerm=function(X,G,j){var ve=c.Identifier(X,G,j.children[0].children[0])[0],Je=X.vars[ve];if(!(ve in X.vars))throw new Error("Attempting to access an undefined environment variable: "+ve);return null==Je?[]:Je instanceof Array?Je:[Je]},c.LiteralTerm=function(X,G,j){var le=j.children[0];return le?c.doEval(X,G,le):[j.text]},c.StringLiteral=function(X,G,j){var le=j.text.replace(/(^'|'$)/g,"");return[le=le.replace(/\\(u\d{4}|.)/g,function(ue,ve){switch(ue){case"\\r":return"\r";case"\\n":return"\n";case"\\t":return"\t";case"\\f":return"\f";default:return ve.length>1?String.fromCharCode("0x"+ve.slice(1)):ve}})]},c.BooleanLiteral=function(X,G,j){return"true"===j.text?[!0]:[!1]},c.QuantityLiteral=function(X,G,j){var le=j.children[0],ue=Number(le.terminalNodeText[0]),ve=le.children[0],Je=ve.terminalNodeText[0];return!Je&&ve.children&&(Je=ve.children[0].terminalNodeText[0]),[new I(ue,Je)]},c.DateTimeLiteral=function(X,G,j){var le=j.text.slice(1);return[new k(le)]},c.TimeLiteral=function(X,G,j){var le=j.text.slice(1);return[new D(le)]},c.NumberLiteral=function(X,G,j){return[Number(j.text)]},c.Identifier=function(X,G,j){return[j.text.replace(/(^`|`$)/g,"")]},c.InvocationTerm=function(X,G,j){return c.doEval(X,G,j.children[0])},c.MemberInvocation=function(X,G,j){const le=c.doEval(X,G,j.children[0])[0],ue=X.model;if(G){if(C.isCapitalized(le))return G.filter(ve=>ve instanceof T&&ve.path===le);{const ve=G.path||G.__path__;return G.reduce(function(Je,_t){var ct=(_t=S(_t,ve)).path+"."+le;if(ue){let fe=ue.pathsDefinedElsewhere[ct];fe&&(ct=fe)}let Ct,Re,ke=ue&&ue.choiceTypePaths[ct];if(ke)for(let fe of ke){let Ke=le+fe;if(Ct=_t.data?.[Ke],Re=_t.data?.["_"+Ke],void 0!==Ct||void 0!==Re){ct+=fe;break}}else Ct=_t.data?.[le],Re=_t.data?.["_"+le],void 0===Ct&&void 0===Re&&(Ct=_t._data[le]),"extension"===le&&(ct="Extension");if(ct=ue&&ue.path2Type[ct]||ct,C.isSome(Ct)||C.isSome(Re)){if(Array.isArray(Ct)){Je=Je.concat(Ct.map((Ke,Be)=>S(Ke,ct,Re&&Re[Be])));const fe=Re?.length||0;for(let Ke=Ct.length;KeS(null,ct,fe))):Je.push(S(Ct,ct,Re));return Je}return Je},[])}}return[]},c.IndexerExpression=function(X,G,j){const ue=j.children[1];var ve=c.doEval(X,G,j.children[0]),Je=c.doEval(X,G,ue);if(C.isEmpty(Je))return[];var _t=parseInt(Je[0]);return ve&&C.isSome(_t)&&ve.length>_t&&_t>=0?[ve[_t]]:[]},c.Functn=function(X,G,j){return j.children.map(function(le){return c.doEval(X,G,le)})},c.realizeParams=function(X,G,j){return j&&j[0]&&j[0].children?j[0].children.map(function(le){return c.doEval(X,G,le)}):[]},c.FunctionInvocation=function(X,G,j){var le=c.doEval(X,G,j.children[0]);const ue=le[0];return le.shift(),function L(X,G,j,le){var ve,ue=X.userInvocationTable?.[G]??c.invocationTable[G];if(ue){if(ue.arity){var Je=le?le.length:0,_t=ue.arity[Je];if(_t){for(var ct=[],Ct=0;Ct{const j=N.fromValue(G?.__path__?new T(G,G.__path__):G);return`${j.namespace}.${j.name}`})},ucumUtils:g(1724).k1.getInstance(),util:C}},4052:(De,te,g)=>{const t=g(2360),{TypeInfo:v,ResourceNode:C}=g(3044),E=g(1240),{deepEqual:c,maxCollSizeForDeepEqual:b}=g(8168);De.exports={whereMacro:function(f,d){return!1===f||f?t.flatten(f.filter((l,a)=>(this.$index=a,d(l)[0]))):[]},extension:function(f,d){return!1!==f&&!f||!d?[]:t.flatten(f.map((l,a)=>{this.$index=a;const r=l&&(l.data&&l.data.extension||l._data&&l._data.extension);return r?r.filter(u=>u.url===d).map(u=>C.makeResNode(u,"Extension")):[]}))},selectMacro:function(f,d){return!1===f||f?t.flatten(f.map((l,a)=>(this.$index=a,d(l)))):[]},repeatMacro:function(f,d){if(!1!==f&&!f)return[];let l=[];const a={},r=f.length;for(let u=0;u{const _=E(p),y=!a[_];return y&&(a[_]=!0),y})}while(l.lengthv.fromValue(l).is(d))},distinctFn:function(f){let d=[];if(f.length>0)if(f.length>b){let l={};for(let a=0,r=f.length;a!c(l,a))}while(f.length)}return d}}},1240:(De,te,g)=>{const t=g(1724).k1.getInstance(),{roundToMaxPrecision:v}=g(3864),{valDataConverted:C}=g(2360),{FP_Type:E,FP_Quantity:c}=g(3044);function s(f){if(null===(f=C(f)))return null;if("number"==typeof f)return v(f);if(f instanceof Date)return f.toISOString();if(f instanceof c){const d=c._yearMonthConversionFactor[f.unit];if(d)return"_!yearMonth!_:"+d*f.value;{const l=c.toUcumQuantity(f.value,f.unit),a=t.getSpecifiedUnit(l.unit).unit;return"_!"+a.property_+"!_:"+a.magnitude_*l.value}}return f instanceof E?f.toString():"object"==typeof f?Array.isArray(f)?f.map(s):Object.keys(f).sort().reduce((d,l)=>(d[l]=s(f[l]),d),{}):f}De.exports=function b(f){return JSON.stringify(s(f))}},4884:De=>{De.exports={orOp:function(g,t){if(Array.isArray(t)){if(!0===g)return!0;if(!1===g)return[];if(Array.isArray(g))return[]}return Array.isArray(g)?!0===t||[]:g||t},andOp:function(g,t){if(Array.isArray(t)){if(!0===g)return[];if(!1===g)return!1;if(Array.isArray(g))return[]}return Array.isArray(g)?!0===t&&[]:g&&t},xorOp:function(g,t){return Array.isArray(g)||Array.isArray(t)?[]:g&&!t||!g&&t},impliesOp:function(g,t){if(Array.isArray(t)){if(!0===g)return[];if(!1===g)return!0;if(Array.isArray(g))return[]}return Array.isArray(g)?!0===t||[]:!1===g||g&&t}}},2936:(De,te,g)=>{const{FP_Quantity:t,FP_Type:v}=g(3044),C=g(2360),E={};function c(f){let d=C.valData(f);if("number"!=typeof d){if(1===d.length&&"number"==typeof(d=C.valData(d[0])))return d;throw new Error("Expected number, but got "+JSON.stringify(d||f))}return d}function s(f){return"number"!=typeof f&&0===f.length}E.amp=function(f,d){return(f||"")+(d||"")},E.plus=function(f,d){let l;if(1===f.length&&1===d.length){const a=C.valDataConverted(f[0]),r=C.valDataConverted(d[0]);"string"==typeof a&&"string"==typeof r?l=a+r:"number"==typeof a?"number"==typeof r?l=a+r:r instanceof t&&(l=new t(a,"'1'").plus(r)):a instanceof v&&(r instanceof t?l=a.plus(r):r instanceof v?l=r.plus(a):"number"==typeof r&&(l=a.plus(new t(r,"'1'"))))}if(void 0===l)throw new Error("Cannot "+JSON.stringify(f)+" + "+JSON.stringify(d));return l},E.minus=function(f,d){if(1===f.length&&1===d.length){const l=C.valDataConverted(f[0]),a=C.valDataConverted(d[0]);if("number"==typeof l){if("number"==typeof a)return l-a;if(a instanceof t)return new t(l,"'1'").plus(new t(-a.value,a.unit))}if(l instanceof v){if(a instanceof t)return l.plus(new t(-a.value,a.unit));if("number"==typeof a)return l.plus(new t(-a,"'1'"))}}throw new Error("Cannot "+JSON.stringify(f)+" - "+JSON.stringify(d))},E.mul=function(f,d){if(1===f.length&&1===d.length){const l=C.valDataConverted(f[0]),a=C.valDataConverted(d[0]);if("number"==typeof l){if("number"==typeof a)return l*a;if(a instanceof t)return new t(l,"'1'").mul(a)}if(l instanceof v){if(a instanceof t)return l.mul(a);if("number"==typeof a)return l.mul(new t(a,"'1'"))}}throw new Error("Cannot "+JSON.stringify(f)+" * "+JSON.stringify(d))},E.div=function(f,d){if(1===f.length&&1===d.length){const l=C.valDataConverted(f[0]),a=C.valDataConverted(d[0]);if("number"==typeof l){if("number"==typeof a)return 0===a?[]:l/a;if(a instanceof t)return new t(l,"'1'").div(a)}if(l instanceof v){if(a instanceof t)return l.div(a);if("number"==typeof a)return l.div(new t(a,"'1'"))}}throw new Error("Cannot "+JSON.stringify(f)+" / "+JSON.stringify(d))},E.intdiv=function(f,d){return 0===d?[]:Math.floor(f/d)},E.mod=function(f,d){return 0===d?[]:f%d},E.abs=function(f){let d;if(s(f))d=[];else{const l=function b(f){let d=C.valData(f);if("number"==typeof d||d instanceof t)return d;if(1===d.length&&("number"==typeof(d=C.valData(d[0]))||d instanceof t))return d;throw new Error("Expected number or Quantity, but got "+JSON.stringify(d||f))}(f);d=l instanceof t?new t(Math.abs(l.value),l.unit):Math.abs(l)}return d},E.ceiling=function(f){if(s(f))return[];{let d=c(f);return Math.ceil(d)}},E.exp=function(f){if(s(f))return[];{let d=c(f);return Math.exp(d)}},E.floor=function(f){if(s(f))return[];{let d=c(f);return Math.floor(d)}},E.ln=function(f){if(s(f))return[];{let d=c(f);return Math.log(d)}},E.log=function(f,d){if(s(f)||s(d))return[];{let l=c(f),a=c(d);return Math.log(l)/Math.log(a)}},E.power=function(f,d){if(s(f)||s(d))return[];{let l=c(f),a=c(d);return l<0&&Math.floor(a)!==a?[]:Math.pow(l,a)}},E.round=function(f,d){if(s(f))return[];{let l=c(f);if(s(d))return Math.round(l);{let a=c(d),r=Math.pow(10,a);return Math.round(l*r)/r}}},E.sqrt=function(f){if(s(f))return[];{let d=c(f);return d<0?[]:Math.sqrt(d)}},E.truncate=function(f){if(s(f))return[];{let d=c(f);return Math.trunc(d)}},De.exports=E},4036:(De,te,g)=>{var t=g(2360),v=g(3044);const{FP_Quantity:C}=v;var E={iifMacro:function(p,_,y,M){return t.isTrue(_(p))?y(p):M?M(p):[]},traceFn:function(p,_,y){return this.customTraceFn?this.customTraceFn(y?y(p):p,_??""):y?console.log("TRACE:["+(_||"")+"]",JSON.stringify(y(p),null," ")):console.log("TRACE:["+(_||"")+"]",JSON.stringify(p,null," ")),p}},c=/^[+-]?\d+$/;E.toInteger=function(p){if(1!==p.length)return[];var _=t.valData(p[0]);return!1===_?0:!0===_?1:"number"==typeof _?Number.isInteger(_)?_:[]:"string"==typeof _&&c.test(_)?parseInt(_):[]};const b=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;E.toQuantity=function(p,_){let y;if(p.length>1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(1===p.length){if(_){const k=C._calendarDuration2Seconds[this.unit],D=C._calendarDuration2Seconds[_];if(!k!=!D&&(k>1||D>1))return null;C.mapTimeUnitsToUCUMCode[_]||(_=`'${_}'`)}var M=t.valDataConverted(p[0]);let w;if("number"==typeof M)y=new C(M,"'1'");else if(M instanceof C)y=M;else if("boolean"==typeof M)y=new C(M?1:0,"'1'");else if("string"==typeof M&&(w=b.exec(M))){const D=w[5],I=w[6];(!I||C.mapTimeUnitsToUCUMCode[I])&&(y=new C(Number(w[1]),D||I||"'1'"))}y&&_&&y.unit!==_&&(y=C.convUnitTo(y.unit,y.value,_))}return y||[]};var f=/^[+-]?\d+(\.\d+)?$/;function d(p){let _=p.slice(3);E["to"+_]=function(y){var M=[];if(y.length>1)throw Error("to "+_+" called for a collection of length "+y.length);if(1===y.length){var w=v[p].checkString(t.valData(y[0]));w&&(M=w)}return M}}E.toDecimal=function(p){if(1!==p.length)return[];var _=t.valData(p[0]);return!1===_?0:!0===_?1:"number"==typeof _?_:"string"==typeof _&&f.test(_)?parseFloat(_):[]},E.toString=function(p){return 1!==p.length?[]:t.valDataConverted(p[0]).toString()},d("FP_Date"),d("FP_DateTime"),d("FP_Time");const l=["true","t","yes","y","1","1.0"].reduce((p,_)=>(p[_]=!0,p),{}),a=["false","f","no","n","0","0.0"].reduce((p,_)=>(p[_]=!0,p),{});E.toBoolean=function(p){if(1!==p.length)return[];const _=t.valData(p[0]);switch(typeof _){case"boolean":return _;case"number":if(1===_)return!0;if(0===_)return!1;break;case"string":const y=_.toLowerCase();if(l[y])return!0;if(a[y])return!1}return[]},E.createConvertsToFn=function(p,_){return"string"==typeof _?function(y){return 1!==y.length?[]:typeof p(y)===_}:function(y){return 1!==y.length?[]:p(y)instanceof _}};const r={Integer:function(p){const _=t.valData(p[0]);if(Number.isInteger(_))return _},Boolean:function(p){const _=t.valData(p[0]);return!0===_||!1===_?_:1===p.length||void 0},Number:function(p){const _=t.valData(p[0]);if("number"==typeof _)return _},String:function(p){const _=t.valData(p[0]);if("string"==typeof _)return _}};E.singleton=function(p,_){if(p.length>1)throw new Error("Unexpected collection"+JSON.stringify(p)+"; expected singleton of type "+_);if(0===p.length)return[];const y=r[_];if(y){const M=y(p);if(void 0!==M)return M;throw new Error(`Expected ${_.toLowerCase()}, but got: ${JSON.stringify(p)}`)}throw new Error("Not supported type "+_)};const u=new Set(["instant","time","date","dateTime","base64Binary","decimal","integer64","boolean","string","code","markdown","id","integer","unsignedInt","positiveInt","uri","oid","uuid","canonical","url"]);function h(p){switch(typeof p){case"string":case"number":case"boolean":return!0;default:return!1}}E.hasValueFn=function(p){return 1===p.length?this.model?[u.has(p[0].path)]:[h(t.valData(p[0]))]:[!1]},De.exports=E},7424:(De,te,g)=>{const t=g(2360),{ResourceNode:v}=g(3044);let C=v.makeResNode;var E={children:function(c){let b=this.model;return c.reduce(function(s,f){let d=t.valData(f);if(f=C(f),"object"==typeof d){for(var l of Object.keys(d)){var a=d[l],r=f.path+"."+l;if(b){let u=b.pathsDefinedElsewhere[r];u&&(r=u)}Array.isArray(a)?s.push.apply(s,a.map(u=>C(u,r))):s.push(C(a,r))}return s}return s},[])},descendants:function(c){for(var b=E.children.call(this,c),s=[];b.length>0;)s.push.apply(s,b),b=E.children.call(this,b);return s}};De.exports=E},3864:De=>{let te={};function g(E){const b=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +E);if(!b)return 0;const s=b[2];return Math.max(0,("0"===s?0:(s||"").length)-(b[3]||0))}function t(E,c){const b=Math.pow(10,c);return Math.round(E*b)/b}const C=te.roundToMaxPrecision=function(E){return 1e-8*Math.round(E/1e-8)};te.isEquivalent=function(E,c){if(Number.isInteger(E)&&Number.isInteger(c))return E===c;const b=Math.min(g(E),g(c));return 0===b?Math.round(E)===Math.round(c):t(E,b)===t(c,b)},te.isEqual=function(E,c){return C(E)===C(c)},De.exports=te},5352:(De,te,g)=>{te.atn=g(64),te.codepointat=g(2388),te.dfa=g(236),te.fromcodepoint=g(9700),te.tree=g(8668),te.error=g(5784),te.Token=g(9300).Token,te.CommonToken=g(9300).CommonToken,te.InputStream=g(296),te.CommonTokenStream=g(8957),te.Lexer=g(6580),te.Parser=g(5472);var t=g(1483);te.PredictionContextCache=t.PredictionContextCache,te.ParserRuleContext=g(4256),te.Interval=g(2344).Interval,te.IntervalSet=g(2344).IntervalSet,te.Utils=g(1464),te.LL1Analyzer=g(2464).LL1Analyzer},4064:(De,te,g)=>{const t=g(5352),v=["\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(""),C=(new t.atn.ATNDeserializer).deserialize(v),E=C.decisionToState.map((b,s)=>new t.dfa.DFA(b,s));class c extends t.Lexer{static grammarFileName="FHIRPath.g4";static channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"];static modeNames=["DEFAULT_MODE"];static 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'"];static 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"];static 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"];constructor(s){super(s),this._interp=new t.atn.LexerATNSimulator(this,C,E,new t.PredictionContextCache)}get atn(){return C}}c.EOF=t.Token.EOF,c.T__0=1,c.T__1=2,c.T__2=3,c.T__3=4,c.T__4=5,c.T__5=6,c.T__6=7,c.T__7=8,c.T__8=9,c.T__9=10,c.T__10=11,c.T__11=12,c.T__12=13,c.T__13=14,c.T__14=15,c.T__15=16,c.T__16=17,c.T__17=18,c.T__18=19,c.T__19=20,c.T__20=21,c.T__21=22,c.T__22=23,c.T__23=24,c.T__24=25,c.T__25=26,c.T__26=27,c.T__27=28,c.T__28=29,c.T__29=30,c.T__30=31,c.T__31=32,c.T__32=33,c.T__33=34,c.T__34=35,c.T__35=36,c.T__36=37,c.T__37=38,c.T__38=39,c.T__39=40,c.T__40=41,c.T__41=42,c.T__42=43,c.T__43=44,c.T__44=45,c.T__45=46,c.T__46=47,c.T__47=48,c.T__48=49,c.T__49=50,c.T__50=51,c.T__51=52,c.T__52=53,c.T__53=54,c.DATETIME=55,c.TIME=56,c.IDENTIFIER=57,c.DELIMITEDIDENTIFIER=58,c.STRING=59,c.NUMBER=60,c.WS=61,c.COMMENT=62,c.LINE_COMMENT=63,De.exports=c},6304:(De,te,g)=>{const t=g(5352);De.exports=class v extends t.tree.ParseTreeListener{enterEntireExpression(E){}exitEntireExpression(E){}enterIndexerExpression(E){}exitIndexerExpression(E){}enterPolarityExpression(E){}exitPolarityExpression(E){}enterAdditiveExpression(E){}exitAdditiveExpression(E){}enterMultiplicativeExpression(E){}exitMultiplicativeExpression(E){}enterUnionExpression(E){}exitUnionExpression(E){}enterOrExpression(E){}exitOrExpression(E){}enterAndExpression(E){}exitAndExpression(E){}enterMembershipExpression(E){}exitMembershipExpression(E){}enterInequalityExpression(E){}exitInequalityExpression(E){}enterInvocationExpression(E){}exitInvocationExpression(E){}enterEqualityExpression(E){}exitEqualityExpression(E){}enterImpliesExpression(E){}exitImpliesExpression(E){}enterTermExpression(E){}exitTermExpression(E){}enterTypeExpression(E){}exitTypeExpression(E){}enterInvocationTerm(E){}exitInvocationTerm(E){}enterLiteralTerm(E){}exitLiteralTerm(E){}enterExternalConstantTerm(E){}exitExternalConstantTerm(E){}enterParenthesizedTerm(E){}exitParenthesizedTerm(E){}enterNullLiteral(E){}exitNullLiteral(E){}enterBooleanLiteral(E){}exitBooleanLiteral(E){}enterStringLiteral(E){}exitStringLiteral(E){}enterNumberLiteral(E){}exitNumberLiteral(E){}enterDateTimeLiteral(E){}exitDateTimeLiteral(E){}enterTimeLiteral(E){}exitTimeLiteral(E){}enterQuantityLiteral(E){}exitQuantityLiteral(E){}enterExternalConstant(E){}exitExternalConstant(E){}enterMemberInvocation(E){}exitMemberInvocation(E){}enterFunctionInvocation(E){}exitFunctionInvocation(E){}enterThisInvocation(E){}exitThisInvocation(E){}enterIndexInvocation(E){}exitIndexInvocation(E){}enterTotalInvocation(E){}exitTotalInvocation(E){}enterFunctn(E){}exitFunctn(E){}enterParamList(E){}exitParamList(E){}enterQuantity(E){}exitQuantity(E){}enterUnit(E){}exitUnit(E){}enterDateTimePrecision(E){}exitDateTimePrecision(E){}enterPluralDateTimePrecision(E){}exitPluralDateTimePrecision(E){}enterTypeSpecifier(E){}exitTypeSpecifier(E){}enterQualifiedIdentifier(E){}exitQualifiedIdentifier(E){}enterIdentifier(E){}exitIdentifier(E){}}},7139:(De,te,g)=>{const t=g(5352),v=g(6304),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\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(""),E=(new t.atn.ATNDeserializer).deserialize(C),c=E.decisionToState.map((je,q)=>new t.dfa.DFA(je,q)),b=new t.PredictionContextCache;class s extends t.Parser{static grammarFileName="FHIRPath.g4";static 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'"];static 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"];static ruleNames=["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"];constructor(q){super(q),this._interp=new t.atn.ParserATNSimulator(this,E,c,b),this.ruleNames=s.ruleNames,this.literalNames=s.literalNames,this.symbolicNames=s.symbolicNames}get atn(){return E}sempred(q,be,Oe){if(1===be)return this.expression_sempred(q,Oe);throw"No predicate with index:"+be}expression_sempred(q,be){switch(be){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:"+be}}entireExpression(){let q=new f(this,this._ctx,this.state);this.enterRule(q,0,s.RULE_entireExpression);try{this.enterOuterAlt(q,1),this.state=30,this.expression(0),this.state=31,this.match(s.EOF)}catch(be){if(!(be instanceof t.error.RecognitionException))throw be;q.exception=be,this._errHandler.reportError(this,be),this._errHandler.recover(this,be)}finally{this.exitRule()}return q}expression(q){void 0===q&&(q=0);const be=this._ctx,Oe=this.state;let Xe=new d(this,this._ctx,Oe),ge=Xe;this.enterRecursionRule(Xe,2,s.RULE_expression,q);var ot=0;try{switch(this.enterOuterAlt(Xe,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case s.T__15:case s.T__16:case s.T__21:case s.T__22:case s.T__27:case s.T__29:case s.T__31:case s.T__32:case s.T__33:case s.T__34:case s.T__35:case s.T__36:case s.DATETIME:case s.TIME:case s.IDENTIFIER:case s.DELIMITEDIDENTIFIER:case s.STRING:case s.NUMBER:Xe=new I(this,Xe),this._ctx=Xe,ge=Xe,this.state=34,this.term();break;case s.T__3:case s.T__4:Xe=new a(this,Xe),this._ctx=Xe,ge=Xe,this.state=35,(ot=this._input.LA(1))===s.T__3||ot===s.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new t.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var ze=this._interp.adaptivePredict(this._input,2,this._ctx);2!=ze&&ze!=t.atn.ATN.INVALID_ALT_NUMBER;){if(1===ze)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),ge=Xe,this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(Xe=new u(this,new d(this,be,Oe)),this.pushNewRecursionContext(Xe,2,s.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new t.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,!(-32&(ot=this._input.LA(1)))&&1<{const t=g(5352),v=g(4064),C=g(7139),E=g(6304);class c extends t.error.ErrorListener{constructor(f){super(),this.errors=f}syntaxError(f,d,l,a,r,u){this.errors.push([f,d,l,a,r,u])}}De.exports={parse:function(s){var f=new t.InputStream(s),d=new v(f),l=new t.CommonTokenStream(d),a=new C(l);a.buildParseTrees=!0;var r=[],u=new c(r);d.removeErrorListeners(),d.addErrorListener(u),a.removeErrorListeners(),a.addErrorListener(u);var h=a.entireExpression();class p extends E{constructor(){super()}}var y,_={},M=[_];for(let D of Object.getOwnPropertyNames(E.prototype))D.startsWith("enter")?p.prototype[D]=function(I){let O=M[M.length-1];(y={type:D.slice(5)}).text=I.getText(),O.children||(O.children=[]),O.children.push(y),M.push(y),y.terminalNodeText=[];for(let N of I.children)N.symbol&&y.terminalNodeText.push(N.getText())}:D.startsWith("exit")&&(p.prototype[D]=function(){M.pop()});var w=new p;if(t.tree.ParseTreeWalker.DEFAULT.walk(w,h),r.length>0){let D=[];for(let I=0,O=r.length;I{const De=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(te){return"number"==typeof te&&isFinite(te)&&Math.floor(te)===te},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(te,g){return this.indexOf(te,g=g||0)===g}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(te,g){var t=this.toString();(void 0===g||g>t.length)&&(g=t.length);var v=t.indexOf(te,g-=te.length);return-1!==v&&v===g}}),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(te){if(null==te)throw new TypeError("Cannot convert undefined or null to object");return De(arguments,1).reduce(function(g,t){return Object.keys(Object(t)).forEach(function(v){g[v]=t[v]}),g},Object(te))}}),typeof btoa>"u"&&(global.btoa=function(te){return new Buffer.from(te,"binary").toString("base64")}),typeof atob>"u"&&(global.atob=function(te){return new Buffer.from(te,"base64").toString("binary")})},4616:(De,te,g)=>{const t=g(2360),v=g(4036),C={},E={};C.indexOf=function(s,f){const d=v.singleton(s,"String");return t.isEmpty(f)||t.isEmpty(d)?[]:d.indexOf(f)},C.substring=function(s,f,d){const l=v.singleton(s,"String");return t.isEmpty(l)||t.isEmpty(f)||f<0||f>=l.length?[]:void 0===d||t.isEmpty(d)?l.substring(f):l.substring(f,f+d)},C.startsWith=function(s,f){const d=v.singleton(s,"String");return t.isEmpty(f)||t.isEmpty(d)?[]:d.startsWith(f)},C.endsWith=function(s,f){const d=v.singleton(s,"String");return t.isEmpty(f)||t.isEmpty(d)?[]:d.endsWith(f)},C.containsFn=function(s,f){const d=v.singleton(s,"String");return t.isEmpty(f)||t.isEmpty(d)?[]:d.includes(f)},C.upper=function(s){const f=v.singleton(s,"String");return t.isEmpty(f)?[]:f.toUpperCase()},C.lower=function(s){const f=v.singleton(s,"String");return t.isEmpty(f)?[]:f.toLowerCase()},C.joinFn=function(s,f){return void 0===f&&(f=""),s.map(l=>{const a=t.valData(l);if("string"==typeof a)return a;throw new Error("Join requires a collection of strings.")}).join(f)},C.splitFn=function(s,f){const d=v.singleton(s,"String");return t.isEmpty(d)?[]:d.split(f)},C.trimFn=function(s){const f=v.singleton(s,"String");return t.isEmpty(f)?[]:f.trim()},C.encodeFn=function(s,f){const d=v.singleton(s,"String");return t.isEmpty(d)?[]:"urlbase64"===f||"base64url"===f?btoa(d).replace(/\+/g,"-").replace(/\//g,"_"):"base64"===f?btoa(d):"hex"===f?Array.from(d).map(l=>l.charCodeAt(0)<128?l.charCodeAt(0).toString(16):encodeURIComponent(l).replace(/%/g,"")).join(""):[]},C.decodeFn=function(s,f){const d=v.singleton(s,"String");if(t.isEmpty(d))return[];if("urlbase64"===f||"base64url"===f)return atob(d.replace(/-/g,"+").replace(/_/g,"/"));if("base64"===f)return atob(d);if("hex"===f){if(d.length%2!=0)throw new Error("Decode 'hex' requires an even number of characters.");return decodeURIComponent("%"+d.match(/.{2}/g).join("%"))}return[]},C.matches=!1===new RegExp("").dotAll?function(s,f){const d=v.singleton(s,"String");return t.isEmpty(f)||t.isEmpty(d)?[]:new RegExp(f,"s").test(d)}:function(s,f){const d=v.singleton(s,"String");return t.isEmpty(f)||t.isEmpty(d)?[]:new RegExp(function c(s){return E[s]||(E[s]=s.replace(/\./g,(f,d,l)=>{const r=l.substr(0,d).replace(/\\\\/g,"").replace(/\\[\][]/g,""),u="\\"===r[r.length-1],h=r.lastIndexOf("["),p=r.lastIndexOf("]");return u||h>p?".":"[^]"})),E[s]}(f)).test(d)},C.replace=function(s,f,d){const l=v.singleton(s,"String");if(t.isEmpty(f)||t.isEmpty(d)||t.isEmpty(l))return[];const a=new RegExp(t.escapeStringForRegExp(f),"g");return l.replace(a,d)},C.replaceMatches=function(s,f,d){const l=v.singleton(s,"String");if(t.isEmpty(f)||t.isEmpty(d)||t.isEmpty(l))return[];const a=new RegExp(f,"g");return l.replace(a,d)},C.length=function(s){const f=v.singleton(s,"String");return t.isEmpty(f)?[]:f.length},C.toChars=function(s){const f=v.singleton(s,"String");return t.isEmpty(f)?[]:f.split("")},De.exports=C},3044:(De,te,g)=>{const t=g(7196),v=g(1724).k1.getInstance(),C=g(3864);let c="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",b=new RegExp("^T?"+c+"$"),s=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+c+")?)?)?Z?$"),f=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9])?)?$"),d=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?))(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9]))))$");class l{equals(){return!1}equivalentTo(){return!1}toString(){return this.asStr?this.asStr:super.toString()}toJSON(){return this.toString()}compare(){throw"Comparison not implemented for "+this.constructor.name}plus(){throw"Addition not implemented for "+this.constructor.name}mul(){throw"Multiplication not implemented for "+this.constructor.name}div(){throw"Division not implemented for "+this.constructor.name}}class a extends l{constructor(N,S){super(),this.asStr=N+" "+S,this.value=N,this.unit=S}equals(N){if(!(N instanceof this.constructor))return!1;const S=a._calendarDuration2Seconds[this.unit],F=a._calendarDuration2Seconds[N.unit];if(!S!=!F&&(S>1||F>1))return null;if(this.unit===N.unit)return C.isEqual(this.value,N.value);const L=this._compareYearsAndMonths(N);if(L)return L.isEqual;const A=a.toUcumQuantity(this.value,this.unit),U=a.toUcumQuantity(N.value,N.unit),K=v.convertUnitTo(U.unit,U.value,A.unit);return"succeeded"===K.status&&C.isEqual(A.value,K.toVal)}equivalentTo(N){if(!(N instanceof this.constructor))return!1;if(this.unit===N.unit)return C.isEquivalent(this.value,N.value);const S=a.getEquivalentUcumUnitCode(this.unit),F=a.getEquivalentUcumUnitCode(N.unit),L=v.convertUnitTo(F,N.value,S);return"succeeded"===L.status&&C.isEquivalent(this.value,L.toVal)}compare(N){if(this.unit===N.unit)return this.value-N.value;const S=a._calendarDuration2Seconds[this.unit],F=a._calendarDuration2Seconds[N.unit];if(!S!=!F&&(S>1||F>1))return null;const L=a.getEquivalentUcumUnitCode(this.unit),A=a.getEquivalentUcumUnitCode(N.unit),U=v.convertUnitTo(A,N.value,L);return"succeeded"!==U.status?null:this.value-U.toVal}plus(N){const S=a._yearMonthConversionFactor[this.unit],F=a._yearMonthConversionFactor[N.unit];if(S&&F)return new a(this.value+N.value*F/S,this.unit);const L=a._calendarDuration2Seconds[this.unit],A=a._calendarDuration2Seconds[N.unit];if(!L!=!A&&(L>1||A>1))return null;const U=L?"s":this.unit.replace(r,""),K=(L||1)*this.value,ee=A?"s":N.unit.replace(r,""),B=v.convertUnitTo(ee,(A||1)*N.value,U);return"succeeded"!==B.status||B.fromUnit.isSpecial_||B.toUnit.isSpecial_?null:new a(K+B.toVal,U)}mul(N){const S=a._calendarDuration2Seconds[this.unit],F=a._calendarDuration2Seconds[N.unit];if(S>1&&"'1'"!==N.unit||F>1&&"'1'"!==this.unit)return null;const L=this.convToUcumUnits(this,S);if(!L)return null;const A=this.convToUcumUnits(N,F);return A?"'1'"===this.unit?new a(this.value*N.value,N.unit):"'1'"===N.unit?new a(this.value*N.value,this.unit):new a(L.value*A.value,`'(${L.unit}).(${A.unit})'`):null}div(N){if(0===N.value)return null;const S=a._calendarDuration2Seconds[this.unit],F=a._calendarDuration2Seconds[N.unit];if(S)if(F){const ee=a._yearMonthConversionFactor[this.unit],ne=a._yearMonthConversionFactor[N.unit];if(ee&&ne)return new a(this.value*ee/(N.value*ne),"'1'")}else{if("'1'"===N.unit)return new a(this.value/N.value,this.unit);if(S>1)return null}else if(F>1)return null;const L=this.convToUcumUnits(this,S);if(!L)return null;const A=this.convToUcumUnits(N,F);if(!A)return null;const K=v.convertToBaseUnits("1"===A.unit?L.unit:`(${L.unit})/(${A.unit})`,L.value/A.value);return"succeeded"!==K.status?null:new a(K.magnitude,`'${Object.keys(K.unitToExp).map(ee=>ee+K.unitToExp[ee]).join(".")||"1"}'`)}convToUcumUnits(N,S){if(S)return{value:S*N.value,unit:"s"};{const F=N.unit.replace(r,""),L=v.convertToBaseUnits(F,N.value);return"succeeded"!==L.status||L.fromUnitIsSpecial?null:{value:L.magnitude,unit:Object.keys(L.unitToExp).map(A=>A+L.unitToExp[A]).join(".")||"1"}}}_compareYearsAndMonths(N){const S=a._yearMonthConversionFactor[this.unit],F=a._yearMonthConversionFactor[N.unit];return S&&F?{isEqual:C.isEqual(this.value*S,N.value*F)}:null}}const r=/^'|'$/g;a.getEquivalentUcumUnitCode=function(T){return a.mapTimeUnitsToUCUMCode[T]||T.replace(r,"")},a.toUcumQuantity=function(T,N){const S=a._calendarDuration2Seconds[N];return S?{value:S*T,unit:"s"}:{value:T,unit:N.replace(r,"")}},a.convUnitTo=function(T,N,S){const F=a._yearMonthConversionFactor[T],L=a._yearMonthConversionFactor[S];if(F&&L)return new a(F*N/L,S);const A=a._calendarDuration2Seconds[T],U=a._calendarDuration2Seconds[S];if(U){if(A)return new a(A*N/U,S);{const K=v.convertUnitTo(T.replace(/^'|'$/g,""),N,"s");if("succeeded"===K.status)return new a(K.toVal/U,S)}}else{const K=A?v.convertUnitTo("s",A*N,S.replace(/^'|'$/g,"")):v.convertUnitTo(T.replace(/^'|'$/g,""),N,S.replace(/^'|'$/g,""));if("succeeded"===K.status)return new a(K.toVal,S)}return null},a._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},a._yearMonthConversionFactor={years:12,months:1,year:12,month:1},a.dateTimeArithmeticDurationUnits={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","'s'":"second","'ms'":"millisecond"},a.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},a.mapTimeUnitsToUCUMCode=Object.keys(a.mapUCUMCodeToTimeUnits).reduce(function(T,N){return T[a.mapUCUMCodeToTimeUnits[N]]=N,T[a.mapUCUMCodeToTimeUnits[N]+"s"]=N,T},{});class u extends l{constructor(N){super(),this.asStr=N}plus(N){let F=a.dateTimeArithmeticDurationUnits[N.unit];if(!F)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(a.dateTimeArithmeticDurationUnits));const L=this.constructor,A=L._timeUnitToDatePrecision[F];if(void 0===A)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(L._timeUnitToDatePrecision).join(", ")+".");let U=N.value;const K=L===p;if((K?A<2:A<5)&&(U=Math.trunc(U)),this._getPrecision()2?new h(U)._getTimeParts():this._getTimeParts(),ne=L>2?new h(K)._getTimeParts():N._getTimeParts(),B=0;B<=A&&!1!==S;++B)S=ee[B]==ne[B];S&&(S=void 0)}}else S=!1;return S}equivalentTo(N){var S=N instanceof this.constructor;return S&&(S=this._getPrecision()==N._getPrecision())&&(S=this._getDateObj().getTime()==N._getDateObj().getTime()),S}compare(N){var S=this._getPrecision(),F=N._getPrecision(),L=S<=F?this._getDateObj().getTime():this._dateAtPrecision(F).getTime(),A=F<=S?N._getDateObj().getTime():N._dateAtPrecision(S).getTime();return S!==F&&L===A?null:L-A}_getPrecision(){return void 0===this.precision&&this._getMatchData(),this.precision}_getMatchData(N,S){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(N),this.timeMatchData))for(let F=S;F>=0&&void 0===this.precision;--F)this.timeMatchData[F]&&(this.precision=F);return this.timeMatchData}_getTimeParts(N){var S=[];S=[N[0]];var F=N[4];if(F){let K=S[0];S[0]=K.slice(0,K.length-F.length)}var L=N[1];if(L){let K=S[0];S[0]=K.slice(0,K.length-L.length),S[1]=L;var A=N[2];if(A){S[1]=L.slice(0,L.length-A.length),S[2]=A;var U=N[3];U&&(S[2]=A.slice(0,A.length-U.length),S[3]=U)}}return S}_getDateObj(){if(!this.dateObj){var N=this._getPrecision();this.dateObj=this._dateAtPrecision(N)}return this.dateObj}_createDate(N,S,F,L,A,U,K,ee){var ne=new Date(N,S,F,L,A,U,K);if(ee){var B=ne.getTimezoneOffset(),H=0;if("Z"!=ee){var z=ee.split(":"),X=parseInt(z[0]);H=parseInt(z[1]),X<0&&(H=-H),H+=60*X}ne=t(ne,-B-H)}return ne}}u.timeUnitToAddFn={year:g(4824),month:g(4400),week:g(7784),day:g(6915),hour:g(4260),minute:g(7196),second:g(3792),millisecond:g(2236)};let h=(()=>{class T extends u{constructor(S){super(S)}compare(S){if(!(S instanceof T))throw"Invalid comparison of a DateTime with something else";return super.compare(S)}_getMatchData(){return super._getMatchData(s,5)}_getTimeParts(){if(!this.timeParts){let F=this._getMatchData(),L=F[0];this.timeParts=[L];var S=F[1];if(S){this.timeParts[0]=L.slice(0,L.length-S.length),this.timeParts[1]=S;let A=F[2];if(A){this.timeParts[1]=S.slice(0,S.length-A.length),this.timeParts[2]=A;let U=F[3];U&&(this.timeParts[2]=A.slice(0,A.length-U.length),"T"===U[0]&&(F[3]=U.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(F.slice(3))))}}}return this.timeParts}_dateAtPrecision(S){var F=this._getTimeParts(),L=this._getMatchData()[7],A=this._getPrecision(),U=parseInt(F[0]),K=A>0?parseInt(F[1].slice(1))-1:0,ee=A>1?parseInt(F[2].slice(1)):1,ne=A>2?parseInt(F[3]):0,B=A>3?parseInt(F[4].slice(1)):0,H=A>4?parseInt(F[5].slice(1)):0,z=F.length>6?parseInt(F[6].slice(1)):0,X=this._createDate(U,K,ee,ne,B,H,z,L);return S0?X.getMonth():0,ee=S>1?X.getDate():1,ne=S>2?X.getHours():0,B=S>3?X.getMinutes():0,X=new Date(U,K,ee,ne,B)),X}}return T.checkString=function(N){let S=new T(N);return S._getMatchData()||(S=null),S},T._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},T._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"],T})(),p=(()=>{class T extends u{constructor(S){"T"==S[0]&&(S=S.slice(1)),super(S)}compare(S){if(!(S instanceof T))throw"Invalid comparison of a time with something else";return super.compare(S)}_dateAtPrecision(S){var F=this._getTimeParts(),L=this._getMatchData()[4],A=this._getPrecision(),U=2010,ne=parseInt(F[0]),B=A>0?parseInt(F[1].slice(1)):0,H=A>1?parseInt(F[2].slice(1)):0,z=F.length>3?parseInt(F[3].slice(1)):0,X=this._createDate(U,0,1,ne,B,H,z,L);return L&&(X.setYear(U),X.setMonth(0),X.setDate(1)),S0?X.getMinutes():0,X=new Date(U,0,1,ne,B)),X}_getMatchData(){return super._getMatchData(b,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}return T.checkString=function(N){let S=new T(N);return S._getMatchData()||(S=null),S},T._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},T._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],T})();function _(T,N){var S=T;return 3===N&&T<100&&(S="0"+T),T<10&&(S="0"+S),S}h.isoDateTime=function(T,N){void 0===N&&(N=5);var S=""+T.getFullYear();if(N>0&&(S+="-"+_(T.getMonth()+1),N>1&&(S+="-"+_(T.getDate()),N>2&&(S+="T"+h.isoTime(T,N-3)))),N>2){var F=T.getTimezoneOffset(),L=F<0?"+":"-",A=(F=Math.abs(F))%60;S+=L+_((F-A)/60)+":"+_(A)}return S},h.isoTime=function(T,N){void 0===N&&(N=2);let S=""+_(T.getHours());return N>0&&(S+=":"+_(T.getMinutes()),N>1&&(S+=":"+_(T.getSeconds()),T.getMilliseconds()&&(S+="."+_(T.getMilliseconds(),3)))),S};let y=(()=>{class T extends h{constructor(S){super(S)}_getMatchData(){return u.prototype._getMatchData.apply(this,[f,2])}}return T.checkString=function(N){let S=new T(N);return S._getMatchData()||(S=null),S},T.isoDate=function(N,S){return(void 0===S||S>2)&&(S=2),h.isoDateTime(N,S)},T})(),M=(()=>{class T extends h{constructor(S){super(S)}_getMatchData(){return u.prototype._getMatchData.apply(this,[d,5])}}return T.checkString=function(N){let S=new T(N);return S._getMatchData()||(S=null),S},T})(),w=(()=>{class T{constructor(S,F,L){S?.resourceType&&(F=S.resourceType),this.path=F,this.data=S,this._data=L||{}}getTypeInfo(){const S=k.FHIR;return/^System\.(.*)$/.test(this.path)?new k({namespace:k.System,name:RegExp.$1}):-1===this.path.indexOf(".")?new k({namespace:S,name:this.path}):k.model?new k({namespace:S,name:"BackboneElement"}):k.createByValueInNamespace({namespace:S,value:this.data})}toJSON(){return JSON.stringify(this.data)}convertData(){var S=this.data;const F=k.typeToClassWithCheckString[this.path];if(F)S=F.checkString(S)||S;else if(k.isType(this.path,"Quantity")&&"http://unitsofmeasure.org"===S?.system&&"number"==typeof S.value&&"string"==typeof S.code){if(void 0!==S.comparator)throw new Error("Cannot convert a FHIR.Quantity that has a comparator");S=new a(S.value,a.mapUCUMCodeToTimeUnits[S.code]||"'"+S.code+"'")}return S}}return T.makeResNode=function(N,S,F){return N instanceof T?N:new T(N,S,F)},T})(),k=(()=>{class T{constructor({name:S,namespace:F}){this.name=S,this.namespace=F}static model=null;is(S){return S instanceof T&&(!this.namespace||!S.namespace||this.namespace===S.namespace)&&(!T.model||this.namespace&&this.namespace!==T.FHIR?this.name===S.name:T.isType(this.name,S.name))}}return T.typeToClassWithCheckString={date:y,dateTime:h,instant:M,time:p},T.isType=function(N,S){do{if(N===S)return!0}while(N=T.model?.type2Parent[N]);return!1},T.System="System",T.FHIR="FHIR",T.createByValueInNamespace=function({namespace:N,value:S}){let F=typeof S;return Number.isInteger(S)?F="integer":"number"===F?F="decimal":S instanceof y?F="date":S instanceof h?F="dateTime":S instanceof p?F="time":S instanceof a&&(F="Quantity"),N===T.System&&(F=F.replace(/^\w/,L=>L.toUpperCase())),new T({namespace:N,name:F})},T.fromValue=function(N){return N instanceof w?N.getTypeInfo():T.createByValueInNamespace({namespace:T.System,value:N})},T})();De.exports={FP_Type:l,FP_TimeBase:u,FP_Date:y,FP_DateTime:h,FP_Instant:M,FP_Time:p,FP_Quantity:a,timeRE:b,dateTimeRE:s,ResourceNode:w,TypeInfo:k,typeFn:function D(T){return T.map(N=>k.fromValue(N))},isFn:function I(T,N){if(0===T.length)return[];if(T.length>1)throw new Error("Expected singleton on left side of 'is', got "+JSON.stringify(T));return k.fromValue(T[0]).is(N)},asFn:function O(T,N){if(0===T.length)return[];if(T.length>1)throw new Error("Expected singleton on left side of 'as', got "+JSON.stringify(T));return k.fromValue(T[0]).is(N)?T:[]}}},2360:(De,te,g)=>{const t={},v=g(3044);let{ResourceNode:C}=v;t.raiseError=function(E,c){throw(c=c?c+": ":"")+E},t.assertAtMostOne=function(E,c){E.length>1&&t.raiseError("Was expecting no more than one element but got "+JSON.stringify(E),c)},t.assertType=function(E,c,b){let s=this.valData(E);if(c.indexOf(typeof s)<0){let f=c.length>1?"one of "+c.join(", "):c[0];t.raiseError("Found type '"+typeof E+"' but was expecting "+f,b)}return s},t.isEmpty=function(E){return Array.isArray(E)&&0==E.length},t.isSome=function(E){return null!=E&&!t.isEmpty(E)},t.isTrue=function(E){return null!=E&&(!0===E||1==E.length&&!0===E[0])},t.isFalse=function(E){return null!=E&&(!1===E||1==E.length&&!1===E[0])},t.isCapitalized=function(E){return E&&E[0]===E[0].toUpperCase()},t.flatten=function(E){return E.reduce(function(c,b){return Array.isArray(b)?c=c.concat(b):c.push(b),c},[])},t.arraify=function(E){return Array.isArray(E)?E:t.isSome(E)?[E]:[]},t.valData=function(E){return E instanceof C?E.data:E},t.valDataConverted=function(E){return E instanceof C&&(E=E.convertData()),E},t.escapeStringForRegExp=function(E){return E.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},De.exports=t},6472:De=>{"use strict";De.exports=function(te,g){for(var t={},v=Object.keys(te),C=Array.isArray(g),E=0;E{!function(De,te){"use strict";var g="hljs-ln",t="hljs-ln-line",v="hljs-ln-code",C="hljs-ln-numbers",E="hljs-ln-n",c="data-line-number",b=/\r\n|\r|\n/g;function r(A){try{var U=te.querySelectorAll("code.hljs,code.nohighlight");for(var K in U)U.hasOwnProperty(K)&&(u(U[K])||h(U[K],A))}catch(ee){De.console.error("LineNumbers error: ",ee)}}function u(A){return A.classList.contains("nohljsln")}function h(A,U){"object"==typeof A&&function N(A){De.setTimeout(A,0)}(function(){A.innerHTML=_(A,U)})}function _(A,U){var K=function M(A,U){return{singleLine:w(U=U||{}),startFrom:k(A,U)}}(A,U);return D(A),function y(A,U){var K=O(A);if(""===K[K.length-1].trim()&&K.pop(),K.length>1||U.singleLine){for(var ee="",ne=0,B=K.length;ne
{6}',[t,C,E,c,v,ne+U.startFrom,K[ne].length>0?K[ne]:" "]);return S('{1}
',[g,ee])}return A}(A.innerHTML,K)}function w(A){return!!A.singleLine&&A.singleLine}function k(A,U){var ee=1;isFinite(U.startFrom)&&(ee=U.startFrom);var ne=function F(A,U){return A.hasAttribute(U)?A.getAttribute(U):null}(A,"data-ln-start-from");return null!==ne&&(ee=function L(A,U){if(!A)return U;var K=Number(A);return isFinite(K)?K:U}(ne,1)),ee}function D(A){var U=A.childNodes;for(var K in U)if(U.hasOwnProperty(K)){var ee=U[K];T(ee.textContent)>0&&(ee.childNodes.length>0?D(ee):I(ee.parentNode))}}function I(A){var U=A.className;if(/hljs-/.test(U)){for(var K=O(A.innerHTML),ee=0,ne="";ee{1}\n',[U,K[ee].length>0?K[ee]:" "]);A.innerHTML=ne.trim()}}function O(A){return 0===A.length?[]:A.split(b)}function T(A){return(A.trim().match(b)||[]).length}function S(A,U){return A.replace(/\{(\d+)\}/g,function(K,ee){return void 0!==U[ee]?U[ee]:K})}De.hljs?(De.hljs.initLineNumbersOnLoad=function a(A){"interactive"===te.readyState||"complete"===te.readyState?r(A):De.addEventListener("DOMContentLoaded",function(){r(A)})},De.hljs.lineNumbersBlock=h,De.hljs.lineNumbersValue=function p(A,U){if("string"==typeof A){var K=document.createElement("code");return K.innerHTML=A,_(K,U)}},function l(){var A=te.createElement("style");A.type="text/css",A.innerHTML=S(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[g,E,c]),te.getElementsByTagName("head")[0].appendChild(A)}()):De.console.error("highlight.js not detected!"),document.addEventListener("copy",function(A){var K,U=window.getSelection();(function s(A){for(var U=A;U;){if(U.className&&-1!==U.className.indexOf("hljs-ln-code"))return!0;U=U.parentNode}return!1})(U.anchorNode)&&(K=-1!==window.navigator.userAgent.indexOf("Edge")?function d(A){for(var U=A.toString(),K=A.anchorNode;"TD"!==K.nodeName;)K=K.parentNode;for(var ee=A.focusNode;"TD"!==ee.nodeName;)ee=ee.parentNode;var ne=parseInt(K.dataset.lineNumber),B=parseInt(ee.dataset.lineNumber);if(ne!=B){var H=K.textContent,z=ee.textContent;if(ne>B){var X=ne;ne=B,B=X,X=H,H=z,z=X}for(;0!==U.indexOf(H);)H=H.slice(1);for(;-1===U.lastIndexOf(z);)z=z.slice(0,-1);for(var G=H,j=function f(A){for(var U=A;"TABLE"!==U.nodeName;)U=U.parentNode;return U}(K),le=ne+1;le{"use strict";De.exports=Number.isFinite||function(te){return!("number"!=typeof te||te!=te||te===1/0||te===-1/0)}},3716:(De,te,g)=>{var t=g(7176);De.exports=Number.isInteger||function(v){return"number"==typeof v&&t(v)&&Math.floor(v)===v}},9472:function(De,te){var g,v;void 0!==(v="function"==typeof(g=function(){"use strict";function C(l){function a(_){for(var y=0,M=r.length;y127){if(a>191&&a<224){if(t>=e.length)throw"UTF-8 decode: incomplete 2-byte sequence";a=(31&a)<<6|63&e[t]}else if(a>223&&a<240){if(t+1>=e.length)throw"UTF-8 decode: incomplete 3-byte sequence";a=(15&a)<<12|(63&e[t])<<6|63&e[++t]}else{if(!(a>239&&a<248))throw"UTF-8 decode: unknown multibyte start 0x"+a.toString(16)+" at index "+(t-1);if(t+2>=e.length)throw"UTF-8 decode: incomplete 4-byte sequence";a=(7&a)<<18|(63&e[t])<<12|(63&e[++t])<<6|63&e[++t]}++t}if(a<=65535)r+=String.fromCharCode(a);else{if(!(a<=1114111))throw"UTF-8 decode: code point 0x"+a.toString(16)+" exceeds UTF-16 reach";a-=65536,r+=String.fromCharCode(a>>10|55296),r+=String.fromCharCode(1023&a|56320)}}return r}function PaxHeader(e){this._fields=e}function TarFile(){}function UntarStream(e){this._bufferView=new DataView(e),this._position=0}function UntarFileStream(e){this._stream=new UntarStream(e),this._globalPaxHeader=null}if(UntarWorker.prototype={onmessage:function(e){try{if("extract"!==e.data.type)throw new Error("Unknown message type: "+e.data.type);this.untarBuffer(e.data.buffer)}catch(r){this.postError(r)}},postError:function(e){this.postMessage({type:"error",data:{message:e.message}})},postLog:function(e,r){this.postMessage({type:"log",data:{level:e,msg:r}})},untarBuffer:function(e){try{for(var r=new UntarFileStream(e);r.hasNext();){var t=r.next();this.postMessage({type:"extract",data:t},[t.buffer])}this.postMessage({type:"complete"})}catch(a){this.postError(a)}},postMessage:function(e,r){self.postMessage(e,r)}},"undefined"!=typeof self){var worker=new UntarWorker;self.onmessage=function(e){worker.onmessage(e)}}PaxHeader.parse=function(e){for(var r=new Uint8Array(e),t=[];r.length>0;){var a=parseInt(decodeUTF8(r.subarray(0,r.indexOf(32)))),n=decodeUTF8(r.subarray(0,a)),i=n.match(/^\\d+ ([^=]+)=(.*)\\n$/);if(null===i)throw new Error("Invalid PAX header data format.");var s=i[1],o=i[2];0===o.length?o=null:null!==o.match(/^\\d+$/)&&(o=parseInt(o));var f={name:s,value:o};t.push(f),r=r.subarray(a)}return new PaxHeader(t)},PaxHeader.prototype={applyHeader:function(e){this._fields.forEach(function(r){var t=r.name,a=r.value;"path"===t?(t="name",void 0!==e.prefix&&delete e.prefix):"linkpath"===t&&(t="linkname"),null===a?delete e[t]:e[t]=a})}},UntarStream.prototype={readString:function(e){for(var r=1,t=e*r,a=[],n=0;n-1&&(r.version=e.readString(2),r.uname=e.readString(32),r.gname=e.readString(32),r.devmajor=parseInt(e.readString(8)),r.devminor=parseInt(e.readString(8)),r.namePrefix=e.readString(155),r.namePrefix.length>0&&(r.name=r.namePrefix+"/"+r.name)),e.position(i),r.type){case"0":case"":r.buffer=e.readBuffer(r.size);break;case"1":break;case"2":break;case"3":break;case"4":break;case"5":break;case"6":break;case"7":break;case"g":t=!0,this._globalPaxHeader=PaxHeader.parse(e.readBuffer(r.size));break;case"x":t=!0,a=PaxHeader.parse(e.readBuffer(r.size))}void 0===r.buffer&&(r.buffer=new ArrayBuffer(0));var s=i+r.size;return r.size%512!==0&&(s+=512-r.size%512),e.position(s),t&&(r=this._readNextFile()),null!==this._globalPaxHeader&&this._globalPaxHeader.applyHeader(r),null!==a&&a.applyHeader(r),r}};'])),function E(l){if(!(l instanceof ArrayBuffer))throw new TypeError("arrayBuffer is not an instance of ArrayBuffer.");if(!s.Worker)throw new Error("Worker implementation is not available in this environment.");return new C(function(a,r,u){var h=new Worker(b),p=[];h.onerror=function(_){r(_)},h.onmessage=function(_){switch((_=_.data).type){case"log":console[_.data.level]("Worker: "+_.data.msg);break;case"extract":var y=function c(l){return Object.defineProperties(l,d),l}(_.data);p.push(y),u(y);break;case"complete":h.terminate(),a(p);break;case"error":h.terminate(),r(new Error(_.data.message));break;default:h.terminate(),r(new Error("Unknown message from worker: "+_.type))}},h.postMessage({type:"extract",buffer:l},[l])})}})?g.apply(te,[]):g)&&(De.exports=v)},4772:(De,te)=>{function t(v,C){var E=[],c=[];return null==C&&(C=function(b,s){return E[0]===s?"[Circular ~]":"[Circular ~."+c.slice(0,E.indexOf(s)).join(".")+"]"}),function(b,s){if(E.length>0){var f=E.indexOf(this);~f?E.splice(f+1):E.push(this),~f?c.splice(f,1/0,b):c.push(b),~E.indexOf(s)&&(s=C.call(this,b,s))}else E.push(s);return null==v?s:v.call(this,b,s)}}(De.exports=function g(v,C,E,c){return JSON.stringify(v,t(C,c),E)}).getSerialize=t},6168:De=>{var te=1e3,g=6e4,t=60*g,v=24*t;function f(d,l,a,r){var u=l>=1.5*a;return Math.round(d/a)+" "+r+(u?"s":"")}De.exports=function(d,l){l=l||{};var a=typeof d;if("string"===a&&d.length>0)return function c(d){if(!((d=String(d)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if(l){var a=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*v;case"hours":case"hour":case"hrs":case"hr":case"h":return a*t;case"minutes":case"minute":case"mins":case"min":case"m":return a*g;case"seconds":case"second":case"secs":case"sec":case"s":return a*te;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(d);if("number"===a&&isFinite(d))return l.long?function s(d){var l=Math.abs(d);return l>=v?f(d,l,v,"day"):l>=t?f(d,l,t,"hour"):l>=g?f(d,l,g,"minute"):l>=te?f(d,l,te,"second"):d+" ms"}(d):function b(d){var l=Math.abs(d);return l>=v?Math.round(d/v)+"d":l>=t?Math.round(d/t)+"h":l>=g?Math.round(d/g)+"m":l>=te?Math.round(d/te)+"s":d+"ms"}(d);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(d))}},2948:De=>{"use strict";const te=typeof self<"u"?self:typeof window<"u"?window:void 0;if(!te)throw new Error("Unable to find global scope. Are you sure this is running in the browser?");if(!te.AbortController)throw new Error('Could not find "AbortController" in the global scope. You need to polyfill it first');De.exports.AbortController=te.AbortController},4420:(De,te,g)=>{"use strict";const t=g(3896),v=g(1844),C=g(4104),E=g(6472),b=Symbol("encodeFragmentIdentifier");function d(M){if("string"!=typeof M||1!==M.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(M,w){return w.encode?w.strict?t(M):encodeURIComponent(M):M}function a(M,w){return w.decode?v(M):M}function r(M){return Array.isArray(M)?M.sort():"object"==typeof M?r(Object.keys(M)).sort((w,k)=>Number(w)-Number(k)).map(w=>M[w]):M}function u(M){const w=M.indexOf("#");return-1!==w&&(M=M.slice(0,w)),M}function p(M){const w=(M=u(M)).indexOf("?");return-1===w?"":M.slice(w+1)}function _(M,w){return w.parseNumbers&&!Number.isNaN(Number(M))&&"string"==typeof M&&""!==M.trim()?M=Number(M):w.parseBooleans&&null!==M&&("true"===M.toLowerCase()||"false"===M.toLowerCase())&&(M="true"===M.toLowerCase()),M}function y(M,w){d((w=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},w)).arrayFormatSeparator);const k=function f(M){let w;switch(M.arrayFormat){case"index":return(k,D,I)=>{w=/\[(\d*)\]$/.exec(k),k=k.replace(/\[\d*\]$/,""),w?(void 0===I[k]&&(I[k]={}),I[k][w[1]]=D):I[k]=D};case"bracket":return(k,D,I)=>{w=/(\[\])$/.exec(k),I[k=k.replace(/\[\]$/,"")]=w?void 0!==I[k]?[].concat(I[k],D):[D]:D};case"colon-list-separator":return(k,D,I)=>{w=/(:list)$/.exec(k),I[k=k.replace(/:list$/,"")]=w?void 0!==I[k]?[].concat(I[k],D):[D]:D};case"comma":case"separator":return(k,D,I)=>{const O="string"==typeof D&&D.includes(M.arrayFormatSeparator),T="string"==typeof D&&!O&&a(D,M).includes(M.arrayFormatSeparator);D=T?a(D,M):D;const N=O||T?D.split(M.arrayFormatSeparator).map(S=>a(S,M)):null===D?D:a(D,M);I[k]=N};case"bracket-separator":return(k,D,I)=>{const O=/(\[\])$/.test(k);if(k=k.replace(/\[\]$/,""),!O)return void(I[k]=D&&a(D,M));const T=null===D?[]:D.split(M.arrayFormatSeparator).map(N=>a(N,M));I[k]=void 0!==I[k]?[].concat(I[k],T):T};default:return(k,D,I)=>{I[k]=void 0!==I[k]?[].concat(I[k],D):D}}}(w),D=Object.create(null);if("string"!=typeof M||!(M=M.trim().replace(/^[?#&]/,"")))return D;for(const I of M.split("&")){if(""===I)continue;let[O,T]=C(w.decode?I.replace(/\+/g," "):I,"=");T=void 0===T?null:["comma","separator","bracket-separator"].includes(w.arrayFormat)?T:a(T,w),k(a(O,w),T,D)}for(const I of Object.keys(D)){const O=D[I];if("object"==typeof O&&null!==O)for(const T of Object.keys(O))O[T]=_(O[T],w);else D[I]=_(O,w)}return!1===w.sort?D:(!0===w.sort?Object.keys(D).sort():Object.keys(D).sort(w.sort)).reduce((I,O)=>{const T=D[O];return I[O]=T&&"object"==typeof T&&!Array.isArray(T)?r(T):T,I},Object.create(null))}te.extract=p,te.parse=y,te.stringify=(M,w)=>{if(!M)return"";d((w=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},w)).arrayFormatSeparator);const k=T=>w.skipNull&&(M=>null==M)(M[T])||w.skipEmptyString&&""===M[T],D=function s(M){switch(M.arrayFormat){case"index":return w=>(k,D)=>{const I=k.length;return void 0===D||M.skipNull&&null===D||M.skipEmptyString&&""===D?k:null===D?[...k,[l(w,M),"[",I,"]"].join("")]:[...k,[l(w,M),"[",l(I,M),"]=",l(D,M)].join("")]};case"bracket":return w=>(k,D)=>void 0===D||M.skipNull&&null===D||M.skipEmptyString&&""===D?k:null===D?[...k,[l(w,M),"[]"].join("")]:[...k,[l(w,M),"[]=",l(D,M)].join("")];case"colon-list-separator":return w=>(k,D)=>void 0===D||M.skipNull&&null===D||M.skipEmptyString&&""===D?k:null===D?[...k,[l(w,M),":list="].join("")]:[...k,[l(w,M),":list=",l(D,M)].join("")];case"comma":case"separator":case"bracket-separator":{const w="bracket-separator"===M.arrayFormat?"[]=":"=";return k=>(D,I)=>void 0===I||M.skipNull&&null===I||M.skipEmptyString&&""===I?D:(I=null===I?"":I,0===D.length?[[l(k,M),w,l(I,M)].join("")]:[[D,l(I,M)].join(M.arrayFormatSeparator)])}default:return w=>(k,D)=>void 0===D||M.skipNull&&null===D||M.skipEmptyString&&""===D?k:null===D?[...k,l(w,M)]:[...k,[l(w,M),"=",l(D,M)].join("")]}}(w),I={};for(const T of Object.keys(M))k(T)||(I[T]=M[T]);const O=Object.keys(I);return!1!==w.sort&&O.sort(w.sort),O.map(T=>{const N=M[T];return void 0===N?"":null===N?l(T,w):Array.isArray(N)?0===N.length&&"bracket-separator"===w.arrayFormat?l(T,w)+"[]":N.reduce(D(T),[]).join("&"):l(T,w)+"="+l(N,w)}).filter(T=>T.length>0).join("&")},te.parseUrl=(M,w)=>{w=Object.assign({decode:!0},w);const[k,D]=C(M,"#");return Object.assign({url:k.split("?")[0]||"",query:y(p(M),w)},w&&w.parseFragmentIdentifier&&D?{fragmentIdentifier:a(D,w)}:{})},te.stringifyUrl=(M,w)=>{w=Object.assign({encode:!0,strict:!0,[b]:!0},w);const k=u(M.url).split("?")[0]||"",D=te.extract(M.url),I=te.parse(D,{sort:!1}),O=Object.assign(I,M.query);let T=te.stringify(O,w);T&&(T=`?${T}`);let N=function h(M){let w="";const k=M.indexOf("#");return-1!==k&&(w=M.slice(k)),w}(M.url);return M.fragmentIdentifier&&(N=`#${w[b]?l(M.fragmentIdentifier,w):M.fragmentIdentifier}`),`${k}${T}${N}`},te.pick=(M,w,k)=>{k=Object.assign({parseFragmentIdentifier:!0,[b]:!1},k);const{url:D,query:I,fragmentIdentifier:O}=te.parseUrl(M,k);return te.stringifyUrl({url:D,query:E(I,w),fragmentIdentifier:O},k)},te.exclude=(M,w,k)=>{const D=Array.isArray(w)?I=>!w.includes(I):(I,O)=>!w(I,O);return te.pick(M,D,k)}},6700:(De,te,g)=>{"use strict";g.d(te,{g:()=>v});var t=g(5657);class v extends t.E{constructor(E){super(),this._value=E}get value(){return this.getValue()}_subscribe(E){const c=super._subscribe(E);return!c.closed&&E.next(this._value),c}getValue(){const{hasError:E,thrownError:c,_value:b}=this;if(E)throw c;return this._throwIfClosed(),b}next(E){super.next(this._value=E)}}},3252:(De,te,g)=>{"use strict";g.d(te,{_:()=>f});var t=g(1760),v=g(6928),C=g(472),E=g(3928),c=g(4491),b=g(8880),s=g(2075);let f=(()=>{class r{constructor(h){h&&(this._subscribe=h)}lift(h){const p=new r;return p.source=this,p.operator=h,p}subscribe(h,p,_){const y=function a(r){return r&&r instanceof t.yR||function l(r){return r&&(0,b.m)(r.next)&&(0,b.m)(r.error)&&(0,b.m)(r.complete)}(r)&&(0,v.GI)(r)}(h)?h:new t.ot(h,p,_);return(0,s.c)(()=>{const{operator:M,source:w}=this;y.add(M?M.call(y,w):w?this._subscribe(y):this._trySubscribe(y))}),y}_trySubscribe(h){try{return this._subscribe(h)}catch(p){h.error(p)}}forEach(h,p){return new(p=d(p))((_,y)=>{const M=new t.ot({next:w=>{try{h(w)}catch(k){y(k),M.unsubscribe()}},error:y,complete:_});this.subscribe(M)})}_subscribe(h){var p;return null===(p=this.source)||void 0===p?void 0:p.subscribe(h)}[C.a](){return this}pipe(...h){return(0,E.Y)(h)(this)}toPromise(h){return new(h=d(h))((p,_)=>{let y;this.subscribe(M=>y=M,M=>_(M),()=>p(y))})}}return r.create=u=>new r(u),r})();function d(r){var u;return null!==(u=r??c.config.Promise)&&void 0!==u?u:Promise}},2540:(De,te,g)=>{"use strict";g.d(te,{o:()=>C});var t=g(5657),v=g(5960);class C extends t.E{constructor(c=1/0,b=1/0,s=v.K){super(),this._bufferSize=c,this._windowTime=b,this._timestampProvider=s,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=b===1/0,this._bufferSize=Math.max(1,c),this._windowTime=Math.max(1,b)}next(c){const{isStopped:b,_buffer:s,_infiniteTimeWindow:f,_timestampProvider:d,_windowTime:l}=this;b||(s.push(c),!f&&s.push(d.now()+l)),this._trimBuffer(),super.next(c)}_subscribe(c){this._throwIfClosed(),this._trimBuffer();const b=this._innerSubscribe(c),{_infiniteTimeWindow:s,_buffer:f}=this,d=f.slice();for(let l=0;l{"use strict";g.d(te,{E:()=>s});var t=g(3252),v=g(6928);const E=(0,g(4912).w)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var c=g(1248),b=g(2075);let s=(()=>{class d extends t._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(a){const r=new f(this,this);return r.operator=a,r}_throwIfClosed(){if(this.closed)throw new E}next(a){(0,b.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(a)}})}error(a){(0,b.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=a;const{observers:r}=this;for(;r.length;)r.shift().error(a)}})}complete(){(0,b.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:a}=this;for(;a.length;)a.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var a;return(null===(a=this.observers)||void 0===a?void 0:a.length)>0}_trySubscribe(a){return this._throwIfClosed(),super._trySubscribe(a)}_subscribe(a){return this._throwIfClosed(),this._checkFinalizedStatuses(a),this._innerSubscribe(a)}_innerSubscribe(a){const{hasError:r,isStopped:u,observers:h}=this;return r||u?v.au:(this.currentObservers=null,h.push(a),new v.wH(()=>{this.currentObservers=null,(0,c.k)(h,a)}))}_checkFinalizedStatuses(a){const{hasError:r,thrownError:u,isStopped:h}=this;r?a.error(u):h&&a.complete()}asObservable(){const a=new t._;return a.source=this,a}}return d.create=(l,a)=>new f(l,a),d})();class f extends s{constructor(l,a){super(),this.destination=l,this.source=a}next(l){var a,r;null===(r=null===(a=this.destination)||void 0===a?void 0:a.next)||void 0===r||r.call(a,l)}error(l){var a,r;null===(r=null===(a=this.destination)||void 0===a?void 0:a.error)||void 0===r||r.call(a,l)}complete(){var l,a;null===(a=null===(l=this.destination)||void 0===l?void 0:l.complete)||void 0===a||a.call(l)}_subscribe(l){var a,r;return null!==(r=null===(a=this.source)||void 0===a?void 0:a.subscribe(l))&&void 0!==r?r:v.au}}},1760:(De,te,g)=>{"use strict";g.d(te,{ot:()=>_,yR:()=>r});var t=g(8880),v=g(6928),C=g(4491),E=g(1984),c=g(308);const b=d("C",void 0,void 0);function d(D,I,O){return{kind:D,value:I,error:O}}var l=g(3376),a=g(2075);class r extends v.wH{constructor(I){super(),this.isStopped=!1,I?(this.destination=I,(0,v.GI)(I)&&I.add(this)):this.destination=k}static create(I,O,T){return new _(I,O,T)}next(I){this.isStopped?w(function f(D){return d("N",D,void 0)}(I),this):this._next(I)}error(I){this.isStopped?w(function s(D){return d("E",void 0,D)}(I),this):(this.isStopped=!0,this._error(I))}complete(){this.isStopped?w(b,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(I){this.destination.next(I)}_error(I){try{this.destination.error(I)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const u=Function.prototype.bind;function h(D,I){return u.call(D,I)}class p{constructor(I){this.partialObserver=I}next(I){const{partialObserver:O}=this;if(O.next)try{O.next(I)}catch(T){y(T)}}error(I){const{partialObserver:O}=this;if(O.error)try{O.error(I)}catch(T){y(T)}else y(I)}complete(){const{partialObserver:I}=this;if(I.complete)try{I.complete()}catch(O){y(O)}}}class _ extends r{constructor(I,O,T){let N;if(super(),(0,t.m)(I)||!I)N={next:I??void 0,error:O??void 0,complete:T??void 0};else{let S;this&&C.config.useDeprecatedNextContext?(S=Object.create(I),S.unsubscribe=()=>this.unsubscribe(),N={next:I.next&&h(I.next,S),error:I.error&&h(I.error,S),complete:I.complete&&h(I.complete,S)}):N=I}this.destination=new p(N)}}function y(D){C.config.useDeprecatedSynchronousErrorHandling?(0,a.q)(D):(0,E.U)(D)}function w(D,I){const{onStoppedNotification:O}=C.config;O&&l.u.setTimeout(()=>O(D,I))}const k={closed:!0,next:c.K,error:function M(D){throw D},complete:c.K}},6928:(De,te,g)=>{"use strict";g.d(te,{au:()=>b,wH:()=>c,GI:()=>s});var t=g(8880);const C=(0,g(4912).w)(d=>function(a){d(this),this.message=a?`${a.length} errors occurred during unsubscription:\n${a.map((r,u)=>`${u+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=a});var E=g(1248);class c{constructor(l){this.initialTeardown=l,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let l;if(!this.closed){this.closed=!0;const{_parentage:a}=this;if(a)if(this._parentage=null,Array.isArray(a))for(const h of a)h.remove(this);else a.remove(this);const{initialTeardown:r}=this;if((0,t.m)(r))try{r()}catch(h){l=h instanceof C?h.errors:[h]}const{_finalizers:u}=this;if(u){this._finalizers=null;for(const h of u)try{f(h)}catch(p){l=l??[],p instanceof C?l=[...l,...p.errors]:l.push(p)}}if(l)throw new C(l)}}add(l){var a;if(l&&l!==this)if(this.closed)f(l);else{if(l instanceof c){if(l.closed||l._hasParent(this))return;l._addParent(this)}(this._finalizers=null!==(a=this._finalizers)&&void 0!==a?a:[]).push(l)}}_hasParent(l){const{_parentage:a}=this;return a===l||Array.isArray(a)&&a.includes(l)}_addParent(l){const{_parentage:a}=this;this._parentage=Array.isArray(a)?(a.push(l),a):a?[a,l]:l}_removeParent(l){const{_parentage:a}=this;a===l?this._parentage=null:Array.isArray(a)&&(0,E.k)(a,l)}remove(l){const{_finalizers:a}=this;a&&(0,E.k)(a,l),l instanceof c&&l._removeParent(this)}}c.EMPTY=(()=>{const d=new c;return d.closed=!0,d})();const b=c.EMPTY;function s(d){return d instanceof c||d&&"closed"in d&&(0,t.m)(d.remove)&&(0,t.m)(d.add)&&(0,t.m)(d.unsubscribe)}function f(d){(0,t.m)(d)?d():d.unsubscribe()}},4491:(De,te,g)=>{"use strict";g.d(te,{config:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2376:(De,te,g)=>{"use strict";g.d(te,{C:()=>b});var t=g(3252),v=g(6928),C=g(8084),E=g(7773),c=g(5448);class b extends t._{constructor(f,d){super(),this.source=f,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,c.e)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,f?.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new v.wH;const d=this.getSubject();f.add(this.source.subscribe((0,E.e)(d,void 0,()=>{this._teardown(),d.complete()},l=>{this._teardown(),d.error(l)},()=>this._teardown()))),f.closed&&(this._connection=null,f=v.wH.EMPTY)}return f}refCount(){return(0,C.O)()(this)}}},6040:(De,te,g)=>{"use strict";g.d(te,{E:()=>l,I:()=>a});var t=g(3252),v=g(4300),C=g(9900),E=g(528),c=g(4187),b=g(6624),s=g(7904),f=g(7773),d=g(9399);function l(...u){const h=(0,b.e_)(u),p=(0,b.yu)(u),{args:_,keys:y}=(0,v.Q)(u);if(0===_.length)return(0,C.Q)([],h);const M=new t._(a(_,h,y?w=>(0,s.q)(y,w):E.Z));return p?M.pipe((0,c.j)(p)):M}function a(u,h,p=E.Z){return _=>{r(h,()=>{const{length:y}=u,M=new Array(y);let w=y,k=y;for(let D=0;D{const I=(0,C.Q)(u[D],h);let O=!1;I.subscribe((0,f.e)(_,T=>{M[D]=T,O||(O=!0,k--),k||_.next(p(M.slice()))},()=>{--w||_.complete()}))},_)},_)}}function r(u,h,p){u?(0,d._)(p,u,h):h()}},8344:(De,te,g)=>{"use strict";g.d(te,{W:()=>E});var t=g(2943),v=g(6624),C=g(9900);function E(...c){return(0,t.Y)()((0,C.Q)(c,(0,v.e_)(c)))}},1424:(De,te,g)=>{"use strict";g.d(te,{Q:()=>C});var t=g(3252),v=g(560);function C(E){return new t._(c=>{(0,v.Uv)(E()).subscribe(c)})}},8960:(De,te,g)=>{"use strict";g.d(te,{k:()=>v});const v=new(g(3252)._)(c=>c.complete())},9336:(De,te,g)=>{"use strict";g.d(te,{y:()=>f});var t=g(3252),v=g(4300),C=g(560),E=g(6624),c=g(7773),b=g(4187),s=g(7904);function f(...d){const l=(0,E.yu)(d),{args:a,keys:r}=(0,v.Q)(d),u=new t._(h=>{const{length:p}=a;if(!p)return void h.complete();const _=new Array(p);let y=p,M=p;for(let w=0;w{k||(k=!0,M--),_[w]=D},()=>y--,void 0,()=>{(!y||!k)&&(M||h.next(r?(0,s.q)(r,_):_),h.complete())}))}});return l?u.pipe((0,b.j)(l)):u}},9900:(De,te,g)=>{"use strict";g.d(te,{Q:()=>I});var t=g(560),v=g(3920),C=g(2924),b=g(3252),f=g(3835),d=g(8880),l=g(9399);function r(O,T){if(!O)throw new Error("Iterable cannot be null");return new b._(N=>{(0,l._)(N,T,()=>{const S=O[Symbol.asyncIterator]();(0,l._)(N,T,()=>{S.next().then(F=>{F.done?N.complete():N.next(F.value)})},0,!0)})})}var u=g(5099),h=g(5432),p=g(5428),_=g(1688),y=g(376),M=g(8272),w=g(5832);function I(O,T){return T?function D(O,T){if(null!=O){if((0,u.O)(O))return function E(O,T){return(0,t.Uv)(O).pipe((0,C.y)(T),(0,v.y)(T))}(O,T);if((0,p.G)(O))return function s(O,T){return new b._(N=>{let S=0;return T.schedule(function(){S===O.length?N.complete():(N.next(O[S++]),N.closed||this.schedule())})})}(O,T);if((0,h.u)(O))return function c(O,T){return(0,t.Uv)(O).pipe((0,C.y)(T),(0,v.y)(T))}(O,T);if((0,y.E)(O))return r(O,T);if((0,_.i)(O))return function a(O,T){return new b._(N=>{let S;return(0,l._)(N,T,()=>{S=O[f.w](),(0,l._)(N,T,()=>{let F,L;try{({value:F,done:L}=S.next())}catch(A){return void N.error(A)}L?N.complete():N.next(F)},0,!0)}),()=>(0,d.m)(S?.return)&&S.return()})}(O,T);if((0,w.K)(O))return function k(O,T){return r((0,w._)(O),T)}(O,T)}throw(0,M.W)(O)}(O,T):(0,t.Uv)(O)}},800:(De,te,g)=>{"use strict";g.d(te,{w:()=>l});var t=g(560),v=g(3252),C=g(8152),E=g(5428),c=g(8880),b=g(4187);const s=["addListener","removeListener"],f=["addEventListener","removeEventListener"],d=["on","off"];function l(p,_,y,M){if((0,c.m)(y)&&(M=y,y=void 0),M)return l(p,_,y).pipe((0,b.j)(M));const[w,k]=function h(p){return(0,c.m)(p.addEventListener)&&(0,c.m)(p.removeEventListener)}(p)?f.map(D=>I=>p[D](_,I,y)):function r(p){return(0,c.m)(p.addListener)&&(0,c.m)(p.removeListener)}(p)?s.map(a(p,_)):function u(p){return(0,c.m)(p.on)&&(0,c.m)(p.off)}(p)?d.map(a(p,_)):[];if(!w&&(0,E.G)(p))return(0,C.O)(D=>l(D,_,y))((0,t.Uv)(p));if(!w)throw new TypeError("Invalid event target");return new v._(D=>{const I=(...O)=>D.next(1k(I)})}function a(p,_){return y=>M=>p[y](_,M)}},560:(De,te,g)=>{"use strict";g.d(te,{Uv:()=>u});var t=g(5052),v=g(5428),C=g(5432),E=g(3252),c=g(5099),b=g(376),s=g(8272),f=g(1688),d=g(5832),l=g(8880),a=g(1984),r=g(472);function u(D){if(D instanceof E._)return D;if(null!=D){if((0,c.O)(D))return function h(D){return new E._(I=>{const O=D[r.a]();if((0,l.m)(O.subscribe))return O.subscribe(I);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(D);if((0,v.G)(D))return function p(D){return new E._(I=>{for(let O=0;O{D.then(O=>{I.closed||(I.next(O),I.complete())},O=>I.error(O)).then(null,a.U)})}(D);if((0,b.E)(D))return M(D);if((0,f.i)(D))return function y(D){return new E._(I=>{for(const O of D)if(I.next(O),I.closed)return;I.complete()})}(D);if((0,d.K)(D))return function w(D){return M((0,d._)(D))}(D)}throw(0,s.W)(D)}function M(D){return new E._(I=>{(function k(D,I){var O,T,N,S;return(0,t.__awaiter)(this,void 0,void 0,function*(){try{for(O=(0,t.__asyncValues)(D);!(T=yield O.next()).done;)if(I.next(T.value),I.closed)return}catch(F){N={error:F}}finally{try{T&&!T.done&&(S=O.return)&&(yield S.call(O))}finally{if(N)throw N.error}}I.complete()})})(D,I).catch(O=>I.error(O))})}},3412:(De,te,g)=>{"use strict";g.d(te,{U:()=>b});var t=g(267),v=g(560),C=g(8960),E=g(6624),c=g(9900);function b(...s){const f=(0,E.e_)(s),d=(0,E._8)(s,1/0),l=s;return l.length?1===l.length?(0,v.Uv)(l[0]):(0,t.u)(d)((0,c.Q)(l,f)):C.k}},2700:(De,te,g)=>{"use strict";g.d(te,{of:()=>C});var t=g(6624),v=g(9900);function C(...E){const c=(0,t.e_)(E);return(0,v.Q)(E,c)}},7536:(De,te,g)=>{"use strict";g.d(te,{o:()=>b,u:()=>c});var t=g(3252),v=g(560),C=g(2368),E=g(7773);function c(...s){return 1===(s=(0,C.S)(s)).length?(0,v.Uv)(s[0]):new t._(b(s))}function b(s){return f=>{let d=[];for(let l=0;d&&!f.closed&&l{if(d){for(let r=0;r{"use strict";g.d(te,{c:()=>C});var t=g(3252),v=g(8880);function C(E,c){const b=(0,v.m)(E)?E:()=>E,s=f=>f.error(b());return new t._(c?f=>c.schedule(s,0,f):s)}},3120:(De,te,g)=>{"use strict";g.d(te,{k:()=>c});var t=g(3252),v=g(112),C=g(3048),E=g(1252);function c(b=0,s,f=v.a){let d=-1;return null!=s&&((0,C.G)(s)?f=s:d=s),new t._(l=>{let a=(0,E.e)(b)?+b-f.now():b;a<0&&(a=0);let r=0;return f.schedule(function(){l.closed||(l.next(r++),0<=d?this.schedule(void 0,d):l.complete())},a)})}},736:(De,te,g)=>{"use strict";g.d(te,{E:()=>s});var t=g(3252),v=g(560),C=g(2368),E=g(8960),c=g(7773),b=g(6624);function s(...f){const d=(0,b.yu)(f),l=(0,C.S)(f);return l.length?new t._(a=>{let r=l.map(()=>[]),u=l.map(()=>!1);a.add(()=>{r=u=null});for(let h=0;!a.closed&&h{if(r[h].push(p),r.every(_=>_.length)){const _=r.map(y=>y.shift());a.next(d?d(..._):_),r.some((y,M)=>!y.length&&u[M])&&a.complete()}},()=>{u[h]=!0,!r[h].length&&a.complete()}));return()=>{r=u=null}}):E.k}},7773:(De,te,g)=>{"use strict";g.d(te,{I:()=>C,e:()=>v});var t=g(1760);function v(E,c,b,s,f){return new C(E,c,b,s,f)}class C extends t.yR{constructor(c,b,s,f,d,l){super(c),this.onFinalize=d,this.shouldUnsubscribe=l,this._next=b?function(a){try{b(a)}catch(r){c.error(r)}}:super._next,this._error=f?function(a){try{f(a)}catch(r){c.error(r)}finally{this.unsubscribe()}}:super._error,this._complete=s?function(){try{s()}catch(a){c.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var c;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:b}=this;super.unsubscribe(),!b&&(null===(c=this.onFinalize)||void 0===c||c.call(this))}}}},8920:(De,te,g)=>{"use strict";g.d(te,{C:()=>E});var t=g(5448),v=g(560),C=g(7773);function E(c){return(0,t.i)((b,s)=>{let f=!1,d=null,l=null,a=!1;const r=()=>{if(l?.unsubscribe(),l=null,f){f=!1;const h=d;d=null,s.next(h)}a&&s.complete()},u=()=>{l=null,a&&s.complete()};b.subscribe((0,C.e)(s,h=>{f=!0,d=h,l||(0,v.Uv)(c(h)).subscribe(l=(0,C.e)(s,r,u))},()=>{a=!0,(!f||!l||l.closed)&&s.complete()}))})}},5524:(De,te,g)=>{"use strict";g.d(te,{P:()=>E});var t=g(112),v=g(8920),C=g(3120);function E(c,b=t.M){return(0,v.C)(()=>(0,C.k)(c,b))}},9144:(De,te,g)=>{"use strict";g.d(te,{a:()=>E});var t=g(560),v=g(7773),C=g(5448);function E(c){return(0,C.i)((b,s)=>{let l,f=null,d=!1;f=b.subscribe((0,v.e)(s,void 0,void 0,a=>{l=(0,t.Uv)(c(a,E(c)(b))),f?(f.unsubscribe(),f=null,l.subscribe(s)):d=!0})),d&&(f.unsubscribe(),f=null,l.subscribe(s))})}},2943:(De,te,g)=>{"use strict";g.d(te,{Y:()=>v});var t=g(267);function v(){return(0,t.u)(1)}},6020:(De,te,g)=>{"use strict";g.d(te,{m:()=>C});var t=g(8152),v=g(8880);function C(E,c){return(0,v.m)(c)?(0,t.O)(E,c,1):(0,t.O)(E,1)}},4680:(De,te,g)=>{"use strict";g.d(te,{o:()=>E});var t=g(112),v=g(5448),C=g(7773);function E(c,b=t.M){return(0,v.i)((s,f)=>{let d=null,l=null,a=null;const r=()=>{if(d){d.unsubscribe(),d=null;const h=l;l=null,f.next(h)}};function u(){const h=a+c,p=b.now();if(p{l=h,a=b.now(),d||(d=b.schedule(u,c),f.add(d))},()=>{r(),f.complete()},void 0,()=>{l=d=null}))})}},2156:(De,te,g)=>{"use strict";g.d(te,{G:()=>C});var t=g(5448),v=g(7773);function C(E){return(0,t.i)((c,b)=>{let s=!1;c.subscribe((0,v.e)(b,f=>{s=!0,b.next(f)},()=>{s||b.next(E),b.complete()}))})}},1224:(De,te,g)=>{"use strict";g.d(te,{o:()=>E});var t=g(112),v=g(7240),C=g(3120);function E(c,b=t.M){const s=(0,C.k)(c,b);return(0,v.e)(()=>s)}},7240:(De,te,g)=>{"use strict";g.d(te,{e:()=>s});var t=g(8344),v=g(3992),C=g(2248),E=g(320),c=g(8152),b=g(560);function s(f,d){return d?l=>(0,t.W)(d.pipe((0,v.U)(1),(0,C.E)()),l.pipe(s(f))):(0,c.O)((l,a)=>(0,b.Uv)(f(l,a)).pipe((0,v.U)(1),(0,E.e)(l)))}},4e3:(De,te,g)=>{"use strict";g.d(te,{a:()=>E});var t=g(528),v=g(5448),C=g(7773);function E(b,s=t.Z){return b=b??c,(0,v.i)((f,d)=>{let l,a=!0;f.subscribe((0,C.e)(d,r=>{const u=s(r);(a||!b(l,u))&&(a=!1,l=u,d.next(r))}))})}function c(b,s){return b===s}},6684:(De,te,g)=>{"use strict";g.d(te,{I:()=>C});var t=g(5448),v=g(7773);function C(E,c){return(0,t.i)((b,s)=>{let f=0;b.subscribe((0,v.e)(s,d=>E.call(c,d,f++)&&s.next(d)))})}},8824:(De,te,g)=>{"use strict";g.d(te,{U:()=>v});var t=g(5448);function v(C){return(0,t.i)((E,c)=>{try{E.subscribe(c)}finally{c.add(C)}})}},5084:(De,te,g)=>{"use strict";g.d(te,{K:()=>s});var t=g(7696),v=g(6684),C=g(3992),E=g(2156),c=g(8124),b=g(528);function s(f,d){const l=arguments.length>=2;return a=>a.pipe(f?(0,v.I)((r,u)=>f(r,u,a)):b.Z,(0,C.U)(1),l?(0,E.G)(d):(0,c._)(()=>new t.G))}},2248:(De,te,g)=>{"use strict";g.d(te,{E:()=>E});var t=g(5448),v=g(7773),C=g(308);function E(){return(0,t.i)((c,b)=>{c.subscribe((0,v.e)(b,C.K))})}},6764:(De,te,g)=>{"use strict";g.d(te,{G:()=>s});var t=g(7696),v=g(6684),C=g(3492),E=g(8124),c=g(2156),b=g(528);function s(f,d){const l=arguments.length>=2;return a=>a.pipe(f?(0,v.I)((r,u)=>f(r,u,a)):b.Z,(0,C.s)(1),l?(0,c.G)(d):(0,E._)(()=>new t.G))}},4704:(De,te,g)=>{"use strict";g.d(te,{k:()=>C});var t=g(5448),v=g(7773);function C(E,c){return(0,t.i)((b,s)=>{let f=0;b.subscribe((0,v.e)(s,d=>{s.next(E.call(c,d,f++))}))})}},320:(De,te,g)=>{"use strict";g.d(te,{e:()=>v});var t=g(4704);function v(C){return(0,t.k)(()=>C)}},267:(De,te,g)=>{"use strict";g.d(te,{u:()=>C});var t=g(8152),v=g(528);function C(E=1/0){return(0,t.O)(v.Z,E)}},1968:(De,te,g)=>{"use strict";g.d(te,{u:()=>E});var t=g(560),v=g(9399),C=g(7773);function E(c,b,s,f,d,l,a,r){const u=[];let h=0,p=0,_=!1;const y=()=>{_&&!u.length&&!h&&b.complete()},M=k=>h{l&&b.next(k),h++;let D=!1;(0,t.Uv)(s(k,p++)).subscribe((0,C.e)(b,I=>{d?.(I),l?M(I):b.next(I)},()=>{D=!0},void 0,()=>{if(D)try{for(h--;u.length&&hw(I)):w(I)}y()}catch(I){b.error(I)}}))};return c.subscribe((0,C.e)(b,M,()=>{_=!0,y()})),()=>{r?.()}}},8152:(De,te,g)=>{"use strict";g.d(te,{O:()=>b});var t=g(4704),v=g(560),C=g(5448),E=g(1968),c=g(8880);function b(s,f,d=1/0){return(0,c.m)(f)?b((l,a)=>(0,t.k)((r,u)=>f(l,r,a,u))((0,v.Uv)(s(l,a))),d):("number"==typeof f&&(d=f),(0,C.i)((l,a)=>(0,E.u)(l,a,s,d)))}},3920:(De,te,g)=>{"use strict";g.d(te,{y:()=>E});var t=g(9399),v=g(5448),C=g(7773);function E(c,b=0){return(0,v.i)((s,f)=>{s.subscribe((0,C.e)(f,d=>(0,t._)(f,c,()=>f.next(d),b),()=>(0,t._)(f,c,()=>f.complete(),b),d=>(0,t._)(f,c,()=>f.error(d),b)))})}},8084:(De,te,g)=>{"use strict";g.d(te,{O:()=>C});var t=g(5448),v=g(7773);function C(){return(0,t.i)((E,c)=>{let b=null;E._refCount++;const s=(0,v.e)(c,void 0,void 0,void 0,()=>{if(!E||E._refCount<=0||0<--E._refCount)return void(b=null);const f=E._connection,d=b;b=null,f&&(!d||f===d)&&f.unsubscribe(),c.unsubscribe()});E.subscribe(s),s.closed||(b=E.connect())})}},1112:(De,te,g)=>{"use strict";g.d(te,{K:()=>C});var t=g(5448),v=g(8904);function C(E,c){return(0,t.i)((0,v.g)(E,c,arguments.length>=2,!0))}},8904:(De,te,g)=>{"use strict";g.d(te,{g:()=>v});var t=g(7773);function v(C,E,c,b,s){return(f,d)=>{let l=c,a=E,r=0;f.subscribe((0,t.e)(d,u=>{const h=r++;a=l?C(a,u,h):(l=!0,u),b&&d.next(a)},s&&(()=>{l&&d.next(a),d.complete()})))}}},7648:(De,te,g)=>{"use strict";g.d(te,{o:()=>c});var t=g(560),v=g(5657),C=g(1760),E=g(5448);function c(s={}){const{connector:f=(()=>new v.E),resetOnError:d=!0,resetOnComplete:l=!0,resetOnRefCountZero:a=!0}=s;return r=>{let u,h,p,_=0,y=!1,M=!1;const w=()=>{h?.unsubscribe(),h=void 0},k=()=>{w(),u=p=void 0,y=M=!1},D=()=>{const I=u;k(),I?.unsubscribe()};return(0,E.i)((I,O)=>{_++,!M&&!y&&w();const T=p=p??f();O.add(()=>{_--,0===_&&!M&&!y&&(h=b(D,a))}),T.subscribe(O),!u&&_>0&&(u=new C.ot({next:N=>T.next(N),error:N=>{M=!0,w(),h=b(k,d,N),T.error(N)},complete:()=>{y=!0,w(),h=b(k,l),T.complete()}}),(0,t.Uv)(I).subscribe(u))})(r)}}function b(s,f,...d){if(!0===f)return void s();if(!1===f)return;const l=new C.ot({next:()=>{l.unsubscribe(),s()}});return(0,t.Uv)(f(...d)).subscribe(l)}},8716:(De,te,g)=>{"use strict";g.d(te,{C:()=>C});var t=g(2540),v=g(7648);function C(E,c,b){let s,f=!1;return E&&"object"==typeof E?({bufferSize:s=1/0,windowTime:c=1/0,refCount:f=!1,scheduler:b}=E):s=E??1/0,(0,v.o)({connector:()=>new t.o(s,c,b),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:f})}},2644:(De,te,g)=>{"use strict";g.d(te,{s:()=>v});var t=g(6684);function v(C){return(0,t.I)((E,c)=>C<=c)}},5568:(De,te,g)=>{"use strict";g.d(te,{W:()=>E});var t=g(8344),v=g(6624),C=g(5448);function E(...c){const b=(0,v.e_)(c);return(0,C.i)((s,f)=>{(b?(0,t.W)(c,s,b):(0,t.W)(c,s)).subscribe(f)})}},2924:(De,te,g)=>{"use strict";g.d(te,{y:()=>v});var t=g(5448);function v(C,E=0){return(0,t.i)((c,b)=>{b.add(C.schedule(()=>c.subscribe(b),E))})}},7368:(De,te,g)=>{"use strict";g.d(te,{G:()=>E});var t=g(560),v=g(5448),C=g(7773);function E(c,b){return(0,v.i)((s,f)=>{let d=null,l=0,a=!1;const r=()=>a&&!d&&f.complete();s.subscribe((0,C.e)(f,u=>{d?.unsubscribe();let h=0;const p=l++;(0,t.Uv)(c(u,p)).subscribe(d=(0,C.e)(f,_=>f.next(b?b(u,_,p,h++):_),()=>{d=null,r()}))},()=>{a=!0,r()}))})}},3992:(De,te,g)=>{"use strict";g.d(te,{U:()=>E});var t=g(8960),v=g(5448),C=g(7773);function E(c){return c<=0?()=>t.k:(0,v.i)((b,s)=>{let f=0;b.subscribe((0,C.e)(s,d=>{++f<=c&&(s.next(d),c<=f&&s.complete())}))})}},3492:(De,te,g)=>{"use strict";g.d(te,{s:()=>E});var t=g(8960),v=g(5448),C=g(7773);function E(c){return c<=0?()=>t.k:(0,v.i)((b,s)=>{let f=[];b.subscribe((0,C.e)(s,d=>{f.push(d),c{for(const d of f)s.next(d);s.complete()},void 0,()=>{f=null}))})}},3616:(De,te,g)=>{"use strict";g.d(te,{a:()=>c});var t=g(5448),v=g(7773),C=g(560),E=g(308);function c(b){return(0,t.i)((s,f)=>{(0,C.Uv)(b).subscribe((0,v.e)(f,()=>f.complete(),E.K)),!f.closed&&s.subscribe(f)})}},8796:(De,te,g)=>{"use strict";g.d(te,{w:()=>C});var t=g(5448),v=g(7773);function C(E,c=!1){return(0,t.i)((b,s)=>{let f=0;b.subscribe((0,v.e)(s,d=>{const l=E(d,f++);(l||c)&&s.next(d),!l&&s.complete()}))})}},9212:(De,te,g)=>{"use strict";g.d(te,{y:()=>c});var t=g(8880),v=g(5448),C=g(7773),E=g(528);function c(b,s,f){const d=(0,t.m)(b)||s||f?{next:b,error:s,complete:f}:b;return d?(0,v.i)((l,a)=>{var r;null===(r=d.subscribe)||void 0===r||r.call(d);let u=!0;l.subscribe((0,C.e)(a,h=>{var p;null===(p=d.next)||void 0===p||p.call(d,h),a.next(h)},()=>{var h;u=!1,null===(h=d.complete)||void 0===h||h.call(d),a.complete()},h=>{var p;u=!1,null===(p=d.error)||void 0===p||p.call(d,h),a.error(h)},()=>{var h,p;u&&(null===(h=d.unsubscribe)||void 0===h||h.call(d)),null===(p=d.finalize)||void 0===p||p.call(d)}))}):E.Z}},8124:(De,te,g)=>{"use strict";g.d(te,{_:()=>E});var t=g(7696),v=g(5448),C=g(7773);function E(b=c){return(0,v.i)((s,f)=>{let d=!1;s.subscribe((0,C.e)(f,l=>{d=!0,f.next(l)},()=>d?f.complete():f.error(b())))})}function c(){return new t.G}},2820:(De,te,g)=>{"use strict";g.d(te,{m:()=>d});var t=g(112),v=g(1252),C=g(5448),E=g(560),c=g(4912),b=g(7773),s=g(9399);const f=(0,c.w)(a=>function(u=null){a(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=u});function d(a,r){const{first:u,each:h,with:p=l,scheduler:_=r??t.M,meta:y=null}=(0,v.e)(a)?{first:a}:"number"==typeof a?{each:a}:a;if(null==u&&null==h)throw new TypeError("No timeout provided.");return(0,C.i)((M,w)=>{let k,D,I=null,O=0;const T=N=>{D=(0,s._)(w,_,()=>{try{k.unsubscribe(),(0,E.Uv)(p({meta:y,lastValue:I,seen:O})).subscribe(w)}catch(S){w.error(S)}},N)};k=M.subscribe((0,b.e)(w,N=>{D?.unsubscribe(),O++,w.next(I=N),h>0&&T(h)},void 0,void 0,()=>{D?.closed||D?.unsubscribe(),I=null})),!O&&T(null!=u?"number"==typeof u?u:+u-_.now():h)})}function l(a){throw new f(a)}},1364:(De,te,g)=>{"use strict";g.d(te,{m:()=>c});var t=g(6928);class v extends t.wH{constructor(s,f){super()}schedule(s,f=0){return this}}const C={setInterval(b,s,...f){const{delegate:d}=C;return d?.setInterval?d.setInterval(b,s,...f):setInterval(b,s,...f)},clearInterval(b){const{delegate:s}=C;return(s?.clearInterval||clearInterval)(b)},delegate:void 0};var E=g(1248);class c extends v{constructor(s,f){super(s,f),this.scheduler=s,this.work=f,this.pending=!1}schedule(s,f=0){var d;if(this.closed)return this;this.state=s;const l=this.id,a=this.scheduler;return null!=l&&(this.id=this.recycleAsyncId(a,l,f)),this.pending=!0,this.delay=f,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(a,this.id,f),this}requestAsyncId(s,f,d=0){return C.setInterval(s.flush.bind(s,this),d)}recycleAsyncId(s,f,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return f;null!=f&&C.clearInterval(f)}execute(s,f){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(s,f);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(s,f){let l,d=!1;try{this.work(s)}catch(a){d=!0,l=a||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),l}unsubscribe(){if(!this.closed){const{id:s,scheduler:f}=this,{actions:d}=f;this.work=this.state=this.scheduler=null,this.pending=!1,(0,E.k)(d,this),null!=s&&(this.id=this.recycleAsyncId(f,s,null)),this.delay=null,super.unsubscribe()}}}},9816:(De,te,g)=>{"use strict";g.d(te,{k:()=>C});var t=g(5960);class v{constructor(c,b=v.now){this.schedulerActionCtor=c,this.now=b}schedule(c,b=0,s){return new this.schedulerActionCtor(this,c).schedule(s,b)}}v.now=t.K.now;class C extends v{constructor(c,b=v.now){super(c,b),this.actions=[],this._active=!1}flush(c){const{actions:b}=this;if(this._active)return void b.push(c);let s;this._active=!0;do{if(s=c.execute(c.state,c.delay))break}while(c=b.shift());if(this._active=!1,s){for(;c=b.shift();)c.unsubscribe();throw s}}}},4096:(De,te,g)=>{"use strict";g.d(te,{A:()=>s});var t=g(1364),v=g(6928);const C={schedule(d){let l=requestAnimationFrame,a=cancelAnimationFrame;const{delegate:r}=C;r&&(l=r.requestAnimationFrame,a=r.cancelAnimationFrame);const u=l(h=>{a=void 0,d(h)});return new v.wH(()=>a?.(u))},requestAnimationFrame(...d){const{delegate:l}=C;return(l?.requestAnimationFrame||requestAnimationFrame)(...d)},cancelAnimationFrame(...d){const{delegate:l}=C;return(l?.cancelAnimationFrame||cancelAnimationFrame)(...d)},delegate:void 0};var c=g(9816);const s=new class b extends c.k{flush(l){this._active=!0;const a=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let u;l=l||r.shift();do{if(u=l.execute(l.state,l.delay))break}while((l=r[0])&&l.id===a&&r.shift());if(this._active=!1,u){for(;(l=r[0])&&l.id===a&&r.shift();)l.unsubscribe();throw u}}}(class E extends t.m{constructor(l,a){super(l,a),this.scheduler=l,this.work=a}requestAsyncId(l,a,r=0){return null!==r&&r>0?super.requestAsyncId(l,a,r):(l.actions.push(this),l._scheduled||(l._scheduled=C.requestAnimationFrame(()=>l.flush(void 0))))}recycleAsyncId(l,a,r=0){var u;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(l,a,r);const{actions:h}=l;null!=a&&(null===(u=h[h.length-1])||void 0===u?void 0:u.id)!==a&&(C.cancelAnimationFrame(a),l._scheduled=void 0)}})},1472:(De,te,g)=>{"use strict";g.d(te,{u:()=>h});var t=g(1364);let C,v=1;const E={};function c(_){return _ in E&&(delete E[_],!0)}const b={setImmediate(_){const y=v++;return E[y]=!0,C||(C=Promise.resolve()),C.then(()=>c(y)&&_()),y},clearImmediate(_){c(_)}},{setImmediate:f,clearImmediate:d}=b,l={setImmediate(..._){const{delegate:y}=l;return(y?.setImmediate||f)(..._)},clearImmediate(_){const{delegate:y}=l;return(y?.clearImmediate||d)(_)},delegate:void 0};var r=g(9816);const h=new class u extends r.k{flush(y){this._active=!0;const M=this._scheduled;this._scheduled=void 0;const{actions:w}=this;let k;y=y||w.shift();do{if(k=y.execute(y.state,y.delay))break}while((y=w[0])&&y.id===M&&w.shift());if(this._active=!1,k){for(;(y=w[0])&&y.id===M&&w.shift();)y.unsubscribe();throw k}}}(class a extends t.m{constructor(y,M){super(y,M),this.scheduler=y,this.work=M}requestAsyncId(y,M,w=0){return null!==w&&w>0?super.requestAsyncId(y,M,w):(y.actions.push(this),y._scheduled||(y._scheduled=l.setImmediate(y.flush.bind(y,void 0))))}recycleAsyncId(y,M,w=0){var k;if(null!=w?w>0:this.delay>0)return super.recycleAsyncId(y,M,w);const{actions:D}=y;null!=M&&(null===(k=D[D.length-1])||void 0===k?void 0:k.id)!==M&&(l.clearImmediate(M),y._scheduled===M&&(y._scheduled=void 0))}})},112:(De,te,g)=>{"use strict";g.d(te,{M:()=>C,a:()=>E});var t=g(1364);const C=new(g(9816).k)(t.m),E=C},5960:(De,te,g)=>{"use strict";g.d(te,{K:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},3376:(De,te,g)=>{"use strict";g.d(te,{u:()=>t});const t={setTimeout(v,C,...E){const{delegate:c}=t;return c?.setTimeout?c.setTimeout(v,C,...E):setTimeout(v,C,...E)},clearTimeout(v){const{delegate:C}=t;return(C?.clearTimeout||clearTimeout)(v)},delegate:void 0}},3835:(De,te,g)=>{"use strict";g.d(te,{w:()=>v});const v=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},472:(De,te,g)=>{"use strict";g.d(te,{a:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},7696:(De,te,g)=>{"use strict";g.d(te,{G:()=>v});const v=(0,g(4912).w)(C=>function(){C(this),this.name="EmptyError",this.message="no elements in sequence"})},6624:(De,te,g)=>{"use strict";g.d(te,{_8:()=>b,e_:()=>c,yu:()=>E});var t=g(8880),v=g(3048);function C(s){return s[s.length-1]}function E(s){return(0,t.m)(C(s))?s.pop():void 0}function c(s){return(0,v.G)(C(s))?s.pop():void 0}function b(s,f){return"number"==typeof C(s)?s.pop():f}},4300:(De,te,g)=>{"use strict";g.d(te,{Q:()=>c});const{isArray:t}=Array,{getPrototypeOf:v,prototype:C,keys:E}=Object;function c(s){if(1===s.length){const f=s[0];if(t(f))return{args:f,keys:null};if(function b(s){return s&&"object"==typeof s&&v(s)===C}(f)){const d=E(f);return{args:d.map(l=>f[l]),keys:d}}}return{args:s,keys:null}}},2368:(De,te,g)=>{"use strict";g.d(te,{S:()=>v});const{isArray:t}=Array;function v(C){return 1===C.length&&t(C[0])?C[0]:C}},1248:(De,te,g)=>{"use strict";function t(v,C){if(v){const E=v.indexOf(C);0<=E&&v.splice(E,1)}}g.d(te,{k:()=>t})},4912:(De,te,g)=>{"use strict";function t(v){const E=v(c=>{Error.call(c),c.stack=(new Error).stack});return E.prototype=Object.create(Error.prototype),E.prototype.constructor=E,E}g.d(te,{w:()=>t})},7904:(De,te,g)=>{"use strict";function t(v,C){return v.reduce((E,c,b)=>(E[c]=C[b],E),{})}g.d(te,{q:()=>t})},2075:(De,te,g)=>{"use strict";g.d(te,{c:()=>C,q:()=>E});var t=g(4491);let v=null;function C(c){if(t.config.useDeprecatedSynchronousErrorHandling){const b=!v;if(b&&(v={errorThrown:!1,error:null}),c(),b){const{errorThrown:s,error:f}=v;if(v=null,s)throw f}}else c()}function E(c){t.config.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=c)}},9399:(De,te,g)=>{"use strict";function t(v,C,E,c=0,b=!1){const s=C.schedule(function(){E(),b?v.add(this.schedule(null,c)):this.unsubscribe()},c);if(v.add(s),!b)return s}g.d(te,{_:()=>t})},528:(De,te,g)=>{"use strict";function t(v){return v}g.d(te,{Z:()=>t})},5428:(De,te,g)=>{"use strict";g.d(te,{G:()=>t});const t=v=>v&&"number"==typeof v.length&&"function"!=typeof v},376:(De,te,g)=>{"use strict";g.d(te,{E:()=>v});var t=g(8880);function v(C){return Symbol.asyncIterator&&(0,t.m)(C?.[Symbol.asyncIterator])}},1252:(De,te,g)=>{"use strict";function t(v){return v instanceof Date&&!isNaN(v)}g.d(te,{e:()=>t})},8880:(De,te,g)=>{"use strict";function t(v){return"function"==typeof v}g.d(te,{m:()=>t})},5099:(De,te,g)=>{"use strict";g.d(te,{O:()=>C});var t=g(472),v=g(8880);function C(E){return(0,v.m)(E[t.a])}},1688:(De,te,g)=>{"use strict";g.d(te,{i:()=>C});var t=g(3835),v=g(8880);function C(E){return(0,v.m)(E?.[t.w])}},1116:(De,te,g)=>{"use strict";g.d(te,{X:()=>C});var t=g(3252),v=g(8880);function C(E){return!!E&&(E instanceof t._||(0,v.m)(E.lift)&&(0,v.m)(E.subscribe))}},5432:(De,te,g)=>{"use strict";g.d(te,{u:()=>v});var t=g(8880);function v(C){return(0,t.m)(C?.then)}},5832:(De,te,g)=>{"use strict";g.d(te,{K:()=>E,_:()=>C});var t=g(5052),v=g(8880);function C(c){return(0,t.__asyncGenerator)(this,arguments,function*(){const s=c.getReader();try{for(;;){const{value:f,done:d}=yield(0,t.__await)(s.read());if(d)return yield(0,t.__await)(void 0);yield yield(0,t.__await)(f)}}finally{s.releaseLock()}})}function E(c){return(0,v.m)(c?.getReader)}},3048:(De,te,g)=>{"use strict";g.d(te,{G:()=>v});var t=g(8880);function v(C){return C&&(0,t.m)(C.schedule)}},5448:(De,te,g)=>{"use strict";g.d(te,{e:()=>v,i:()=>C});var t=g(8880);function v(E){return(0,t.m)(E?.lift)}function C(E){return c=>{if(v(c))return c.lift(function(b){try{return E(b,this)}catch(s){this.error(s)}});throw new TypeError("Unable to lift unknown Observable type")}}},4187:(De,te,g)=>{"use strict";g.d(te,{j:()=>E});var t=g(4704);const{isArray:v}=Array;function E(c){return(0,t.k)(b=>function C(c,b){return v(b)?c(...b):c(b)}(c,b))}},308:(De,te,g)=>{"use strict";function t(){}g.d(te,{K:()=>t})},3928:(De,te,g)=>{"use strict";g.d(te,{W:()=>v,Y:()=>C});var t=g(528);function v(...E){return C(E)}function C(E){return 0===E.length?t.Z:1===E.length?E[0]:function(b){return E.reduce((s,f)=>f(s),b)}}},1984:(De,te,g)=>{"use strict";g.d(te,{U:()=>C});var t=g(4491),v=g(3376);function C(E){v.u.setTimeout(()=>{const{onUnhandledError:c}=t.config;if(!c)throw E;c(E)})}},8272:(De,te,g)=>{"use strict";function t(v){return new TypeError(`You provided ${null!==v&&"object"==typeof v?"an invalid object":`'${v}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(te,{W:()=>t})},6156:(De,te,g)=>{"use strict";g.r(te),g.d(te,{audit:()=>t.C,auditTime:()=>v.P,buffer:()=>s,bufferCount:()=>d,bufferTime:()=>h,bufferToggle:()=>p,bufferWhen:()=>_,catchError:()=>y.a,combineAll:()=>A,combineLatest:()=>K,combineLatestAll:()=>L,combineLatestWith:()=>ee,concat:()=>H,concatAll:()=>ne.Y,concatMap:()=>z.m,concatMapTo:()=>G,concatWith:()=>j,connect:()=>_t,count:()=>ct,debounce:()=>Ct,debounceTime:()=>Re.o,defaultIfEmpty:()=>ke.G,delay:()=>fe.o,delayWhen:()=>Ke.e,dematerialize:()=>Xe,distinct:()=>ge,distinctUntilChanged:()=>Ve.a,distinctUntilKeyChanged:()=>ot,elementAt:()=>on,endWith:()=>gn,every:()=>Jt,exhaust:()=>xe,exhaustAll:()=>Ut,exhaustMap:()=>Ot,expand:()=>lt,filter:()=>Pt.I,finalize:()=>At.U,find:()=>nt,findIndex:()=>Le,first:()=>He.K,flatMap:()=>xt,groupBy:()=>st,ignoreElements:()=>Te.E,isEmpty:()=>Pe,last:()=>bt.G,map:()=>an.k,mapTo:()=>Me.e,materialize:()=>$e,max:()=>Ge,merge:()=>dt,mergeAll:()=>kt.u,mergeMap:()=>I.O,mergeMapTo:()=>qe,mergeScan:()=>Fe,mergeWith:()=>et,min:()=>Ye,multicast:()=>Bt,observeOn:()=>qt.y,onErrorResumeNext:()=>An,pairwise:()=>fi,partition:()=>Fi,pluck:()=>si,publish:()=>Ji,publishBehavior:()=>ji,publishLast:()=>se,publishReplay:()=>ae,race:()=>_e,raceWith:()=>Ae,reduce:()=>T,refCount:()=>wt.O,repeat:()=>V,repeatWhen:()=>he,retry:()=>de,retryWhen:()=>We,sample:()=>Yt,sampleTime:()=>Pn,scan:()=>Tn.K,sequenceEqual:()=>vn,share:()=>tr.o,shareReplay:()=>pi.C,single:()=>Gi,skip:()=>or.s,skipLast:()=>Vn,skipUntil:()=>ki,skipWhile:()=>Yn,startWith:()=>Wn.W,subscribeOn:()=>Zn.y,switchAll:()=>Qn,switchMap:()=>Dn.G,switchMapTo:()=>ui,switchScan:()=>cn,take:()=>rn.U,takeLast:()=>pn.s,takeUntil:()=>Nn.a,takeWhile:()=>Fn.w,tap:()=>Oi.y,throttle:()=>Ki,throttleTime:()=>nr,throwIfEmpty:()=>Gt._,timeInterval:()=>ni,timeout:()=>En.m,timeoutWith:()=>ar,timestamp:()=>dr,toArray:()=>S,window:()=>hr,windowCount:()=>di,windowTime:()=>Hi,windowToggle:()=>qi,windowWhen:()=>Rn,withLatestFrom:()=>Sr,zip:()=>Ar,zipAll:()=>hi,zipWith:()=>kr});var t=g(8920),v=g(5524),C=g(5448),E=g(308),c=g(7773),b=g(560);function s(Mt){return(0,C.i)((yt,It)=>{let St=[];return yt.subscribe((0,c.e)(It,Ft=>St.push(Ft),()=>{It.next(St),It.complete()})),(0,b.Uv)(Mt).subscribe((0,c.e)(It,()=>{const Ft=St;St=[],It.next(Ft)},E.K)),()=>{St=null}})}var f=g(1248);function d(Mt,yt=null){return yt=yt??Mt,(0,C.i)((It,St)=>{let Ft=[],jt=0;It.subscribe((0,c.e)(St,en=>{let Zt=null;jt++%yt==0&&Ft.push([]);for(const hn of Ft)hn.push(en),Mt<=hn.length&&(Zt=Zt??[],Zt.push(hn));if(Zt)for(const hn of Zt)(0,f.k)(Ft,hn),St.next(hn)},()=>{for(const en of Ft)St.next(en);St.complete()},void 0,()=>{Ft=null}))})}var l=g(6928),a=g(112),r=g(6624),u=g(9399);function h(Mt,...yt){var It,St;const Ft=null!==(It=(0,r.e_)(yt))&&void 0!==It?It:a.M,jt=null!==(St=yt[0])&&void 0!==St?St:null,en=yt[1]||1/0;return(0,C.i)((Zt,hn)=>{let Sn=[],On=!1;const gi=Bn=>{const{buffer:kn,subs:Ln}=Bn;Ln.unsubscribe(),(0,f.k)(Sn,Bn),hn.next(kn),On&&jn()},jn=()=>{if(Sn){const Bn=new l.wH;hn.add(Bn);const Ln={buffer:[],subs:Bn};Sn.push(Ln),(0,u._)(Bn,Ft,()=>gi(Ln),Mt)}};null!==jt&&jt>=0?(0,u._)(hn,Ft,jn,jt,!0):On=!0,jn();const Gn=(0,c.e)(hn,Bn=>{const kn=Sn.slice();for(const Ln of kn){const{buffer:ir}=Ln;ir.push(Bn),en<=ir.length&&gi(Ln)}},()=>{for(;Sn?.length;)hn.next(Sn.shift().buffer);Gn?.unsubscribe(),hn.complete(),hn.unsubscribe()},void 0,()=>Sn=null);Zt.subscribe(Gn)})}function p(Mt,yt){return(0,C.i)((It,St)=>{const Ft=[];(0,b.Uv)(Mt).subscribe((0,c.e)(St,jt=>{const en=[];Ft.push(en);const Zt=new l.wH;Zt.add((0,b.Uv)(yt(jt)).subscribe((0,c.e)(St,()=>{(0,f.k)(Ft,en),St.next(en),Zt.unsubscribe()},E.K)))},E.K)),It.subscribe((0,c.e)(St,jt=>{for(const en of Ft)en.push(jt)},()=>{for(;Ft.length>0;)St.next(Ft.shift());St.complete()}))})}function _(Mt){return(0,C.i)((yt,It)=>{let St=null,Ft=null;const jt=()=>{Ft?.unsubscribe();const en=St;St=[],en&&It.next(en),(0,b.Uv)(Mt()).subscribe(Ft=(0,c.e)(It,jt,E.K))};jt(),yt.subscribe((0,c.e)(It,en=>St?.push(en),()=>{St&&It.next(St),It.complete()},void 0,()=>St=Ft=null))})}var y=g(9144),M=g(6040),w=g(528),k=g(4187),D=g(3928),I=g(8152),O=g(8904);function T(Mt,yt){return(0,C.i)((0,O.g)(Mt,yt,arguments.length>=2,!1,!0))}const N=(Mt,yt)=>(Mt.push(yt),Mt);function S(){return(0,C.i)((Mt,yt)=>{T(N,[])(Mt).subscribe(yt)})}function F(Mt,yt){return(0,D.W)(S(),(0,I.O)(It=>Mt(It)),yt?(0,k.j)(yt):w.Z)}function L(Mt){return F(M.E,Mt)}const A=L;var U=g(2368);function K(...Mt){const yt=(0,r.yu)(Mt);return yt?(0,D.W)(K(...Mt),(0,k.j)(yt)):(0,C.i)((It,St)=>{(0,M.I)([It,...(0,U.S)(Mt)])(St)})}function ee(...Mt){return K(...Mt)}var ne=g(2943),B=g(9900);function H(...Mt){const yt=(0,r.e_)(Mt);return(0,C.i)((It,St)=>{(0,ne.Y)()((0,B.Q)([It,...Mt],yt)).subscribe(St)})}var z=g(6020),X=g(8880);function G(Mt,yt){return(0,X.m)(yt)?(0,z.m)(()=>Mt,yt):(0,z.m)(()=>Mt)}function j(...Mt){return H(...Mt)}var le=g(5657),ue=g(3252);const Je={connector:()=>new le.E};function _t(Mt,yt=Je){const{connector:It}=yt;return(0,C.i)((St,Ft)=>{const jt=It();(0,b.Uv)(Mt(function ve(Mt){return new ue._(yt=>Mt.subscribe(yt))}(jt))).subscribe(Ft),Ft.add(St.subscribe(jt))})}function ct(Mt){return T((yt,It,St)=>!Mt||Mt(It,St)?yt+1:yt,0)}function Ct(Mt){return(0,C.i)((yt,It)=>{let St=!1,Ft=null,jt=null;const en=()=>{if(jt?.unsubscribe(),jt=null,St){St=!1;const Zt=Ft;Ft=null,It.next(Zt)}};yt.subscribe((0,c.e)(It,Zt=>{jt?.unsubscribe(),St=!0,Ft=Zt,jt=(0,c.e)(It,en,E.K),(0,b.Uv)(Mt(Zt)).subscribe(jt)},()=>{en(),It.complete()},void 0,()=>{Ft=jt=null}))})}var Re=g(4680),ke=g(2156),fe=g(1224),Ke=g(7240),Be=g(8960),Ie=g(2700),je=g(3800);class be{constructor(yt,It,St){this.kind=yt,this.value=It,this.error=St,this.hasValue="N"===yt}observe(yt){return Oe(this,yt)}do(yt,It,St){const{kind:Ft,value:jt,error:en}=this;return"N"===Ft?yt?.(jt):"E"===Ft?It?.(en):St?.()}accept(yt,It,St){var Ft;return(0,X.m)(null===(Ft=yt)||void 0===Ft?void 0:Ft.next)?this.observe(yt):this.do(yt,It,St)}toObservable(){const{kind:yt,value:It,error:St}=this,Ft="N"===yt?(0,Ie.of)(It):"E"===yt?(0,je.c)(()=>St):"C"===yt?Be.k:0;if(!Ft)throw new TypeError(`Unexpected notification kind ${yt}`);return Ft}static createNext(yt){return new be("N",yt)}static createError(yt){return new be("E",void 0,yt)}static createComplete(){return be.completeNotification}}function Oe(Mt,yt){var It,St,Ft;const{kind:jt,value:en,error:Zt}=Mt;if("string"!=typeof jt)throw new TypeError('Invalid notification, missing "kind"');"N"===jt?null===(It=yt.next)||void 0===It||It.call(yt,en):"E"===jt?null===(St=yt.error)||void 0===St||St.call(yt,Zt):null===(Ft=yt.complete)||void 0===Ft||Ft.call(yt)}function Xe(){return(0,C.i)((Mt,yt)=>{Mt.subscribe((0,c.e)(yt,It=>Oe(It,yt)))})}function ge(Mt,yt){return(0,C.i)((It,St)=>{const Ft=new Set;It.subscribe((0,c.e)(St,jt=>{const en=Mt?Mt(jt):jt;Ft.has(en)||(Ft.add(en),St.next(jt))})),yt&&(0,b.Uv)(yt).subscribe((0,c.e)(St,()=>Ft.clear(),E.K))})}be.completeNotification=new be("C");var Ve=g(4e3);function ot(Mt,yt){return(0,Ve.a)((It,St)=>yt?yt(It[Mt],St[Mt]):It[Mt]===St[Mt])}var ze=g(4912);const pt=(0,ze.w)(Mt=>function(){Mt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Pt=g(6684),Gt=g(8124),rn=g(3992);function on(Mt,yt){if(Mt<0)throw new pt;const It=arguments.length>=2;return St=>St.pipe((0,Pt.I)((Ft,jt)=>jt===Mt),(0,rn.U)(1),It?(0,ke.G)(yt):(0,Gt._)(()=>new pt))}var tn=g(8344);function gn(...Mt){return yt=>(0,tn.W)(yt,(0,Ie.of)(...Mt))}function Jt(Mt,yt){return(0,C.i)((It,St)=>{let Ft=0;It.subscribe((0,c.e)(St,jt=>{Mt.call(yt,jt,Ft++,It)||(St.next(!1),St.complete())},()=>{St.next(!0),St.complete()}))})}var an=g(4704);function Ot(Mt,yt){return yt?It=>It.pipe(Ot((St,Ft)=>(0,b.Uv)(Mt(St,Ft)).pipe((0,an.k)((jt,en)=>yt(St,jt,Ft,en))))):(0,C.i)((It,St)=>{let Ft=0,jt=null,en=!1;It.subscribe((0,c.e)(St,Zt=>{jt||(jt=(0,c.e)(St,void 0,()=>{jt=null,en&&St.complete()}),(0,b.Uv)(Mt(Zt,Ft++)).subscribe(jt))},()=>{en=!0,!jt&&St.complete()}))})}function Ut(){return Ot(w.Z)}const xe=Ut;var rt=g(1968);function lt(Mt,yt=1/0,It){return yt=(yt||0)<1?1/0:yt,(0,C.i)((St,Ft)=>(0,rt.u)(St,Ft,Mt,yt,void 0,!0,It))}var At=g(8824);function nt(Mt,yt){return(0,C.i)(vt(Mt,yt,"value"))}function vt(Mt,yt,It){const St="index"===It;return(Ft,jt)=>{let en=0;Ft.subscribe((0,c.e)(jt,Zt=>{const hn=en++;Mt.call(yt,Zt,hn,Ft)&&(jt.next(St?hn:Zt),jt.complete())},()=>{jt.next(St?-1:void 0),jt.complete()}))}}function Le(Mt,yt){return(0,C.i)(vt(Mt,yt,"index"))}var He=g(5084);function st(Mt,yt,It,St){return(0,C.i)((Ft,jt)=>{let en;yt&&"function"!=typeof yt?({duration:It,element:en,connector:St}=yt):en=yt;const Zt=new Map,hn=Bn=>{Zt.forEach(Bn),Bn(jt)},Sn=Bn=>hn(kn=>kn.error(Bn));let On=0,gi=!1;const jn=new c.I(jt,Bn=>{try{const kn=Mt(Bn);let Ln=Zt.get(kn);if(!Ln){Zt.set(kn,Ln=St?St():new le.E);const ir=function Gn(Bn,kn){const Ln=new ue._(ir=>{On++;const $i=kn.subscribe(ir);return()=>{$i.unsubscribe(),0==--On&&gi&&jn.unsubscribe()}});return Ln.key=Bn,Ln}(kn,Ln);if(jt.next(ir),It){const $i=(0,c.e)(Ln,()=>{Ln.complete(),$i?.unsubscribe()},void 0,void 0,()=>Zt.delete(kn));jn.add((0,b.Uv)(It(ir)).subscribe($i))}}Ln.next(en?en(Bn):Bn)}catch(kn){Sn(kn)}},()=>hn(Bn=>Bn.complete()),Sn,()=>Zt.clear(),()=>(gi=!0,0===On));Ft.subscribe(jn)})}var Te=g(2248);function Pe(){return(0,C.i)((Mt,yt)=>{Mt.subscribe((0,c.e)(yt,()=>{yt.next(!1),yt.complete()},()=>{yt.next(!0),yt.complete()}))})}var bt=g(6764),Me=g(320);function $e(){return(0,C.i)((Mt,yt)=>{Mt.subscribe((0,c.e)(yt,It=>{yt.next(be.createNext(It))},()=>{yt.next(be.createComplete()),yt.complete()},It=>{yt.next(be.createError(It)),yt.complete()}))})}function Ge(Mt){return T((0,X.m)(Mt)?(yt,It)=>Mt(yt,It)>0?yt:It:(yt,It)=>yt>It?yt:It)}var kt=g(267);function dt(...Mt){const yt=(0,r.e_)(Mt),It=(0,r._8)(Mt,1/0);return Mt=(0,U.S)(Mt),(0,C.i)((St,Ft)=>{(0,kt.u)(It)((0,B.Q)([St,...Mt],yt)).subscribe(Ft)})}const xt=I.O;function qe(Mt,yt,It=1/0){return(0,X.m)(yt)?(0,I.O)(()=>Mt,yt,It):("number"==typeof yt&&(It=yt),(0,I.O)(()=>Mt,It))}function Fe(Mt,yt,It=1/0){return(0,C.i)((St,Ft)=>{let jt=yt;return(0,rt.u)(St,Ft,(en,Zt)=>Mt(jt,en,Zt),It,en=>{jt=en},!1,void 0,()=>jt=null)})}function et(...Mt){return dt(...Mt)}function Ye(Mt){return T((0,X.m)(Mt)?(yt,It)=>Mt(yt,It)<0?yt:It:(yt,It)=>ytMt;return(0,X.m)(yt)?_t(yt,{connector:It}):St=>new ft.C(St,It)}var qt=g(3920);const An=function ln(...Mt){const yt=(0,U.S)(Mt);return It=>function fn(...Mt){const yt=(0,U.S)(Mt);return new ue._(It=>{let St=0;const Ft=()=>{if(St{let It,St=!1;Mt.subscribe((0,c.e)(yt,Ft=>{const jt=It;It=Ft,St&&yt.next([jt,Ft]),St=!0}))})}function Si(Mt,yt){return(It,St)=>!Mt.call(yt,It,St)}function Fi(Mt,yt){return It=>[(0,Pt.I)(Mt,yt)(It),(0,Pt.I)(Si(Mt,yt))(It)]}function si(...Mt){const yt=Mt.length;if(0===yt)throw new Error("list of properties cannot be empty.");return(0,an.k)(It=>{let St=It;for(let Ft=0;Ft_t(Mt)(yt):yt=>Bt(new le.E)(yt)}var mi=g(6700);function ji(Mt){return yt=>{const It=new mi.g(Mt);return new ft.C(yt,()=>It)}}class rr extends le.E{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(yt){const{hasError:It,_hasValue:St,_value:Ft,thrownError:jt,isStopped:en,_isComplete:Zt}=this;It?yt.error(jt):(en||Zt)&&(St&&yt.next(Ft),yt.complete())}next(yt){this.isStopped||(this._value=yt,this._hasValue=!0)}complete(){const{_hasValue:yt,_value:It,_isComplete:St}=this;St||(this._isComplete=!0,yt&&super.next(It),super.complete())}}function se(){return Mt=>{const yt=new rr;return new ft.C(Mt,()=>yt)}}var at=g(2540);function ae(Mt,yt,It,St){It&&!(0,X.m)(It)&&(St=It);const Ft=(0,X.m)(It)?It:void 0;return jt=>Bt(new at.o(Mt,yt,St),Ft)(jt)}var me=g(7536);function Ae(...Mt){return Mt.length?(0,C.i)((yt,It)=>{(0,me.o)([yt,...Mt])(It)}):w.Z}function _e(...Mt){return Ae(...(0,U.S)(Mt))}var mt=g(3120);function V(Mt){let It,yt=1/0;return null!=Mt&&("object"==typeof Mt?({count:yt=1/0,delay:It}=Mt):yt=Mt),yt<=0?()=>Be.k:(0,C.i)((St,Ft)=>{let en,jt=0;const Zt=()=>{if(en?.unsubscribe(),en=null,null!=It){const Sn="number"==typeof It?(0,mt.k)(It):(0,b.Uv)(It(jt)),On=(0,c.e)(Ft,()=>{On.unsubscribe(),hn()});Sn.subscribe(On)}else hn()},hn=()=>{let Sn=!1;en=St.subscribe((0,c.e)(Ft,void 0,()=>{++jt{let St,jt,Ft=!1,en=!1,Zt=!1;const hn=()=>Zt&&en&&(It.complete(),!0),On=()=>{Zt=!1,St=yt.subscribe((0,c.e)(It,void 0,()=>{Zt=!0,!hn()&&(jt||(jt=new le.E,(0,b.Uv)(Mt(jt)).subscribe((0,c.e)(It,()=>{St?On():Ft=!0},()=>{en=!0,hn()}))),jt).next()})),Ft&&(St.unsubscribe(),St=null,Ft=!1,On())};On()})}function de(Mt=1/0){let yt;yt=Mt&&"object"==typeof Mt?Mt:{count:Mt};const{count:It=1/0,delay:St,resetOnSuccess:Ft=!1}=yt;return It<=0?w.Z:(0,C.i)((jt,en)=>{let hn,Zt=0;const Sn=()=>{let On=!1;hn=jt.subscribe((0,c.e)(en,gi=>{Ft&&(Zt=0),en.next(gi)},void 0,gi=>{if(Zt++{hn?(hn.unsubscribe(),hn=null,Sn()):On=!0};if(null!=St){const Gn="number"==typeof St?(0,mt.k)(St):(0,b.Uv)(St(gi,Zt)),Bn=(0,c.e)(en,()=>{Bn.unsubscribe(),jn()},()=>{en.complete()});Gn.subscribe(Bn)}else jn()}else en.error(gi)})),On&&(hn.unsubscribe(),hn=null,Sn())};Sn()})}function We(Mt){return(0,C.i)((yt,It)=>{let St,jt,Ft=!1;const en=()=>{St=yt.subscribe((0,c.e)(It,void 0,void 0,Zt=>{jt||(jt=new le.E,(0,b.Uv)(Mt(jt)).subscribe((0,c.e)(It,()=>St?en():Ft=!0))),jt&&jt.next(Zt)})),Ft&&(St.unsubscribe(),St=null,Ft=!1,en())};en()})}var wt=g(8084);function Yt(Mt){return(0,C.i)((yt,It)=>{let St=!1,Ft=null;yt.subscribe((0,c.e)(It,jt=>{St=!0,Ft=jt})),(0,b.Uv)(Mt).subscribe((0,c.e)(It,()=>{if(St){St=!1;const jt=Ft;Ft=null,It.next(jt)}},E.K))})}function Pn(Mt,yt=a.M){return Yt(function Kn(Mt=0,yt=a.M){return Mt<0&&(Mt=0),(0,mt.k)(Mt,Mt,yt)}(Mt,yt))}var Tn=g(1112);function vn(Mt,yt=((It,St)=>It===St)){return(0,C.i)((It,St)=>{const Ft={buffer:[],complete:!1},jt={buffer:[],complete:!1},en=hn=>{St.next(hn),St.complete()},Zt=(hn,Sn)=>{const On=(0,c.e)(St,gi=>{const{buffer:jn,complete:Gn}=Sn;0===jn.length?Gn?en(!1):hn.buffer.push(gi):!yt(gi,jn.shift())&&en(!1)},()=>{hn.complete=!0;const{complete:gi,buffer:jn}=Sn;gi&&en(0===jn.length),On?.unsubscribe()});return On};It.subscribe(Zt(Ft,jt)),(0,b.Uv)(Mt).subscribe(Zt(jt,Ft))})}var tr=g(7648),pi=g(8716),sr=g(7696);const Wi=(0,ze.w)(Mt=>function(It){Mt(this),this.name="SequenceError",this.message=It}),Ai=(0,ze.w)(Mt=>function(It){Mt(this),this.name="NotFoundError",this.message=It});function Gi(Mt){return(0,C.i)((yt,It)=>{let Ft,St=!1,jt=!1,en=0;yt.subscribe((0,c.e)(It,Zt=>{jt=!0,(!Mt||Mt(Zt,en++,yt))&&(St&&It.error(new Wi("Too many matching values")),St=!0,Ft=Zt)},()=>{St?(It.next(Ft),It.complete()):It.error(jt?new Ai("No matching values"):new sr.G)}))})}var or=g(2644);function Vn(Mt){return Mt<=0?w.Z:(0,C.i)((yt,It)=>{let St=new Array(Mt),Ft=0;return yt.subscribe((0,c.e)(It,jt=>{const en=Ft++;if(en{St=null}})}function ki(Mt){return(0,C.i)((yt,It)=>{let St=!1;const Ft=(0,c.e)(It,()=>{Ft?.unsubscribe(),St=!0},E.K);(0,b.Uv)(Mt).subscribe(Ft),yt.subscribe((0,c.e)(It,jt=>St&&It.next(jt)))})}function Yn(Mt){return(0,C.i)((yt,It)=>{let St=!1,Ft=0;yt.subscribe((0,c.e)(It,jt=>(St||(St=!Mt(jt,Ft++)))&&It.next(jt)))})}var Wn=g(5568),Zn=g(2924),Dn=g(7368);function Qn(){return(0,Dn.G)(w.Z)}function ui(Mt,yt){return(0,X.m)(yt)?(0,Dn.G)(()=>Mt,yt):(0,Dn.G)(()=>Mt)}function cn(Mt,yt){return(0,C.i)((It,St)=>{let Ft=yt;return(0,Dn.G)((jt,en)=>Mt(Ft,jt,en),(jt,en)=>(Ft=en,en))(It).subscribe(St),()=>{Ft=null}})}var pn=g(3492),Nn=g(3616),Fn=g(8796),Oi=g(9212);function Ki(Mt,yt){return(0,C.i)((It,St)=>{const{leading:Ft=!0,trailing:jt=!1}=yt??{};let en=!1,Zt=null,hn=null,Sn=!1;const On=()=>{hn?.unsubscribe(),hn=null,jt&&(Gn(),Sn&&St.complete())},gi=()=>{hn=null,Sn&&St.complete()},jn=Bn=>hn=(0,b.Uv)(Mt(Bn)).subscribe((0,c.e)(St,On,gi)),Gn=()=>{if(en){en=!1;const Bn=Zt;Zt=null,St.next(Bn),!Sn&&jn(Bn)}};It.subscribe((0,c.e)(St,Bn=>{en=!0,Zt=Bn,(!hn||hn.closed)&&(Ft?Gn():jn(Bn))},()=>{Sn=!0,(!(jt&&en&&hn)||hn.closed)&&St.complete()}))})}function nr(Mt,yt=a.M,It){const St=(0,mt.k)(Mt,yt);return Ki(()=>St,It)}function ni(Mt=a.M){return(0,C.i)((yt,It)=>{let St=Mt.now();yt.subscribe((0,c.e)(It,Ft=>{const jt=Mt.now(),en=jt-St;St=jt,It.next(new un(Ft,en))}))})}class un{constructor(yt,It){this.value=yt,this.interval=It}}var En=g(2820),ci=g(1252);function ar(Mt,yt,It){let St,Ft,jt;if(It=It??a.a,(0,ci.e)(Mt)?St=Mt:"number"==typeof Mt&&(Ft=Mt),!yt)throw new TypeError("No observable provided to switch to");if(jt=()=>yt,null==St&&null==Ft)throw new TypeError("No timeout provided.");return(0,En.m)({first:St,each:Ft,scheduler:It,with:jt})}var Ui=g(5960);function dr(Mt=Ui.K){return(0,an.k)(yt=>({value:yt,timestamp:Mt.now()}))}function hr(Mt){return(0,C.i)((yt,It)=>{let St=new le.E;It.next(St.asObservable());const Ft=jt=>{St.error(jt),It.error(jt)};return yt.subscribe((0,c.e)(It,jt=>St?.next(jt),()=>{St.complete(),It.complete()},Ft)),(0,b.Uv)(Mt).subscribe((0,c.e)(It,()=>{St.complete(),It.next(St=new le.E)},E.K,Ft)),()=>{St?.unsubscribe(),St=null}})}function di(Mt,yt=0){const It=yt>0?yt:Mt;return(0,C.i)((St,Ft)=>{let jt=[new le.E],en=[],Zt=0;Ft.next(jt[0].asObservable()),St.subscribe((0,c.e)(Ft,hn=>{for(const On of jt)On.next(hn);const Sn=Zt-Mt+1;if(Sn>=0&&Sn%It==0&&jt.shift().complete(),++Zt%It==0){const On=new le.E;jt.push(On),Ft.next(On.asObservable())}},()=>{for(;jt.length>0;)jt.shift().complete();Ft.complete()},hn=>{for(;jt.length>0;)jt.shift().error(hn);Ft.error(hn)},()=>{en=null,jt=null}))})}function Hi(Mt,...yt){var It,St;const Ft=null!==(It=(0,r.e_)(yt))&&void 0!==It?It:a.M,jt=null!==(St=yt[0])&&void 0!==St?St:null,en=yt[1]||1/0;return(0,C.i)((Zt,hn)=>{let Sn=[],On=!1;const gi=kn=>{const{window:Ln,subs:ir}=kn;Ln.complete(),ir.unsubscribe(),(0,f.k)(Sn,kn),On&&jn()},jn=()=>{if(Sn){const kn=new l.wH;hn.add(kn);const Ln=new le.E,ir={window:Ln,subs:kn,seen:0};Sn.push(ir),hn.next(Ln.asObservable()),(0,u._)(kn,Ft,()=>gi(ir),Mt)}};null!==jt&&jt>=0?(0,u._)(hn,Ft,jn,jt,!0):On=!0,jn();const Gn=kn=>Sn.slice().forEach(kn),Bn=kn=>{Gn(({window:Ln})=>kn(Ln)),kn(hn),hn.unsubscribe()};return Zt.subscribe((0,c.e)(hn,kn=>{Gn(Ln=>{Ln.window.next(kn),en<=++Ln.seen&&gi(Ln)})},()=>Bn(kn=>kn.complete()),kn=>Bn(Ln=>Ln.error(kn)))),()=>{Sn=null}})}function qi(Mt,yt){return(0,C.i)((It,St)=>{const Ft=[],jt=en=>{for(;0{const Zt=new le.E;Ft.push(Zt);const hn=new l.wH;let On;try{On=(0,b.Uv)(yt(en))}catch(gi){return void jt(gi)}St.next(Zt.asObservable()),hn.add(On.subscribe((0,c.e)(St,()=>{(0,f.k)(Ft,Zt),Zt.complete(),hn.unsubscribe()},E.K,jt)))},E.K)),It.subscribe((0,c.e)(St,en=>{const Zt=Ft.slice();for(const hn of Zt)hn.next(en)},()=>{for(;0{for(;0{let St,Ft;const jt=Zt=>{St.error(Zt),It.error(Zt)},en=()=>{let Zt;Ft?.unsubscribe(),St?.complete(),St=new le.E,It.next(St.asObservable());try{Zt=(0,b.Uv)(Mt())}catch(hn){return void jt(hn)}Zt.subscribe(Ft=(0,c.e)(It,en,en,jt))};en(),yt.subscribe((0,c.e)(It,Zt=>St.next(Zt),()=>{St.complete(),It.complete()},jt,()=>{Ft?.unsubscribe(),St=null}))})}function Sr(...Mt){const yt=(0,r.yu)(Mt);return(0,C.i)((It,St)=>{const Ft=Mt.length,jt=new Array(Ft);let en=Mt.map(()=>!1),Zt=!1;for(let hn=0;hn{jt[hn]=Sn,!Zt&&!en[hn]&&(en[hn]=!0,(Zt=en.every(w.Z))&&(en=null))},E.K));It.subscribe((0,c.e)(St,hn=>{if(Zt){const Sn=[hn,...jt];St.next(yt?yt(...Sn):Sn)}}))})}var rs=g(736);function Ar(...Mt){return(0,C.i)((yt,It)=>{(0,rs.E)(yt,...Mt).subscribe(It)})}function hi(Mt){return F(rs.E,Mt)}function kr(...Mt){return Ar(...Mt)}},4104:De=>{"use strict";De.exports=(te,g)=>{if("string"!=typeof te||"string"!=typeof g)throw new TypeError("Expected the arguments to be of type `string`");if(""===g)return[te];const t=te.indexOf(g);return-1===t?[te]:[te.slice(0,t),te.slice(t+g.length)]}},3896:De=>{"use strict";De.exports=te=>encodeURIComponent(te).replace(/[!'()*]/g,g=>`%${g.charCodeAt(0).toString(16).toUpperCase()}`)},5052:(De,te,g)=>{"use strict";g.r(te),g.d(te,{__addDisposableResource:()=>ee,__assign:()=>C,__asyncDelegator:()=>O,__asyncGenerator:()=>I,__asyncValues:()=>T,__await:()=>D,__awaiter:()=>r,__classPrivateFieldGet:()=>A,__classPrivateFieldIn:()=>K,__classPrivateFieldSet:()=>U,__createBinding:()=>h,__decorate:()=>c,__disposeResources:()=>B,__esDecorate:()=>s,__exportStar:()=>p,__extends:()=>v,__generator:()=>u,__importDefault:()=>L,__importStar:()=>F,__makeTemplateObject:()=>N,__metadata:()=>a,__param:()=>b,__propKey:()=>d,__read:()=>y,__rest:()=>E,__runInitializers:()=>f,__setFunctionName:()=>l,__spread:()=>M,__spreadArray:()=>k,__spreadArrays:()=>w,__values:()=>_,default:()=>H});var t=function(z,X){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,j){G.__proto__=j}||function(G,j){for(var le in j)Object.prototype.hasOwnProperty.call(j,le)&&(G[le]=j[le])})(z,X)};function v(z,X){if("function"!=typeof X&&null!==X)throw new TypeError("Class extends value "+String(X)+" is not a constructor or null");function G(){this.constructor=z}t(z,X),z.prototype=null===X?Object.create(X):(G.prototype=X.prototype,new G)}var C=function(){return C=Object.assign||function(X){for(var G,j=1,le=arguments.length;j=0;Je--)(ve=z[Je])&&(ue=(le<3?ve(ue):le>3?ve(X,G,ue):ve(X,G))||ue);return le>3&&ue&&Object.defineProperty(X,G,ue),ue}function b(z,X){return function(G,j){X(G,j,z)}}function s(z,X,G,j,le,ue){function ve(je){if(void 0!==je&&"function"!=typeof je)throw new TypeError("Function expected");return je}for(var Re,Je=j.kind,_t="getter"===Je?"get":"setter"===Je?"set":"value",ct=!X&&z?j.static?z:z.prototype:null,Ct=X||(ct?Object.getOwnPropertyDescriptor(ct,j.name):{}),ke=!1,fe=G.length-1;fe>=0;fe--){var Ke={};for(var Be in j)Ke[Be]="access"===Be?{}:j[Be];for(var Be in j.access)Ke.access[Be]=j.access[Be];Ke.addInitializer=function(je){if(ke)throw new TypeError("Cannot add initializers after decoration has completed");ue.push(ve(je||null))};var Ie=(0,G[fe])("accessor"===Je?{get:Ct.get,set:Ct.set}:Ct[_t],Ke);if("accessor"===Je){if(void 0===Ie)continue;if(null===Ie||"object"!=typeof Ie)throw new TypeError("Object expected");(Re=ve(Ie.get))&&(Ct.get=Re),(Re=ve(Ie.set))&&(Ct.set=Re),(Re=ve(Ie.init))&&le.unshift(Re)}else(Re=ve(Ie))&&("field"===Je?le.unshift(Re):Ct[_t]=Re)}ct&&Object.defineProperty(ct,j.name,Ct),ke=!0}function f(z,X,G){for(var j=arguments.length>2,le=0;le0&&ue[ue.length-1])&&(6===ct[0]||2===ct[0])){G=0;continue}if(3===ct[0]&&(!ue||ct[1]>ue[0]&&ct[1]=z.length&&(z=void 0),{value:z&&z[j++],done:!z}}};throw new TypeError(X?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(z,X){var G="function"==typeof Symbol&&z[Symbol.iterator];if(!G)return z;var le,ve,j=G.call(z),ue=[];try{for(;(void 0===X||X-- >0)&&!(le=j.next()).done;)ue.push(le.value)}catch(Je){ve={error:Je}}finally{try{le&&!le.done&&(G=j.return)&&G.call(j)}finally{if(ve)throw ve.error}}return ue}function M(){for(var z=[],X=0;X1||Je(ke,fe)})})}function Je(ke,fe){try{!function _t(ke){ke.value instanceof D?Promise.resolve(ke.value.v).then(ct,Ct):Re(ue[0][2],ke)}(j[ke](fe))}catch(Ke){Re(ue[0][3],Ke)}}function ct(ke){Je("next",ke)}function Ct(ke){Je("throw",ke)}function Re(ke,fe){ke(fe),ue.shift(),ue.length&&Je(ue[0][0],ue[0][1])}}function O(z){var X,G;return X={},j("next"),j("throw",function(le){throw le}),j("return"),X[Symbol.iterator]=function(){return this},X;function j(le,ue){X[le]=z[le]?function(ve){return(G=!G)?{value:D(z[le](ve)),done:!1}:ue?ue(ve):ve}:ue}}function T(z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var G,X=z[Symbol.asyncIterator];return X?X.call(z):(z=_(z),G={},j("next"),j("throw"),j("return"),G[Symbol.asyncIterator]=function(){return this},G);function j(ue){G[ue]=z[ue]&&function(ve){return new Promise(function(Je,_t){!function le(ue,ve,Je,_t){Promise.resolve(_t).then(function(ct){ue({value:ct,done:Je})},ve)}(Je,_t,(ve=z[ue](ve)).done,ve.value)})}}}function N(z,X){return Object.defineProperty?Object.defineProperty(z,"raw",{value:X}):z.raw=X,z}var S=Object.create?function(z,X){Object.defineProperty(z,"default",{enumerable:!0,value:X})}:function(z,X){z.default=X};function F(z){if(z&&z.__esModule)return z;var X={};if(null!=z)for(var G in z)"default"!==G&&Object.prototype.hasOwnProperty.call(z,G)&&h(X,z,G);return S(X,z),X}function L(z){return z&&z.__esModule?z:{default:z}}function A(z,X,G,j){if("a"===G&&!j)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof X?z!==X||!j:!X.has(z))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===G?j:"a"===G?j.call(z):j?j.value:X.get(z)}function U(z,X,G,j,le){if("m"===j)throw new TypeError("Private method is not writable");if("a"===j&&!le)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof X?z!==X||!le:!X.has(z))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===j?le.call(z,G):le?le.value=G:X.set(z,G),G}function K(z,X){if(null===X||"object"!=typeof X&&"function"!=typeof X)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof z?X===z:z.has(X)}function ee(z,X,G){if(null!=X){if("object"!=typeof X&&"function"!=typeof X)throw new TypeError("Object expected.");var j;if(G){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");j=X[Symbol.asyncDispose]}if(void 0===j){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");j=X[Symbol.dispose]}if("function"!=typeof j)throw new TypeError("Object not disposable.");z.stack.push({value:X,dispose:j,async:G})}else G&&z.stack.push({async:!0});return X}var ne="function"==typeof SuppressedError?SuppressedError:function(z,X,G){var j=new Error(G);return j.name="SuppressedError",j.error=z,j.suppressed=X,j};function B(z){function X(j){z.error=z.hasError?new ne(j,z.error,"An error was suppressed during disposal."):j,z.hasError=!0}return function G(){for(;z.stack.length;){var j=z.stack.pop();try{var le=j.dispose&&j.dispose.call(j.value);if(j.async)return Promise.resolve(le).then(G,function(ue){return X(ue),G()})}catch(ue){X(ue)}}if(z.hasError)throw z.error}()}const H={__extends:v,__assign:C,__rest:E,__decorate:c,__param:b,__metadata:a,__awaiter:r,__generator:u,__createBinding:h,__exportStar:p,__values:_,__read:y,__spread:M,__spreadArrays:w,__spreadArray:k,__await:D,__asyncGenerator:I,__asyncDelegator:O,__asyncValues:T,__makeTemplateObject:N,__importStar:F,__importDefault:L,__classPrivateFieldGet:A,__classPrivateFieldSet:U,__classPrivateFieldIn:K,__addDisposableResource:ee,__disposeResources:B}},1160:De=>{function te(Le){return Le instanceof Map?Le.clear=Le.delete=Le.set=function(){throw new Error("map is read-only")}:Le instanceof Set&&(Le.add=Le.clear=Le.delete=function(){throw new Error("set is read-only")}),Object.freeze(Le),Object.getOwnPropertyNames(Le).forEach(He=>{const st=Le[He],Te=typeof st;("object"===Te||"function"===Te)&&!Object.isFrozen(st)&&te(st)}),Le}class g{constructor(He){void 0===He.data&&(He.data={}),this.data=He.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function t(Le){return Le.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function v(Le,...He){const st=Object.create(null);for(const Te in Le)st[Te]=Le[Te];return He.forEach(function(Te){for(const Pe in Te)st[Pe]=Te[Pe]}),st}const E=Le=>!!Le.scope;class b{constructor(He,st){this.buffer="",this.classPrefix=st.classPrefix,He.walk(this)}addText(He){this.buffer+=t(He)}openNode(He){if(!E(He))return;const st=((Le,{prefix:He})=>{if(Le.startsWith("language:"))return Le.replace("language:","language-");if(Le.includes(".")){const st=Le.split(".");return[`${He}${st.shift()}`,...st.map((Te,Pe)=>`${Te}${"_".repeat(Pe+1)}`)].join(" ")}return`${He}${Le}`})(He.scope,{prefix:this.classPrefix});this.span(st)}closeNode(He){E(He)&&(this.buffer+="")}value(){return this.buffer}span(He){this.buffer+=``}}const s=(Le={})=>{const He={children:[]};return Object.assign(He,Le),He};class f{constructor(){this.rootNode=s(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(He){this.top.children.push(He)}openNode(He){const st=s({scope:He});this.add(st),this.stack.push(st)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(He){return this.constructor._walk(He,this.rootNode)}static _walk(He,st){return"string"==typeof st?He.addText(st):st.children&&(He.openNode(st),st.children.forEach(Te=>this._walk(He,Te)),He.closeNode(st)),He}static _collapse(He){"string"!=typeof He&&He.children&&(He.children.every(st=>"string"==typeof st)?He.children=[He.children.join("")]:He.children.forEach(st=>{f._collapse(st)}))}}class d extends f{constructor(He){super(),this.options=He}addText(He){""!==He&&this.add(He)}startScope(He){this.openNode(He)}endScope(){this.closeNode()}__addSublanguage(He,st){const Te=He.root;st&&(Te.scope=`language:${st}`),this.add(Te)}toHTML(){return new b(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function l(Le){return Le?"string"==typeof Le?Le:Le.source:null}function a(Le){return h("(?=",Le,")")}function r(Le){return h("(?:",Le,")*")}function u(Le){return h("(?:",Le,")?")}function h(...Le){return Le.map(st=>l(st)).join("")}function _(...Le){return"("+(function p(Le){const He=Le[Le.length-1];return"object"==typeof He&&He.constructor===Object?(Le.splice(Le.length-1,1),He):{}}(Le).capture?"":"?:")+Le.map(Te=>l(Te)).join("|")+")"}function y(Le){return new RegExp(Le.toString()+"|").exec("").length-1}const w=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function k(Le,{joinWith:He}){let st=0;return Le.map(Te=>{st+=1;const Pe=st;let bt=l(Te),Me="";for(;bt.length>0;){const $e=w.exec(bt);if(!$e){Me+=bt;break}Me+=bt.substring(0,$e.index),bt=bt.substring($e.index+$e[0].length),"\\"===$e[0][0]&&$e[1]?Me+="\\"+String(Number($e[1])+Pe):(Me+=$e[0],"("===$e[0]&&st++)}return Me}).map(Te=>`(${Te})`).join(He)}const I="[a-zA-Z]\\w*",O="[a-zA-Z_]\\w*",T="\\b\\d+(\\.\\d+)?",N="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",S="\\b(0b[01]+)",A={begin:"\\\\[\\s\\S]",relevance:0},U={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[A]},K={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[A]},ne=function(Le,He,st={}){const Te=v({scope:"comment",begin:Le,end:He,contains:[]},st);Te.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 Pe=_("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 Te.contains.push({begin:h(/[ ]+/,"(",Pe,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Te},B=ne("//","$"),H=ne("/\\*","\\*/"),z=ne("#","$");var ct=Object.freeze({__proto__:null,APOS_STRING_MODE:U,BACKSLASH_ESCAPE:A,BINARY_NUMBER_MODE:{scope:"number",begin:S,relevance:0},BINARY_NUMBER_RE:S,COMMENT:ne,C_BLOCK_COMMENT_MODE:H,C_LINE_COMMENT_MODE:B,C_NUMBER_MODE:{scope:"number",begin:N,relevance:0},C_NUMBER_RE:N,END_SAME_AS_BEGIN:function(Le){return Object.assign(Le,{"on:begin":(He,st)=>{st.data._beginMatch=He[1]},"on:end":(He,st)=>{st.data._beginMatch!==He[1]&&st.ignoreMatch()}})},HASH_COMMENT_MODE:z,IDENT_RE:I,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+O,relevance:0},NUMBER_MODE:{scope:"number",begin:T,relevance:0},NUMBER_RE:T,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/},QUOTE_STRING_MODE:K,REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[A,{begin:/\[/,end:/\]/,relevance:0,contains:[A]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(Le={})=>{const He=/^#![ ]*\//;return Le.binary&&(Le.begin=h(He,/.*\b/,Le.binary,/\b.*/)),v({scope:"meta",begin:He,end:/$/,relevance:0,"on:begin":(st,Te)=>{0!==st.index&&Te.ignoreMatch()}},Le)},TITLE_MODE:{scope:"title",begin:I,relevance:0},UNDERSCORE_IDENT_RE:O,UNDERSCORE_TITLE_MODE:{scope:"title",begin:O,relevance:0}});function Ct(Le,He){"."===Le.input[Le.index-1]&&He.ignoreMatch()}function Re(Le,He){void 0!==Le.className&&(Le.scope=Le.className,delete Le.className)}function ke(Le,He){He&&Le.beginKeywords&&(Le.begin="\\b("+Le.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Le.__beforeBegin=Ct,Le.keywords=Le.keywords||Le.beginKeywords,delete Le.beginKeywords,void 0===Le.relevance&&(Le.relevance=0))}function fe(Le,He){Array.isArray(Le.illegal)&&(Le.illegal=_(...Le.illegal))}function Ke(Le,He){if(Le.match){if(Le.begin||Le.end)throw new Error("begin & end are not supported with match");Le.begin=Le.match,delete Le.match}}function Be(Le,He){void 0===Le.relevance&&(Le.relevance=1)}const Ie=(Le,He)=>{if(!Le.beforeMatch)return;if(Le.starts)throw new Error("beforeMatch cannot be used with starts");const st=Object.assign({},Le);Object.keys(Le).forEach(Te=>{delete Le[Te]}),Le.keywords=st.keywords,Le.begin=h(st.beforeMatch,a(st.begin)),Le.starts={relevance:0,contains:[Object.assign(st,{endsParent:!0})]},Le.relevance=0,delete st.beforeMatch},je=["of","and","for","in","not","or","if","then","parent","list","value"],q="keyword";function be(Le,He,st=q){const Te=Object.create(null);return"string"==typeof Le?Pe(st,Le.split(" ")):Array.isArray(Le)?Pe(st,Le):Object.keys(Le).forEach(function(bt){Object.assign(Te,be(Le[bt],He,bt))}),Te;function Pe(bt,Me){He&&(Me=Me.map($e=>$e.toLowerCase())),Me.forEach(function($e){const Ge=$e.split("|");Te[Ge[0]]=[bt,Oe(Ge[0],Ge[1])]})}}function Oe(Le,He){return He?Number(He):function Xe(Le){return je.includes(Le.toLowerCase())}(Le)?0:1}const ge={},Ve=Le=>{console.error(Le)},ot=(Le,...He)=>{console.log(`WARN: ${Le}`,...He)},ze=(Le,He)=>{ge[`${Le}/${He}`]||(console.log(`Deprecated as of ${Le}. ${He}`),ge[`${Le}/${He}`]=!0)},pt=new Error;function Pt(Le,He,{key:st}){let Te=0;const Pe=Le[st],bt={},Me={};for(let $e=1;$e<=He.length;$e++)Me[$e+Te]=Pe[$e],bt[$e+Te]=!0,Te+=y(He[$e-1]);Le[st]=Me,Le[st]._emit=bt,Le[st]._multi=!0}function tn(Le){(function on(Le){Le.scope&&"object"==typeof Le.scope&&null!==Le.scope&&(Le.beginScope=Le.scope,delete Le.scope)})(Le),"string"==typeof Le.beginScope&&(Le.beginScope={_wrap:Le.beginScope}),"string"==typeof Le.endScope&&(Le.endScope={_wrap:Le.endScope}),function Gt(Le){if(Array.isArray(Le.begin)){if(Le.skip||Le.excludeBegin||Le.returnBegin)throw Ve("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),pt;if("object"!=typeof Le.beginScope||null===Le.beginScope)throw Ve("beginScope must be object"),pt;Pt(Le,Le.begin,{key:"beginScope"}),Le.begin=k(Le.begin,{joinWith:""})}}(Le),function rn(Le){if(Array.isArray(Le.end)){if(Le.skip||Le.excludeEnd||Le.returnEnd)throw Ve("skip, excludeEnd, returnEnd not compatible with endScope: {}"),pt;if("object"!=typeof Le.endScope||null===Le.endScope)throw Ve("endScope must be object"),pt;Pt(Le,Le.end,{key:"endScope"}),Le.end=k(Le.end,{joinWith:""})}}(Le)}function gn(Le){function He(Me,$e){return new RegExp(l(Me),"m"+(Le.case_insensitive?"i":"")+(Le.unicodeRegex?"u":"")+($e?"g":""))}class st{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule($e,Ge){Ge.position=this.position++,this.matchIndexes[this.matchAt]=Ge,this.regexes.push([Ge,$e]),this.matchAt+=y($e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const $e=this.regexes.map(Ge=>Ge[1]);this.matcherRe=He(k($e,{joinWith:"|"}),!0),this.lastIndex=0}exec($e){this.matcherRe.lastIndex=this.lastIndex;const Ge=this.matcherRe.exec($e);if(!Ge)return null;const kt=Ge.findIndex((xt,qe)=>qe>0&&void 0!==xt),dt=this.matchIndexes[kt];return Ge.splice(0,kt),Object.assign(Ge,dt)}}class Te{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher($e){if(this.multiRegexes[$e])return this.multiRegexes[$e];const Ge=new st;return this.rules.slice($e).forEach(([kt,dt])=>Ge.addRule(kt,dt)),Ge.compile(),this.multiRegexes[$e]=Ge,Ge}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule($e,Ge){this.rules.push([$e,Ge]),"begin"===Ge.type&&this.count++}exec($e){const Ge=this.getMatcher(this.regexIndex);Ge.lastIndex=this.lastIndex;let kt=Ge.exec($e);if(this.resumingScanAtSamePosition()&&(!kt||kt.index!==this.lastIndex)){const dt=this.getMatcher(0);dt.lastIndex=this.lastIndex+1,kt=dt.exec($e)}return kt&&(this.regexIndex+=kt.position+1,this.regexIndex===this.count&&this.considerAll()),kt}}if(Le.compilerExtensions||(Le.compilerExtensions=[]),Le.contains&&Le.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Le.classNameAliases=v(Le.classNameAliases||{}),function bt(Me,$e){const Ge=Me;if(Me.isCompiled)return Ge;[Re,Ke,tn,Ie].forEach(dt=>dt(Me,$e)),Le.compilerExtensions.forEach(dt=>dt(Me,$e)),Me.__beforeBegin=null,[ke,fe,Be].forEach(dt=>dt(Me,$e)),Me.isCompiled=!0;let kt=null;return"object"==typeof Me.keywords&&Me.keywords.$pattern&&(Me.keywords=Object.assign({},Me.keywords),kt=Me.keywords.$pattern,delete Me.keywords.$pattern),kt=kt||/\w+/,Me.keywords&&(Me.keywords=be(Me.keywords,Le.case_insensitive)),Ge.keywordPatternRe=He(kt,!0),$e&&(Me.begin||(Me.begin=/\B|\b/),Ge.beginRe=He(Ge.begin),!Me.end&&!Me.endsWithParent&&(Me.end=/\B|\b/),Me.end&&(Ge.endRe=He(Ge.end)),Ge.terminatorEnd=l(Ge.end)||"",Me.endsWithParent&&$e.terminatorEnd&&(Ge.terminatorEnd+=(Me.end?"|":"")+$e.terminatorEnd)),Me.illegal&&(Ge.illegalRe=He(Me.illegal)),Me.contains||(Me.contains=[]),Me.contains=[].concat(...Me.contains.map(function(dt){return function an(Le){return Le.variants&&!Le.cachedVariants&&(Le.cachedVariants=Le.variants.map(function(He){return v(Le,{variants:null},He)})),Le.cachedVariants?Le.cachedVariants:Jt(Le)?v(Le,{starts:Le.starts?v(Le.starts):null}):Object.isFrozen(Le)?v(Le):Le}("self"===dt?Me:dt)})),Me.contains.forEach(function(dt){bt(dt,Ge)}),Me.starts&&bt(Me.starts,$e),Ge.matcher=function Pe(Me){const $e=new Te;return Me.contains.forEach(Ge=>$e.addRule(Ge.begin,{rule:Ge,type:"begin"})),Me.terminatorEnd&&$e.addRule(Me.terminatorEnd,{type:"end"}),Me.illegal&&$e.addRule(Me.illegal,{type:"illegal"}),$e}(Ge),Ge}(Le)}function Jt(Le){return!!Le&&(Le.endsWithParent||Jt(Le.starts))}class Ut extends Error{constructor(He,st){super(He),this.name="HTMLInjectionError",this.html=st}}const xe=t,rt=v,lt=Symbol("nomatch"),nt=function(Le){const He=Object.create(null),st=Object.create(null),Te=[];let Pe=!0;const bt="Could not find the language '{}', did you forget to load/include a language module?",Me={disableAutodetect:!0,name:"Plain text",contains:[]};let $e={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:d};function Ge(me){return $e.noHighlightRe.test(me)}function dt(me,Ae,_e){let mt="",V="";"object"==typeof Ae?(mt=me,_e=Ae.ignoreIllegals,V=Ae.language):(ze("10.7.0","highlight(lang, code, ...args) has been deprecated."),ze("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),V=me,mt=Ae),void 0===_e&&(_e=!0);const he={code:mt,language:V};at("before:highlight",he);const de=he.result?he.result:xt(he.language,he.code,_e);return de.code=he.code,at("after:highlight",de),de}function xt(me,Ae,_e,mt){const V=Object.create(null);function he(cn,pn){return cn.keywords[pn]}function de(){if(!Vn.keywords)return void Yn.addText(Wn);let cn=0;Vn.keywordPatternRe.lastIndex=0;let pn=Vn.keywordPatternRe.exec(Wn),Nn="";for(;pn;){Nn+=Wn.substring(cn,pn.index);const Fn=Ai.case_insensitive?pn[0].toLowerCase():pn[0],Oi=he(Vn,Fn);if(Oi){const[Ki,nr]=Oi;Yn.addText(Nn),Nn="",V[Fn]=(V[Fn]||0)+1,V[Fn]<=7&&(Zn+=nr),Ki.startsWith("_")?Nn+=pn[0]:Yt(pn[0],Ai.classNameAliases[Ki]||Ki)}else Nn+=pn[0];cn=Vn.keywordPatternRe.lastIndex,pn=Vn.keywordPatternRe.exec(Wn)}Nn+=Wn.substring(cn),Yn.addText(Nn)}function wt(){null!=Vn.subLanguage?function We(){if(""===Wn)return;let cn=null;if("string"==typeof Vn.subLanguage){if(!He[Vn.subLanguage])return void Yn.addText(Wn);cn=xt(Vn.subLanguage,Wn,!0,ki[Vn.subLanguage]),ki[Vn.subLanguage]=cn._top}else cn=Fe(Wn,Vn.subLanguage.length?Vn.subLanguage:null);Vn.relevance>0&&(Zn+=cn.relevance),Yn.__addSublanguage(cn._emitter,cn.language)}():de(),Wn=""}function Yt(cn,pn){""!==cn&&(Yn.startScope(pn),Yn.addText(cn),Yn.endScope())}function Kn(cn,pn){let Nn=1;const Fn=pn.length-1;for(;Nn<=Fn;){if(!cn._emit[Nn]){Nn++;continue}const Oi=Ai.classNameAliases[cn[Nn]]||cn[Nn],Ki=pn[Nn];Oi?Yt(Ki,Oi):(Wn=Ki,de(),Wn=""),Nn++}}function Pn(cn,pn){return cn.scope&&"string"==typeof cn.scope&&Yn.openNode(Ai.classNameAliases[cn.scope]||cn.scope),cn.beginScope&&(cn.beginScope._wrap?(Yt(Wn,Ai.classNameAliases[cn.beginScope._wrap]||cn.beginScope._wrap),Wn=""):cn.beginScope._multi&&(Kn(cn.beginScope,pn),Wn="")),Vn=Object.create(cn,{parent:{value:Vn}}),Vn}function Tn(cn,pn,Nn){let Fn=function M(Le,He){const st=Le&&Le.exec(He);return st&&0===st.index}(cn.endRe,Nn);if(Fn){if(cn["on:end"]){const Oi=new g(cn);cn["on:end"](pn,Oi),Oi.isMatchIgnored&&(Fn=!1)}if(Fn){for(;cn.endsParent&&cn.parent;)cn=cn.parent;return cn}}if(cn.endsWithParent)return Tn(cn.parent,pn,Nn)}function vn(cn){return 0===Vn.matcher.regexIndex?(Wn+=cn[0],1):(ui=!0,0)}function tr(cn){const pn=cn[0],Nn=Ae.substring(cn.index),Fn=Tn(Vn,cn,Nn);if(!Fn)return lt;const Oi=Vn;Vn.endScope&&Vn.endScope._wrap?(wt(),Yt(pn,Vn.endScope._wrap)):Vn.endScope&&Vn.endScope._multi?(wt(),Kn(Vn.endScope,cn)):Oi.skip?Wn+=pn:(Oi.returnEnd||Oi.excludeEnd||(Wn+=pn),wt(),Oi.excludeEnd&&(Wn=pn));do{Vn.scope&&Yn.closeNode(),!Vn.skip&&!Vn.subLanguage&&(Zn+=Vn.relevance),Vn=Vn.parent}while(Vn!==Fn.parent);return Fn.starts&&Pn(Fn.starts,cn),Oi.returnEnd?0:pn.length}let sr={};function Wi(cn,pn){const Nn=pn&&pn[0];if(Wn+=cn,null==Nn)return wt(),0;if("begin"===sr.type&&"end"===pn.type&&sr.index===pn.index&&""===Nn){if(Wn+=Ae.slice(pn.index,pn.index+1),!Pe){const Fn=new Error(`0 width match regex (${me})`);throw Fn.languageName=me,Fn.badRule=sr.rule,Fn}return 1}if(sr=pn,"begin"===pn.type)return function oi(cn){const pn=cn[0],Nn=cn.rule,Fn=new g(Nn),Oi=[Nn.__beforeBegin,Nn["on:begin"]];for(const Ki of Oi)if(Ki&&(Ki(cn,Fn),Fn.isMatchIgnored))return vn(pn);return Nn.skip?Wn+=pn:(Nn.excludeBegin&&(Wn+=pn),wt(),!Nn.returnBegin&&!Nn.excludeBegin&&(Wn=pn)),Pn(Nn,cn),Nn.returnBegin?0:pn.length}(pn);if("illegal"===pn.type&&!_e){const Fn=new Error('Illegal lexeme "'+Nn+'" for mode "'+(Vn.scope||"")+'"');throw Fn.mode=Vn,Fn}if("end"===pn.type){const Fn=tr(pn);if(Fn!==lt)return Fn}if("illegal"===pn.type&&""===Nn)return 1;if(Qn>1e5&&Qn>3*pn.index)throw new Error("potential infinite loop, way more iterations than matches");return Wn+=Nn,Nn.length}const Ai=si(me);if(!Ai)throw Ve(bt.replace("{}",me)),new Error('Unknown language: "'+me+'"');const Gi=gn(Ai);let or="",Vn=mt||Gi;const ki={},Yn=new $e.__emitter($e);!function pi(){const cn=[];for(let pn=Vn;pn!==Ai;pn=pn.parent)pn.scope&&cn.unshift(pn.scope);cn.forEach(pn=>Yn.openNode(pn))}();let Wn="",Zn=0,Dn=0,Qn=0,ui=!1;try{if(Ai.__emitTokens)Ai.__emitTokens(Ae,Yn);else{for(Vn.matcher.considerAll();;){Qn++,ui?ui=!1:Vn.matcher.considerAll(),Vn.matcher.lastIndex=Dn;const cn=Vn.matcher.exec(Ae);if(!cn)break;const Nn=Wi(Ae.substring(Dn,cn.index),cn);Dn=cn.index+Nn}Wi(Ae.substring(Dn))}return Yn.finalize(),or=Yn.toHTML(),{language:me,value:or,relevance:Zn,illegal:!1,_emitter:Yn,_top:Vn}}catch(cn){if(cn.message&&cn.message.includes("Illegal"))return{language:me,value:xe(Ae),illegal:!0,relevance:0,_illegalBy:{message:cn.message,index:Dn,context:Ae.slice(Dn-100,Dn+100),mode:cn.mode,resultSoFar:or},_emitter:Yn};if(Pe)return{language:me,value:xe(Ae),illegal:!1,relevance:0,errorRaised:cn,_emitter:Yn,_top:Vn};throw cn}}function Fe(me,Ae){Ae=Ae||$e.languages||Object.keys(He);const _e=function qe(me){const Ae={value:xe(me),illegal:!1,relevance:0,_top:Me,_emitter:new $e.__emitter($e)};return Ae._emitter.addText(me),Ae}(me),mt=Ae.filter(si).filter(mi).map(wt=>xt(wt,me,!1));mt.unshift(_e);const V=mt.sort((wt,Yt)=>{if(wt.relevance!==Yt.relevance)return Yt.relevance-wt.relevance;if(wt.language&&Yt.language){if(si(wt.language).supersetOf===Yt.language)return 1;if(si(Yt.language).supersetOf===wt.language)return-1}return 0}),[he,de]=V,We=he;return We.secondBest=de,We}function Ye(me){let Ae=null;const _e=function kt(me){let Ae=me.className+" ";Ae+=me.parentNode?me.parentNode.className:"";const _e=$e.languageDetectRe.exec(Ae);if(_e){const mt=si(_e[1]);return mt||(ot(bt.replace("{}",_e[1])),ot("Falling back to no-highlight mode for this block.",me)),mt?_e[1]:"no-highlight"}return Ae.split(/\s+/).find(mt=>Ge(mt)||si(mt))}(me);if(Ge(_e))return;if(at("before:highlightElement",{el:me,language:_e}),me.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",me);if(me.children.length>0&&($e.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(me)),$e.throwUnescapedHTML))throw new Ut("One of your code blocks includes unescaped HTML.",me.innerHTML);Ae=me;const mt=Ae.textContent,V=_e?dt(mt,{language:_e,ignoreIllegals:!0}):Fe(mt);me.innerHTML=V.value,me.dataset.highlighted="yes",function et(me,Ae,_e){const mt=Ae&&st[Ae]||_e;me.classList.add("hljs"),me.classList.add(`language-${mt}`)}(me,_e,V.language),me.result={language:V.language,re:V.relevance,relevance:V.relevance},V.secondBest&&(me.secondBest={language:V.secondBest.language,relevance:V.secondBest.relevance}),at("after:highlightElement",{el:me,result:V,text:mt})}let fn=!1;function ln(){"loading"!==document.readyState?document.querySelectorAll($e.cssSelector).forEach(Ye):fn=!0}function si(me){return me=(me||"").toLowerCase(),He[me]||He[st[me]]}function Ji(me,{languageName:Ae}){"string"==typeof me&&(me=[me]),me.forEach(_e=>{st[_e.toLowerCase()]=Ae})}function mi(me){const Ae=si(me);return Ae&&!Ae.disableAutodetect}function at(me,Ae){const _e=me;Te.forEach(function(mt){mt[_e]&&mt[_e](Ae)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function An(){fn&&ln()},!1),Object.assign(Le,{highlight:dt,highlightAuto:Fe,highlightAll:ln,highlightElement:Ye,highlightBlock:function ae(me){return ze("10.7.0","highlightBlock will be removed entirely in v12.0"),ze("10.7.0","Please use highlightElement now."),Ye(me)},configure:function ft(me){$e=rt($e,me)},initHighlighting:()=>{ln(),ze("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function qt(){ln(),ze("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function fi(me,Ae){let _e=null;try{_e=Ae(Le)}catch(mt){if(Ve("Language definition for '{}' could not be registered.".replace("{}",me)),!Pe)throw mt;Ve(mt),_e=Me}_e.name||(_e.name=me),He[me]=_e,_e.rawDefinition=Ae.bind(null,Le),_e.aliases&&Ji(_e.aliases,{languageName:me})},unregisterLanguage:function Si(me){delete He[me];for(const Ae of Object.keys(st))st[Ae]===me&&delete st[Ae]},listLanguages:function Fi(){return Object.keys(He)},getLanguage:si,registerAliases:Ji,autoDetection:mi,inherit:rt,addPlugin:function rr(me){(function ji(me){me["before:highlightBlock"]&&!me["before:highlightElement"]&&(me["before:highlightElement"]=Ae=>{me["before:highlightBlock"](Object.assign({block:Ae.el},Ae))}),me["after:highlightBlock"]&&!me["after:highlightElement"]&&(me["after:highlightElement"]=Ae=>{me["after:highlightBlock"](Object.assign({block:Ae.el},Ae))})})(me),Te.push(me)},removePlugin:function se(me){const Ae=Te.indexOf(me);-1!==Ae&&Te.splice(Ae,1)}}),Le.debugMode=function(){Pe=!1},Le.safeMode=function(){Pe=!0},Le.versionString="11.9.0",Le.regex={concat:h,lookahead:a,either:_,optional:u,anyNumberOfTimes:r};for(const me in ct)"object"==typeof ct[me]&&te(ct[me]);return Object.assign(Le,ct),Le},vt=nt({});vt.newInstance=()=>nt({}),De.exports=vt,vt.HighlightJS=vt,vt.default=vt},568:De=>{De.exports=function te(g){const C=["true","false","null"],E={scope:"literal",beginKeywords:C.join(" ")};return{name:"JSON",keywords:{literal:C},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},g.QUOTE_STRING_MODE,E,g.C_NUMBER_MODE,g.C_LINE_COMMENT_MODE,g.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}},2872:De=>{De.exports=function te(g){const t=g.regex,v=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),E={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},c={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},b=g.inherit(c,{begin:/\(/,end:/\)/}),s=g.inherit(g.APOS_STRING_MODE,{className:"string"}),f=g.inherit(g.QUOTE_STRING_MODE,{className:"string"}),d={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:[c,f,s,b,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[c,b,f,s]}]}]},g.COMMENT(//,{relevance:10}),{begin://,relevance:10},E,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[f]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[d],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[d],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:v,relevance:0,starts:d}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(v,/>/))),contains:[{className:"name",begin:v,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},1196:De=>{function te(t,v,C,E,c,b,s){try{var f=t[b](s),d=f.value}catch(l){return void C(l)}f.done?v(d):Promise.resolve(d).then(E,c)}De.exports=function g(t){return function(){var v=this,C=arguments;return new Promise(function(E,c){var b=t.apply(v,C);function s(d){te(b,E,c,s,f,"next",d)}function f(d){te(b,E,c,s,f,"throw",d)}s(void 0)})}},De.exports.__esModule=!0,De.exports.default=De.exports},9684:(De,te,g)=>{"use strict";g.d(te,{Cs:()=>E,K2:()=>f,Ql:()=>r,aK:()=>l,gV:()=>C,kt:()=>h,wb:()=>s,xZ:()=>d,yA:()=>c});var t=function(F){return F[F.State=0]="State",F[F.Transition=1]="Transition",F[F.Sequence=2]="Sequence",F[F.Group=3]="Group",F[F.Animate=4]="Animate",F[F.Keyframes=5]="Keyframes",F[F.Style=6]="Style",F[F.Trigger=7]="Trigger",F[F.Reference=8]="Reference",F[F.AnimateChild=9]="AnimateChild",F[F.AnimateRef=10]="AnimateRef",F[F.Query=11]="Query",F[F.Stagger=12]="Stagger",F}(t||{});function C(F,L){return{type:t.Trigger,name:F,definitions:L,options:{}}}function E(F,L=null){return{type:t.Animate,styles:L,timings:F}}function c(F,L=null){return{type:t.Group,steps:F,options:L}}function s(F){return{type:t.Style,styles:F,offset:null}}function f(F,L,A){return{type:t.State,name:F,styles:L,options:A}}function d(F){return{type:t.Keyframes,steps:F}}function l(F,L,A=null){return{type:t.Transition,expr:F,animation:L,options:A}}function r(F=null){return{type:t.AnimateChild,options:F}}function h(F,L,A=null){return{type:t.Query,selector:F,animation:L,options:A}}},1336:(De,te,g)=>{"use strict";g.d(te,{Ux:()=>qe,mJ:()=>_t,o9:()=>le,Si:()=>Me,Eh:()=>pt,IH:()=>ct,Kk:()=>bt,MM:()=>xt,mE:()=>Le,AZ:()=>ne,G3:()=>gn,q0:()=>Jt,Cs:()=>B});var t=g(1368),v=g(4496),C=g(5792),E=g(5657),c=g(6928),b=g(6700),s=g(2700),f=g(5420),d=g(9212),l=g(4680),a=g(6684),r=g(4704),u=g(3992),h=g(2644),p=g(4e3),_=g(3616),y=g(6640),M=g(7712),w=g(6040),k=g(8344),D=g(3252),I=g(5568);const T=new Set;let N,S=(()=>{class Fe{constructor(Ye,ft){this._platform=Ye,this._nonce=ft,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):L}matchMedia(Ye){return(this._platform.WEBKIT||this._platform.BLINK)&&function F(Fe,et){if(!T.has(Fe))try{N||(N=document.createElement("style"),et&&(N.nonce=et),N.setAttribute("type","text/css"),document.head.appendChild(N)),N.sheet&&(N.sheet.insertRule(`@media ${Fe} {body{ }}`,0),T.add(Fe))}catch(Ye){console.error(Ye)}}(Ye,this._nonce),this._matchMedia(Ye)}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(C.WU),v.\u0275\u0275inject(v.CSP_NONCE,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})();function L(Fe){return{matches:"all"===Fe||""===Fe,media:Fe,addListener:()=>{},removeListener:()=>{}}}let A=(()=>{class Fe{constructor(Ye,ft){this._mediaMatcher=Ye,this._zone=ft,this._queries=new Map,this._destroySubject=new E.E}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Ye){return U((0,M.Mt)(Ye)).some(Bt=>this._registerQuery(Bt).mql.matches)}observe(Ye){const Bt=U((0,M.Mt)(Ye)).map(fn=>this._registerQuery(fn).observable);let qt=(0,w.E)(Bt);return qt=(0,k.W)(qt.pipe((0,u.U)(1)),qt.pipe((0,h.s)(1),(0,l.o)(0))),qt.pipe((0,r.k)(fn=>{const ln={matches:!1,breakpoints:{}};return fn.forEach(({matches:An,query:fi})=>{ln.matches=ln.matches||An,ln.breakpoints[fi]=An}),ln}))}_registerQuery(Ye){if(this._queries.has(Ye))return this._queries.get(Ye);const ft=this._mediaMatcher.matchMedia(Ye),qt={observable:new D._(fn=>{const ln=An=>this._zone.run(()=>fn.next(An));return ft.addListener(ln),()=>{ft.removeListener(ln)}}).pipe((0,I.W)(ft),(0,r.k)(({matches:fn})=>({query:Ye,matches:fn})),(0,_.a)(this._destroySubject)),mql:ft};return this._queries.set(Ye,qt),qt}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(S),v.\u0275\u0275inject(v.NgZone))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})();function U(Fe){return Fe.map(et=>et.split(",")).reduce((et,Ye)=>et.concat(Ye)).map(et=>et.trim())}const ee=" ";function ne(Fe,et,Ye){const ft=H(Fe,et);Ye=Ye.trim(),!ft.some(Bt=>Bt.trim()===Ye)&&(ft.push(Ye),Fe.setAttribute(et,ft.join(ee)))}function B(Fe,et,Ye){const ft=H(Fe,et);Ye=Ye.trim();const Bt=ft.filter(qt=>qt!==Ye);Bt.length?Fe.setAttribute(et,Bt.join(ee)):Fe.removeAttribute(et)}function H(Fe,et){return Fe.getAttribute(et)?.match(/\S+/g)??[]}const X="cdk-describedby-message",G="cdk-describedby-host";let j=0,le=(()=>{class Fe{constructor(Ye,ft){this._platform=ft,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+j++,this._document=Ye,this._id=(0,v.inject)(v.APP_ID)+"-"+j++}describe(Ye,ft,Bt){if(!this._canBeDescribed(Ye,ft))return;const qt=ue(ft,Bt);"string"!=typeof ft?(ve(ft,this._id),this._messageRegistry.set(qt,{messageElement:ft,referenceCount:0})):this._messageRegistry.has(qt)||this._createMessageElement(ft,Bt),this._isElementDescribedByMessage(Ye,qt)||this._addMessageReference(Ye,qt)}removeDescription(Ye,ft,Bt){if(!ft||!this._isElementNode(Ye))return;const qt=ue(ft,Bt);if(this._isElementDescribedByMessage(Ye,qt)&&this._removeMessageReference(Ye,qt),"string"==typeof ft){const fn=this._messageRegistry.get(qt);fn&&0===fn.referenceCount&&this._deleteMessageElement(qt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Ye=this._document.querySelectorAll(`[${G}="${this._id}"]`);for(let ft=0;ft0!=Bt.indexOf(X));Ye.setAttribute("aria-describedby",ft.join(" "))}_addMessageReference(Ye,ft){const Bt=this._messageRegistry.get(ft);ne(Ye,"aria-describedby",Bt.messageElement.id),Ye.setAttribute(G,this._id),Bt.referenceCount++}_removeMessageReference(Ye,ft){const Bt=this._messageRegistry.get(ft);Bt.referenceCount--,B(Ye,"aria-describedby",Bt.messageElement.id),Ye.removeAttribute(G)}_isElementDescribedByMessage(Ye,ft){const Bt=H(Ye,"aria-describedby"),qt=this._messageRegistry.get(ft),fn=qt&&qt.messageElement.id;return!!fn&&-1!=Bt.indexOf(fn)}_canBeDescribed(Ye,ft){if(!this._isElementNode(Ye))return!1;if(ft&&"object"==typeof ft)return!0;const Bt=null==ft?"":`${ft}`.trim(),qt=Ye.getAttribute("aria-label");return!(!Bt||qt&&qt.trim()===Bt)}_isElementNode(Ye){return Ye.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(t.DOCUMENT),v.\u0275\u0275inject(C.WU))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})();function ue(Fe,et){return"string"==typeof Fe?`${et||""}/${Fe}`:Fe}function ve(Fe,et){Fe.id||(Fe.id=`${X}-${et}-${j++}`)}class Je{constructor(et){this._items=et,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new E.E,this._typeaheadSubscription=c.wH.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=Ye=>Ye.disabled,this._pressedLetters=[],this.tabOut=new E.E,this.change=new E.E,et instanceof v.QueryList&&(this._itemChangesSubscription=et.changes.subscribe(Ye=>{if(this._activeItem){const Bt=Ye.toArray().indexOf(this._activeItem);Bt>-1&&Bt!==this._activeItemIndex&&(this._activeItemIndex=Bt)}}))}skipPredicate(et){return this._skipPredicateFn=et,this}withWrap(et=!0){return this._wrap=et,this}withVerticalOrientation(et=!0){return this._vertical=et,this}withHorizontalOrientation(et){return this._horizontal=et,this}withAllowedModifierKeys(et){return this._allowedModifierKeys=et,this}withTypeAhead(et=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.y)(Ye=>this._pressedLetters.push(Ye)),(0,l.o)(et),(0,a.I)(()=>this._pressedLetters.length>0),(0,r.k)(()=>this._pressedLetters.join(""))).subscribe(Ye=>{const ft=this._getItemsArray();for(let Bt=1;Bt!et[qt]||this._allowedModifierKeys.indexOf(qt)>-1);switch(Ye){case f.k0:return void this.tabOut.next();case f.Oq:if(this._vertical&&Bt){this.setNextItemActive();break}return;case f.qI:if(this._vertical&&Bt){this.setPreviousItemActive();break}return;case f.a4:if(this._horizontal&&Bt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case f.Mx:if(this._horizontal&&Bt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case f.qU:if(this._homeAndEnd&&Bt){this.setFirstItemActive();break}return;case f.Mp:if(this._homeAndEnd&&Bt){this.setLastItemActive();break}return;case f.u_:if(this._pageUpAndDown.enabled&&Bt){const qt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(qt>0?qt:0,1);break}return;case f.yI:if(this._pageUpAndDown.enabled&&Bt){const qt=this._activeItemIndex+this._pageUpAndDown.delta,fn=this._getItemsArray().length;this._setActiveItemByIndex(qt=f.A&&Ye<=f.Z||Ye>=f._I&&Ye<=f.SQ)&&this._letterKeyStream.next(String.fromCharCode(Ye))))}this._pressedLetters=[],et.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(et){const Ye=this._getItemsArray(),ft="number"==typeof et?et:Ye.indexOf(et);this._activeItem=Ye[ft]??null,this._activeItemIndex=ft}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(et){this._wrap?this._setActiveInWrapMode(et):this._setActiveInDefaultMode(et)}_setActiveInWrapMode(et){const Ye=this._getItemsArray();for(let ft=1;ft<=Ye.length;ft++){const Bt=(this._activeItemIndex+et*ft+Ye.length)%Ye.length;if(!this._skipPredicateFn(Ye[Bt]))return void this.setActiveItem(Bt)}}_setActiveInDefaultMode(et){this._setActiveItemByIndex(this._activeItemIndex+et,et)}_setActiveItemByIndex(et,Ye){const ft=this._getItemsArray();if(ft[et]){for(;this._skipPredicateFn(ft[et]);)if(!ft[et+=Ye])return;this.setActiveItem(et)}}_getItemsArray(){return this._items instanceof v.QueryList?this._items.toArray():this._items}}class _t extends Je{setActiveItem(et){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(et),this.activeItem&&this.activeItem.setActiveStyles()}}class ct extends Je{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(et){return this._origin=et,this}setActiveItem(et){super.setActiveItem(et),this.activeItem&&this.activeItem.focus(this._origin)}}let Re=(()=>{class Fe{constructor(Ye){this._platform=Ye}isDisabled(Ye){return Ye.hasAttribute("disabled")}isVisible(Ye){return function fe(Fe){return!!(Fe.offsetWidth||Fe.offsetHeight||"function"==typeof Fe.getClientRects&&Fe.getClientRects().length)}(Ye)&&"visible"===getComputedStyle(Ye).visibility}isTabbable(Ye){if(!this._platform.isBrowser)return!1;const ft=function ke(Fe){try{return Fe.frameElement}catch{return null}}(function Ve(Fe){return Fe.ownerDocument&&Fe.ownerDocument.defaultView||window}(Ye));if(ft&&(-1===Oe(ft)||!this.isVisible(ft)))return!1;let Bt=Ye.nodeName.toLowerCase(),qt=Oe(Ye);return Ye.hasAttribute("contenteditable")?-1!==qt:!("iframe"===Bt||"object"===Bt||this._platform.WEBKIT&&this._platform.IOS&&!function Xe(Fe){let et=Fe.nodeName.toLowerCase(),Ye="input"===et&&Fe.type;return"text"===Ye||"password"===Ye||"select"===et||"textarea"===et}(Ye))&&("audio"===Bt?!!Ye.hasAttribute("controls")&&-1!==qt:"video"===Bt?-1!==qt&&(null!==qt||this._platform.FIREFOX||Ye.hasAttribute("controls")):Ye.tabIndex>=0)}isFocusable(Ye,ft){return function ge(Fe){return!function Be(Fe){return function je(Fe){return"input"==Fe.nodeName.toLowerCase()}(Fe)&&"hidden"==Fe.type}(Fe)&&(function Ke(Fe){let et=Fe.nodeName.toLowerCase();return"input"===et||"select"===et||"button"===et||"textarea"===et}(Fe)||function Ie(Fe){return function q(Fe){return"a"==Fe.nodeName.toLowerCase()}(Fe)&&Fe.hasAttribute("href")}(Fe)||Fe.hasAttribute("contenteditable")||be(Fe))}(Ye)&&!this.isDisabled(Ye)&&(ft?.ignoreVisibility||this.isVisible(Ye))}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(C.WU))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})();function be(Fe){if(!Fe.hasAttribute("tabindex")||void 0===Fe.tabIndex)return!1;let et=Fe.getAttribute("tabindex");return!(!et||isNaN(parseInt(et,10)))}function Oe(Fe){if(!be(Fe))return null;const et=parseInt(Fe.getAttribute("tabindex")||"",10);return isNaN(et)?-1:et}class ot{get enabled(){return this._enabled}set enabled(et){this._enabled=et,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(et,this._startAnchor),this._toggleAnchorTabIndex(et,this._endAnchor))}constructor(et,Ye,ft,Bt,qt=!1){this._element=et,this._checker=Ye,this._ngZone=ft,this._document=Bt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,qt||this.attachAnchors()}destroy(){const et=this._startAnchor,Ye=this._endAnchor;et&&(et.removeEventListener("focus",this.startAnchorListener),et.remove()),Ye&&(Ye.removeEventListener("focus",this.endAnchorListener),Ye.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(et){return new Promise(Ye=>{this._executeOnStable(()=>Ye(this.focusInitialElement(et)))})}focusFirstTabbableElementWhenReady(et){return new Promise(Ye=>{this._executeOnStable(()=>Ye(this.focusFirstTabbableElement(et)))})}focusLastTabbableElementWhenReady(et){return new Promise(Ye=>{this._executeOnStable(()=>Ye(this.focusLastTabbableElement(et)))})}_getRegionBoundary(et){const Ye=this._element.querySelectorAll(`[cdk-focus-region-${et}], [cdkFocusRegion${et}], [cdk-focus-${et}]`);return"start"==et?Ye.length?Ye[0]:this._getFirstTabbableElement(this._element):Ye.length?Ye[Ye.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(et){const Ye=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Ye){if(!this._checker.isFocusable(Ye)){const ft=this._getFirstTabbableElement(Ye);return ft?.focus(et),!!ft}return Ye.focus(et),!0}return this.focusFirstTabbableElement(et)}focusFirstTabbableElement(et){const Ye=this._getRegionBoundary("start");return Ye&&Ye.focus(et),!!Ye}focusLastTabbableElement(et){const Ye=this._getRegionBoundary("end");return Ye&&Ye.focus(et),!!Ye}hasAttached(){return this._hasAttached}_getFirstTabbableElement(et){if(this._checker.isFocusable(et)&&this._checker.isTabbable(et))return et;const Ye=et.children;for(let ft=0;ft=0;ft--){const Bt=Ye[ft].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Ye[ft]):null;if(Bt)return Bt}return null}_createAnchor(){const et=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,et),et.classList.add("cdk-visually-hidden"),et.classList.add("cdk-focus-trap-anchor"),et.setAttribute("aria-hidden","true"),et}_toggleAnchorTabIndex(et,Ye){et?Ye.setAttribute("tabindex","0"):Ye.removeAttribute("tabindex")}toggleAnchors(et){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(et,this._startAnchor),this._toggleAnchorTabIndex(et,this._endAnchor))}_executeOnStable(et){this._ngZone.isStable?et():this._ngZone.onStable.pipe((0,u.U)(1)).subscribe(et)}}let ze=(()=>{class Fe{constructor(Ye,ft,Bt){this._checker=Ye,this._ngZone=ft,this._document=Bt}create(Ye,ft=!1){return new ot(Ye,this._checker,this._ngZone,this._document,ft)}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(Re),v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(t.DOCUMENT))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})(),pt=(()=>{class Fe{get enabled(){return this.focusTrap?.enabled||!1}set enabled(Ye){this.focusTrap&&(this.focusTrap.enabled=Ye)}constructor(Ye,ft,Bt){this._elementRef=Ye,this._focusTrapFactory=ft,this._previouslyFocusedElement=null,(0,v.inject)(C.WU).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(Ye){const ft=Ye.autoCapture;ft&&!ft.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,C.Yx)(),this.focusTrap?.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(ze),v.\u0275\u0275directiveInject(t.DOCUMENT))};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:Fe,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkTrapFocus","enabled",v.booleanAttribute],autoCapture:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkTrapFocusAutoCapture","autoCapture",v.booleanAttribute]},exportAs:["cdkTrapFocus"],standalone:!0,features:[v.\u0275\u0275InputTransformsFeature,v.\u0275\u0275NgOnChangesFeature]})}return Fe})();function gn(Fe){return 0===Fe.buttons||0===Fe.detail}function Jt(Fe){const et=Fe.touches&&Fe.touches[0]||Fe.changedTouches&&Fe.changedTouches[0];return!(!et||-1!==et.identifier||null!=et.radiusX&&1!==et.radiusX||null!=et.radiusY&&1!==et.radiusY)}const an=new v.InjectionToken("cdk-input-modality-detector-options"),Ot={ignoreKeys:[f.A$,f.s9,f.GW,f._Y,f._u]},xe=(0,C.W4)({passive:!0,capture:!0});let rt=(()=>{class Fe{get mostRecentModality(){return this._modality.value}constructor(Ye,ft,Bt,qt){this._platform=Ye,this._mostRecentTarget=null,this._modality=new b.g(null),this._lastTouchMs=0,this._onKeydown=fn=>{this._options?.ignoreKeys?.some(ln=>ln===fn.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,C.oZ)(fn))},this._onMousedown=fn=>{Date.now()-this._lastTouchMs<650||(this._modality.next(gn(fn)?"keyboard":"mouse"),this._mostRecentTarget=(0,C.oZ)(fn))},this._onTouchstart=fn=>{Jt(fn)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,C.oZ)(fn))},this._options={...Ot,...qt},this.modalityDetected=this._modality.pipe((0,h.s)(1)),this.modalityChanged=this.modalityDetected.pipe((0,p.a)()),Ye.isBrowser&&ft.runOutsideAngular(()=>{Bt.addEventListener("keydown",this._onKeydown,xe),Bt.addEventListener("mousedown",this._onMousedown,xe),Bt.addEventListener("touchstart",this._onTouchstart,xe)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,xe),document.removeEventListener("mousedown",this._onMousedown,xe),document.removeEventListener("touchstart",this._onTouchstart,xe))}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(C.WU),v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(t.DOCUMENT),v.\u0275\u0275inject(an,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})();const lt=new v.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function At(){return null}}),nt=new v.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let vt=0,Le=(()=>{class Fe{constructor(Ye,ft,Bt,qt){this._ngZone=ft,this._defaultOptions=qt,this._document=Bt,this._liveElement=Ye||this._createLiveElement()}announce(Ye,...ft){const Bt=this._defaultOptions;let qt,fn;return 1===ft.length&&"number"==typeof ft[0]?fn=ft[0]:[qt,fn]=ft,this.clear(),clearTimeout(this._previousTimeout),qt||(qt=Bt&&Bt.politeness?Bt.politeness:"polite"),null==fn&&Bt&&(fn=Bt.duration),this._liveElement.setAttribute("aria-live",qt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ln=>this._currentResolve=ln)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Ye,"number"==typeof fn&&(this._previousTimeout=setTimeout(()=>this.clear(),fn)),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 Ye="cdk-live-announcer-element",ft=this._document.getElementsByClassName(Ye),Bt=this._document.createElement("div");for(let qt=0;qt .cdk-overlay-container [aria-modal="true"]');for(let Bt=0;Bt{class Fe{constructor(Ye,ft,Bt,qt,fn){this._ngZone=Ye,this._platform=ft,this._inputModalityDetector=Bt,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 E.E,this._rootNodeFocusAndBlurListener=ln=>{for(let fi=(0,C.oZ)(ln);fi;fi=fi.parentElement)"focus"===ln.type?this._onFocus(ln,fi):this._onBlur(ln,fi)},this._document=qt,this._detectionMode=fn?.detectionMode||st.IMMEDIATE}monitor(Ye,ft=!1){const Bt=(0,M.mk)(Ye);if(!this._platform.isBrowser||1!==Bt.nodeType)return(0,s.of)();const qt=(0,C.C8)(Bt)||this._getDocument(),fn=this._elementInfo.get(Bt);if(fn)return ft&&(fn.checkChildren=!0),fn.subject;const ln={checkChildren:ft,subject:new E.E,rootNode:qt};return this._elementInfo.set(Bt,ln),this._registerGlobalListeners(ln),ln.subject}stopMonitoring(Ye){const ft=(0,M.mk)(Ye),Bt=this._elementInfo.get(ft);Bt&&(Bt.subject.complete(),this._setClasses(ft),this._elementInfo.delete(ft),this._removeGlobalListeners(Bt))}focusVia(Ye,ft,Bt){const qt=(0,M.mk)(Ye);qt===this._getDocument().activeElement?this._getClosestElementsInfo(qt).forEach(([ln,An])=>this._originChanged(ln,ft,An)):(this._setOrigin(ft),"function"==typeof qt.focus&&qt.focus(Bt))}ngOnDestroy(){this._elementInfo.forEach((Ye,ft)=>this.stopMonitoring(ft))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Ye){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Ye)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Ye&&this._isLastInteractionFromInputLabel(Ye)?"mouse":"program"}_shouldBeAttributedToTouch(Ye){return this._detectionMode===st.EVENTUAL||!!Ye?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Ye,ft){Ye.classList.toggle("cdk-focused",!!ft),Ye.classList.toggle("cdk-touch-focused","touch"===ft),Ye.classList.toggle("cdk-keyboard-focused","keyboard"===ft),Ye.classList.toggle("cdk-mouse-focused","mouse"===ft),Ye.classList.toggle("cdk-program-focused","program"===ft)}_setOrigin(Ye,ft=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Ye,this._originFromTouchInteraction="touch"===Ye&&ft,this._detectionMode===st.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Ye,ft){const Bt=this._elementInfo.get(ft),qt=(0,C.oZ)(Ye);!Bt||!Bt.checkChildren&&ft!==qt||this._originChanged(ft,this._getFocusOrigin(qt),Bt)}_onBlur(Ye,ft){const Bt=this._elementInfo.get(ft);!Bt||Bt.checkChildren&&Ye.relatedTarget instanceof Node&&ft.contains(Ye.relatedTarget)||(this._setClasses(ft),this._emitOrigin(Bt,null))}_emitOrigin(Ye,ft){Ye.subject.observers.length&&this._ngZone.run(()=>Ye.subject.next(ft))}_registerGlobalListeners(Ye){if(!this._platform.isBrowser)return;const ft=Ye.rootNode,Bt=this._rootNodeFocusListenerCount.get(ft)||0;Bt||this._ngZone.runOutsideAngular(()=>{ft.addEventListener("focus",this._rootNodeFocusAndBlurListener,Pe),ft.addEventListener("blur",this._rootNodeFocusAndBlurListener,Pe)}),this._rootNodeFocusListenerCount.set(ft,Bt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,_.a)(this._stopInputModalityDetector)).subscribe(qt=>{this._setOrigin(qt,!0)}))}_removeGlobalListeners(Ye){const ft=Ye.rootNode;if(this._rootNodeFocusListenerCount.has(ft)){const Bt=this._rootNodeFocusListenerCount.get(ft);Bt>1?this._rootNodeFocusListenerCount.set(ft,Bt-1):(ft.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Pe),ft.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Pe),this._rootNodeFocusListenerCount.delete(ft))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Ye,ft,Bt){this._setClasses(Ye,ft),this._emitOrigin(Bt,ft),this._lastFocusOrigin=ft}_getClosestElementsInfo(Ye){const ft=[];return this._elementInfo.forEach((Bt,qt)=>{(qt===Ye||Bt.checkChildren&&qt.contains(Ye))&&ft.push([qt,Bt])}),ft}_isLastInteractionFromInputLabel(Ye){const{_mostRecentTarget:ft,mostRecentModality:Bt}=this._inputModalityDetector;if("mouse"!==Bt||!ft||ft===Ye||"INPUT"!==Ye.nodeName&&"TEXTAREA"!==Ye.nodeName||Ye.disabled)return!1;const qt=Ye.labels;if(qt)for(let fn=0;fn{class Fe{constructor(Ye,ft){this._elementRef=Ye,this._focusMonitor=ft,this._focusOrigin=null,this.cdkFocusChange=new v.EventEmitter}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const Ye=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Ye,1===Ye.nodeType&&Ye.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(ft=>{this._focusOrigin=ft,this.cdkFocusChange.emit(ft)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(bt))};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:Fe,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}return Fe})();var $e=function(Fe){return Fe[Fe.NONE=0]="NONE",Fe[Fe.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",Fe[Fe.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",Fe}($e||{});const Ge="cdk-high-contrast-black-on-white",kt="cdk-high-contrast-white-on-black",dt="cdk-high-contrast-active";let xt=(()=>{class Fe{constructor(Ye,ft){this._platform=Ye,this._document=ft,this._breakpointSubscription=(0,v.inject)(A).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return $e.NONE;const Ye=this._document.createElement("div");Ye.style.backgroundColor="rgb(1,2,3)",Ye.style.position="absolute",this._document.body.appendChild(Ye);const ft=this._document.defaultView||window,Bt=ft&&ft.getComputedStyle?ft.getComputedStyle(Ye):null,qt=(Bt&&Bt.backgroundColor||"").replace(/ /g,"");switch(Ye.remove(),qt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return $e.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return $e.BLACK_ON_WHITE}return $e.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Ye=this._document.body.classList;Ye.remove(dt,Ge,kt),this._hasCheckedHighContrastMode=!0;const ft=this.getHighContrastMode();ft===$e.BLACK_ON_WHITE?Ye.add(dt,Ge):ft===$e.WHITE_ON_BLACK&&Ye.add(dt,kt)}}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(C.WU),v.\u0275\u0275inject(t.DOCUMENT))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})(),qe=(()=>{class Fe{constructor(Ye){Ye._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(ft){return new(ft||Fe)(v.\u0275\u0275inject(xt))};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:Fe});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({imports:[y.IT]})}return Fe})()},1900:(De,te,g)=>{"use strict";g.d(te,{gN:()=>d,yG:()=>s});var t=g(4496),v=g(1368);const C=new t.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function E(){return(0,t.inject)(v.DOCUMENT)}}),c=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let s=(()=>{class l{constructor(r){this.value="ltr",this.change=new t.EventEmitter,r&&(this.value=function b(l){const a=l?.toLowerCase()||"";return"auto"===a&&typeof navigator<"u"&&navigator?.language?c.test(navigator.language)?"rtl":"ltr":"rtl"===a?"rtl":"ltr"}((r.body?r.body.dir:null)||(r.documentElement?r.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(u){return new(u||l)(t.\u0275\u0275inject(C,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),d=(()=>{class l{static#e=this.\u0275fac=function(u){return new(u||l)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:l});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return l})()},7712:(De,te,g)=>{"use strict";g.d(te,{Mt:()=>c,W6:()=>v,_s:()=>f,mk:()=>s,ph:()=>b,s3:()=>E,wZ:()=>C});var t=g(4496);function v(d){return null!=d&&"false"!=`${d}`}function C(d,l=0){return E(d)?Number(d):l}function E(d){return!isNaN(parseFloat(d))&&!isNaN(Number(d))}function c(d){return Array.isArray(d)?d:[d]}function b(d){return null==d?"":"string"==typeof d?d:`${d}px`}function s(d){return d instanceof t.ElementRef?d.nativeElement:d}function f(d,l=/\s+/){const a=[];if(null!=d){const r=Array.isArray(d)?d:`${d}`.split(l);for(const u of r){const h=`${u}`.trim();h&&a.push(h)}}return a}},1032:(De,te,g)=>{"use strict";g.d(te,{Cc:()=>b,Yx:()=>r,cz:()=>s,e2:()=>u,eo:()=>a,kT:()=>p,mj:()=>d,ys:()=>l});var t=g(2376),E=(g(1116),g(2700),g(5657)),c=g(4496);class b{}function s(_){return _&&"function"==typeof _.connect&&!(_ instanceof t.C)}var d=function(_){return _[_.REPLACED=0]="REPLACED",_[_.INSERTED=1]="INSERTED",_[_.MOVED=2]="MOVED",_[_.REMOVED=3]="REMOVED",_}(d||{});const l=new c.InjectionToken("_ViewRepeater");class a{applyChanges(y,M,w,k,D){y.forEachOperation((I,O,T)=>{let N,S;if(null==I.previousIndex){const F=w(I,O,T);N=M.createEmbeddedView(F.templateRef,F.context,F.index),S=d.INSERTED}else null==T?(M.remove(O),S=d.REMOVED):(N=M.get(O),M.move(N,T),S=d.MOVED);D&&D({context:N?.context,operation:S,record:I})})}detach(){}}class r{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(y,M,w,k,D){y.forEachOperation((I,O,T)=>{let N,S;null==I.previousIndex?(N=this._insertView(()=>w(I,O,T),T,M,k(I)),S=N?d.INSERTED:d.REPLACED):null==T?(this._detachAndCacheView(O,M),S=d.REMOVED):(N=this._moveView(O,T,M,k(I)),S=d.MOVED),D&&D({context:N?.context,operation:S,record:I})})}detach(){for(const y of this._viewCache)y.destroy();this._viewCache=[]}_insertView(y,M,w,k){const D=this._insertViewFromCache(M,w);if(D)return void(D.context.$implicit=k);const I=y();return w.createEmbeddedView(I.templateRef,I.context,I.index)}_detachAndCacheView(y,M){const w=M.detach(y);this._maybeCacheView(w,M)}_moveView(y,M,w,k){const D=w.get(y);return w.move(D,M),D.context.$implicit=k,D}_maybeCacheView(y,M){if(this._viewCache.lengththis._markSelected(D)):this._markSelected(M[0]),this._selectedToEmit.length=0)}select(...y){this._verifyValueAssignment(y),y.forEach(w=>this._markSelected(w));const M=this._hasQueuedChanges();return this._emitChangeEvent(),M}deselect(...y){this._verifyValueAssignment(y),y.forEach(w=>this._unmarkSelected(w));const M=this._hasQueuedChanges();return this._emitChangeEvent(),M}setSelection(...y){this._verifyValueAssignment(y);const M=this.selected,w=new Set(y);y.forEach(D=>this._markSelected(D)),M.filter(D=>!w.has(this._getConcreteValue(D,w))).forEach(D=>this._unmarkSelected(D));const k=this._hasQueuedChanges();return this._emitChangeEvent(),k}toggle(y){return this.isSelected(y)?this.deselect(y):this.select(y)}clear(y=!0){this._unmarkAll();const M=this._hasQueuedChanges();return y&&this._emitChangeEvent(),M}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,M){if(this.compareWith){M=M??this._selection;for(let w of M)if(this.compareWith(y,w))return w;return y}return y}}let p=(()=>{class _{constructor(){this._listeners=[]}notify(M,w){for(let k of this._listeners)k(M,w)}listen(M){return this._listeners.push(M),()=>{this._listeners=this._listeners.filter(w=>M!==w)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(w){return new(w||_)};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},5420:(De,te,g)=>{"use strict";g.d(te,{A:()=>j,A$:()=>f,GW:()=>We,Gi:()=>r,Mp:()=>p,Mx:()=>y,Oq:()=>k,SQ:()=>B,UX:()=>a,Yp:()=>wt,Z:()=>Gt,_I:()=>N,_Y:()=>rn,_u:()=>b,a4:()=>w,k0:()=>C,qI:()=>M,qU:()=>_,s9:()=>s,u_:()=>u,wJ:()=>c,yI:()=>h,y_:()=>v});const v=8,C=9,c=13,b=16,s=17,f=18,a=27,r=32,u=33,h=34,p=35,_=36,y=37,M=38,w=39,k=40,N=48,B=57,j=65,Gt=90,rn=91,We=224;function wt(Yt,...Kn){return Kn.length?Kn.some(Pn=>Yt[Pn]):Yt.altKey||Yt.shiftKey||Yt.ctrlKey||Yt.metaKey}},6640:(De,te,g)=>{"use strict";g.d(te,{IT:()=>d,Wk:()=>f});var t=g(7712),v=g(4496),C=g(3252),E=g(5657),c=g(4680);let b=(()=>{class l{create(r){return typeof MutationObserver>"u"?null:new MutationObserver(r)}static#e=this.\u0275fac=function(u){return new(u||l)};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),s=(()=>{class l{constructor(r){this._mutationObserverFactory=r,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((r,u)=>this._cleanupObserver(u))}observe(r){const u=(0,t.mk)(r);return new C._(h=>{const _=this._observeElement(u).subscribe(h);return()=>{_.unsubscribe(),this._unobserveElement(u)}})}_observeElement(r){if(this._observedElements.has(r))this._observedElements.get(r).count++;else{const u=new E.E,h=this._mutationObserverFactory.create(p=>u.next(p));h&&h.observe(r,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(r,{observer:h,stream:u,count:1})}return this._observedElements.get(r).stream}_unobserveElement(r){this._observedElements.has(r)&&(this._observedElements.get(r).count--,this._observedElements.get(r).count||this._cleanupObserver(r))}_cleanupObserver(r){if(this._observedElements.has(r)){const{observer:u,stream:h}=this._observedElements.get(r);u&&u.disconnect(),h.complete(),this._observedElements.delete(r)}}static#e=this.\u0275fac=function(u){return new(u||l)(v.\u0275\u0275inject(b))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),f=(()=>{class l{get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(r){this._debounce=(0,t.wZ)(r),this._subscribe()}constructor(r,u,h){this._contentObserver=r,this._elementRef=u,this._ngZone=h,this.event=new v.EventEmitter,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const r=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?r.pipe((0,c.o)(this.debounce)):r).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(u){return new(u||l)(v.\u0275\u0275directiveInject(s),v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(v.NgZone))};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:l,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkObserveContentDisabled","disabled",v.booleanAttribute],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[v.\u0275\u0275InputTransformsFeature]})}return l})(),d=(()=>{class l{static#e=this.\u0275fac=function(u){return new(u||l)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:l});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({providers:[b]})}return l})()},7556:(De,te,g)=>{"use strict";g.d(te,{Y1:()=>be,eC:()=>Ie,g$:()=>G,mc:()=>ke,o9:()=>N,wW:()=>Be});var t=g(1904),v=g(1368),C=g(4496),E=g(7712),c=g(5792),b=g(6684),s=g(3992),f=g(3616),d=g(8796),l=g(1900),a=g(2488),r=g(5657),u=g(6928),h=g(3412),p=g(5420);const _=(0,c.kk)();class y{constructor(ge,Ve){this._viewportRuler=ge,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ve}attach(){}enable(){if(this._canBeEnabled()){const ge=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ge.style.left||"",this._previousHTMLStyles.top=ge.style.top||"",ge.style.left=(0,E.ph)(-this._previousScrollPosition.left),ge.style.top=(0,E.ph)(-this._previousScrollPosition.top),ge.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ge=this._document.documentElement,ot=ge.style,ze=this._document.body.style,pt=ot.scrollBehavior||"",Pt=ze.scrollBehavior||"";this._isEnabled=!1,ot.left=this._previousHTMLStyles.left,ot.top=this._previousHTMLStyles.top,ge.classList.remove("cdk-global-scrollblock"),_&&(ot.scrollBehavior=ze.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_&&(ot.scrollBehavior=pt,ze.scrollBehavior=Pt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ve=this._document.body,ot=this._viewportRuler.getViewportSize();return Ve.scrollHeight>ot.height||Ve.scrollWidth>ot.width}}class w{constructor(ge,Ve,ot,ze){this._scrollDispatcher=ge,this._ngZone=Ve,this._viewportRuler=ot,this._config=ze,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ge){this._overlayRef=ge}enable(){if(this._scrollSubscription)return;const ge=this._scrollDispatcher.scrolled(0).pipe((0,b.I)(Ve=>!Ve||!this._overlayRef.overlayElement.contains(Ve.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ge.subscribe(()=>{const Ve=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ve-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ge.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class k{enable(){}disable(){}attach(){}}function D(Xe,ge){return ge.some(Ve=>Xe.bottomVe.bottom||Xe.rightVe.right)}function I(Xe,ge){return ge.some(Ve=>Xe.topVe.bottom||Xe.leftVe.right)}class O{constructor(ge,Ve,ot,ze){this._scrollDispatcher=ge,this._viewportRuler=Ve,this._ngZone=ot,this._config=ze,this._scrollSubscription=null}attach(ge){this._overlayRef=ge}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 Ve=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ot,height:ze}=this._viewportRuler.getViewportSize();D(Ve,[{width:ot,height:ze,bottom:ze,right:ot,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 T=(()=>{class Xe{constructor(Ve,ot,ze,pt){this._scrollDispatcher=Ve,this._viewportRuler=ot,this._ngZone=ze,this.noop=()=>new k,this.close=Pt=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,Pt),this.block=()=>new y(this._viewportRuler,this._document),this.reposition=Pt=>new O(this._scrollDispatcher,this._viewportRuler,this._ngZone,Pt),this._document=pt}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275inject(t.Yn),C.\u0275\u0275inject(t.S8),C.\u0275\u0275inject(C.NgZone),C.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();class N{constructor(ge){if(this.scrollStrategy=new k,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ge){const Ve=Object.keys(ge);for(const ot of Ve)void 0!==ge[ot]&&(this[ot]=ge[ot])}}}class L{constructor(ge,Ve){this.connectionPair=ge,this.scrollableViewProperties=Ve}}let K=(()=>{class Xe{constructor(Ve){this._attachedOverlays=[],this._document=Ve}ngOnDestroy(){this.detach()}add(Ve){this.remove(Ve),this._attachedOverlays.push(Ve)}remove(Ve){const ot=this._attachedOverlays.indexOf(Ve);ot>-1&&this._attachedOverlays.splice(ot,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),ee=(()=>{class Xe extends K{constructor(Ve,ot){super(Ve),this._ngZone=ot,this._keydownListener=ze=>{const pt=this._attachedOverlays;for(let Pt=pt.length-1;Pt>-1;Pt--)if(pt[Pt]._keydownEvents.observers.length>0){const Gt=pt[Pt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Gt.next(ze)):Gt.next(ze);break}}}add(Ve){super.add(Ve),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)}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275inject(v.DOCUMENT),C.\u0275\u0275inject(C.NgZone,8))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),ne=(()=>{class Xe extends K{constructor(Ve,ot,ze){super(Ve),this._platform=ot,this._ngZone=ze,this._cursorStyleIsSet=!1,this._pointerDownListener=pt=>{this._pointerDownEventTarget=(0,c.oZ)(pt)},this._clickListener=pt=>{const Pt=(0,c.oZ)(pt),Gt="click"===pt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Pt;this._pointerDownEventTarget=null;const rn=this._attachedOverlays.slice();for(let on=rn.length-1;on>-1;on--){const tn=rn[on];if(tn._outsidePointerEvents.observers.length<1||!tn.hasAttached())continue;if(tn.overlayElement.contains(Pt)||tn.overlayElement.contains(Gt))break;const gn=tn._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>gn.next(pt)):gn.next(pt)}}}add(Ve){if(super.add(Ve),!this._isAttached){const ot=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ot)):this._addEventListeners(ot),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ot.style.cursor,ot.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Ve=this._document.body;Ve.removeEventListener("pointerdown",this._pointerDownListener,!0),Ve.removeEventListener("click",this._clickListener,!0),Ve.removeEventListener("auxclick",this._clickListener,!0),Ve.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Ve.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Ve){Ve.addEventListener("pointerdown",this._pointerDownListener,!0),Ve.addEventListener("click",this._clickListener,!0),Ve.addEventListener("auxclick",this._clickListener,!0),Ve.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275inject(v.DOCUMENT),C.\u0275\u0275inject(c.WU),C.\u0275\u0275inject(C.NgZone,8))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),B=(()=>{class Xe{constructor(Ve,ot){this._platform=ot,this._document=Ve}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ve="cdk-overlay-container";if(this._platform.isBrowser||(0,c.mW)()){const ze=this._document.querySelectorAll(`.${Ve}[platform="server"], .${Ve}[platform="test"]`);for(let pt=0;ptthis._backdropClick.next(gn),this._backdropTransitionendHandler=gn=>{this._disposeBackdrop(gn.target)},this._keydownEvents=new r.E,this._outsidePointerEvents=new r.E,ze.scrollStrategy&&(this._scrollStrategy=ze.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ze.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ge){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ve=this._portalOutlet.attach(ge);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,s.U)(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 Ve?.onDestroy&&Ve.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ve}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ge=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ge}dispose(){const ge=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,ge&&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(ge){ge!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ge,this.hasAttached()&&(ge.attach(this),this.updatePosition()))}updateSize(ge){this._config={...this._config,...ge},this._updateElementSize()}setDirection(ge){this._config={...this._config,direction:ge},this._updateElementDirection()}addPanelClass(ge){this._pane&&this._toggleClasses(this._pane,ge,!0)}removePanelClass(ge){this._pane&&this._toggleClasses(this._pane,ge,!1)}getDirection(){const ge=this._config.direction;return ge?"string"==typeof ge?ge:ge.value:"ltr"}updateScrollStrategy(ge){ge!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ge,this.hasAttached()&&(ge.attach(this),ge.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ge=this._pane.style;ge.width=(0,E.ph)(this._config.width),ge.height=(0,E.ph)(this._config.height),ge.minWidth=(0,E.ph)(this._config.minWidth),ge.minHeight=(0,E.ph)(this._config.minHeight),ge.maxWidth=(0,E.ph)(this._config.maxWidth),ge.maxHeight=(0,E.ph)(this._config.maxHeight)}_togglePointerEvents(ge){this._pane.style.pointerEvents=ge?"":"none"}_attachBackdrop(){const ge="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(ge)})}):this._backdropElement.classList.add(ge)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ge=this._backdropElement;if(ge){if(this._animationsDisabled)return void this._disposeBackdrop(ge);ge.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ge.addEventListener("transitionend",this._backdropTransitionendHandler)}),ge.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ge)},500))}}_toggleClasses(ge,Ve,ot){const ze=(0,E.Mt)(Ve||[]).filter(pt=>!!pt);ze.length&&(ot?ge.classList.add(...ze):ge.classList.remove(...ze))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ge=this._ngZone.onStable.pipe((0,f.a)((0,h.U)(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()),ge.unsubscribe())})})}_disposeScrollStrategy(){const ge=this._scrollStrategy;ge&&(ge.disable(),ge.detach&&ge.detach())}_disposeBackdrop(ge){ge&&(ge.removeEventListener("click",this._backdropClickHandler),ge.removeEventListener("transitionend",this._backdropTransitionendHandler),ge.remove(),this._backdropElement===ge&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const z="cdk-overlay-connected-position-bounding-box",X=/([A-Za-z%]+)$/;class G{get positions(){return this._preferredPositions}constructor(ge,Ve,ot,ze,pt){this._viewportRuler=Ve,this._document=ot,this._platform=ze,this._overlayContainer=pt,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 r.E,this._resizeSubscription=u.wH.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ge)}attach(ge){this._validatePositions(),ge.hostElement.classList.add(z),this._overlayRef=ge,this._boundingBox=ge.hostElement,this._pane=ge.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 ge=this._originRect,Ve=this._overlayRect,ot=this._viewportRect,ze=this._containerRect,pt=[];let Pt;for(let Gt of this._preferredPositions){let rn=this._getOriginPoint(ge,ze,Gt),on=this._getOverlayPoint(rn,Ve,Gt),tn=this._getOverlayFit(on,Ve,ot,Gt);if(tn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Gt,rn);this._canFitWithFlexibleDimensions(tn,on,ot)?pt.push({position:Gt,origin:rn,overlayRect:Ve,boundingBoxRect:this._calculateBoundingBoxRect(rn,Gt)}):(!Pt||Pt.overlayFit.visibleArearn&&(rn=tn,Gt=on)}return this._isPushed=!1,void this._applyPosition(Gt.position,Gt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Pt.position,Pt.originPoint);this._applyPosition(Pt.position,Pt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&j(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(z),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ge=this._lastPosition;if(ge){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ve=this._getOriginPoint(this._originRect,this._containerRect,ge);this._applyPosition(ge,Ve)}else this.apply()}withScrollableContainers(ge){return this._scrollables=ge,this}withPositions(ge){return this._preferredPositions=ge,-1===ge.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ge){return this._viewportMargin=ge,this}withFlexibleDimensions(ge=!0){return this._hasFlexibleDimensions=ge,this}withGrowAfterOpen(ge=!0){return this._growAfterOpen=ge,this}withPush(ge=!0){return this._canPush=ge,this}withLockedPosition(ge=!0){return this._positionLocked=ge,this}setOrigin(ge){return this._origin=ge,this}withDefaultOffsetX(ge){return this._offsetX=ge,this}withDefaultOffsetY(ge){return this._offsetY=ge,this}withTransformOriginOn(ge){return this._transformOriginSelector=ge,this}_getOriginPoint(ge,Ve,ot){let ze,pt;if("center"==ot.originX)ze=ge.left+ge.width/2;else{const Pt=this._isRtl()?ge.right:ge.left,Gt=this._isRtl()?ge.left:ge.right;ze="start"==ot.originX?Pt:Gt}return Ve.left<0&&(ze-=Ve.left),pt="center"==ot.originY?ge.top+ge.height/2:"top"==ot.originY?ge.top:ge.bottom,Ve.top<0&&(pt-=Ve.top),{x:ze,y:pt}}_getOverlayPoint(ge,Ve,ot){let ze,pt;return ze="center"==ot.overlayX?-Ve.width/2:"start"===ot.overlayX?this._isRtl()?-Ve.width:0:this._isRtl()?0:-Ve.width,pt="center"==ot.overlayY?-Ve.height/2:"top"==ot.overlayY?0:-Ve.height,{x:ge.x+ze,y:ge.y+pt}}_getOverlayFit(ge,Ve,ot,ze){const pt=ue(Ve);let{x:Pt,y:Gt}=ge,rn=this._getOffset(ze,"x"),on=this._getOffset(ze,"y");rn&&(Pt+=rn),on&&(Gt+=on);let Jt=0-Gt,an=Gt+pt.height-ot.height,Ot=this._subtractOverflows(pt.width,0-Pt,Pt+pt.width-ot.width),Ut=this._subtractOverflows(pt.height,Jt,an),xe=Ot*Ut;return{visibleArea:xe,isCompletelyWithinViewport:pt.width*pt.height===xe,fitsInViewportVertically:Ut===pt.height,fitsInViewportHorizontally:Ot==pt.width}}_canFitWithFlexibleDimensions(ge,Ve,ot){if(this._hasFlexibleDimensions){const ze=ot.bottom-Ve.y,pt=ot.right-Ve.x,Pt=le(this._overlayRef.getConfig().minHeight),Gt=le(this._overlayRef.getConfig().minWidth);return(ge.fitsInViewportVertically||null!=Pt&&Pt<=ze)&&(ge.fitsInViewportHorizontally||null!=Gt&&Gt<=pt)}return!1}_pushOverlayOnScreen(ge,Ve,ot){if(this._previousPushAmount&&this._positionLocked)return{x:ge.x+this._previousPushAmount.x,y:ge.y+this._previousPushAmount.y};const ze=ue(Ve),pt=this._viewportRect,Pt=Math.max(ge.x+ze.width-pt.width,0),Gt=Math.max(ge.y+ze.height-pt.height,0),rn=Math.max(pt.top-ot.top-ge.y,0),on=Math.max(pt.left-ot.left-ge.x,0);let tn=0,gn=0;return tn=ze.width<=pt.width?on||-Pt:ge.xOt&&!this._isInitialRender&&!this._growAfterOpen&&(Pt=ge.y-Ot/2)}if("end"===Ve.overlayX&&!ze||"start"===Ve.overlayX&&ze)Jt=ot.width-ge.x+this._viewportMargin,tn=ge.x-this._viewportMargin;else if("start"===Ve.overlayX&&!ze||"end"===Ve.overlayX&&ze)gn=ge.x,tn=ot.right-ge.x;else{const an=Math.min(ot.right-ge.x+ot.left,ge.x),Ot=this._lastBoundingBoxSize.width;tn=2*an,gn=ge.x-an,tn>Ot&&!this._isInitialRender&&!this._growAfterOpen&&(gn=ge.x-Ot/2)}return{top:Pt,left:gn,bottom:Gt,right:Jt,width:tn,height:pt}}_setBoundingBoxStyles(ge,Ve){const ot=this._calculateBoundingBoxRect(ge,Ve);!this._isInitialRender&&!this._growAfterOpen&&(ot.height=Math.min(ot.height,this._lastBoundingBoxSize.height),ot.width=Math.min(ot.width,this._lastBoundingBoxSize.width));const ze={};if(this._hasExactPosition())ze.top=ze.left="0",ze.bottom=ze.right=ze.maxHeight=ze.maxWidth="",ze.width=ze.height="100%";else{const pt=this._overlayRef.getConfig().maxHeight,Pt=this._overlayRef.getConfig().maxWidth;ze.height=(0,E.ph)(ot.height),ze.top=(0,E.ph)(ot.top),ze.bottom=(0,E.ph)(ot.bottom),ze.width=(0,E.ph)(ot.width),ze.left=(0,E.ph)(ot.left),ze.right=(0,E.ph)(ot.right),ze.alignItems="center"===Ve.overlayX?"center":"end"===Ve.overlayX?"flex-end":"flex-start",ze.justifyContent="center"===Ve.overlayY?"center":"bottom"===Ve.overlayY?"flex-end":"flex-start",pt&&(ze.maxHeight=(0,E.ph)(pt)),Pt&&(ze.maxWidth=(0,E.ph)(Pt))}this._lastBoundingBoxSize=ot,j(this._boundingBox.style,ze)}_resetBoundingBoxStyles(){j(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){j(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ge,Ve){const ot={},ze=this._hasExactPosition(),pt=this._hasFlexibleDimensions,Pt=this._overlayRef.getConfig();if(ze){const tn=this._viewportRuler.getViewportScrollPosition();j(ot,this._getExactOverlayY(Ve,ge,tn)),j(ot,this._getExactOverlayX(Ve,ge,tn))}else ot.position="static";let Gt="",rn=this._getOffset(Ve,"x"),on=this._getOffset(Ve,"y");rn&&(Gt+=`translateX(${rn}px) `),on&&(Gt+=`translateY(${on}px)`),ot.transform=Gt.trim(),Pt.maxHeight&&(ze?ot.maxHeight=(0,E.ph)(Pt.maxHeight):pt&&(ot.maxHeight="")),Pt.maxWidth&&(ze?ot.maxWidth=(0,E.ph)(Pt.maxWidth):pt&&(ot.maxWidth="")),j(this._pane.style,ot)}_getExactOverlayY(ge,Ve,ot){let ze={top:"",bottom:""},pt=this._getOverlayPoint(Ve,this._overlayRect,ge);return this._isPushed&&(pt=this._pushOverlayOnScreen(pt,this._overlayRect,ot)),"bottom"===ge.overlayY?ze.bottom=this._document.documentElement.clientHeight-(pt.y+this._overlayRect.height)+"px":ze.top=(0,E.ph)(pt.y),ze}_getExactOverlayX(ge,Ve,ot){let Pt,ze={left:"",right:""},pt=this._getOverlayPoint(Ve,this._overlayRect,ge);return this._isPushed&&(pt=this._pushOverlayOnScreen(pt,this._overlayRect,ot)),Pt=this._isRtl()?"end"===ge.overlayX?"left":"right":"end"===ge.overlayX?"right":"left","right"===Pt?ze.right=this._document.documentElement.clientWidth-(pt.x+this._overlayRect.width)+"px":ze.left=(0,E.ph)(pt.x),ze}_getScrollVisibility(){const ge=this._getOriginRect(),Ve=this._pane.getBoundingClientRect(),ot=this._scrollables.map(ze=>ze.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:I(ge,ot),isOriginOutsideView:D(ge,ot),isOverlayClipped:I(Ve,ot),isOverlayOutsideView:D(Ve,ot)}}_subtractOverflows(ge,...Ve){return Ve.reduce((ot,ze)=>ot-Math.max(ze,0),ge)}_getNarrowedViewportRect(){const ge=this._document.documentElement.clientWidth,Ve=this._document.documentElement.clientHeight,ot=this._viewportRuler.getViewportScrollPosition();return{top:ot.top+this._viewportMargin,left:ot.left+this._viewportMargin,right:ot.left+ge-this._viewportMargin,bottom:ot.top+Ve-this._viewportMargin,width:ge-2*this._viewportMargin,height:Ve-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ge,Ve){return"x"===Ve?null==ge.offsetX?this._offsetX:ge.offsetX:null==ge.offsetY?this._offsetY:ge.offsetY}_validatePositions(){}_addPanelClasses(ge){this._pane&&(0,E.Mt)(ge).forEach(Ve=>{""!==Ve&&-1===this._appliedPanelClasses.indexOf(Ve)&&(this._appliedPanelClasses.push(Ve),this._pane.classList.add(Ve))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ge=>{this._pane.classList.remove(ge)}),this._appliedPanelClasses=[])}_getOriginRect(){const ge=this._origin;if(ge instanceof C.ElementRef)return ge.nativeElement.getBoundingClientRect();if(ge instanceof Element)return ge.getBoundingClientRect();const Ve=ge.width||0,ot=ge.height||0;return{top:ge.y,bottom:ge.y+ot,left:ge.x,right:ge.x+Ve,height:ot,width:Ve}}}function j(Xe,ge){for(let Ve in ge)ge.hasOwnProperty(Ve)&&(Xe[Ve]=ge[Ve]);return Xe}function le(Xe){if("number"!=typeof Xe&&null!=Xe){const[ge,Ve]=Xe.split(X);return Ve&&"px"!==Ve?null:parseFloat(ge)}return Xe||null}function ue(Xe){return{top:Math.floor(Xe.top),right:Math.floor(Xe.right),bottom:Math.floor(Xe.bottom),left:Math.floor(Xe.left),width:Math.floor(Xe.width),height:Math.floor(Xe.height)}}const _t="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(ge){const Ve=ge.getConfig();this._overlayRef=ge,this._width&&!Ve.width&&ge.updateSize({width:this._width}),this._height&&!Ve.height&&ge.updateSize({height:this._height}),ge.hostElement.classList.add(_t),this._isDisposed=!1}top(ge=""){return this._bottomOffset="",this._topOffset=ge,this._alignItems="flex-start",this}left(ge=""){return this._xOffset=ge,this._xPosition="left",this}bottom(ge=""){return this._topOffset="",this._bottomOffset=ge,this._alignItems="flex-end",this}right(ge=""){return this._xOffset=ge,this._xPosition="right",this}start(ge=""){return this._xOffset=ge,this._xPosition="start",this}end(ge=""){return this._xOffset=ge,this._xPosition="end",this}width(ge=""){return this._overlayRef?this._overlayRef.updateSize({width:ge}):this._width=ge,this}height(ge=""){return this._overlayRef?this._overlayRef.updateSize({height:ge}):this._height=ge,this}centerHorizontally(ge=""){return this.left(ge),this._xPosition="center",this}centerVertically(ge=""){return this.top(ge),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ge=this._overlayRef.overlayElement.style,Ve=this._overlayRef.hostElement.style,ot=this._overlayRef.getConfig(),{width:ze,height:pt,maxWidth:Pt,maxHeight:Gt}=ot,rn=!("100%"!==ze&&"100vw"!==ze||Pt&&"100%"!==Pt&&"100vw"!==Pt),on=!("100%"!==pt&&"100vh"!==pt||Gt&&"100%"!==Gt&&"100vh"!==Gt),tn=this._xPosition,gn=this._xOffset,Jt="rtl"===this._overlayRef.getConfig().direction;let an="",Ot="",Ut="";rn?Ut="flex-start":"center"===tn?(Ut="center",Jt?Ot=gn:an=gn):Jt?"left"===tn||"end"===tn?(Ut="flex-end",an=gn):("right"===tn||"start"===tn)&&(Ut="flex-start",Ot=gn):"left"===tn||"start"===tn?(Ut="flex-start",an=gn):("right"===tn||"end"===tn)&&(Ut="flex-end",Ot=gn),ge.position=this._cssPosition,ge.marginLeft=rn?"0":an,ge.marginTop=on?"0":this._topOffset,ge.marginBottom=this._bottomOffset,ge.marginRight=rn?"0":Ot,Ve.justifyContent=Ut,Ve.alignItems=on?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ge=this._overlayRef.overlayElement.style,Ve=this._overlayRef.hostElement,ot=Ve.style;Ve.classList.remove(_t),ot.justifyContent=ot.alignItems=ge.marginTop=ge.marginBottom=ge.marginLeft=ge.marginRight=ge.position="",this._overlayRef=null,this._isDisposed=!0}}let Ct=(()=>{class Xe{constructor(Ve,ot,ze,pt){this._viewportRuler=Ve,this._document=ot,this._platform=ze,this._overlayContainer=pt}global(){return new ct}flexibleConnectedTo(Ve){return new G(Ve,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275inject(t.S8),C.\u0275\u0275inject(v.DOCUMENT),C.\u0275\u0275inject(c.WU),C.\u0275\u0275inject(B))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),Re=0,ke=(()=>{class Xe{constructor(Ve,ot,ze,pt,Pt,Gt,rn,on,tn,gn,Jt,an){this.scrollStrategies=Ve,this._overlayContainer=ot,this._componentFactoryResolver=ze,this._positionBuilder=pt,this._keyboardDispatcher=Pt,this._injector=Gt,this._ngZone=rn,this._document=on,this._directionality=tn,this._location=gn,this._outsideClickDispatcher=Jt,this._animationsModuleType=an}create(Ve){const ot=this._createHostElement(),ze=this._createPaneElement(ot),pt=this._createPortalOutlet(ze),Pt=new N(Ve);return Pt.direction=Pt.direction||this._directionality.value,new H(pt,ot,ze,Pt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Ve){const ot=this._document.createElement("div");return ot.id="cdk-overlay-"+Re++,ot.classList.add("cdk-overlay-pane"),Ve.appendChild(ot),ot}_createHostElement(){const Ve=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Ve),Ve}_createPortalOutlet(Ve){return this._appRef||(this._appRef=this._injector.get(C.ApplicationRef)),new a.S4(Ve,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275inject(T),C.\u0275\u0275inject(B),C.\u0275\u0275inject(C.ComponentFactoryResolver),C.\u0275\u0275inject(Ct),C.\u0275\u0275inject(ee),C.\u0275\u0275inject(C.Injector),C.\u0275\u0275inject(C.NgZone),C.\u0275\u0275inject(v.DOCUMENT),C.\u0275\u0275inject(l.yG),C.\u0275\u0275inject(v.Location),C.\u0275\u0275inject(ne),C.\u0275\u0275inject(C.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();const fe=[{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"}],Ke=new C.InjectionToken("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const Xe=(0,C.inject)(ke);return()=>Xe.scrollStrategies.reposition()}});let Be=(()=>{class Xe{constructor(Ve){this.elementRef=Ve}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275directiveInject(C.ElementRef))};static#t=this.\u0275dir=C.\u0275\u0275defineDirective({type:Xe,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return Xe})(),Ie=(()=>{class Xe{get offsetX(){return this._offsetX}set offsetX(Ve){this._offsetX=Ve,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Ve){this._offsetY=Ve,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Ve){this._disposeOnNavigation=Ve}constructor(Ve,ot,ze,pt,Pt){this._overlay=Ve,this._dir=Pt,this._backdropSubscription=u.wH.EMPTY,this._attachSubscription=u.wH.EMPTY,this._detachSubscription=u.wH.EMPTY,this._positionSubscription=u.wH.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new C.EventEmitter,this.positionChange=new C.EventEmitter,this.attach=new C.EventEmitter,this.detach=new C.EventEmitter,this.overlayKeydown=new C.EventEmitter,this.overlayOutsideClick=new C.EventEmitter,this._templatePortal=new a.CC(ot,ze),this._scrollStrategyFactory=pt,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(Ve){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Ve.origin&&this.open&&this._position.apply()),Ve.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=fe);const Ve=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Ve.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Ve.detachments().subscribe(()=>this.detach.emit()),Ve.keydownEvents().subscribe(ot=>{this.overlayKeydown.next(ot),ot.keyCode===p.UX&&!this.disableClose&&!(0,p.Yp)(ot)&&(ot.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ot=>{this.overlayOutsideClick.next(ot)})}_buildConfig(){const Ve=this._position=this.positionStrategy||this._createPositionStrategy(),ot=new N({direction:this._dir,positionStrategy:Ve,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(ot.width=this.width),(this.height||0===this.height)&&(ot.height=this.height),(this.minWidth||0===this.minWidth)&&(ot.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ot.minHeight=this.minHeight),this.backdropClass&&(ot.backdropClass=this.backdropClass),this.panelClass&&(ot.panelClass=this.panelClass),ot}_updatePositionStrategy(Ve){const ot=this.positions.map(ze=>({originX:ze.originX,originY:ze.originY,overlayX:ze.overlayX,overlayY:ze.overlayY,offsetX:ze.offsetX||this.offsetX,offsetY:ze.offsetY||this.offsetY,panelClass:ze.panelClass||void 0}));return Ve.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ot).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Ve=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Ve),Ve}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Be?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(Ve=>{this.backdropClick.emit(Ve)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,d.w)(()=>this.positionChange.observers.length>0)).subscribe(Ve=>{this.positionChange.emit(Ve),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(ot){return new(ot||Xe)(C.\u0275\u0275directiveInject(ke),C.\u0275\u0275directiveInject(C.TemplateRef),C.\u0275\u0275directiveInject(C.ViewContainerRef),C.\u0275\u0275directiveInject(Ke),C.\u0275\u0275directiveInject(l.yG,8))};static#t=this.\u0275dir=C.\u0275\u0275defineDirective({type:Xe,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayOrigin","origin"],positions:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayWidth","width"],height:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayHeight","height"],minWidth:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayOpen","open"],disableClose:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[C.\u0275\u0275InputFlags.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",C.booleanAttribute],lockPosition:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",C.booleanAttribute],flexibleDimensions:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",C.booleanAttribute],growAfterOpen:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",C.booleanAttribute],push:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",C.booleanAttribute],disposeOnNavigation:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",C.booleanAttribute]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[C.\u0275\u0275InputTransformsFeature,C.\u0275\u0275NgOnChangesFeature]})}return Xe})();const q={provide:Ke,deps:[ke],useFactory:function je(Xe){return()=>Xe.scrollStrategies.reposition()}};let be=(()=>{class Xe{static#e=this.\u0275fac=function(ot){return new(ot||Xe)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:Xe});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({providers:[ke,q],imports:[l.gN,a.g$,t.c$,t.c$]})}return Xe})()},5792:(De,te,g)=>{"use strict";g.d(te,{Av:()=>r,C8:()=>w,Ml:()=>_,W4:()=>a,WU:()=>E,Yx:()=>k,kk:()=>p,mU:()=>f,mW:()=>I,oZ:()=>D});var t=g(4496),v=g(1368);let C;try{C=typeof Intl<"u"&&Intl.v8BreakIterator}catch{C=!1}let b,E=(()=>{class O{constructor(N){this._platformId=N,this.isBrowser=this._platformId?(0,v.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&&!C)&&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}static#e=this.\u0275fac=function(S){return new(S||O)(t.\u0275\u0275inject(t.PLATFORM_ID))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})();const s=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function f(){if(b)return b;if("object"!=typeof document||!document)return b=new Set(s),b;let O=document.createElement("input");return b=new Set(s.filter(T=>(O.setAttribute("type",T),O.type===T))),b}let d;function a(O){return function l(){if(null==d&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?O:!!O.capture}var r=function(O){return O[O.NORMAL=0]="NORMAL",O[O.NEGATED=1]="NEGATED",O[O.INVERTED=2]="INVERTED",O}(r||{});let u,h,y;function p(){if(null==h){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return h=!1,h;if("scrollBehavior"in document.documentElement.style)h=!0;else{const O=Element.prototype.scrollTo;h=!!O&&!/\{\s*\[native code\]\s*\}/.test(O.toString())}}return h}function _(){if("object"!=typeof document||!document)return r.NORMAL;if(null==u){const O=document.createElement("div"),T=O.style;O.dir="rtl",T.width="1px",T.overflow="auto",T.visibility="hidden",T.pointerEvents="none",T.position="absolute";const N=document.createElement("div"),S=N.style;S.width="2px",S.height="1px",O.appendChild(N),document.body.appendChild(O),u=r.NORMAL,0===O.scrollLeft&&(O.scrollLeft=1,u=0===O.scrollLeft?r.NEGATED:r.INVERTED),O.remove()}return u}function w(O){if(function M(){if(null==y){const O=typeof document<"u"?document.head:null;y=!(!O||!O.createShadowRoot&&!O.attachShadow)}return y}()){const T=O.getRootNode?O.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&T instanceof ShadowRoot)return T}return null}function k(){let O=typeof document<"u"&&document?document.activeElement:null;for(;O&&O.shadowRoot;){const T=O.shadowRoot.activeElement;if(T===O)break;O=T}return O}function D(O){return O.composedPath?O.composedPath()[0]:O.target}function I(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},2488:(De,te,g)=>{"use strict";g.d(te,{CC:()=>a,IP:()=>w,KC:()=>l,S4:()=>p,YT:()=>y,g$:()=>D});var t=g(4496),v=g(1368);class d{attach(T){return this._attachedHost=T,T.attach(this)}detach(){let T=this._attachedHost;null!=T&&(this._attachedHost=null,T.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(T){this._attachedHost=T}}class l extends d{constructor(T,N,S,F,L){super(),this.component=T,this.viewContainerRef=N,this.injector=S,this.componentFactoryResolver=F,this.projectableNodes=L}}class a extends d{constructor(T,N,S,F){super(),this.templateRef=T,this.viewContainerRef=N,this.context=S,this.injector=F}get origin(){return this.templateRef.elementRef}attach(T,N=this.context){return this.context=N,super.attach(T)}detach(){return this.context=void 0,super.detach()}}class r extends d{constructor(T){super(),this.element=T instanceof t.ElementRef?T.nativeElement:T}}class u{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(T){return T instanceof l?(this._attachedPortal=T,this.attachComponentPortal(T)):T instanceof a?(this._attachedPortal=T,this.attachTemplatePortal(T)):this.attachDomPortal&&T instanceof r?(this._attachedPortal=T,this.attachDomPortal(T)):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(T){this._disposeFn=T}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class p extends u{constructor(T,N,S,F,L){super(),this.outletElement=T,this._componentFactoryResolver=N,this._appRef=S,this._defaultInjector=F,this.attachDomPortal=A=>{const U=A.element,K=this._document.createComment("dom-portal");U.parentNode.insertBefore(K,U),this.outletElement.appendChild(U),this._attachedPortal=A,super.setDisposeFn(()=>{K.parentNode&&K.parentNode.replaceChild(U,K)})},this._document=L}attachComponentPortal(T){const S=(T.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(T.component);let F;return T.viewContainerRef?(F=T.viewContainerRef.createComponent(S,T.viewContainerRef.length,T.injector||T.viewContainerRef.injector,T.projectableNodes||void 0),this.setDisposeFn(()=>F.destroy())):(F=S.create(T.injector||this._defaultInjector||t.Injector.NULL),this._appRef.attachView(F.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(F.hostView),F.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(F)),this._attachedPortal=T,F}attachTemplatePortal(T){let N=T.viewContainerRef,S=N.createEmbeddedView(T.templateRef,T.context,{injector:T.injector});return S.rootNodes.forEach(F=>this.outletElement.appendChild(F)),S.detectChanges(),this.setDisposeFn(()=>{let F=N.indexOf(S);-1!==F&&N.remove(F)}),this._attachedPortal=T,S}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(T){return T.hostView.rootNodes[0]}}let y=(()=>{class O extends a{constructor(N,S){super(N,S)}static#e=this.\u0275fac=function(S){return new(S||O)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.ViewContainerRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:O,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return O})(),w=(()=>{class O extends u{constructor(N,S,F){super(),this._componentFactoryResolver=N,this._viewContainerRef=S,this._isInitialized=!1,this.attached=new t.EventEmitter,this.attachDomPortal=L=>{const A=L.element,U=this._document.createComment("dom-portal");L.setAttachedHost(this),A.parentNode.insertBefore(U,A),this._getRootNode().appendChild(A),this._attachedPortal=L,super.setDisposeFn(()=>{U.parentNode&&U.parentNode.replaceChild(A,U)})},this._document=F}get portal(){return this._attachedPortal}set portal(N){this.hasAttached()&&!N&&!this._isInitialized||(this.hasAttached()&&super.detach(),N&&super.attach(N),this._attachedPortal=N||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(N){N.setAttachedHost(this);const S=null!=N.viewContainerRef?N.viewContainerRef:this._viewContainerRef,L=(N.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(N.component),A=S.createComponent(L,S.length,N.injector||S.injector,N.projectableNodes||void 0);return S!==this._viewContainerRef&&this._getRootNode().appendChild(A.hostView.rootNodes[0]),super.setDisposeFn(()=>A.destroy()),this._attachedPortal=N,this._attachedRef=A,this.attached.emit(A),A}attachTemplatePortal(N){N.setAttachedHost(this);const S=this._viewContainerRef.createEmbeddedView(N.templateRef,N.context,{injector:N.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=N,this._attachedRef=S,this.attached.emit(S),S}_getRootNode(){const N=this._viewContainerRef.element.nativeElement;return N.nodeType===N.ELEMENT_NODE?N:N.parentNode}static#e=this.\u0275fac=function(S){return new(S||O)(t.\u0275\u0275directiveInject(t.ComponentFactoryResolver),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(v.DOCUMENT))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:O,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[t.\u0275\u0275InputFlags.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return O})(),D=(()=>{class O{static#e=this.\u0275fac=function(S){return new(S||O)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:O});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return O})()},1904:(De,te,g)=>{"use strict";g.d(te,{Ci:()=>O,S8:()=>N,Yn:()=>I,c$:()=>z,uU:()=>H});var t=g(7712),v=g(4496),C=g(5657),E=g(2700),c=g(3252),b=g(800),d=(g(4096),g(1472),g(5524)),l=g(6684),a=g(3616),r=g(5792),u=g(1368),h=g(1900);let I=(()=>{class X{constructor(j,le,ue){this._ngZone=j,this._platform=le,this._scrolled=new C.E,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ue}register(j){this.scrollContainers.has(j)||this.scrollContainers.set(j,j.elementScrolled().subscribe(()=>this._scrolled.next(j)))}deregister(j){const le=this.scrollContainers.get(j);le&&(le.unsubscribe(),this.scrollContainers.delete(j))}scrolled(j=20){return this._platform.isBrowser?new c._(le=>{this._globalSubscription||this._addGlobalListener();const ue=j>0?this._scrolled.pipe((0,d.P)(j)).subscribe(le):this._scrolled.subscribe(le);return this._scrolledCount++,()=>{ue.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,E.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((j,le)=>this.deregister(le)),this._scrolled.complete()}ancestorScrolled(j,le){const ue=this.getAncestorScrollContainers(j);return this.scrolled(le).pipe((0,l.I)(ve=>!ve||ue.indexOf(ve)>-1))}getAncestorScrollContainers(j){const le=[];return this.scrollContainers.forEach((ue,ve)=>{this._scrollableContainsElement(ve,j)&&le.push(ve)}),le}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(j,le){let ue=(0,t.mk)(le),ve=j.getElementRef().nativeElement;do{if(ue==ve)return!0}while(ue=ue.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const j=this._getWindow();return(0,b.w)(j.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(le){return new(le||X)(v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(r.WU),v.\u0275\u0275inject(u.DOCUMENT,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})(),O=(()=>{class X{constructor(j,le,ue,ve){this.elementRef=j,this.scrollDispatcher=le,this.ngZone=ue,this.dir=ve,this._destroyed=new C.E,this._elementScrolled=new c._(Je=>this.ngZone.runOutsideAngular(()=>(0,b.w)(this.elementRef.nativeElement,"scroll").pipe((0,a.a)(this._destroyed)).subscribe(Je)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(j){const le=this.elementRef.nativeElement,ue=this.dir&&"rtl"==this.dir.value;null==j.left&&(j.left=ue?j.end:j.start),null==j.right&&(j.right=ue?j.start:j.end),null!=j.bottom&&(j.top=le.scrollHeight-le.clientHeight-j.bottom),ue&&(0,r.Ml)()!=r.Av.NORMAL?(null!=j.left&&(j.right=le.scrollWidth-le.clientWidth-j.left),(0,r.Ml)()==r.Av.INVERTED?j.left=j.right:(0,r.Ml)()==r.Av.NEGATED&&(j.left=j.right?-j.right:j.right)):null!=j.right&&(j.left=le.scrollWidth-le.clientWidth-j.right),this._applyScrollToOptions(j)}_applyScrollToOptions(j){const le=this.elementRef.nativeElement;(0,r.kk)()?le.scrollTo(j):(null!=j.top&&(le.scrollTop=j.top),null!=j.left&&(le.scrollLeft=j.left))}measureScrollOffset(j){const le="left",ve=this.elementRef.nativeElement;if("top"==j)return ve.scrollTop;if("bottom"==j)return ve.scrollHeight-ve.clientHeight-ve.scrollTop;const Je=this.dir&&"rtl"==this.dir.value;return"start"==j?j=Je?"right":le:"end"==j&&(j=Je?le:"right"),Je&&(0,r.Ml)()==r.Av.INVERTED?j==le?ve.scrollWidth-ve.clientWidth-ve.scrollLeft:ve.scrollLeft:Je&&(0,r.Ml)()==r.Av.NEGATED?j==le?ve.scrollLeft+ve.scrollWidth-ve.clientWidth:-ve.scrollLeft:j==le?ve.scrollLeft:ve.scrollWidth-ve.clientWidth-ve.scrollLeft}static#e=this.\u0275fac=function(le){return new(le||X)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(I),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(h.yG,8))};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:X,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return X})(),N=(()=>{class X{constructor(j,le,ue){this._platform=j,this._change=new C.E,this._changeListener=ve=>{this._change.next(ve)},this._document=ue,le.runOutsideAngular(()=>{if(j.isBrowser){const ve=this._getWindow();ve.addEventListener("resize",this._changeListener),ve.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const j=this._getWindow();j.removeEventListener("resize",this._changeListener),j.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const j={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),j}getViewportRect(){const j=this.getViewportScrollPosition(),{width:le,height:ue}=this.getViewportSize();return{top:j.top,left:j.left,bottom:j.top+ue,right:j.left+le,height:ue,width:le}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const j=this._document,le=this._getWindow(),ue=j.documentElement,ve=ue.getBoundingClientRect();return{top:-ve.top||j.body.scrollTop||le.scrollY||ue.scrollTop||0,left:-ve.left||j.body.scrollLeft||le.scrollX||ue.scrollLeft||0}}change(j=20){return j>0?this._change.pipe((0,d.P)(j)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const j=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:j.innerWidth,height:j.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(le){return new(le||X)(v.\u0275\u0275inject(r.WU),v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(u.DOCUMENT,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})(),H=(()=>{class X{static#e=this.\u0275fac=function(le){return new(le||X)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:X});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({})}return X})(),z=(()=>{class X{static#e=this.\u0275fac=function(le){return new(le||X)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:X});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({imports:[h.gN,H,h.gN,H]})}return X})()},1368:(De,te,g)=>{"use strict";g.r(te),g.d(te,{APP_BASE_HREF:()=>p,AsyncPipe:()=>Qn,BrowserPlatformLocation:()=>l,CommonModule:()=>Ar,CurrencyPipe:()=>Hi,DATE_PIPE_DEFAULT_OPTIONS:()=>Ki,DATE_PIPE_DEFAULT_TIMEZONE:()=>Oi,DOCUMENT:()=>s,DatePipe:()=>nr,DecimalPipe:()=>hr,FormStyle:()=>S,FormatWidth:()=>L,HashLocationStrategy:()=>y,I18nPluralPipe:()=>un,I18nSelectPipe:()=>En,IMAGE_CONFIG:()=>t.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>Or,JsonPipe:()=>ci,KeyValuePipe:()=>Ui,LOCATION_INITIALIZED:()=>d,Location:()=>M,LocationStrategy:()=>h,LowerCasePipe:()=>ui,NgClass:()=>Ae,NgComponentOutlet:()=>_e,NgFor:()=>he,NgForOf:()=>he,NgForOfContext:()=>V,NgIf:()=>wt,NgIfContext:()=>Yt,NgLocaleLocalization:()=>rr,NgLocalization:()=>mi,NgOptimizedImage:()=>Ls,NgPlural:()=>Wi,NgPluralCase:()=>Ai,NgStyle:()=>Gi,NgSwitch:()=>vn,NgSwitchCase:()=>oi,NgSwitchDefault:()=>tr,NgTemplateOutlet:()=>or,NumberFormatStyle:()=>T,NumberSymbol:()=>A,PRECONNECT_CHECK_BLOCKLIST:()=>Xr,PathLocationStrategy:()=>_,PercentPipe:()=>di,PlatformLocation:()=>f,Plural:()=>N,SlicePipe:()=>Sr,TitleCasePipe:()=>pn,TranslationWidth:()=>F,UpperCasePipe:()=>Nn,VERSION:()=>en,ViewportScroller:()=>Zt,WeekDay:()=>U,XhrFactory:()=>gi,formatCurrency:()=>fn,formatDate:()=>Pt,formatNumber:()=>An,formatPercent:()=>ln,getCurrencySymbol:()=>q,getLocaleCurrencyCode:()=>ct,getLocaleCurrencyName:()=>_t,getLocaleCurrencySymbol:()=>Je,getLocaleDateFormat:()=>G,getLocaleDateTimeFormat:()=>le,getLocaleDayNames:()=>ne,getLocaleDayPeriods:()=>ee,getLocaleDirection:()=>Be,getLocaleEraNames:()=>H,getLocaleExtraDayPeriodRules:()=>fe,getLocaleExtraDayPeriods:()=>Ke,getLocaleFirstDayOfWeek:()=>z,getLocaleId:()=>K,getLocaleMonthNames:()=>B,getLocaleNumberFormat:()=>ve,getLocaleNumberSymbol:()=>ue,getLocalePluralCase:()=>Re,getLocaleTimeFormat:()=>j,getLocaleWeekEndRange:()=>X,getNumberOfCurrencyDigits:()=>Oe,isPlatformBrowser:()=>It,isPlatformServer:()=>St,isPlatformWorkerApp:()=>Ft,isPlatformWorkerUi:()=>jt,provideCloudflareLoader:()=>Cr,provideCloudinaryLoader:()=>os,provideImageKitLoader:()=>we,provideImgixLoader:()=>wn,provideNetlifyLoader:()=>Uo,registerLocaleData:()=>se,\u0275DomAdapter:()=>c,\u0275NullViewportScroller:()=>On,\u0275PLATFORM_BROWSER_ID:()=>hi,\u0275PLATFORM_SERVER_ID:()=>kr,\u0275PLATFORM_WORKER_APP_ID:()=>Mt,\u0275PLATFORM_WORKER_UI_ID:()=>yt,\u0275PlatformNavigation:()=>b,\u0275getDOM:()=>C,\u0275normalizeQueryParams:()=>u,\u0275parseCookieValue:()=>at,\u0275setRootDomAdapter:()=>E});var t=g(4496);let v=null;function C(){return v}function E(Q){v??=Q}class c{}let b=(()=>{class Q{static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:()=>window.navigation,providedIn:"platform"})}return Q})();const s=new t.InjectionToken("");let f=(()=>{class Q{historyGo(oe){throw new Error("")}static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:()=>(0,t.inject)(l),providedIn:"platform"})}return Q})();const d=new t.InjectionToken("");let l=(()=>{class Q extends f{constructor(){super(),this._doc=(0,t.inject)(s),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return C().getBaseHref(this._doc)}onPopState(oe){const ye=C().getGlobalEventTarget(this._doc,"window");return ye.addEventListener("popstate",oe,!1),()=>ye.removeEventListener("popstate",oe)}onHashChange(oe){const ye=C().getGlobalEventTarget(this._doc,"window");return ye.addEventListener("hashchange",oe,!1),()=>ye.removeEventListener("hashchange",oe)}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(oe){this._location.pathname=oe}pushState(oe,ye,ut){this._history.pushState(oe,ye,ut)}replaceState(oe,ye,ut){this._history.replaceState(oe,ye,ut)}forward(){this._history.forward()}back(){this._history.back()}historyGo(oe=0){this._history.go(oe)}getState(){return this._history.state}static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:()=>new Q,providedIn:"platform"})}return Q})();function a(Q,Ue){if(0==Q.length)return Ue;if(0==Ue.length)return Q;let oe=0;return Q.endsWith("/")&&oe++,Ue.startsWith("/")&&oe++,2==oe?Q+Ue.substring(1):1==oe?Q+Ue:Q+"/"+Ue}function r(Q){const Ue=Q.match(/#|\?|$/),oe=Ue&&Ue.index||Q.length;return Q.slice(0,oe-("/"===Q[oe-1]?1:0))+Q.slice(oe)}function u(Q){return Q&&"?"!==Q[0]?"?"+Q:Q}let h=(()=>{class Q{historyGo(oe){throw new Error("")}static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:()=>(0,t.inject)(_),providedIn:"root"})}return Q})();const p=new t.InjectionToken("");let _=(()=>{class Q extends h{constructor(oe,ye){super(),this._platformLocation=oe,this._removeListenerFns=[],this._baseHref=ye??this._platformLocation.getBaseHrefFromDOM()??(0,t.inject)(s).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(oe){this._removeListenerFns.push(this._platformLocation.onPopState(oe),this._platformLocation.onHashChange(oe))}getBaseHref(){return this._baseHref}prepareExternalUrl(oe){return a(this._baseHref,oe)}path(oe=!1){const ye=this._platformLocation.pathname+u(this._platformLocation.search),ut=this._platformLocation.hash;return ut&&oe?`${ye}${ut}`:ye}pushState(oe,ye,ut,$t){const Qt=this.prepareExternalUrl(ut+u($t));this._platformLocation.pushState(oe,ye,Qt)}replaceState(oe,ye,ut,$t){const Qt=this.prepareExternalUrl(ut+u($t));this._platformLocation.replaceState(oe,ye,Qt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(oe=0){this._platformLocation.historyGo?.(oe)}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275inject(f),t.\u0275\u0275inject(p,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})(),y=(()=>{class Q extends h{constructor(oe,ye){super(),this._platformLocation=oe,this._baseHref="",this._removeListenerFns=[],null!=ye&&(this._baseHref=ye)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(oe){this._removeListenerFns.push(this._platformLocation.onPopState(oe),this._platformLocation.onHashChange(oe))}getBaseHref(){return this._baseHref}path(oe=!1){const ye=this._platformLocation.hash??"#";return ye.length>0?ye.substring(1):ye}prepareExternalUrl(oe){const ye=a(this._baseHref,oe);return ye.length>0?"#"+ye:ye}pushState(oe,ye,ut,$t){let Qt=this.prepareExternalUrl(ut+u($t));0==Qt.length&&(Qt=this._platformLocation.pathname),this._platformLocation.pushState(oe,ye,Qt)}replaceState(oe,ye,ut,$t){let Qt=this.prepareExternalUrl(ut+u($t));0==Qt.length&&(Qt=this._platformLocation.pathname),this._platformLocation.replaceState(oe,ye,Qt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(oe=0){this._platformLocation.historyGo?.(oe)}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275inject(f),t.\u0275\u0275inject(p,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac})}return Q})(),M=(()=>{class Q{constructor(oe){this._subject=new t.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=oe;const ye=this._locationStrategy.getBaseHref();this._basePath=function I(Q){if(new RegExp("^(https?:)?//").test(Q)){const[,oe]=Q.split(/\/\/[^\/]+/);return oe}return Q}(r(D(ye))),this._locationStrategy.onPopState(ut=>{this._subject.emit({url:this.path(!0),pop:!0,state:ut.state,type:ut.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(oe=!1){return this.normalize(this._locationStrategy.path(oe))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(oe,ye=""){return this.path()==this.normalize(oe+u(ye))}normalize(oe){return Q.stripTrailingSlash(function k(Q,Ue){if(!Q||!Ue.startsWith(Q))return Ue;const oe=Ue.substring(Q.length);return""===oe||["/",";","?","#"].includes(oe[0])?oe:Ue}(this._basePath,D(oe)))}prepareExternalUrl(oe){return oe&&"/"!==oe[0]&&(oe="/"+oe),this._locationStrategy.prepareExternalUrl(oe)}go(oe,ye="",ut=null){this._locationStrategy.pushState(ut,"",oe,ye),this._notifyUrlChangeListeners(this.prepareExternalUrl(oe+u(ye)),ut)}replaceState(oe,ye="",ut=null){this._locationStrategy.replaceState(ut,"",oe,ye),this._notifyUrlChangeListeners(this.prepareExternalUrl(oe+u(ye)),ut)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(oe=0){this._locationStrategy.historyGo?.(oe)}onUrlChange(oe){return this._urlChangeListeners.push(oe),this._urlChangeSubscription??=this.subscribe(ye=>{this._notifyUrlChangeListeners(ye.url,ye.state)}),()=>{const ye=this._urlChangeListeners.indexOf(oe);this._urlChangeListeners.splice(ye,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(oe="",ye){this._urlChangeListeners.forEach(ut=>ut(oe,ye))}subscribe(oe,ye,ut){return this._subject.subscribe({next:oe,error:ye,complete:ut})}static#e=this.normalizeQueryParams=u;static#t=this.joinWithSlash=a;static#n=this.stripTrailingSlash=r;static#i=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275inject(h))};static#r=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:()=>function w(){return new M((0,t.\u0275\u0275inject)(h))}(),providedIn:"root"})}return Q})();function D(Q){return Q.replace(/\/index.html$/,"")}const O={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 T=function(Q){return Q[Q.Decimal=0]="Decimal",Q[Q.Percent=1]="Percent",Q[Q.Currency=2]="Currency",Q[Q.Scientific=3]="Scientific",Q}(T||{}),N=function(Q){return Q[Q.Zero=0]="Zero",Q[Q.One=1]="One",Q[Q.Two=2]="Two",Q[Q.Few=3]="Few",Q[Q.Many=4]="Many",Q[Q.Other=5]="Other",Q}(N||{}),S=function(Q){return Q[Q.Format=0]="Format",Q[Q.Standalone=1]="Standalone",Q}(S||{}),F=function(Q){return Q[Q.Narrow=0]="Narrow",Q[Q.Abbreviated=1]="Abbreviated",Q[Q.Wide=2]="Wide",Q[Q.Short=3]="Short",Q}(F||{}),L=function(Q){return Q[Q.Short=0]="Short",Q[Q.Medium=1]="Medium",Q[Q.Long=2]="Long",Q[Q.Full=3]="Full",Q}(L||{}),A=function(Q){return Q[Q.Decimal=0]="Decimal",Q[Q.Group=1]="Group",Q[Q.List=2]="List",Q[Q.PercentSign=3]="PercentSign",Q[Q.PlusSign=4]="PlusSign",Q[Q.MinusSign=5]="MinusSign",Q[Q.Exponential=6]="Exponential",Q[Q.SuperscriptingExponent=7]="SuperscriptingExponent",Q[Q.PerMille=8]="PerMille",Q[Q.Infinity=9]="Infinity",Q[Q.NaN=10]="NaN",Q[Q.TimeSeparator=11]="TimeSeparator",Q[Q.CurrencyDecimal=12]="CurrencyDecimal",Q[Q.CurrencyGroup=13]="CurrencyGroup",Q}(A||{}),U=function(Q){return Q[Q.Sunday=0]="Sunday",Q[Q.Monday=1]="Monday",Q[Q.Tuesday=2]="Tuesday",Q[Q.Wednesday=3]="Wednesday",Q[Q.Thursday=4]="Thursday",Q[Q.Friday=5]="Friday",Q[Q.Saturday=6]="Saturday",Q}(U||{});function K(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.LocaleId]}function ee(Q,Ue,oe){const ye=(0,t.\u0275findLocaleData)(Q),$t=Ie([ye[t.\u0275LocaleDataIndex.DayPeriodsFormat],ye[t.\u0275LocaleDataIndex.DayPeriodsStandalone]],Ue);return Ie($t,oe)}function ne(Q,Ue,oe){const ye=(0,t.\u0275findLocaleData)(Q),$t=Ie([ye[t.\u0275LocaleDataIndex.DaysFormat],ye[t.\u0275LocaleDataIndex.DaysStandalone]],Ue);return Ie($t,oe)}function B(Q,Ue,oe){const ye=(0,t.\u0275findLocaleData)(Q),$t=Ie([ye[t.\u0275LocaleDataIndex.MonthsFormat],ye[t.\u0275LocaleDataIndex.MonthsStandalone]],Ue);return Ie($t,oe)}function H(Q,Ue){return Ie((0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.Eras],Ue)}function z(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.FirstDayOfWeek]}function X(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.WeekendRange]}function G(Q,Ue){return Ie((0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.DateFormat],Ue)}function j(Q,Ue){return Ie((0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.TimeFormat],Ue)}function le(Q,Ue){return Ie((0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.DateTimeFormat],Ue)}function ue(Q,Ue){const oe=(0,t.\u0275findLocaleData)(Q),ye=oe[t.\u0275LocaleDataIndex.NumberSymbols][Ue];if(typeof ye>"u"){if(Ue===A.CurrencyDecimal)return oe[t.\u0275LocaleDataIndex.NumberSymbols][A.Decimal];if(Ue===A.CurrencyGroup)return oe[t.\u0275LocaleDataIndex.NumberSymbols][A.Group]}return ye}function ve(Q,Ue){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.NumberFormats][Ue]}function Je(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.CurrencySymbol]||null}function _t(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.CurrencyName]||null}function ct(Q){return(0,t.\u0275getLocaleCurrencyCode)(Q)}const Re=t.\u0275getLocalePluralCase;function ke(Q){if(!Q[t.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${Q[t.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function fe(Q){const Ue=(0,t.\u0275findLocaleData)(Q);return ke(Ue),(Ue[t.\u0275LocaleDataIndex.ExtraData][2]||[]).map(ye=>"string"==typeof ye?je(ye):[je(ye[0]),je(ye[1])])}function Ke(Q,Ue,oe){const ye=(0,t.\u0275findLocaleData)(Q);ke(ye);const $t=Ie([ye[t.\u0275LocaleDataIndex.ExtraData][0],ye[t.\u0275LocaleDataIndex.ExtraData][1]],Ue)||[];return Ie($t,oe)||[]}function Be(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.Directionality]}function Ie(Q,Ue){for(let oe=Ue;oe>-1;oe--)if(typeof Q[oe]<"u")return Q[oe];throw new Error("Locale data API: locale data undefined")}function je(Q){const[Ue,oe]=Q.split(":");return{hours:+Ue,minutes:+oe}}function q(Q,Ue,oe="en"){const ye=function Ct(Q){return(0,t.\u0275findLocaleData)(Q)[t.\u0275LocaleDataIndex.Currencies]}(oe)[Q]||O[Q]||[],ut=ye[1];return"narrow"===Ue&&"string"==typeof ut?ut:ye[0]||Q}const be=2;function Oe(Q){let Ue;const oe=O[Q];return oe&&(Ue=oe[2]),"number"==typeof Ue?Ue:be}const Xe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ge={},Ve=/((?:[^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 ot=function(Q){return Q[Q.Short=0]="Short",Q[Q.ShortGMT=1]="ShortGMT",Q[Q.Long=2]="Long",Q[Q.Extended=3]="Extended",Q}(ot||{}),ze=function(Q){return Q[Q.FullYear=0]="FullYear",Q[Q.Month=1]="Month",Q[Q.Date=2]="Date",Q[Q.Hours=3]="Hours",Q[Q.Minutes=4]="Minutes",Q[Q.Seconds=5]="Seconds",Q[Q.FractionalSeconds=6]="FractionalSeconds",Q[Q.Day=7]="Day",Q}(ze||{}),pt=function(Q){return Q[Q.DayPeriods=0]="DayPeriods",Q[Q.Days=1]="Days",Q[Q.Months=2]="Months",Q[Q.Eras=3]="Eras",Q}(pt||{});function Pt(Q,Ue,oe,ye){let ut=function Me(Q){if(Ge(Q))return Q;if("number"==typeof Q&&!isNaN(Q))return new Date(Q);if("string"==typeof Q){if(Q=Q.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Q)){const[ut,$t=1,Qt=1]=Q.split("-").map(bn=>+bn);return Gt(ut,$t-1,Qt)}const oe=parseFloat(Q);if(!isNaN(Q-oe))return new Date(oe);let ye;if(ye=Q.match(Xe))return function $e(Q){const Ue=new Date(0);let oe=0,ye=0;const ut=Q[8]?Ue.setUTCFullYear:Ue.setFullYear,$t=Q[8]?Ue.setUTCHours:Ue.setHours;Q[9]&&(oe=Number(Q[9]+Q[10]),ye=Number(Q[9]+Q[11])),ut.call(Ue,Number(Q[1]),Number(Q[2])-1,Number(Q[3]));const Qt=Number(Q[4]||0)-oe,bn=Number(Q[5]||0)-ye,Ri=Number(Q[6]||0),Jn=Math.floor(1e3*parseFloat("0."+(Q[7]||0)));return $t.call(Ue,Qt,bn,Ri,Jn),Ue}(ye)}const Ue=new Date(Q);if(!Ge(Ue))throw new Error(`Unable to convert "${Q}" into a date`);return Ue}(Q);Ue=rn(oe,Ue)||Ue;let bn,Qt=[];for(;Ue;){if(bn=Ve.exec(Ue),!bn){Qt.push(Ue);break}{Qt=Qt.concat(bn.slice(1));const Li=Qt.pop();if(!Li)break;Ue=Li}}let Ri=ut.getTimezoneOffset();ye&&(Ri=Te(ye,Ri),ut=function bt(Q,Ue,oe){const ye=oe?-1:1,ut=Q.getTimezoneOffset();return function Pe(Q,Ue){return(Q=new Date(Q.getTime())).setMinutes(Q.getMinutes()+Ue),Q}(Q,ye*(Te(Ue,ut)-ut))}(ut,ye,!0));let Jn="";return Qt.forEach(Li=>{const qn=function st(Q){if(He[Q])return He[Q];let Ue;switch(Q){case"G":case"GG":case"GGG":Ue=Ot(pt.Eras,F.Abbreviated);break;case"GGGG":Ue=Ot(pt.Eras,F.Wide);break;case"GGGGG":Ue=Ot(pt.Eras,F.Narrow);break;case"y":Ue=Jt(ze.FullYear,1,0,!1,!0);break;case"yy":Ue=Jt(ze.FullYear,2,0,!0,!0);break;case"yyy":Ue=Jt(ze.FullYear,3,0,!1,!0);break;case"yyyy":Ue=Jt(ze.FullYear,4,0,!1,!0);break;case"Y":Ue=Le(1);break;case"YY":Ue=Le(2,!0);break;case"YYY":Ue=Le(3);break;case"YYYY":Ue=Le(4);break;case"M":case"L":Ue=Jt(ze.Month,1,1);break;case"MM":case"LL":Ue=Jt(ze.Month,2,1);break;case"MMM":Ue=Ot(pt.Months,F.Abbreviated);break;case"MMMM":Ue=Ot(pt.Months,F.Wide);break;case"MMMMM":Ue=Ot(pt.Months,F.Narrow);break;case"LLL":Ue=Ot(pt.Months,F.Abbreviated,S.Standalone);break;case"LLLL":Ue=Ot(pt.Months,F.Wide,S.Standalone);break;case"LLLLL":Ue=Ot(pt.Months,F.Narrow,S.Standalone);break;case"w":Ue=vt(1);break;case"ww":Ue=vt(2);break;case"W":Ue=vt(1,!0);break;case"d":Ue=Jt(ze.Date,1);break;case"dd":Ue=Jt(ze.Date,2);break;case"c":case"cc":Ue=Jt(ze.Day,1);break;case"ccc":Ue=Ot(pt.Days,F.Abbreviated,S.Standalone);break;case"cccc":Ue=Ot(pt.Days,F.Wide,S.Standalone);break;case"ccccc":Ue=Ot(pt.Days,F.Narrow,S.Standalone);break;case"cccccc":Ue=Ot(pt.Days,F.Short,S.Standalone);break;case"E":case"EE":case"EEE":Ue=Ot(pt.Days,F.Abbreviated);break;case"EEEE":Ue=Ot(pt.Days,F.Wide);break;case"EEEEE":Ue=Ot(pt.Days,F.Narrow);break;case"EEEEEE":Ue=Ot(pt.Days,F.Short);break;case"a":case"aa":case"aaa":Ue=Ot(pt.DayPeriods,F.Abbreviated);break;case"aaaa":Ue=Ot(pt.DayPeriods,F.Wide);break;case"aaaaa":Ue=Ot(pt.DayPeriods,F.Narrow);break;case"b":case"bb":case"bbb":Ue=Ot(pt.DayPeriods,F.Abbreviated,S.Standalone,!0);break;case"bbbb":Ue=Ot(pt.DayPeriods,F.Wide,S.Standalone,!0);break;case"bbbbb":Ue=Ot(pt.DayPeriods,F.Narrow,S.Standalone,!0);break;case"B":case"BB":case"BBB":Ue=Ot(pt.DayPeriods,F.Abbreviated,S.Format,!0);break;case"BBBB":Ue=Ot(pt.DayPeriods,F.Wide,S.Format,!0);break;case"BBBBB":Ue=Ot(pt.DayPeriods,F.Narrow,S.Format,!0);break;case"h":Ue=Jt(ze.Hours,1,-12);break;case"hh":Ue=Jt(ze.Hours,2,-12);break;case"H":Ue=Jt(ze.Hours,1);break;case"HH":Ue=Jt(ze.Hours,2);break;case"m":Ue=Jt(ze.Minutes,1);break;case"mm":Ue=Jt(ze.Minutes,2);break;case"s":Ue=Jt(ze.Seconds,1);break;case"ss":Ue=Jt(ze.Seconds,2);break;case"S":Ue=Jt(ze.FractionalSeconds,1);break;case"SS":Ue=Jt(ze.FractionalSeconds,2);break;case"SSS":Ue=Jt(ze.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ue=xe(ot.Short);break;case"ZZZZZ":Ue=xe(ot.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ue=xe(ot.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ue=xe(ot.Long);break;default:return null}return He[Q]=Ue,Ue}(Li);Jn+=qn?qn(ut,oe,Ri):"''"===Li?"'":Li.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Jn}function Gt(Q,Ue,oe){const ye=new Date(0);return ye.setFullYear(Q,Ue,oe),ye.setHours(0,0,0),ye}function rn(Q,Ue){const oe=K(Q);if(ge[oe]??={},ge[oe][Ue])return ge[oe][Ue];let ye="";switch(Ue){case"shortDate":ye=G(Q,L.Short);break;case"mediumDate":ye=G(Q,L.Medium);break;case"longDate":ye=G(Q,L.Long);break;case"fullDate":ye=G(Q,L.Full);break;case"shortTime":ye=j(Q,L.Short);break;case"mediumTime":ye=j(Q,L.Medium);break;case"longTime":ye=j(Q,L.Long);break;case"fullTime":ye=j(Q,L.Full);break;case"short":const ut=rn(Q,"shortTime"),$t=rn(Q,"shortDate");ye=on(le(Q,L.Short),[ut,$t]);break;case"medium":const Qt=rn(Q,"mediumTime"),bn=rn(Q,"mediumDate");ye=on(le(Q,L.Medium),[Qt,bn]);break;case"long":const Ri=rn(Q,"longTime"),Jn=rn(Q,"longDate");ye=on(le(Q,L.Long),[Ri,Jn]);break;case"full":const Li=rn(Q,"fullTime"),qn=rn(Q,"fullDate");ye=on(le(Q,L.Full),[Li,qn])}return ye&&(ge[oe][Ue]=ye),ye}function on(Q,Ue){return Ue&&(Q=Q.replace(/\{([^}]+)}/g,function(oe,ye){return null!=Ue&&ye in Ue?Ue[ye]:oe})),Q}function tn(Q,Ue,oe="-",ye,ut){let $t="";(Q<0||ut&&Q<=0)&&(ut?Q=1-Q:(Q=-Q,$t=oe));let Qt=String(Q);for(;Qt.length0||bn>-oe)&&(bn+=oe),Q===ze.Hours)0===bn&&-12===oe&&(bn=12);else if(Q===ze.FractionalSeconds)return function gn(Q,Ue){return tn(Q,3).substring(0,Ue)}(bn,Ue);const Ri=ue(Qt,A.MinusSign);return tn(bn,Ue,Ri,ye,ut)}}function Ot(Q,Ue,oe=S.Format,ye=!1){return function(ut,$t){return function Ut(Q,Ue,oe,ye,ut,$t){switch(oe){case pt.Months:return B(Ue,ut,ye)[Q.getMonth()];case pt.Days:return ne(Ue,ut,ye)[Q.getDay()];case pt.DayPeriods:const Qt=Q.getHours(),bn=Q.getMinutes();if($t){const Jn=fe(Ue),Li=Ke(Ue,ut,ye),qn=Jn.findIndex(Ci=>{if(Array.isArray(Ci)){const[wi,er]=Ci,Pr=Qt>=wi.hours&&bn>=wi.minutes,Nr=Qt0?Math.floor(ut/60):Math.ceil(ut/60);switch(Q){case ot.Short:return(ut>=0?"+":"")+tn(Qt,2,$t)+tn(Math.abs(ut%60),2,$t);case ot.ShortGMT:return"GMT"+(ut>=0?"+":"")+tn(Qt,1,$t);case ot.Long:return"GMT"+(ut>=0?"+":"")+tn(Qt,2,$t)+":"+tn(Math.abs(ut%60),2,$t);case ot.Extended:return 0===ye?"Z":(ut>=0?"+":"")+tn(Qt,2,$t)+":"+tn(Math.abs(ut%60),2,$t);default:throw new Error(`Unknown zone width "${Q}"`)}}}const rt=0,lt=4;function nt(Q){const Ue=Q.getDay(),oe=0===Ue?-3:lt-Ue;return Gt(Q.getFullYear(),Q.getMonth(),Q.getDate()+oe)}function vt(Q,Ue=!1){return function(oe,ye){let ut;if(Ue){const $t=new Date(oe.getFullYear(),oe.getMonth(),1).getDay()-1,Qt=oe.getDate();ut=1+Math.floor((Qt+$t)/7)}else{const $t=nt(oe),Qt=function At(Q){const Ue=Gt(Q,rt,1).getDay();return Gt(Q,0,1+(Ue<=lt?lt:lt+7)-Ue)}($t.getFullYear()),bn=$t.getTime()-Qt.getTime();ut=1+Math.round(bn/6048e5)}return tn(ut,Q,ue(ye,A.MinusSign))}}function Le(Q,Ue=!1){return function(oe,ye){return tn(nt(oe).getFullYear(),Q,ue(ye,A.MinusSign),Ue)}}const He={};function Te(Q,Ue){Q=Q.replace(/:/g,"");const oe=Date.parse("Jan 01, 1970 00:00:00 "+Q)/6e4;return isNaN(oe)?Ue:oe}function Ge(Q){return Q instanceof Date&&!isNaN(Q.valueOf())}const kt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,dt=22,xt=".",qe="0",Fe=";",et=",",Ye="#",ft="\xa4",Bt="%";function qt(Q,Ue,oe,ye,ut,$t,Qt=!1){let bn="",Ri=!1;if(isFinite(Q)){let Jn=function Fi(Q){let ye,ut,$t,Qt,bn,Ue=Math.abs(Q)+"",oe=0;for((ut=Ue.indexOf(xt))>-1&&(Ue=Ue.replace(xt,"")),($t=Ue.search(/e/i))>0?(ut<0&&(ut=$t),ut+=+Ue.slice($t+1),Ue=Ue.substring(0,$t)):ut<0&&(ut=Ue.length),$t=0;Ue.charAt($t)===qe;$t++);if($t===(bn=Ue.length))ye=[0],ut=1;else{for(bn--;Ue.charAt(bn)===qe;)bn--;for(ut-=$t,ye=[],Qt=0;$t<=bn;$t++,Qt++)ye[Qt]=Number(Ue.charAt($t))}return ut>dt&&(ye=ye.splice(0,dt-1),oe=ut-1,ut=1),{digits:ye,exponent:oe,integerLen:ut}}(Q);Qt&&(Jn=function Si(Q){if(0===Q.digits[0])return Q;const Ue=Q.digits.length-Q.integerLen;return Q.exponent?Q.exponent+=2:(0===Ue?Q.digits.push(0,0):1===Ue&&Q.digits.push(0),Q.integerLen+=2),Q}(Jn));let Li=Ue.minInt,qn=Ue.minFrac,Ci=Ue.maxFrac;if($t){const Gr=$t.match(kt);if(null===Gr)throw new Error(`${$t} is not a valid digit info`);const zi=Gr[1],mr=Gr[3],_i=Gr[5];null!=zi&&(Li=Ji(zi)),null!=mr&&(qn=Ji(mr)),null!=_i?Ci=Ji(_i):null!=mr&&qn>Ci&&(Ci=qn)}!function si(Q,Ue,oe){if(Ue>oe)throw new Error(`The minimum number of digits after fraction (${Ue}) is higher than the maximum (${oe}).`);let ye=Q.digits,ut=ye.length-Q.integerLen;const $t=Math.min(Math.max(Ue,ut),oe);let Qt=$t+Q.integerLen,bn=ye[Qt];if(Qt>0){ye.splice(Math.max(Q.integerLen,Qt));for(let qn=Qt;qn=5)if(Qt-1<0){for(let qn=0;qn>Qt;qn--)ye.unshift(0),Q.integerLen++;ye.unshift(1),Q.integerLen++}else ye[Qt-1]++;for(;ut=Jn?er.pop():Ri=!1),Ci>=10?1:0},0);Li&&(ye.unshift(Li),Q.integerLen++)}(Jn,qn,Ci);let wi=Jn.digits,er=Jn.integerLen;const Pr=Jn.exponent;let Nr=[];for(Ri=wi.every(Gr=>!Gr);er0?Nr=wi.splice(er,wi.length):(Nr=wi,wi=[0]);const es=[];for(wi.length>=Ue.lgSize&&es.unshift(wi.splice(-Ue.lgSize,wi.length).join(""));wi.length>Ue.gSize;)es.unshift(wi.splice(-Ue.gSize,wi.length).join(""));wi.length&&es.unshift(wi.join("")),bn=es.join(ue(oe,ye)),Nr.length&&(bn+=ue(oe,ut)+Nr.join("")),Pr&&(bn+=ue(oe,A.Exponential)+"+"+Pr)}else bn=ue(oe,A.Infinity);return bn=Q<0&&!Ri?Ue.negPre+bn+Ue.negSuf:Ue.posPre+bn+Ue.posSuf,bn}function fn(Q,Ue,oe,ye,ut){const Qt=fi(ve(Ue,T.Currency),ue(Ue,A.MinusSign));return Qt.minFrac=Oe(ye),Qt.maxFrac=Qt.minFrac,qt(Q,Qt,Ue,A.CurrencyGroup,A.CurrencyDecimal,ut).replace(ft,oe).replace(ft,"").trim()}function ln(Q,Ue,oe){return qt(Q,fi(ve(Ue,T.Percent),ue(Ue,A.MinusSign)),Ue,A.Group,A.Decimal,oe,!0).replace(new RegExp(Bt,"g"),ue(Ue,A.PercentSign))}function An(Q,Ue,oe){return qt(Q,fi(ve(Ue,T.Decimal),ue(Ue,A.MinusSign)),Ue,A.Group,A.Decimal,oe)}function fi(Q,Ue="-"){const oe={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ye=Q.split(Fe),ut=ye[0],$t=ye[1],Qt=-1!==ut.indexOf(xt)?ut.split(xt):[ut.substring(0,ut.lastIndexOf(qe)+1),ut.substring(ut.lastIndexOf(qe)+1)],bn=Qt[0],Ri=Qt[1]||"";oe.posPre=bn.substring(0,bn.indexOf(Ye));for(let Li=0;Li{class Q{static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:function(ye){let ut=null;return ye?ut=new ye:($t=t.\u0275\u0275inject(t.LOCALE_ID),ut=new rr($t)),ut;var $t},providedIn:"root"})}return Q})();function ji(Q,Ue,oe,ye){let ut=`=${Q}`;if(Ue.indexOf(ut)>-1||(ut=oe.getPluralCategory(Q,ye),Ue.indexOf(ut)>-1))return ut;if(Ue.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${Q}"`)}let rr=(()=>{class Q extends mi{constructor(oe){super(),this.locale=oe}getPluralCategory(oe,ye){switch(Re(ye||this.locale)(oe)){case N.Zero:return"zero";case N.One:return"one";case N.Two:return"two";case N.Few:return"few";case N.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275inject(t.LOCALE_ID))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac})}return Q})();function se(Q,Ue,oe){return(0,t.\u0275registerLocaleData)(Q,Ue,oe)}function at(Q,Ue){Ue=encodeURIComponent(Ue);for(const oe of Q.split(";")){const ye=oe.indexOf("="),[ut,$t]=-1==ye?[oe,""]:[oe.slice(0,ye),oe.slice(ye+1)];if(ut.trim()===Ue)return decodeURIComponent($t)}return null}const ae=/\s+/,me=[];let Ae=(()=>{class Q{constructor(oe,ye){this._ngEl=oe,this._renderer=ye,this.initialClasses=me,this.stateMap=new Map}set klass(oe){this.initialClasses=null!=oe?oe.trim().split(ae):me}set ngClass(oe){this.rawClass="string"==typeof oe?oe.trim().split(ae):oe}ngDoCheck(){for(const ye of this.initialClasses)this._updateState(ye,!0);const oe=this.rawClass;if(Array.isArray(oe)||oe instanceof Set)for(const ye of oe)this._updateState(ye,!0);else if(null!=oe)for(const ye of Object.keys(oe))this._updateState(ye,!!oe[ye]);this._applyStateDiff()}_updateState(oe,ye){const ut=this.stateMap.get(oe);void 0!==ut?(ut.enabled!==ye&&(ut.changed=!0,ut.enabled=ye),ut.touched=!0):this.stateMap.set(oe,{enabled:ye,changed:!0,touched:!0})}_applyStateDiff(){for(const oe of this.stateMap){const ye=oe[0],ut=oe[1];ut.changed?(this._toggleClass(ye,ut.enabled),ut.changed=!1):ut.touched||(ut.enabled&&this._toggleClass(ye,!1),this.stateMap.delete(ye)),ut.touched=!1}}_toggleClass(oe,ye){(oe=oe.trim()).length>0&&oe.split(ae).forEach(ut=>{ye?this._renderer.addClass(this._ngEl.nativeElement,ut):this._renderer.removeClass(this._ngEl.nativeElement,ut)})}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.Renderer2))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngClass",""]],inputs:{klass:[t.\u0275\u0275InputFlags.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return Q})(),_e=(()=>{class Q{constructor(oe){this._viewContainerRef=oe,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(oe){return void 0!==oe.ngComponentOutletNgModule||void 0!==oe.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(oe){return void 0!==oe.ngComponentOutlet||void 0!==oe.ngComponentOutletContent||void 0!==oe.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(oe)}ngOnChanges(oe){if(this._needToReCreateComponentInstance(oe)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const ye=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(oe)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,t.createNgModule)(this.ngComponentOutletNgModule,mt(ye)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(mt(ye)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:ye,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const oe of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(oe,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(oe){for(const[ye,ut]of this._inputsUsed)ut?(oe.setInput(ye,this.ngComponentOutletInputs[ye]),this._inputsUsed.set(ye,!1)):(oe.setInput(ye,void 0),this._inputsUsed.delete(ye))}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.ViewContainerRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return Q})();function mt(Q){return Q.get(t.NgModuleRef).injector}class V{constructor(Ue,oe,ye,ut){this.$implicit=Ue,this.ngForOf=oe,this.index=ye,this.count=ut}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 he=(()=>{class Q{set ngForOf(oe){this._ngForOf=oe,this._ngForOfDirty=!0}set ngForTrackBy(oe){this._trackByFn=oe}get ngForTrackBy(){return this._trackByFn}constructor(oe,ye,ut){this._viewContainer=oe,this._template=ye,this._differs=ut,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(oe){oe&&(this._template=oe)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const oe=this._ngForOf;!this._differ&&oe&&(this._differ=this._differs.find(oe).create(this.ngForTrackBy))}if(this._differ){const oe=this._differ.diff(this._ngForOf);oe&&this._applyChanges(oe)}}_applyChanges(oe){const ye=this._viewContainer;oe.forEachOperation((ut,$t,Qt)=>{if(null==ut.previousIndex)ye.createEmbeddedView(this._template,new V(ut.item,this._ngForOf,-1,-1),null===Qt?void 0:Qt);else if(null==Qt)ye.remove(null===$t?void 0:$t);else if(null!==$t){const bn=ye.get($t);ye.move(bn,Qt),de(bn,ut)}});for(let ut=0,$t=ye.length;ut<$t;ut++){const bn=ye.get(ut).context;bn.index=ut,bn.count=$t,bn.ngForOf=this._ngForOf}oe.forEachIdentityChange(ut=>{de(ye.get(ut.currentIndex),ut)})}static ngTemplateContextGuard(oe,ye){return!0}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return Q})();function de(Q,Ue){Q.context.$implicit=Ue.item}let wt=(()=>{class Q{constructor(oe,ye){this._viewContainer=oe,this._context=new Yt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ye}set ngIf(oe){this._context.$implicit=this._context.ngIf=oe,this._updateView()}set ngIfThen(oe){Kn("ngIfThen",oe),this._thenTemplateRef=oe,this._thenViewRef=null,this._updateView()}set ngIfElse(oe){Kn("ngIfElse",oe),this._elseTemplateRef=oe,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(oe,ye){return!0}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return Q})();class Yt{constructor(){this.$implicit=null,this.ngIf=null}}function Kn(Q,Ue){if(Ue&&!Ue.createEmbeddedView)throw new Error(`${Q} must be a TemplateRef, but received '${(0,t.\u0275stringify)(Ue)}'.`)}class Tn{constructor(Ue,oe){this._viewContainerRef=Ue,this._templateRef=oe,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ue){Ue&&!this._created?this.create():!Ue&&this._created&&this.destroy()}}let vn=(()=>{class Q{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(oe){this._ngSwitch=oe,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(oe){this._defaultViews.push(oe)}_matchCase(oe){const ye=oe===this._ngSwitch;return this._lastCasesMatched||=ye,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ye}_updateDefaultCases(oe){if(this._defaultViews.length>0&&oe!==this._defaultUsed){this._defaultUsed=oe;for(const ye of this._defaultViews)ye.enforceState(oe)}}static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return Q})(),oi=(()=>{class Q{constructor(oe,ye,ut){this.ngSwitch=ut,ut._addCase(),this._view=new Tn(oe,ye)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(vn,9))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return Q})(),tr=(()=>{class Q{constructor(oe,ye,ut){ut._addDefault(new Tn(oe,ye))}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(vn,9))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return Q})(),Wi=(()=>{class Q{constructor(oe){this._localization=oe,this._caseViews={}}set ngPlural(oe){this._updateView(oe)}addCase(oe,ye){this._caseViews[oe]=ye}_updateView(oe){this._clearViews();const ut=ji(oe,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[ut])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(oe){oe&&(this._activeView=oe,this._activeView.create())}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(mi))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return Q})(),Ai=(()=>{class Q{constructor(oe,ye,ut,$t){this.value=oe;const Qt=!isNaN(Number(oe));$t.addCase(Qt?`=${oe}`:oe,new Tn(ut,ye))}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275injectAttribute("ngPluralCase"),t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(Wi,1))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngPluralCase",""]],standalone:!0})}return Q})(),Gi=(()=>{class Q{constructor(oe,ye,ut){this._ngEl=oe,this._differs=ye,this._renderer=ut,this._ngStyle=null,this._differ=null}set ngStyle(oe){this._ngStyle=oe,!this._differ&&oe&&(this._differ=this._differs.find(oe).create())}ngDoCheck(){if(this._differ){const oe=this._differ.diff(this._ngStyle);oe&&this._applyChanges(oe)}}_setStyle(oe,ye){const[ut,$t]=oe.split("."),Qt=-1===ut.indexOf("-")?void 0:t.RendererStyleFlags2.DashCase;null!=ye?this._renderer.setStyle(this._ngEl.nativeElement,ut,$t?`${ye}${$t}`:ye,Qt):this._renderer.removeStyle(this._ngEl.nativeElement,ut,Qt)}_applyChanges(oe){oe.forEachRemovedItem(ye=>this._setStyle(ye.key,null)),oe.forEachAddedItem(ye=>this._setStyle(ye.key,ye.currentValue)),oe.forEachChangedItem(ye=>this._setStyle(ye.key,ye.currentValue))}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.KeyValueDiffers),t.\u0275\u0275directiveInject(t.Renderer2))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return Q})(),or=(()=>{class Q{constructor(oe){this._viewContainerRef=oe,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(oe){if(this._shouldRecreateView(oe)){const ye=this._viewContainerRef;if(this._viewRef&&ye.remove(ye.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const ut=this._createContextForwardProxy();this._viewRef=ye.createEmbeddedView(this.ngTemplateOutlet,ut,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(oe){return!!oe.ngTemplateOutlet||!!oe.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(oe,ye,ut)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ye,ut),get:(oe,ye,ut)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ye,ut)}})}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.ViewContainerRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return Q})();function ki(Q,Ue){return new t.\u0275RuntimeError(2100,!1)}class Yn{createSubscription(Ue,oe){return(0,t.untracked)(()=>Ue.subscribe({next:oe,error:ye=>{throw ye}}))}dispose(Ue){(0,t.untracked)(()=>Ue.unsubscribe())}}class Wn{createSubscription(Ue,oe){return Ue.then(oe,ye=>{throw ye})}dispose(Ue){}}const Zn=new Wn,Dn=new Yn;let Qn=(()=>{class Q{constructor(oe){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=oe}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(oe){return this._obj?oe!==this._obj?(this._dispose(),this.transform(oe)):this._latestValue:(oe&&this._subscribe(oe),this._latestValue)}_subscribe(oe){this._obj=oe,this._strategy=this._selectStrategy(oe),this._subscription=this._strategy.createSubscription(oe,ye=>this._updateLatestValue(oe,ye))}_selectStrategy(oe){if((0,t.\u0275isPromise)(oe))return Zn;if((0,t.\u0275isSubscribable)(oe))return Dn;throw ki()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(oe,ye){oe===this._obj&&(this._latestValue=ye,this._ref.markForCheck())}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"async",type:Q,pure:!1,standalone:!0})}return Q})(),ui=(()=>{class Q{transform(oe){if(null==oe)return null;if("string"!=typeof oe)throw ki();return oe.toLowerCase()}static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"lowercase",type:Q,pure:!0,standalone:!0})}return Q})();const cn=/(?:[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 pn=(()=>{class Q{transform(oe){if(null==oe)return null;if("string"!=typeof oe)throw ki();return oe.replace(cn,ye=>ye[0].toUpperCase()+ye.slice(1).toLowerCase())}static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"titlecase",type:Q,pure:!0,standalone:!0})}return Q})(),Nn=(()=>{class Q{transform(oe){if(null==oe)return null;if("string"!=typeof oe)throw ki();return oe.toUpperCase()}static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"uppercase",type:Q,pure:!0,standalone:!0})}return Q})();const Oi=new t.InjectionToken(""),Ki=new t.InjectionToken("");let nr=(()=>{class Q{constructor(oe,ye,ut){this.locale=oe,this.defaultTimezone=ye,this.defaultOptions=ut}transform(oe,ye,ut,$t){if(null==oe||""===oe||oe!=oe)return null;try{return Pt(oe,ye??this.defaultOptions?.dateFormat??"mediumDate",$t||this.locale,ut??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Qt){throw ki()}}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.LOCALE_ID,16),t.\u0275\u0275directiveInject(Oi,24),t.\u0275\u0275directiveInject(Ki,24))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"date",type:Q,pure:!0,standalone:!0})}return Q})();const ni=/#/g;let un=(()=>{class Q{constructor(oe){this._localization=oe}transform(oe,ye,ut){if(null==oe)return"";if("object"!=typeof ye||null===ye)throw ki();return ye[ji(oe,Object.keys(ye),this._localization,ut)].replace(ni,oe.toString())}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(mi,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"i18nPlural",type:Q,pure:!0,standalone:!0})}return Q})(),En=(()=>{class Q{transform(oe,ye){if(null==oe)return"";if("object"!=typeof ye||"string"!=typeof oe)throw ki();return ye.hasOwnProperty(oe)?ye[oe]:ye.hasOwnProperty("other")?ye.other:""}static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"i18nSelect",type:Q,pure:!0,standalone:!0})}return Q})(),ci=(()=>{class Q{transform(oe){return JSON.stringify(oe,null,2)}static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"json",type:Q,pure:!1,standalone:!0})}return Q})(),Ui=(()=>{class Q{constructor(oe){this.differs=oe,this.keyValues=[],this.compareFn=dr}transform(oe,ye=dr){if(!oe||!(oe instanceof Map)&&"object"!=typeof oe)return null;this.differ??=this.differs.find(oe).create();const ut=this.differ.diff(oe),$t=ye!==this.compareFn;return ut&&(this.keyValues=[],ut.forEachItem(Qt=>{this.keyValues.push(function ar(Q,Ue){return{key:Q,value:Ue}}(Qt.key,Qt.currentValue))})),(ut||$t)&&(this.keyValues.sort(ye),this.compareFn=ye),this.keyValues}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.KeyValueDiffers,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"keyvalue",type:Q,pure:!1,standalone:!0})}return Q})();function dr(Q,Ue){const oe=Q.key,ye=Ue.key;if(oe===ye)return 0;if(void 0===oe)return 1;if(void 0===ye)return-1;if(null===oe)return 1;if(null===ye)return-1;if("string"==typeof oe&&"string"==typeof ye)return oe{class Q{constructor(oe){this._locale=oe}transform(oe,ye,ut){if(!qi(oe))return null;ut||=this._locale;try{return An(Rn(oe),ut,ye)}catch($t){throw ki()}}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.LOCALE_ID,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"number",type:Q,pure:!0,standalone:!0})}return Q})(),di=(()=>{class Q{constructor(oe){this._locale=oe}transform(oe,ye,ut){if(!qi(oe))return null;ut||=this._locale;try{return ln(Rn(oe),ut,ye)}catch($t){throw ki()}}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.LOCALE_ID,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"percent",type:Q,pure:!0,standalone:!0})}return Q})(),Hi=(()=>{class Q{constructor(oe,ye="USD"){this._locale=oe,this._defaultCurrencyCode=ye}transform(oe,ye=this._defaultCurrencyCode,ut="symbol",$t,Qt){if(!qi(oe))return null;Qt||=this._locale,"boolean"==typeof ut&&(ut=ut?"symbol":"code");let bn=ye||this._defaultCurrencyCode;"code"!==ut&&(bn="symbol"===ut||"symbol-narrow"===ut?q(bn,"symbol"===ut?"wide":"narrow",Qt):ut);try{return fn(Rn(oe),Qt,bn,ye,$t)}catch(Ri){throw ki()}}static#e=this.\u0275fac=function(ye){return new(ye||Q)(t.\u0275\u0275directiveInject(t.LOCALE_ID,16),t.\u0275\u0275directiveInject(t.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"currency",type:Q,pure:!0,standalone:!0})}return Q})();function qi(Q){return!(null==Q||""===Q||Q!=Q)}function Rn(Q){if("string"==typeof Q&&!isNaN(Number(Q)-parseFloat(Q)))return Number(Q);if("number"!=typeof Q)throw new Error(`${Q} is not a number`);return Q}let Sr=(()=>{class Q{transform(oe,ye,ut){if(null==oe)return null;if(!this.supports(oe))throw ki();return oe.slice(ye,ut)}supports(oe){return"string"==typeof oe||Array.isArray(oe)}static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"slice",type:Q,pure:!1,standalone:!0})}return Q})(),Ar=(()=>{class Q{static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:Q});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return Q})();const hi="browser",kr="server",Mt="browserWorkerApp",yt="browserWorkerUi";function It(Q){return Q===hi}function St(Q){return Q===kr}function Ft(Q){return Q===Mt}function jt(Q){return Q===yt}const en=new t.Version("17.2.1");let Zt=(()=>{class Q{static#e=this.\u0275prov=(0,t.\u0275\u0275defineInjectable)({token:Q,providedIn:"root",factory:()=>It((0,t.inject)(t.PLATFORM_ID))?new hn((0,t.inject)(s),window):new On})}return Q})();class hn{constructor(Ue,oe){this.document=Ue,this.window=oe,this.offset=()=>[0,0]}setOffset(Ue){this.offset=Array.isArray(Ue)?()=>Ue:Ue}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ue){this.window.scrollTo(Ue[0],Ue[1])}scrollToAnchor(Ue){const oe=function Sn(Q,Ue){const oe=Q.getElementById(Ue)||Q.getElementsByName(Ue)[0];if(oe)return oe;if("function"==typeof Q.createTreeWalker&&Q.body&&"function"==typeof Q.body.attachShadow){const ye=Q.createTreeWalker(Q.body,NodeFilter.SHOW_ELEMENT);let ut=ye.currentNode;for(;ut;){const $t=ut.shadowRoot;if($t){const Qt=$t.getElementById(Ue)||$t.querySelector(`[name="${Ue}"]`);if(Qt)return Qt}ut=ye.nextNode()}}return null}(this.document,Ue);oe&&(this.scrollToElement(oe),oe.focus())}setHistoryScrollRestoration(Ue){this.window.history.scrollRestoration=Ue}scrollToElement(Ue){const oe=Ue.getBoundingClientRect(),ye=oe.left+this.window.pageXOffset,ut=oe.top+this.window.pageYOffset,$t=this.offset();this.window.scrollTo(ye-$t[0],ut-$t[1])}}class On{setOffset(Ue){}getScrollPosition(){return[0,0]}scrollToPosition(Ue){}scrollToAnchor(Ue){}setHistoryScrollRestoration(Ue){}}class gi{}function Gn(Q){return/^https?:\/\//.test(Q)}function kn(Q){if("string"!=typeof Q||""===Q.trim())return!1;try{return new URL(Q),!0}catch{return!1}}function ir(Q){return Q.startsWith("/")?Q.slice(1):Q}const $i=Q=>Q.src,Or=new t.InjectionToken("",{providedIn:"root",factory:()=>$i});function fr(Q,Ue){return function(ye){return kn(ye)||function Ts(Q,Ue){throw new t.\u0275RuntimeError(2959,!1)}(),ye=function Ln(Q){return Q.endsWith("/")?Q.slice(0,-1):Q}(ye),[{provide:Or,useValue:Qt=>(Gn(Qt.src)&&function Br(Q,Ue){throw new t.\u0275RuntimeError(2959,!1)}(),Q(ye,{...Qt,src:ir(Qt.src)}))}]}}const Cr=fr(_s);function _s(Q,Ue){let oe="format=auto";return Ue.width&&(oe+=`,width=${Ue.width}`),`${Q}/cdn-cgi/image/${oe}/${Ue.src}`}const os=fr(As);function As(Q,Ue){let oe="f_auto,q_auto";return Ue.width&&(oe+=`,w_${Ue.width}`),`${Q}/image/upload/${oe}/${Ue.src}`}const we=fr(Se);function Se(Q,Ue){const{src:oe,width:ye}=Ue;let ut;return ut=ye?[Q,`tr:w-${ye}`,oe]:[Q,oe],ut.join("/")}const wn=fr(ei);function ei(Q,Ue){const oe=new URL(`${Q}/${Ue.src}`);return oe.searchParams.set("auto","format"),Ue.width&&oe.searchParams.set("w",Ue.width.toString()),oe.href}function Uo(Q){if(Q&&!kn(Q))throw new t.\u0275RuntimeError(2959,!1);return Q&&(Q=new URL(Q).origin),[{provide:Or,useValue:ye=>function vo(Q,Ue){const oe=new URL(Ue??"https://a/");oe.pathname="/.netlify/images",!Gn(Q.src)&&!Q.src.startsWith("/")&&(Q.src="/"+Q.src),oe.searchParams.set("url",Q.src),Q.width&&oe.searchParams.set("w",Q.width.toString());for(const[ye,ut]of Object.entries(Q.loaderParams??{}))_o.has(ye)&&oe.searchParams.set(_o.get(ye),ut.toString());return"a"===oe.hostname?oe.href.replace(oe.origin,""):oe.href}(ye,Q)}]}const _o=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]),Xr=new t.InjectionToken(""),ls=new t.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let Jr=(()=>{class Q{constructor(){this.preloadedImages=(0,t.inject)(ls),this.document=(0,t.inject)(s)}createPreloadLinkTag(oe,ye,ut,$t){if(this.preloadedImages.has(ye))return;this.preloadedImages.add(ye);const Qt=oe.createElement("link");oe.setAttribute(Qt,"as","image"),oe.setAttribute(Qt,"href",ye),oe.setAttribute(Qt,"rel","preload"),oe.setAttribute(Qt,"fetchpriority","high"),$t&&oe.setAttribute(Qt,"imageSizes",$t),ut&&oe.setAttribute(Qt,"imageSrcset",ut),oe.appendChild(this.document.head,Qt)}static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})();const jr=/^((\s*\d+w\s*(,|$)){1,})$/,to=[1,2];let Ls=(()=>{class Q{constructor(){this.imageLoader=(0,t.inject)(Or),this.config=function la(Q){let Ue={};return Q.breakpoints&&(Ue.breakpoints=Q.breakpoints.sort((oe,ye)=>oe-ye)),Object.assign({},t.\u0275IMAGE_CONFIG_DEFAULTS,Q,Ue)}((0,t.inject)(t.\u0275IMAGE_CONFIG)),this.renderer=(0,t.inject)(t.Renderer2),this.imgElement=(0,t.inject)(t.ElementRef).nativeElement,this.injector=(0,t.inject)(t.Injector),this.isServer=St((0,t.inject)(t.PLATFORM_ID)),this.preloadLinkCreator=(0,t.inject)(Jr),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,t.\u0275performanceMarkFeature)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this,this.imgElement,this.renderer),this.setHostAttributes()}setHostAttributes(){this.fill?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 oe=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),oe,this.sizes)}ngOnChanges(oe){if(oe.ngSrc&&!oe.ngSrc.isFirstChange()){const ye=this._renderedSrc;this.updateSrcAndSrcset(!0);const ut=this._renderedSrc;null!==this.lcpObserver&&ye&&ut&&ye!==ut&&this.injector.get(t.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(ye,ut)})}}callImageLoader(oe){let ye=oe;return this.loaderParams&&(ye.loaderParams=this.loaderParams),this.imageLoader(ye)}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 oe=jr.test(this.ngSrcset);return this.ngSrcset.split(",").filter(ut=>""!==ut).map(ut=>{ut=ut.trim();const $t=oe?parseFloat(ut):parseFloat(ut)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:$t})} ${ut}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:oe}=this.config;let ye=oe;return"100vw"===this.sizes?.trim()&&(ye=oe.filter($t=>$t>=640)),ye.map($t=>`${this.callImageLoader({src:this.ngSrc,width:$t})} ${$t}w`).join(", ")}updateSrcAndSrcset(oe=!1){oe&&(this._renderedSrc=null);const ye=this.getRewrittenSrc();let ut;return this.setHostAttribute("src",ye),this.ngSrcset?ut=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(ut=this.getAutomaticSrcset()),ut&&this.setHostAttribute("srcset",ut),ut}getFixedSrcset(){return to.map(ye=>`${this.callImageLoader({src:this.ngSrc,width:this.width*ye})} ${ye}x`).join(", ")}shouldGenerateAutomaticSrcset(){let oe=!1;return this.sizes||(oe=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==$i&&!oe}generatePlaceholder(oe){const{placeholderResolution:ye}=this.config;return!0===oe?`url(${this.callImageLoader({src:this.ngSrc,width:ye,isPlaceholder:!0})})`:"string"==typeof oe&&oe.startsWith("data:")?`url(${oe})`:null}shouldBlurPlaceholder(oe){return!oe||!oe.hasOwnProperty("blur")||!!oe.blur}removePlaceholderOnLoad(oe,ye,ut){const $t=ut.listen(ye,"load",()=>{$t(),Qt(),oe.placeholder=!1}),Qt=ut.listen(ye,"error",()=>{$t(),Qt(),oe.placeholder=!1})}ngOnDestroy(){}setHostAttribute(oe,ye){this.renderer.setAttribute(this.imgElement,oe,ye)}static#e=this.\u0275fac=function(ye){return new(ye||Q)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Q,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(ye,ut){2&ye&&t.\u0275\u0275styleProp("position",ut.fill?"absolute":null)("width",ut.fill?"100%":null)("height",ut.fill?"100%":null)("inset",ut.fill?"0":null)("background-size",ut.placeholder?"cover":null)("background-position",ut.placeholder?"50% 50%":null)("background-repeat",ut.placeholder?"no-repeat":null)("background-image",ut.placeholder?ut.generatePlaceholder(ut.placeholder):null)("filter",ut.placeholder&&ut.shouldBlurPlaceholder(ut.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"ngSrc","ngSrc",Wr],ngSrcset:"ngSrcset",sizes:"sizes",width:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"width","width",t.numberAttribute],height:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"height","height",t.numberAttribute],loading:"loading",priority:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"priority","priority",t.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",t.booleanAttribute],fill:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fill","fill",t.booleanAttribute],placeholder:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"placeholder","placeholder",ro],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature]})}return Q})();function Wr(Q){return"string"==typeof Q?Q:(0,t.\u0275unwrapSafeValue)(Q)}function ro(Q){return"string"==typeof Q&&Q.startsWith("data:")?Q:(0,t.booleanAttribute)(Q)}},7048:(De,te,g)=>{"use strict";g.r(te),g.d(te,{FetchBackend:()=>Je,HTTP_INTERCEPTORS:()=>Ke,HttpBackend:()=>h,HttpClient:()=>j,HttpClientJsonpModule:()=>Ye,HttpClientModule:()=>et,HttpClientXsrfModule:()=>Fe,HttpContext:()=>N,HttpContextToken:()=>T,HttpErrorResponse:()=>z,HttpEventType:()=>ee,HttpFeatureKind:()=>st,HttpHandler:()=>u,HttpHeaderResponse:()=>B,HttpHeaders:()=>p,HttpParams:()=>O,HttpRequest:()=>K,HttpResponse:()=>H,HttpResponseBase:()=>ne,HttpStatusCode:()=>X,HttpUrlEncodingCodec:()=>y,HttpXhrBackend:()=>Ot,HttpXsrfTokenExtractor:()=>nt,JsonpClientBackend:()=>on,JsonpInterceptor:()=>gn,provideHttpClient:()=>Pe,withFetch:()=>qe,withInterceptors:()=>bt,withInterceptorsFromDi:()=>$e,withJsonpSupport:()=>dt,withNoXsrfProtection:()=>kt,withRequestsMadeViaParent:()=>xt,withXsrfConfiguration:()=>Ge,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>Ie,\u0275HttpInterceptingHandler:()=>Xe,\u0275HttpInterceptorHandler:()=>Xe,\u0275PRIMARY_HTTP_BACKEND:()=>je,\u0275withHttpTransferCache:()=>ji});var t=g(1528),v=g(4496),C=g(2700),E=g(3252),c=g(9900),b=g(6020),s=g(6684),f=g(4704),d=g(8824),l=g(7368),a=g(9212),r=g(1368);class u{}class h{}class p{constructor(at){this.normalizedNames=new Map,this.lazyUpdate=null,at?"string"==typeof at?this.lazyInit=()=>{this.headers=new Map,at.split("\n").forEach(ae=>{const me=ae.indexOf(":");if(me>0){const Ae=ae.slice(0,me),_e=Ae.toLowerCase(),mt=ae.slice(me+1).trim();this.maybeSetNormalizedName(Ae,_e),this.headers.has(_e)?this.headers.get(_e).push(mt):this.headers.set(_e,[mt])}})}:typeof Headers<"u"&&at instanceof Headers?(this.headers=new Map,at.forEach((ae,me)=>{this.setHeaderEntries(me,ae)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(at).forEach(([ae,me])=>{this.setHeaderEntries(ae,me)})}:this.headers=new Map}has(at){return this.init(),this.headers.has(at.toLowerCase())}get(at){this.init();const ae=this.headers.get(at.toLowerCase());return ae&&ae.length>0?ae[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(at){return this.init(),this.headers.get(at.toLowerCase())||null}append(at,ae){return this.clone({name:at,value:ae,op:"a"})}set(at,ae){return this.clone({name:at,value:ae,op:"s"})}delete(at,ae){return this.clone({name:at,value:ae,op:"d"})}maybeSetNormalizedName(at,ae){this.normalizedNames.has(ae)||this.normalizedNames.set(ae,at)}init(){this.lazyInit&&(this.lazyInit instanceof p?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(at=>this.applyUpdate(at)),this.lazyUpdate=null))}copyFrom(at){at.init(),Array.from(at.headers.keys()).forEach(ae=>{this.headers.set(ae,at.headers.get(ae)),this.normalizedNames.set(ae,at.normalizedNames.get(ae))})}clone(at){const ae=new p;return ae.lazyInit=this.lazyInit&&this.lazyInit instanceof p?this.lazyInit:this,ae.lazyUpdate=(this.lazyUpdate||[]).concat([at]),ae}applyUpdate(at){const ae=at.name.toLowerCase();switch(at.op){case"a":case"s":let me=at.value;if("string"==typeof me&&(me=[me]),0===me.length)return;this.maybeSetNormalizedName(at.name,ae);const Ae=("a"===at.op?this.headers.get(ae):void 0)||[];Ae.push(...me),this.headers.set(ae,Ae);break;case"d":const _e=at.value;if(_e){let mt=this.headers.get(ae);if(!mt)return;mt=mt.filter(V=>-1===_e.indexOf(V)),0===mt.length?(this.headers.delete(ae),this.normalizedNames.delete(ae)):this.headers.set(ae,mt)}else this.headers.delete(ae),this.normalizedNames.delete(ae)}}setHeaderEntries(at,ae){const me=(Array.isArray(ae)?ae:[ae]).map(_e=>_e.toString()),Ae=at.toLowerCase();this.headers.set(Ae,me),this.maybeSetNormalizedName(at,Ae)}forEach(at){this.init(),Array.from(this.normalizedNames.keys()).forEach(ae=>at(this.normalizedNames.get(ae),this.headers.get(ae)))}}class y{encodeKey(at){return D(at)}encodeValue(at){return D(at)}decodeKey(at){return decodeURIComponent(at)}decodeValue(at){return decodeURIComponent(at)}}const w=/%(\d[a-f0-9])/gi,k={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function D(se){return encodeURIComponent(se).replace(w,(at,ae)=>k[ae]??at)}function I(se){return`${se}`}class O{constructor(at={}){if(this.updates=null,this.cloneFrom=null,this.encoder=at.encoder||new y,at.fromString){if(at.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M(se,at){const ae=new Map;return se.length>0&&se.replace(/^\?/,"").split("&").forEach(Ae=>{const _e=Ae.indexOf("="),[mt,V]=-1==_e?[at.decodeKey(Ae),""]:[at.decodeKey(Ae.slice(0,_e)),at.decodeValue(Ae.slice(_e+1))],he=ae.get(mt)||[];he.push(V),ae.set(mt,he)}),ae}(at.fromString,this.encoder)}else at.fromObject?(this.map=new Map,Object.keys(at.fromObject).forEach(ae=>{const me=at.fromObject[ae],Ae=Array.isArray(me)?me.map(I):[I(me)];this.map.set(ae,Ae)})):this.map=null}has(at){return this.init(),this.map.has(at)}get(at){this.init();const ae=this.map.get(at);return ae?ae[0]:null}getAll(at){return this.init(),this.map.get(at)||null}keys(){return this.init(),Array.from(this.map.keys())}append(at,ae){return this.clone({param:at,value:ae,op:"a"})}appendAll(at){const ae=[];return Object.keys(at).forEach(me=>{const Ae=at[me];Array.isArray(Ae)?Ae.forEach(_e=>{ae.push({param:me,value:_e,op:"a"})}):ae.push({param:me,value:Ae,op:"a"})}),this.clone(ae)}set(at,ae){return this.clone({param:at,value:ae,op:"s"})}delete(at,ae){return this.clone({param:at,value:ae,op:"d"})}toString(){return this.init(),this.keys().map(at=>{const ae=this.encoder.encodeKey(at);return this.map.get(at).map(me=>ae+"="+this.encoder.encodeValue(me)).join("&")}).filter(at=>""!==at).join("&")}clone(at){const ae=new O({encoder:this.encoder});return ae.cloneFrom=this.cloneFrom||this,ae.updates=(this.updates||[]).concat(at),ae}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(at=>this.map.set(at,this.cloneFrom.map.get(at))),this.updates.forEach(at=>{switch(at.op){case"a":case"s":const ae=("a"===at.op?this.map.get(at.param):void 0)||[];ae.push(I(at.value)),this.map.set(at.param,ae);break;case"d":if(void 0===at.value){this.map.delete(at.param);break}{let me=this.map.get(at.param)||[];const Ae=me.indexOf(I(at.value));-1!==Ae&&me.splice(Ae,1),me.length>0?this.map.set(at.param,me):this.map.delete(at.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(at){this.defaultValue=at}}class N{constructor(){this.map=new Map}set(at,ae){return this.map.set(at,ae),this}get(at){return this.map.has(at)||this.map.set(at,at.defaultValue()),this.map.get(at)}delete(at){return this.map.delete(at),this}has(at){return this.map.has(at)}keys(){return this.map.keys()}}function F(se){return typeof ArrayBuffer<"u"&&se instanceof ArrayBuffer}function L(se){return typeof Blob<"u"&&se instanceof Blob}function A(se){return typeof FormData<"u"&&se instanceof FormData}class K{constructor(at,ae,me,Ae){let _e;if(this.url=ae,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=at.toUpperCase(),function S(se){switch(se){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ae?(this.body=void 0!==me?me:null,_e=Ae):_e=me,_e&&(this.reportProgress=!!_e.reportProgress,this.withCredentials=!!_e.withCredentials,_e.responseType&&(this.responseType=_e.responseType),_e.headers&&(this.headers=_e.headers),_e.context&&(this.context=_e.context),_e.params&&(this.params=_e.params),this.transferCache=_e.transferCache),this.headers??=new p,this.context??=new N,this.params){const mt=this.params.toString();if(0===mt.length)this.urlWithParams=ae;else{const V=ae.indexOf("?");this.urlWithParams=ae+(-1===V?"?":Vwt.set(Yt,at.setHeaders[Yt]),he)),at.setParams&&(de=Object.keys(at.setParams).reduce((wt,Yt)=>wt.set(Yt,at.setParams[Yt]),de)),new K(ae,me,_e,{params:de,headers:he,context:We,reportProgress:V,responseType:Ae,withCredentials:mt})}}var ee=function(se){return se[se.Sent=0]="Sent",se[se.UploadProgress=1]="UploadProgress",se[se.ResponseHeader=2]="ResponseHeader",se[se.DownloadProgress=3]="DownloadProgress",se[se.Response=4]="Response",se[se.User=5]="User",se}(ee||{});class ne{constructor(at,ae=X.Ok,me="OK"){this.headers=at.headers||new p,this.status=void 0!==at.status?at.status:ae,this.statusText=at.statusText||me,this.url=at.url||null,this.ok=this.status>=200&&this.status<300}}class B extends ne{constructor(at={}){super(at),this.type=ee.ResponseHeader}clone(at={}){return new B({headers:at.headers||this.headers,status:void 0!==at.status?at.status:this.status,statusText:at.statusText||this.statusText,url:at.url||this.url||void 0})}}class H extends ne{constructor(at={}){super(at),this.type=ee.Response,this.body=void 0!==at.body?at.body:null}clone(at={}){return new H({body:void 0!==at.body?at.body:this.body,headers:at.headers||this.headers,status:void 0!==at.status?at.status:this.status,statusText:at.statusText||this.statusText,url:at.url||this.url||void 0})}}class z extends ne{constructor(at){super(at,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${at.url||"(unknown url)"}`:`Http failure response for ${at.url||"(unknown url)"}: ${at.status} ${at.statusText}`,this.error=at.error||null}}var X=function(se){return se[se.Continue=100]="Continue",se[se.SwitchingProtocols=101]="SwitchingProtocols",se[se.Processing=102]="Processing",se[se.EarlyHints=103]="EarlyHints",se[se.Ok=200]="Ok",se[se.Created=201]="Created",se[se.Accepted=202]="Accepted",se[se.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",se[se.NoContent=204]="NoContent",se[se.ResetContent=205]="ResetContent",se[se.PartialContent=206]="PartialContent",se[se.MultiStatus=207]="MultiStatus",se[se.AlreadyReported=208]="AlreadyReported",se[se.ImUsed=226]="ImUsed",se[se.MultipleChoices=300]="MultipleChoices",se[se.MovedPermanently=301]="MovedPermanently",se[se.Found=302]="Found",se[se.SeeOther=303]="SeeOther",se[se.NotModified=304]="NotModified",se[se.UseProxy=305]="UseProxy",se[se.Unused=306]="Unused",se[se.TemporaryRedirect=307]="TemporaryRedirect",se[se.PermanentRedirect=308]="PermanentRedirect",se[se.BadRequest=400]="BadRequest",se[se.Unauthorized=401]="Unauthorized",se[se.PaymentRequired=402]="PaymentRequired",se[se.Forbidden=403]="Forbidden",se[se.NotFound=404]="NotFound",se[se.MethodNotAllowed=405]="MethodNotAllowed",se[se.NotAcceptable=406]="NotAcceptable",se[se.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",se[se.RequestTimeout=408]="RequestTimeout",se[se.Conflict=409]="Conflict",se[se.Gone=410]="Gone",se[se.LengthRequired=411]="LengthRequired",se[se.PreconditionFailed=412]="PreconditionFailed",se[se.PayloadTooLarge=413]="PayloadTooLarge",se[se.UriTooLong=414]="UriTooLong",se[se.UnsupportedMediaType=415]="UnsupportedMediaType",se[se.RangeNotSatisfiable=416]="RangeNotSatisfiable",se[se.ExpectationFailed=417]="ExpectationFailed",se[se.ImATeapot=418]="ImATeapot",se[se.MisdirectedRequest=421]="MisdirectedRequest",se[se.UnprocessableEntity=422]="UnprocessableEntity",se[se.Locked=423]="Locked",se[se.FailedDependency=424]="FailedDependency",se[se.TooEarly=425]="TooEarly",se[se.UpgradeRequired=426]="UpgradeRequired",se[se.PreconditionRequired=428]="PreconditionRequired",se[se.TooManyRequests=429]="TooManyRequests",se[se.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",se[se.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",se[se.InternalServerError=500]="InternalServerError",se[se.NotImplemented=501]="NotImplemented",se[se.BadGateway=502]="BadGateway",se[se.ServiceUnavailable=503]="ServiceUnavailable",se[se.GatewayTimeout=504]="GatewayTimeout",se[se.HttpVersionNotSupported=505]="HttpVersionNotSupported",se[se.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",se[se.InsufficientStorage=507]="InsufficientStorage",se[se.LoopDetected=508]="LoopDetected",se[se.NotExtended=510]="NotExtended",se[se.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",se}(X||{});function G(se,at){return{body:at,headers:se.headers,context:se.context,observe:se.observe,params:se.params,reportProgress:se.reportProgress,responseType:se.responseType,withCredentials:se.withCredentials,transferCache:se.transferCache}}let j=(()=>{class se{constructor(ae){this.handler=ae}request(ae,me,Ae={}){let _e;if(ae instanceof K)_e=ae;else{let he,de;he=Ae.headers instanceof p?Ae.headers:new p(Ae.headers),Ae.params&&(de=Ae.params instanceof O?Ae.params:new O({fromObject:Ae.params})),_e=new K(ae,me,void 0!==Ae.body?Ae.body:null,{headers:he,context:Ae.context,params:de,reportProgress:Ae.reportProgress,responseType:Ae.responseType||"json",withCredentials:Ae.withCredentials,transferCache:Ae.transferCache})}const mt=(0,C.of)(_e).pipe((0,b.m)(he=>this.handler.handle(he)));if(ae instanceof K||"events"===Ae.observe)return mt;const V=mt.pipe((0,s.I)(he=>he instanceof H));switch(Ae.observe||"body"){case"body":switch(_e.responseType){case"arraybuffer":return V.pipe((0,f.k)(he=>{if(null!==he.body&&!(he.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return he.body}));case"blob":return V.pipe((0,f.k)(he=>{if(null!==he.body&&!(he.body instanceof Blob))throw new Error("Response is not a Blob.");return he.body}));case"text":return V.pipe((0,f.k)(he=>{if(null!==he.body&&"string"!=typeof he.body)throw new Error("Response is not a string.");return he.body}));default:return V.pipe((0,f.k)(he=>he.body))}case"response":return V;default:throw new Error(`Unreachable: unhandled observe type ${Ae.observe}}`)}}delete(ae,me={}){return this.request("DELETE",ae,me)}get(ae,me={}){return this.request("GET",ae,me)}head(ae,me={}){return this.request("HEAD",ae,me)}jsonp(ae,me){return this.request("JSONP",ae,{params:(new O).append(me,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ae,me={}){return this.request("OPTIONS",ae,me)}patch(ae,me,Ae={}){return this.request("PATCH",ae,G(Ae,me))}post(ae,me,Ae={}){return this.request("POST",ae,G(Ae,me))}put(ae,me,Ae={}){return this.request("PUT",ae,G(Ae,me))}static#e=this.\u0275fac=function(me){return new(me||se)(v.\u0275\u0275inject(u))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();const le=/^\)\]\}',?\n/;function ve(se){if(se.url)return se.url;const at="X-Request-URL".toLocaleLowerCase();return se.headers.get(at)}let Je=(()=>{class se{constructor(){this.fetchImpl=(0,v.inject)(_t,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,v.inject)(v.NgZone)}handle(ae){return new E._(me=>{const Ae=new AbortController;return this.doRequest(ae,Ae.signal,me).then(ct,_e=>me.error(new z({error:_e}))),()=>Ae.abort()})}doRequest(ae,me,Ae){var _e=this;return(0,t.c)(function*(){const mt=_e.createRequestInit(ae);let V;try{const Pn=_e.fetchImpl(ae.urlWithParams,{signal:me,...mt});(function Ct(se){se.then(ct,ct)})(Pn),Ae.next({type:ee.Sent}),V=yield Pn}catch(Pn){return void Ae.error(new z({error:Pn,status:Pn.status??0,statusText:Pn.statusText,url:ae.urlWithParams,headers:Pn.headers}))}const he=new p(V.headers),de=V.statusText,We=ve(V)??ae.urlWithParams;let wt=V.status,Yt=null;if(ae.reportProgress&&Ae.next(new B({headers:he,status:wt,statusText:de,url:We})),V.body){const Pn=V.headers.get("content-length"),Tn=[],vn=V.body.getReader();let tr,pi,oi=0;const sr=typeof Zone<"u"&&Zone.current;yield _e.ngZone.runOutsideAngular((0,t.c)(function*(){for(;;){const{done:Ai,value:Gi}=yield vn.read();if(Ai)break;if(Tn.push(Gi),oi+=Gi.length,ae.reportProgress){pi="text"===ae.responseType?(pi??"")+(tr??=new TextDecoder).decode(Gi,{stream:!0}):void 0;const or=()=>Ae.next({type:ee.DownloadProgress,total:Pn?+Pn:void 0,loaded:oi,partialText:pi});sr?sr.run(or):or()}}}));const Wi=_e.concatChunks(Tn,oi);try{const Ai=V.headers.get("Content-Type")??"";Yt=_e.parseBody(ae,Wi,Ai)}catch(Ai){return void Ae.error(new z({error:Ai,headers:new p(V.headers),status:V.status,statusText:V.statusText,url:ve(V)??ae.urlWithParams}))}}0===wt&&(wt=Yt?X.Ok:0),wt>=200&&wt<300?(Ae.next(new H({body:Yt,headers:he,status:wt,statusText:de,url:We})),Ae.complete()):Ae.error(new z({error:Yt,headers:he,status:wt,statusText:de,url:We}))})()}parseBody(ae,me,Ae){switch(ae.responseType){case"json":const _e=(new TextDecoder).decode(me).replace(le,"");return""===_e?null:JSON.parse(_e);case"text":return(new TextDecoder).decode(me);case"blob":return new Blob([me],{type:Ae});case"arraybuffer":return me.buffer}}createRequestInit(ae){const me={},Ae=ae.withCredentials?"include":void 0;if(ae.headers.forEach((_e,mt)=>me[_e]=mt.join(",")),me.Accept??="application/json, text/plain, */*",!me["Content-Type"]){const _e=ae.detectContentTypeHeader();null!==_e&&(me["Content-Type"]=_e)}return{body:ae.serializeBody(),method:ae.method,headers:me,credentials:Ae}}concatChunks(ae,me){const Ae=new Uint8Array(me);let _e=0;for(const mt of ae)Ae.set(mt,_e),_e+=mt.length;return Ae}static#e=this.\u0275fac=function(me){return new(me||se)};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();class _t{}function ct(){}function Re(se,at){return at(se)}function ke(se,at){return(ae,me)=>at.intercept(ae,{handle:Ae=>se(Ae,me)})}const Ke=new v.InjectionToken(""),Be=new v.InjectionToken(""),Ie=new v.InjectionToken(""),je=new v.InjectionToken("");function q(){let se=null;return(at,ae)=>{null===se&&(se=((0,v.inject)(Ke,{optional:!0})??[]).reduceRight(ke,Re));const me=(0,v.inject)(v.\u0275PendingTasks),Ae=me.add();return se(at,ae).pipe((0,d.U)(()=>me.remove(Ae)))}}let Ve,Xe=(()=>{class se extends u{constructor(ae,me){super(),this.backend=ae,this.injector=me,this.chain=null,this.pendingTasks=(0,v.inject)(v.\u0275PendingTasks);const Ae=(0,v.inject)(je,{optional:!0});this.backend=Ae??ae}handle(ae){if(null===this.chain){const Ae=Array.from(new Set([...this.injector.get(Be),...this.injector.get(Ie,[])]));this.chain=Ae.reduceRight((_e,mt)=>function fe(se,at,ae){return(me,Ae)=>(0,v.runInInjectionContext)(ae,()=>at(me,_e=>se(_e,Ae)))}(_e,mt,this.injector),Re)}const me=this.pendingTasks.add();return this.chain(ae,Ae=>this.backend.handle(Ae)).pipe((0,d.U)(()=>this.pendingTasks.remove(me)))}static#e=this.\u0275fac=function(me){return new(me||se)(v.\u0275\u0275inject(h),v.\u0275\u0275inject(v.EnvironmentInjector))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})(),ge=0;class Gt{}function rn(){return"object"==typeof window?window:{}}let on=(()=>{class se{constructor(ae,me){this.callbackMap=ae,this.document=me,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+ge++}handle(ae){if("JSONP"!==ae.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ae.responseType)throw new Error("JSONP requests must use Json response type.");if(ae.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new E._(me=>{const Ae=this.nextCallback(),_e=ae.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Ae}$1`),mt=this.document.createElement("script");mt.src=_e;let V=null,he=!1;this.callbackMap[Ae]=Yt=>{delete this.callbackMap[Ae],V=Yt,he=!0};const de=()=>{mt.parentNode&&mt.parentNode.removeChild(mt),delete this.callbackMap[Ae]};return mt.addEventListener("load",Yt=>{this.resolvedPromise.then(()=>{de(),he?(me.next(new H({body:V,status:X.Ok,statusText:"OK",url:_e})),me.complete()):me.error(new z({url:_e,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),mt.addEventListener("error",Yt=>{de(),me.error(new z({error:Yt,status:0,statusText:"JSONP Error",url:_e}))}),this.document.body.appendChild(mt),me.next({type:ee.Sent}),()=>{he||this.removeListeners(mt),de()}})}removeListeners(ae){Ve??=this.document.implementation.createHTMLDocument(),Ve.adoptNode(ae)}static#e=this.\u0275fac=function(me){return new(me||se)(v.\u0275\u0275inject(Gt),v.\u0275\u0275inject(r.DOCUMENT))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();function tn(se,at){return"JSONP"===se.method?(0,v.inject)(on).handle(se):at(se)}let gn=(()=>{class se{constructor(ae){this.injector=ae}intercept(ae,me){return(0,v.runInInjectionContext)(this.injector,()=>tn(ae,Ae=>me.handle(Ae)))}static#e=this.\u0275fac=function(me){return new(me||se)(v.\u0275\u0275inject(v.EnvironmentInjector))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();const Jt=/^\)\]\}',?\n/;let Ot=(()=>{class se{constructor(ae){this.xhrFactory=ae}handle(ae){if("JSONP"===ae.method)throw new v.\u0275RuntimeError(-2800,!1);const me=this.xhrFactory;return(me.\u0275loadImpl?(0,c.Q)(me.\u0275loadImpl()):(0,C.of)(null)).pipe((0,l.G)(()=>new E._(_e=>{const mt=me.build();if(mt.open(ae.method,ae.urlWithParams),ae.withCredentials&&(mt.withCredentials=!0),ae.headers.forEach((Tn,vn)=>mt.setRequestHeader(Tn,vn.join(","))),ae.headers.has("Accept")||mt.setRequestHeader("Accept","application/json, text/plain, */*"),!ae.headers.has("Content-Type")){const Tn=ae.detectContentTypeHeader();null!==Tn&&mt.setRequestHeader("Content-Type",Tn)}if(ae.responseType){const Tn=ae.responseType.toLowerCase();mt.responseType="json"!==Tn?Tn:"text"}const V=ae.serializeBody();let he=null;const de=()=>{if(null!==he)return he;const Tn=mt.statusText||"OK",vn=new p(mt.getAllResponseHeaders()),oi=function an(se){return"responseURL"in se&&se.responseURL?se.responseURL:/^X-Request-URL:/m.test(se.getAllResponseHeaders())?se.getResponseHeader("X-Request-URL"):null}(mt)||ae.url;return he=new B({headers:vn,status:mt.status,statusText:Tn,url:oi}),he},We=()=>{let{headers:Tn,status:vn,statusText:oi,url:tr}=de(),pi=null;vn!==X.NoContent&&(pi=typeof mt.response>"u"?mt.responseText:mt.response),0===vn&&(vn=pi?X.Ok:0);let sr=vn>=200&&vn<300;if("json"===ae.responseType&&"string"==typeof pi){const Wi=pi;pi=pi.replace(Jt,"");try{pi=""!==pi?JSON.parse(pi):null}catch(Ai){pi=Wi,sr&&(sr=!1,pi={error:Ai,text:pi})}}sr?(_e.next(new H({body:pi,headers:Tn,status:vn,statusText:oi,url:tr||void 0})),_e.complete()):_e.error(new z({error:pi,headers:Tn,status:vn,statusText:oi,url:tr||void 0}))},wt=Tn=>{const{url:vn}=de(),oi=new z({error:Tn,status:mt.status||0,statusText:mt.statusText||"Unknown Error",url:vn||void 0});_e.error(oi)};let Yt=!1;const Kn=Tn=>{Yt||(_e.next(de()),Yt=!0);let vn={type:ee.DownloadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(vn.total=Tn.total),"text"===ae.responseType&&mt.responseText&&(vn.partialText=mt.responseText),_e.next(vn)},Pn=Tn=>{let vn={type:ee.UploadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(vn.total=Tn.total),_e.next(vn)};return mt.addEventListener("load",We),mt.addEventListener("error",wt),mt.addEventListener("timeout",wt),mt.addEventListener("abort",wt),ae.reportProgress&&(mt.addEventListener("progress",Kn),null!==V&&mt.upload&&mt.upload.addEventListener("progress",Pn)),mt.send(V),_e.next({type:ee.Sent}),()=>{mt.removeEventListener("error",wt),mt.removeEventListener("abort",wt),mt.removeEventListener("load",We),mt.removeEventListener("timeout",wt),ae.reportProgress&&(mt.removeEventListener("progress",Kn),null!==V&&mt.upload&&mt.upload.removeEventListener("progress",Pn)),mt.readyState!==mt.DONE&&mt.abort()}})))}static#e=this.\u0275fac=function(me){return new(me||se)(v.\u0275\u0275inject(r.XhrFactory))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();const Ut=new v.InjectionToken(""),xe="XSRF-TOKEN",rt=new v.InjectionToken("",{providedIn:"root",factory:()=>xe}),lt="X-XSRF-TOKEN",At=new v.InjectionToken("",{providedIn:"root",factory:()=>lt});class nt{}let vt=(()=>{class se{constructor(ae,me,Ae){this.doc=ae,this.platform=me,this.cookieName=Ae,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ae=this.doc.cookie||"";return ae!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.\u0275parseCookieValue)(ae,this.cookieName),this.lastCookieString=ae),this.lastToken}static#e=this.\u0275fac=function(me){return new(me||se)(v.\u0275\u0275inject(r.DOCUMENT),v.\u0275\u0275inject(v.PLATFORM_ID),v.\u0275\u0275inject(rt))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();function Le(se,at){const ae=se.url.toLowerCase();if(!(0,v.inject)(Ut)||"GET"===se.method||"HEAD"===se.method||ae.startsWith("http://")||ae.startsWith("https://"))return at(se);const me=(0,v.inject)(nt).getToken(),Ae=(0,v.inject)(At);return null!=me&&!se.headers.has(Ae)&&(se=se.clone({headers:se.headers.set(Ae,me)})),at(se)}let He=(()=>{class se{constructor(ae){this.injector=ae}intercept(ae,me){return(0,v.runInInjectionContext)(this.injector,()=>Le(ae,Ae=>me.handle(Ae)))}static#e=this.\u0275fac=function(me){return new(me||se)(v.\u0275\u0275inject(v.EnvironmentInjector))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})();var st=function(se){return se[se.Interceptors=0]="Interceptors",se[se.LegacyInterceptors=1]="LegacyInterceptors",se[se.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",se[se.NoXsrfProtection=3]="NoXsrfProtection",se[se.JsonpSupport=4]="JsonpSupport",se[se.RequestsMadeViaParent=5]="RequestsMadeViaParent",se[se.Fetch=6]="Fetch",se}(st||{});function Te(se,at){return{\u0275kind:se,\u0275providers:at}}function Pe(...se){const at=[j,Ot,Xe,{provide:u,useExisting:Xe},{provide:h,useExisting:Ot},{provide:Be,useValue:Le,multi:!0},{provide:Ut,useValue:!0},{provide:nt,useClass:vt}];for(const ae of se)at.push(...ae.\u0275providers);return(0,v.makeEnvironmentProviders)(at)}function bt(se){return Te(st.Interceptors,se.map(at=>({provide:Be,useValue:at,multi:!0})))}const Me=new v.InjectionToken("");function $e(){return Te(st.LegacyInterceptors,[{provide:Me,useFactory:q},{provide:Be,useExisting:Me,multi:!0}])}function Ge({cookieName:se,headerName:at}){const ae=[];return void 0!==se&&ae.push({provide:rt,useValue:se}),void 0!==at&&ae.push({provide:At,useValue:at}),Te(st.CustomXsrfConfiguration,ae)}function kt(){return Te(st.NoXsrfProtection,[{provide:Ut,useValue:!1}])}function dt(){return Te(st.JsonpSupport,[on,{provide:Gt,useFactory:rn},{provide:Be,useValue:tn,multi:!0}])}function xt(){return Te(st.RequestsMadeViaParent,[{provide:h,useFactory:()=>(0,v.inject)(u,{skipSelf:!0,optional:!0})}])}function qe(){return Te(st.Fetch,[Je,{provide:h,useExisting:Je},{provide:je,useExisting:Je}])}let Fe=(()=>{class se{static disable(){return{ngModule:se,providers:[kt().\u0275providers]}}static withOptions(ae={}){return{ngModule:se,providers:Ge(ae).\u0275providers}}static#e=this.\u0275fac=function(me){return new(me||se)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:se});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({providers:[He,{provide:Ke,useExisting:He,multi:!0},{provide:nt,useClass:vt},Ge({cookieName:xe,headerName:lt}).\u0275providers,{provide:Ut,useValue:!0}]})}return se})(),et=(()=>{class se{static#e=this.\u0275fac=function(me){return new(me||se)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:se});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({providers:[Pe($e())]})}return se})(),Ye=(()=>{class se{static#e=this.\u0275fac=function(me){return new(me||se)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:se});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({providers:[dt().\u0275providers]})}return se})();const ft="b",Bt="h",qt="s",fn="st",ln="u",An="rt",fi=new v.InjectionToken(""),Si=["GET","HEAD"];function Fi(se,at){const{isCacheActive:ae,...me}=(0,v.inject)(fi),{transferCache:Ae,method:_e}=se;if(!ae||"POST"===_e&&!me.includePostRequests&&!Ae||"POST"!==_e&&!Si.includes(_e)||!1===Ae||!1===me.filter?.(se))return at(se);const mt=(0,v.inject)(v.TransferState),V=function Ji(se){const{params:at,method:ae,responseType:me,url:Ae,body:_e}=se,de=function mi(se){let at=0;for(const ae of se)at=Math.imul(31,at)+ae.charCodeAt(0)<<0;return at+=2147483648,at.toString()}([ae,me,Ae,"string"==typeof _e?_e:"",at.keys().sort().map(We=>`${We}=${at.getAll(We)}`).join("&")].join("|"));return(0,v.makeStateKey)(de)}(se),he=mt.get(V,null);let de=me.includeHeaders;if("object"==typeof Ae&&Ae.includeHeaders&&(de=Ae.includeHeaders),he){const{[ft]:We,[An]:wt,[Bt]:Yt,[qt]:Kn,[fn]:Pn,[ln]:Tn}=he;let vn=We;switch(wt){case"arraybuffer":vn=(new TextEncoder).encode(We).buffer;break;case"blob":vn=new Blob([We])}let oi=new p(Yt);return(0,C.of)(new H({body:vn,headers:oi,status:Kn,statusText:Pn,url:Tn}))}return at(se).pipe((0,a.y)(We=>{We instanceof H&&mt.set(V,{[ft]:We.body,[Bt]:si(We.headers,de),[qt]:We.status,[fn]:We.statusText,[ln]:We.url||"",[An]:se.responseType})}))}function si(se,at){if(!at)return{};const ae={};for(const me of at){const Ae=se.getAll(me);null!==Ae&&(ae[me]=Ae)}return ae}function ji(se){return[{provide:fi,useFactory:()=>((0,v.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...se})},{provide:Ie,useValue:Fi,multi:!0,deps:[v.TransferState,fi]},{provide:v.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const at=(0,v.inject)(v.ApplicationRef),ae=(0,v.inject)(fi);return()=>{(0,v.\u0275whenStable)(at).then(()=>{ae.isCacheActive=!1})}}}]}},4496:(De,te,g)=>{"use strict";g.r(te),g.d(te,{ANIMATION_MODULE_TYPE:()=>Kt,APP_BOOTSTRAP_LISTENER:()=>Sm,APP_ID:()=>gt,APP_INITIALIZER:()=>cC,AfterRenderPhase:()=>Ro,ApplicationInitStatus:()=>$u,ApplicationModule:()=>xS,ApplicationRef:()=>oa,Attribute:()=>Mp,COMPILER_OPTIONS:()=>_C,CSP_NONCE:()=>Pi,CUSTOM_ELEMENTS_SCHEMA:()=>l0,ChangeDetectionStrategy:()=>Fe,ChangeDetectorRef:()=>Th,Compiler:()=>nS,CompilerFactory:()=>iS,Component:()=>CT,ComponentFactory:()=>ou,ComponentFactoryResolver:()=>zl,ComponentRef:()=>ug,ContentChild:()=>TM,ContentChildren:()=>DM,DEFAULT_CURRENCY_CODE:()=>lS,DebugElement:()=>uc,DebugEventListener:()=>vS,DebugNode:()=>Rm,DefaultIterableDiffer:()=>_g,DestroyRef:()=>Wl,Directive:()=>Xy,ENVIRONMENT_INITIALIZER:()=>Go,ElementRef:()=>xs,EmbeddedViewRef:()=>_S,EnvironmentInjector:()=>zs,ErrorHandler:()=>Ao,EventEmitter:()=>Gt,Host:()=>Xm,HostBinding:()=>MT,HostListener:()=>IT,INJECTOR:()=>pd,Inject:()=>Zm,InjectFlags:()=>Jt,Injectable:()=>sw,InjectionToken:()=>ht,Injector:()=>ms,Input:()=>ET,IterableDiffers:()=>Ih,KeyValueDiffers:()=>Dh,LOCALE_ID:()=>Hu,MissingTranslationStrategy:()=>EC,ModuleWithComponentFactories:()=>gC,NO_ERRORS_SCHEMA:()=>c0,NgModule:()=>DT,NgModuleFactory:()=>M_,NgModuleRef:()=>qo,NgProbeToken:()=>tS,NgZone:()=>gr,Optional:()=>yc,Output:()=>xT,PACKAGE_ROOT_URL:()=>Lt,PLATFORM_ID:()=>In,PLATFORM_INITIALIZER:()=>Nt,Pipe:()=>wT,PlatformRef:()=>km,Query:()=>Kl,QueryList:()=>Hs,Renderer2:()=>yx,RendererFactory2:()=>hg,RendererStyleFlags2:()=>Hc,Sanitizer:()=>fg,SecurityContext:()=>Xo,Self:()=>Qm,SimpleChange:()=>ap,SkipSelf:()=>Cc,TRANSLATIONS:()=>cS,TRANSLATIONS_FORMAT:()=>uS,TemplateRef:()=>Bl,Testability:()=>eS,TestabilityRegistry:()=>oC,TransferState:()=>bl,Type:()=>sp,VERSION:()=>TT,Version:()=>Jy,ViewChild:()=>AM,ViewChildren:()=>SM,ViewContainerRef:()=>hu,ViewEncapsulation:()=>et,ViewRef:()=>AC,afterNextRender:()=>Rg,afterRender:()=>Og,asNativeElements:()=>bS,assertInInjectionContext:()=>Dc,assertNotInReactiveContext:()=>$x,assertPlatform:()=>DC,booleanAttribute:()=>nA,computed:()=>wx,contentChild:()=>EM,contentChildren:()=>xM,createComponent:()=>fA,createEnvironmentInjector:()=>T_,createNgModule:()=>I_,createNgModuleRef:()=>ZM,createPlatform:()=>xC,createPlatformFactory:()=>MC,defineInjectable:()=>re,destroyPlatform:()=>dS,effect:()=>Ig,enableProdMode:()=>mS,forwardRef:()=>Qi,getDebugNode:()=>cl,getModuleFactory:()=>pS,getNgModuleById:()=>gS,getPlatform:()=>zu,importProvidersFrom:()=>Jm,inject:()=>Ti,input:()=>gn,isDevMode:()=>fS,isSignal:()=>xh,isStandalone:()=>cn,makeEnvironmentProviders:()=>Ec,makeStateKey:()=>u1,mergeApplicationConfig:()=>pA,model:()=>IM,numberAttribute:()=>iA,platformCore:()=>ES,provideZoneChangeDetection:()=>CC,reflectComponentType:()=>mA,resolveForwardRef:()=>_n,runInInjectionContext:()=>D1,setTestabilityGetter:()=>aC,signal:()=>mg,untracked:()=>Mx,viewChild:()=>yM,viewChildren:()=>CM,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Om,\u0275AfterRenderEventManager:()=>Ba,\u0275CONTAINER_HEADER_OFFSET:()=>Gn,\u0275ChangeDetectionScheduler:()=>Eh,\u0275ComponentFactory:()=>ou,\u0275Console:()=>qy,\u0275DEFAULT_LOCALE_ID:()=>ra,\u0275DEFER_BLOCK_CONFIG:()=>W_,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>hI,\u0275DeferBlockBehavior:()=>Gh,\u0275DeferBlockState:()=>br,\u0275EffectScheduler:()=>Mg,\u0275IMAGE_CONFIG:()=>dn,\u0275IMAGE_CONFIG_DEFAULTS:()=>xn,\u0275INJECTOR_SCOPE:()=>bd,\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE:()=>ot,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>Tl,\u0275LContext:()=>e0,\u0275LifecycleHooksFeature:()=>Vg,\u0275LocaleDataIndex:()=>al,\u0275NG_COMP_DEF:()=>Si,\u0275NG_DIR_DEF:()=>Fi,\u0275NG_ELEMENT_ID:()=>ji,\u0275NG_INJ_DEF:()=>Ce,\u0275NG_MOD_DEF:()=>Ji,\u0275NG_PIPE_DEF:()=>si,\u0275NG_PROV_DEF:()=>R,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>au,\u0275NO_CHANGE:()=>ri,\u0275NgModuleFactory:()=>_u,\u0275NoopNgZone:()=>kh,\u0275PendingTasks:()=>Zl,\u0275ReflectionCapabilities:()=>op,\u0275Render3ComponentFactory:()=>Va,\u0275Render3ComponentRef:()=>$g,\u0275Render3NgModuleRef:()=>gu,\u0275RuntimeError:()=>be,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>zm,\u0275TESTABILITY:()=>rC,\u0275TESTABILITY_GETTER:()=>sC,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>uu,\u0275ViewRef:()=>Fa,\u0275XSS_SECURITY_URL:()=>q,\u0275_sanitizeHtml:()=>Wp,\u0275_sanitizeUrl:()=>Bc,\u0275allowSanitizationBypassAndThrow:()=>ka,\u0275annotateForHydration:()=>GS,\u0275bypassSanitizationTrustHtml:()=>fw,\u0275bypassSanitizationTrustResourceUrl:()=>_w,\u0275bypassSanitizationTrustScript:()=>pw,\u0275bypassSanitizationTrustStyle:()=>mw,\u0275bypassSanitizationTrustUrl:()=>gw,\u0275clearResolutionOfComponentResourcesQueue:()=>f_,\u0275compileComponent:()=>By,\u0275compileDirective:()=>Mm,\u0275compileNgModule:()=>Ry,\u0275compileNgModuleDefs:()=>Ly,\u0275compileNgModuleFactory:()=>vC,\u0275compilePipe:()=>Zy,\u0275convertToBitFlags:()=>_l,\u0275createInjector:()=>Pd,\u0275defaultIterableDiffers:()=>Nx,\u0275defaultKeyValueDiffers:()=>Fx,\u0275depsTracker:()=>$a,\u0275devModeEqual:()=>Eg,\u0275findLocaleData:()=>Sf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>ky,\u0275formatRuntimeError:()=>Oe,\u0275generateStandaloneInDeclarationsError:()=>Py,\u0275getAsyncClassMetadataFn:()=>KM,\u0275getDebugNode:()=>cl,\u0275getDeferBlocks:()=>$m,\u0275getDirectives:()=>ry,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>ks,\u0275getHostElement:()=>bm,\u0275getInjectableDef:()=>Qe,\u0275getLContext:()=>Yr,\u0275getLocaleCurrencyCode:()=>XI,\u0275getLocalePluralCase:()=>Zv,\u0275getSanitizationBypassType:()=>Up,\u0275getUnknownElementStrictMode:()=>Ww,\u0275getUnknownPropertyStrictMode:()=>Kw,\u0275global:()=>ft,\u0275injectChangeDetectorRef:()=>xg,\u0275internalAfterNextRender:()=>Oh,\u0275internalCreateApplication:()=>$S,\u0275isBoundToModule:()=>dC,\u0275isComponentDefPendingResolution:()=>OM,\u0275isEnvironmentProviders:()=>fs,\u0275isInjectable:()=>Et,\u0275isNgModule:()=>Lo,\u0275isPromise:()=>Tm,\u0275isSubscribable:()=>lC,\u0275noSideEffects:()=>Ye,\u0275output:()=>rn,\u0275patchComponentDefWithScope:()=>Em,\u0275performanceMarkFeature:()=>Oo,\u0275provideZonelessChangeDetection:()=>jS,\u0275readHydrationInfo:()=>dd,\u0275registerLocaleData:()=>QI,\u0275renderDeferBlockState:()=>fo,\u0275resetCompiledComponents:()=>uT,\u0275resetJitOptions:()=>aT,\u0275resolveComponentResources:()=>d_,\u0275restoreComponentResolutionQueue:()=>RM,\u0275setAllowDuplicateNgModuleIdsForTest:()=>UM,\u0275setAlternateWeakRefImpl:()=>NS,\u0275setClassDebugInfo:()=>Ay,\u0275setClassMetadata:()=>x_,\u0275setClassMetadataAsync:()=>YM,\u0275setCurrentInjector:()=>lo,\u0275setDocument:()=>W,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>as,\u0275setInjectorProfilerContext:()=>Cn,\u0275setLocaleId:()=>Af,\u0275setUnknownElementStrictMode:()=>zw,\u0275setUnknownPropertyStrictMode:()=>Gw,\u0275store:()=>Lb,\u0275stringify:()=>an,\u0275transitiveScopesFor:()=>sa,\u0275triggerResourceLoading:()=>xu,\u0275truncateMiddle:()=>Ut,\u0275unregisterLocaleData:()=>JI,\u0275unwrapSafeValue:()=>co,\u0275unwrapWritableSignal:()=>Ex,\u0275whenStable:()=>mC,\u0275withDomHydration:()=>eA,\u0275\u0275CopyDefinitionFeature:()=>v_,\u0275\u0275FactoryTarget:()=>Yo,\u0275\u0275HostDirectivesFeature:()=>b_,\u0275\u0275InheritDefinitionFeature:()=>Wh,\u0275\u0275InputFlags:()=>se,\u0275\u0275InputTransformsFeature:()=>E_,\u0275\u0275NgOnChangesFeature:()=>xd,\u0275\u0275ProvidersFeature:()=>Zb,\u0275\u0275StandaloneFeature:()=>Qb,\u0275\u0275advance:()=>O0,\u0275\u0275attribute:()=>tf,\u0275\u0275attributeInterpolate1:()=>nf,\u0275\u0275attributeInterpolate2:()=>rf,\u0275\u0275attributeInterpolate3:()=>sf,\u0275\u0275attributeInterpolate4:()=>af,\u0275\u0275attributeInterpolate5:()=>lf,\u0275\u0275attributeInterpolate6:()=>cf,\u0275\u0275attributeInterpolate7:()=>uf,\u0275\u0275attributeInterpolate8:()=>df,\u0275\u0275attributeInterpolateV:()=>hf,\u0275\u0275classMap:()=>Cv,\u0275\u0275classMapInterpolate1:()=>Tv,\u0275\u0275classMapInterpolate2:()=>Sv,\u0275\u0275classMapInterpolate3:()=>Av,\u0275\u0275classMapInterpolate4:()=>kv,\u0275\u0275classMapInterpolate5:()=>Ov,\u0275\u0275classMapInterpolate6:()=>Rv,\u0275\u0275classMapInterpolate7:()=>Lv,\u0275\u0275classMapInterpolate8:()=>Pv,\u0275\u0275classMapInterpolateV:()=>Nv,\u0275\u0275classProp:()=>bf,\u0275\u0275componentInstance:()=>Fv,\u0275\u0275conditional:()=>Vv,\u0275\u0275contentQuery:()=>Db,\u0275\u0275contentQuerySignal:()=>kb,\u0275\u0275defer:()=>K_,\u0275\u0275deferEnableTimerScheduling:()=>G_,\u0275\u0275deferOnHover:()=>nv,\u0275\u0275deferOnIdle:()=>Q_,\u0275\u0275deferOnImmediate:()=>J_,\u0275\u0275deferOnInteraction:()=>rv,\u0275\u0275deferOnTimer:()=>ev,\u0275\u0275deferOnViewport:()=>ov,\u0275\u0275deferPrefetchOnHover:()=>iv,\u0275\u0275deferPrefetchOnIdle:()=>X_,\u0275\u0275deferPrefetchOnImmediate:()=>q_,\u0275\u0275deferPrefetchOnInteraction:()=>sv,\u0275\u0275deferPrefetchOnTimer:()=>tv,\u0275\u0275deferPrefetchOnViewport:()=>av,\u0275\u0275deferPrefetchWhen:()=>Z_,\u0275\u0275deferWhen:()=>Y_,\u0275\u0275defineComponent:()=>Gi,\u0275\u0275defineDirective:()=>Wn,\u0275\u0275defineInjectable:()=>Z,\u0275\u0275defineInjector:()=>Ee,\u0275\u0275defineNgModule:()=>ki,\u0275\u0275definePipe:()=>Zn,\u0275\u0275directiveInject:()=>La,\u0275\u0275disableBindings:()=>Ns,\u0275\u0275element:()=>Mf,\u0275\u0275elementContainer:()=>If,\u0275\u0275elementContainerEnd:()=>Au,\u0275\u0275elementContainerStart:()=>Su,\u0275\u0275elementEnd:()=>Tu,\u0275\u0275elementStart:()=>Du,\u0275\u0275enableBindings:()=>Ps,\u0275\u0275getComponentDepsFactory:()=>Sy,\u0275\u0275getCurrentView:()=>Yv,\u0275\u0275getInheritedFactory:()=>Ep,\u0275\u0275hostProperty:()=>Df,\u0275\u0275i18n:()=>vb,\u0275\u0275i18nApply:()=>yb,\u0275\u0275i18nAttributes:()=>bb,\u0275\u0275i18nEnd:()=>Lf,\u0275\u0275i18nExp:()=>Pf,\u0275\u0275i18nPostprocess:()=>Cb,\u0275\u0275i18nStart:()=>Rf,\u0275\u0275inject:()=>$r,\u0275\u0275injectAttribute:()=>Rd,\u0275\u0275invalidFactory:()=>L0,\u0275\u0275invalidFactoryDep:()=>ed,\u0275\u0275listener:()=>Nf,\u0275\u0275loadQuery:()=>Ab,\u0275\u0275namespaceHTML:()=>ca,\u0275\u0275namespaceMathML:()=>Kr,\u0275\u0275namespaceSVG:()=>ws,\u0275\u0275nextContext:()=>xb,\u0275\u0275ngDeclareClassMetadata:()=>sA,\u0275\u0275ngDeclareComponent:()=>oA,\u0275\u0275ngDeclareDirective:()=>rA,\u0275\u0275ngDeclareFactory:()=>aA,\u0275\u0275ngDeclareInjectable:()=>cA,\u0275\u0275ngDeclareInjector:()=>uA,\u0275\u0275ngDeclareNgModule:()=>dA,\u0275\u0275ngDeclarePipe:()=>hA,\u0275\u0275pipe:()=>wy,\u0275\u0275pipeBind1:()=>Ey,\u0275\u0275pipeBind2:()=>xy,\u0275\u0275pipeBind3:()=>My,\u0275\u0275pipeBind4:()=>Iy,\u0275\u0275pipeBindV:()=>Dy,\u0275\u0275projection:()=>Ib,\u0275\u0275projectionDef:()=>Mb,\u0275\u0275property:()=>gf,\u0275\u0275propertyInterpolate:()=>Bf,\u0275\u0275propertyInterpolate1:()=>Pu,\u0275\u0275propertyInterpolate2:()=>$f,\u0275\u0275propertyInterpolate3:()=>Vf,\u0275\u0275propertyInterpolate4:()=>jf,\u0275\u0275propertyInterpolate5:()=>Hf,\u0275\u0275propertyInterpolate6:()=>zf,\u0275\u0275propertyInterpolate7:()=>Wf,\u0275\u0275propertyInterpolate8:()=>Gf,\u0275\u0275propertyInterpolateV:()=>Kf,\u0275\u0275pureFunction0:()=>ay,\u0275\u0275pureFunction1:()=>ly,\u0275\u0275pureFunction2:()=>cy,\u0275\u0275pureFunction3:()=>uy,\u0275\u0275pureFunction4:()=>dy,\u0275\u0275pureFunction5:()=>hy,\u0275\u0275pureFunction6:()=>fy,\u0275\u0275pureFunction7:()=>my,\u0275\u0275pureFunction8:()=>py,\u0275\u0275pureFunctionV:()=>gy,\u0275\u0275queryAdvance:()=>Rb,\u0275\u0275queryRefresh:()=>Sb,\u0275\u0275reference:()=>Pb,\u0275\u0275registerNgModuleType:()=>zh,\u0275\u0275repeater:()=>Wv,\u0275\u0275repeaterCreate:()=>zv,\u0275\u0275repeaterTrackByIdentity:()=>Hv,\u0275\u0275repeaterTrackByIndex:()=>jv,\u0275\u0275resetView:()=>Us,\u0275\u0275resolveBody:()=>Qd,\u0275\u0275resolveDocument:()=>f0,\u0275\u0275resolveWindow:()=>h0,\u0275\u0275restoreView:()=>Lr,\u0275\u0275sanitizeHtml:()=>Gp,\u0275\u0275sanitizeResourceUrl:()=>Hd,\u0275\u0275sanitizeScript:()=>Yp,\u0275\u0275sanitizeStyle:()=>Kp,\u0275\u0275sanitizeUrl:()=>jd,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Xp,\u0275\u0275setComponentScope:()=>Xb,\u0275\u0275setNgModuleScope:()=>Jb,\u0275\u0275styleMap:()=>Ms,\u0275\u0275styleMapInterpolate1:()=>Nb,\u0275\u0275styleMapInterpolate2:()=>Fb,\u0275\u0275styleMapInterpolate3:()=>Ub,\u0275\u0275styleMapInterpolate4:()=>Bb,\u0275\u0275styleMapInterpolate5:()=>$b,\u0275\u0275styleMapInterpolate6:()=>Vb,\u0275\u0275styleMapInterpolate7:()=>jb,\u0275\u0275styleMapInterpolate8:()=>Hb,\u0275\u0275styleMapInterpolateV:()=>zb,\u0275\u0275styleProp:()=>vf,\u0275\u0275stylePropInterpolate1:()=>Yf,\u0275\u0275stylePropInterpolate2:()=>Zf,\u0275\u0275stylePropInterpolate3:()=>Qf,\u0275\u0275stylePropInterpolate4:()=>Xf,\u0275\u0275stylePropInterpolate5:()=>Jf,\u0275\u0275stylePropInterpolate6:()=>qf,\u0275\u0275stylePropInterpolate7:()=>em,\u0275\u0275stylePropInterpolate8:()=>tm,\u0275\u0275stylePropInterpolateV:()=>nm,\u0275\u0275syntheticHostListener:()=>Ff,\u0275\u0275syntheticHostProperty:()=>Tf,\u0275\u0275template:()=>Ha,\u0275\u0275templateRefExtractor:()=>Ty,\u0275\u0275text:()=>Wb,\u0275\u0275textInterpolate:()=>im,\u0275\u0275textInterpolate1:()=>Nu,\u0275\u0275textInterpolate2:()=>rm,\u0275\u0275textInterpolate3:()=>sm,\u0275\u0275textInterpolate4:()=>om,\u0275\u0275textInterpolate5:()=>am,\u0275\u0275textInterpolate6:()=>lm,\u0275\u0275textInterpolate7:()=>cm,\u0275\u0275textInterpolate8:()=>um,\u0275\u0275textInterpolateV:()=>dm,\u0275\u0275trustConstantHtml:()=>Zp,\u0275\u0275trustConstantResourceUrl:()=>Qp,\u0275\u0275twoWayBindingSet:()=>Kb,\u0275\u0275twoWayListener:()=>fm,\u0275\u0275twoWayProperty:()=>hm,\u0275\u0275validateIframeAttribute:()=>g_,\u0275\u0275viewQuery:()=>Tb,\u0275\u0275viewQuerySignal:()=>Ob});var t=g(1528);function v(e,n){return Object.is(e,n)}let C=null,E=!1,c=1;const b=Symbol("SIGNAL");function s(e){const n=C;return C=e,n}const a={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function r(e){if(E)throw new Error("");if(null===C)return;C.consumerOnSignalRead(e);const n=C.nextProducerIndex++;N(C),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function k(e){N(e);for(let n=0;n0}function N(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function S(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function F(e){const n=Object.create(K);n.computation=e;const i=()=>{if(h(n),r(n),n.value===U)throw n.error;return n.value};return i[b]=n,i}const L=Symbol("UNSET"),A=Symbol("COMPUTING"),U=Symbol("ERRORED"),K={...a,value:L,dirty:!0,error:null,equal:v,producerMustRecompute:e=>e.value===L||e.value===A,producerRecomputeValue(e){if(e.value===A)throw new Error("Detected cycle in computations.");const n=e.value;e.value=A;const i=M(e);let o;try{o=e.computation()}catch(m){o=U,e.error=m}finally{w(e,i)}n!==L&&n!==U&&o!==U&&e.equal(n,o)?e.value=n:(e.value=o,e.version++)}};let ne=function ee(){throw new Error};function B(){ne()}let z=null;function le(e,n){_()||B(),e.equal(e.value,n)||(e.value=n,function Je(e){e.version++,function u(){c++}(),p(e),z?.()}(e))}const ve={...a,equal:v,value:void 0};const ct=()=>{},Ct={...a,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:ct};var ke=g(5657),fe=g(6928),Ke=g(6700),Be=g(4704),Ie=g(5084);const q="https://g.co/ng/security#xss";class be extends Error{constructor(n,i){super(Oe(n,i)),this.code=n}}function Oe(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}const Xe=Symbol("InputSignalNode#UNSET"),ge={...ve,transformFn:void 0,applyValueToInputSignal(e,n){le(e,n)}},ot=Symbol();function ze(e,n){const i=Object.create(ge);function o(){if(r(i),i.value===Xe)throw new be(-950,!1);return i.value}return i.value=e,i.transformFn=n?.transform,o[b]=i,o}function Pt(e){return n=>{setTimeout(e,void 0,n)}}const Gt=class pt extends ke.E{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,i,o){let m=n,x=i||(()=>null),P=o;if(n&&"object"==typeof n){const J=n;m=J.next?.bind(J),x=J.error?.bind(J),P=J.complete?.bind(J)}this.__isAsync&&(x=Pt(x),m&&(m=Pt(m)),P&&(P=Pt(P)));const $=super.subscribe({next:m,error:x,complete:P});return n instanceof fe.wH&&n.add($),$}};function rn(e){return new Gt}function on(e,n){return ze(e,n)}const gn=(on.required=function tn(e){return ze(Xe,e)},on);var Jt=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}(Jt||{});function an(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(an).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const i=n.indexOf("\n");return-1===i?n:n.substring(0,i)}function Ot(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}function Ut(e,n=100){if(!e||n<1||e.length<=n)return e;if(1==n)return e.substring(0,1)+"...";const i=Math.round(n/2);return e.substring(0,i)+"..."+e.substring(e.length-i)}function Ge(e,n,i,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${i} ${o} ${n} <=Actual]`))}var Fe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Fe||{}),et=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(et||{});function Ye(e){return{toString:e}.toString()}const ft=globalThis,fn={},ln=[];function An(e){for(let n in e)if(e[n]===An)return n;throw Error("Could not find renamed property on target object.")}function fi(e,n){for(const i in n)n.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=n[i])}const Si=An({\u0275cmp:An}),Fi=An({\u0275dir:An}),si=An({\u0275pipe:An}),Ji=An({\u0275mod:An}),mi=An({\u0275fac:An}),ji=An({__NG_ELEMENT_ID__:An}),rr=An({__NG_ENV_ID__:An});var se=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(se||{});function at(e,n,i){let o=e.length;for(;;){const m=e.indexOf(n,i);if(-1===m)return m;if(0===m||e.charCodeAt(m-1)<=32){const x=n.length;if(m+x===o||e.charCodeAt(m+x)<=32)return m}i=m+1}}function ae(e,n,i){let o=0;for(;on){P=x-1;break}}}for(;xx?"":m[it+1].toLowerCase();const Rt=8&o?Dt:null;if(Rt&&-1!==at(Rt,pe,0)||2&o&&pe!==Dt){if(Yt(o))return!1;P=!0}}}}else{if(!P&&!Yt(o)&&!Yt(J))return!1;if(P&&Yt(J))continue;P=!1,o=J|1&o}}return Yt(o)||P}function Yt(e){return 0==(1&e)}function Kn(e,n,i,o){if(null===n)return-1;let m=0;if(o||!i){let x=!1;for(;m-1)for(i++;i0?'="'+$+'"':"")+"]"}else 8&o?m+="."+P:4&o&&(m+=" "+P);else""!==m&&!Yt(P)&&(n+=pi(x,m),m=""),o=P,x=x||!Yt(o);i++}return""!==m&&(n+=pi(x,m)),n}function Gi(e){return Ye(()=>{const n=Nn(e),i={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Fe.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||et.Emulated,styles:e.styles||ln,_:null,schemas:e.schemas||null,tView:null,id:""};Fn(i);const o=e.dependencies;return i.directiveDefs=Oi(o,!1),i.pipeDefs=Oi(o,!0),i.id=function nr(e){let n=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 m of i)n=Math.imul(31,n)+m.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(i),i})}function or(e){return Dn(e)||Qn(e)}function Vn(e){return null!==e}function ki(e){return Ye(()=>({type:e.type,bootstrap:e.bootstrap||ln,declarations:e.declarations||ln,imports:e.imports||ln,exports:e.exports||ln,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Yn(e,n){if(null==e)return fn;const i={};for(const o in e)if(e.hasOwnProperty(o)){const m=e[o];let x,P,$=se.None;Array.isArray(m)?($=m[0],x=m[1],P=m[2]??x):(x=m,P=m),n?(i[x]=$!==se.None?[o,$]:o,n[x]=P):i[x]=o}return i}function Wn(e){return Ye(()=>{const n=Nn(e);return Fn(n),n})}function Zn(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 Dn(e){return e[Si]||null}function Qn(e){return e[Fi]||null}function ui(e){return e[si]||null}function cn(e){const n=Dn(e)||Qn(e)||ui(e);return null!==n&&n.standalone}function pn(e,n){const i=e[Ji]||null;if(!i&&!0===n)throw new Error(`Type ${an(e)} does not have '\u0275mod' property.`);return i}function Nn(e){const n={};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:n,inputTransforms:null,inputConfig:e.inputs||fn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ln,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Yn(e.inputs,n),outputs:Yn(e.outputs),debugInfo:null}}function Fn(e){e.features?.forEach(n=>n(e))}function Oi(e,n){if(!e)return null;const i=n?ui:or;return()=>("function"==typeof e?e():e).map(o=>i(o)).filter(Vn)}const Ki=new Map,ni=0,un=1,En=2,ci=3,ar=4,Ui=5,dr=6,hr=7,di=8,Hi=9,qi=10,Rn=11,Sr=12,rs=13,Ar=14,hi=15,kr=16,Mt=17,yt=18,It=19,St=20,Ft=21,jt=22,en=23,Zt=25,hn=1,Sn=6,On=7,jn=9,Gn=10;var Bn=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Bn||{});function kn(e){return Array.isArray(e)&&"object"==typeof e[hn]}function Ln(e){return Array.isArray(e)&&!0===e[hn]}function ir(e){return 0!=(4&e.flags)}function $i(e){return e.componentOffset>-1}function Or(e){return 1==(1&e.flags)}function fr(e){return!!e.template}function Ts(e){return 0!=(512&e[En])}function Br(e){return 16==(16&e.type)}function _s(e){return 256==(256&e[En])}const bi="svg",Qs="math";let Xs=!1;function ks(){return Xs}function as(e){Xs=e}function Bi(e){for(;Array.isArray(e);)e=e[ni];return e}function Xr(e){for(;Array.isArray(e);){if("object"==typeof e[hn])return e;e=e[ni]}return null}function Os(e,n){return Bi(n[e])}function lr(e,n){return Bi(n[e.index])}function ls(e,n){return e.data[n]}function Jr(e,n){return e[n]}function cr(e,n){const i=n[e];return kn(i)?i:i[ni]}function qs(e){return 128==(128&e[En])}function Vi(e,n){return null==n?null:e[n]}function to(e){e[Mt]=0}function bs(e){1024&e[En]||(e[En]|=1024,qs(e)&&us(e))}function no(e,n){for(;e>0;)n=n[Ar],e--;return n}function ys(e){return!!(9216&e[En]||e[en]?.dirty)}function cs(e){ys(e)?us(e):64&e[En]&&(ks()?(e[En]|=1024,us(e)):e[qi].changeDetectionScheduler?.notify())}function us(e){e[qi].changeDetectionScheduler?.notify();let n=Hr(e);for(;null!==n&&!(8192&n[En])&&(n[En]|=8192,qs(n));)n=Hr(n)}function Rs(e,n){if(256==(256&e[En]))throw new be(911,!1);null===e[Ft]&&(e[Ft]=[]),e[Ft].push(n)}function Cs(e,n){if(null===e[Ft])return;const i=e[Ft].indexOf(n);-1!==i&&e[Ft].splice(i,1)}function Hr(e){const n=e[ci];return Ln(n)?n[ci]:n}const Un={lFrame:er(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function zr(){return Un.bindingsEnabled}function qr(){return null!==Un.skipHydrationRootTNode}function Ps(){Un.bindingsEnabled=!0}function Ns(){Un.bindingsEnabled=!1}function Xt(){return Un.lFrame.lView}function Hn(){return Un.lFrame.tView}function Lr(e){return Un.lFrame.contextLView=e,e[di]}function Us(e){return Un.lFrame.contextLView=null,e}function yi(){let e=Co();for(;null!==e&&64===e.type;)e=e.parent;return e}function Co(){return Un.lFrame.currentTNode}function ds(){const e=Un.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function wr(e,n){const i=Un.lFrame;i.currentTNode=e,i.isParent=n}function Bs(){return Un.lFrame.isParent}function $s(){Un.lFrame.isParent=!1}function Zi(){const e=Un.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Wr(){return Un.lFrame.bindingIndex}function ro(e){return Un.lFrame.bindingIndex=e}function Q(){return Un.lFrame.bindingIndex++}function Ue(e){const n=Un.lFrame,i=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,i}function ye(e){Un.lFrame.inI18n=e}function ut(e,n){const i=Un.lFrame;i.bindingIndex=i.bindingRootIndex=e,Qt(n)}function Qt(e){Un.lFrame.currentDirectiveIndex=e}function bn(e){const n=Un.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function Ri(){return Un.lFrame.currentQueryIndex}function Jn(e){Un.lFrame.currentQueryIndex=e}function Li(e){const n=e[un];return 2===n.type?n.declTNode:1===n.type?e[Ui]:null}function qn(e,n,i){if(i&Jt.SkipSelf){let m=n,x=e;for(;!(m=m.parent,null!==m||i&Jt.Host||(m=Li(x),null===m||(x=x[Ar],10&m.type))););if(null===m)return!1;n=m,e=x}const o=Un.lFrame=wi();return o.currentTNode=n,o.lView=e,!0}function Ci(e){const n=wi(),i=e[un];Un.lFrame=n,n.currentTNode=i.firstChild,n.lView=e,n.tView=i,n.contextLView=e,n.bindingIndex=i.bindingStartIndex,n.inI18n=!1}function wi(){const e=Un.lFrame,n=null===e?null:e.child;return null===n?er(e):n}function er(e){const n={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=n),n}function Pr(){const e=Un.lFrame;return Un.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Nr=Pr;function es(){const e=Pr();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 zi(){return Un.lFrame.selectedIndex}function mr(e){Un.lFrame.selectedIndex=e}function _i(){const e=Un.lFrame;return ls(e.tView,e.selectedIndex)}function ws(){Un.lFrame.currentNamespace=bi}function Kr(){Un.lFrame.currentNamespace=Qs}function ca(){!function fc(){Un.lFrame.currentNamespace=null}()}function ua(){return Un.lFrame.currentNamespace}let da=!0;function so(){return da}function pr(e){da=e}function Vo(){return Es(yi(),Xt())}function Es(e,n){return new xs(lr(e,n))}let xs=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=Vo}return e})();function ha(e){return e instanceof xs?e.nativeElement:e}function ur(e){return e.flat(Number.POSITIVE_INFINITY)}function hs(e,n){e.forEach(i=>Array.isArray(i)?hs(i,n):n(i))}function xo(e,n,i){n>=e.length?e.push(i):e.splice(n,0,i)}function Mo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Vs(e,n){const i=[];for(let o=0;on;)e[m]=e[m-2],m--;e[n]=i,e[n+1]=o}}function Fr(e,n,i){let o=js(e,n);return o>=0?e[1|o]=i:(o=~o,oo(e,o,n,i)),o}function Ho(e,n){const i=js(e,n);if(i>=0)return e[1|i]}function js(e,n){return function ma(e,n,i){let o=0,m=e.length>>i;for(;m!==o;){const x=o+(m-o>>1),P=e[x<n?m=x:o=x+1}return~(m<zt}),zt="ng",Nt=new ht(""),In=new ht("",{providedIn:"platform",factory:()=>"unknown"}),Lt=new ht(""),Kt=new ht(""),Pi=new ht("",{providedIn:"root",factory:()=>ie().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),xn={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},dn=new ht("",{providedIn:"root",factory:()=>xn}),zn=An({__forward_ref__:An});function Qi(e){return e.__forward_ref__=Qi,e.toString=function(){return an(this())},e}function _n(e){return ii(e)?e():e}function ii(e){return"function"==typeof e&&e.hasOwnProperty(zn)&&e.__forward_ref__===Qi}let Ni,Ju;function Cn(e){Ge("setInjectorProfilerContext should never be called in production mode");const n=Ni;return Ni=e,n}function fs(e){return e&&!!e.\u0275providers}function Xn(e){return"string"==typeof e?e:null==e?"":String(e)}function xi(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Xn(e)}function Xu(e,n){throw new be(-201,!1)}function Vm(){return Ju}function ts(e){const n=Ju;return Ju=e,n}function jm(e,n,i){const o=Qe(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&Jt.Optional?null:void 0!==n?n:void Xu()}const gl={},qu="__NG_DI_FLAG__",pc="ngTempTokenPath",n1=/\n/gm,Hm="__source";let _a;function lo(e){const n=_a;return _a=e,n}function o1(e,n=Jt.Default){if(void 0===_a)throw new be(-203,!1);return null===_a?jm(e,void 0,n):_a.get(e,n&Jt.Optional?null:void 0,n)}function $r(e,n=Jt.Default){return(Vm()||o1)(_n(e),n)}function ed(e){throw new be(202,!1)}function Ti(e,n=Jt.Default){return $r(e,_l(n))}function _l(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function td(e){const n=[];for(let i=0;i{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:d1});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 f1(e,n,i=!1){let o=e.getAttribute(Cl);if(null==o)return null;const[m,x]=o.split("|");if(o=i?x:m,!o)return null;const $=i?m:x?`|${x}`:"";let J={};if(""!==o){const Ne=n.get(bl,null,{optional:!0});null!==Ne&&(J=Ne.get(ld,[])[Number(o)])}const pe={data:J,firstChild:e.firstChild??null};return i&&(pe.firstChild=e,vc(pe,0,e.nextSibling)),$?e.setAttribute(Cl,$):e.removeAttribute(Cl),pe}function cd(e,n,i=!1){return Wm(e,n,i)}function Gm(e){let n=e._lView;return 2===n[un].type?null:(Ts(n)&&(n=n[Zt]),n)}const Km="__ngDebugHydrationInfo__";function dd(e){return e[Km]??null}function vc(e,n,i){e.segmentHeads??={},e.segmentHeads[n]=i}function hd(e,n){return e.segmentHeads?.[n]??null}function Ym(e,n){return e.data[yl]?.[n]??null}function fd(e,n){const i=Ym(e,n)??[];let o=0;for(let m of i)o+=m[ba]*(m[gc]??1);return o}function bc(e,n){if(typeof e.disconnectedNodes>"u"){const i=e.data[_c];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(n)}const Ca="__annotations__",wa="__parameters__",Ea="__prop__metadata__";function El(e,n,i,o,m){return Ye(()=>{const x=md(n);function P(...$){if(this instanceof P)return x.call(this,...$),this;const J=new P(...$);return function(Ne){return m&&m(Ne,...$),(Ne.hasOwnProperty(Ca)?Ne[Ca]:Object.defineProperty(Ne,Ca,{value:[]})[Ca]).push(J),o&&o(Ne),Ne}}return i&&(P.prototype=Object.create(i.prototype)),P.prototype.ngMetadataName=e,P.annotationCls=P,P})}function md(e){return function(...i){if(e){const o=e(...i);for(const m in o)this[m]=o[m]}}}function xa(e,n,i){return Ye(()=>{const o=md(n);function m(...x){if(this instanceof m)return o.apply(this,x),this;const P=new m(...x);return $.annotation=P,$;function $(J,pe,Ne){const it=J.hasOwnProperty(wa)?J[wa]:Object.defineProperty(J,wa,{value:[]})[wa];for(;it.length<=Ne;)it.push(null);return(it[Ne]=it[Ne]||[]).push(P),J}}return i&&(m.prototype=Object.create(i.prototype)),m.prototype.ngMetadataName=e,m.annotationCls=m,m})}function So(e,n,i,o){return Ye(()=>{const m=md(n);function x(...P){if(this instanceof x)return m.apply(this,P),this;const $=new x(...P);return function J(pe,Ne){if(void 0===pe)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const it=pe.constructor,Dt=it.hasOwnProperty(Ea)?it[Ea]:Object.defineProperty(it,Ea,{value:{}})[Ea];Dt[Ne]=Dt.hasOwnProperty(Ne)&&Dt[Ne]||[],Dt[Ne].unshift($),o&&o(pe,Ne,...P)}}return i&&(x.prototype=Object.create(i.prototype)),x.prototype.ngMetadataName=e,x.annotationCls=x,x})}const Zm=vl(xa("Inject",e=>({token:e})),-1),yc=vl(xa("Optional"),8),Qm=vl(xa("Self"),2),Cc=vl(xa("SkipSelf"),4),Xm=vl(xa("Host"),1);function Wo(e,n){return e.hasOwnProperty(mi)?e[mi]:null}const Go=new ht(""),pd=new ht("",-1),gd=new ht("");class wc{get(n,i=gl){if(i===gl){const o=new Error(`NullInjectorError: No provider for ${an(n)}!`);throw o.name="NullInjectorError",o}return i}}function Ec(e){return{\u0275providers:e}}function Jm(...e){return{\u0275providers:qm(0,e),\u0275fromNgModule:!0}}function qm(e,...n){const i=[],o=new Set;let m;const x=P=>{i.push(P)};return hs(n,P=>{const $=P;xc($,x,[],o)&&(m||=[],m.push($))}),void 0!==m&&ep(m,x),i}function ep(e,n){for(let i=0;i{n(x,o)})}}function xc(e,n,i,o){if(!(e=_n(e)))return!1;let m=null,x=yn(e);const P=!x&&Dn(e);if(x||P){if(P&&!P.standalone)return!1;m=e}else{const J=e.ngModule;if(x=yn(J),!x)return!1;m=J}const $=o.has(m);if(P){if($)return!1;if(o.add(m),P.dependencies){const J="function"==typeof P.dependencies?P.dependencies():P.dependencies;for(const pe of J)xc(pe,n,i,o)}}else{if(!x)return!1;{if(null!=x.imports&&!$){let pe;o.add(m);try{hs(x.imports,Ne=>{xc(Ne,n,i,o)&&(pe||=[],pe.push(Ne))})}finally{}void 0!==pe&&ep(pe,n)}if(!$){const pe=Wo(m)||(()=>new m);n({provide:m,useFactory:pe,deps:ln},m),n({provide:gd,useValue:m,multi:!0},m),n({provide:Go,useValue:()=>$r(m),multi:!0},m)}const J=x.providers;if(null!=J&&!$){const pe=e;_d(J,Ne=>{n(Ne,pe)})}}}return m!==e&&void 0!==e.providers}function _d(e,n){for(let i of e)fs(i)&&(i=i.\u0275providers),Array.isArray(i)?_d(i,n):n(i)}const b1=An({provide:String,useValue:An});function vd(e){return null!==e&&"object"==typeof e&&b1 in e}function Ko(e){return"function"==typeof e}const bd=new ht(""),Mc={},C1={};let yd;function Ic(){return void 0===yd&&(yd=new wc),yd}class zs{}class Ma extends zs{get destroyed(){return this._destroyed}constructor(n,i,o,m){super(),this.parent=i,this.source=o,this.scopes=m,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wd(n,P=>this.processProvider(P)),this.records.set(pd,Ia(void 0,this)),m.has("environment")&&this.records.set(zs,Ia(void 0,this));const x=this.records.get(bd);null!=x&&"string"==typeof x.value&&this.scopes.add(x.value),this.injectorDefTypes=new Set(this.get(gd,ln,Jt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of n)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const i=lo(this),o=ts(void 0);try{return n()}finally{lo(i),ts(o)}}get(n,i=gl,o=Jt.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(rr))return n[rr](this);o=_l(o);const x=lo(this),P=ts(void 0);try{if(!(o&Jt.SkipSelf)){let J=this.records.get(n);if(void 0===J){const pe=function I1(e){return"function"==typeof e||"object"==typeof e&&e instanceof ht}(n)&&Qe(n);J=pe&&this.injectableDefInScope(pe)?Ia(Cd(n),Mc):null,this.records.set(n,J)}if(null!=J)return this.hydrate(n,J)}return(o&Jt.Self?Ic():this.parent).get(n,i=o&Jt.Optional&&i===gl?null:i)}catch($){if("NullInjectorError"===$.name){if(($[pc]=$[pc]||[]).unshift(an(n)),x)throw $;return function l1(e,n,i,o){const m=e[pc];throw n[Hm]&&m.unshift(n[Hm]),e.message=function c1(e,n,i,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let m=an(n);if(Array.isArray(n))m=n.map(an).join(" -> ");else if("object"==typeof n){let x=[];for(let P in n)if(n.hasOwnProperty(P)){let $=n[P];x.push(P+":"+("string"==typeof $?JSON.stringify($):an($)))}m=`{${x.join(", ")}}`}return`${i}${o?"("+o+")":""}[${m}]: ${e.replace(n1,"\n ")}`}("\n"+e.message,m,i,o),e.ngTokenPath=m,e[pc]=null,e}($,n,"R3InjectorError",this.source)}throw $}finally{ts(P),lo(x)}}resolveInjectorInitializers(){const n=lo(this),i=ts(void 0);try{const m=this.get(Go,ln,Jt.Self);for(const x of m)x()}finally{lo(n),ts(i)}}toString(){const n=[],i=this.records;for(const o of i.keys())n.push(an(o));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new be(205,!1)}processProvider(n){let i=Ko(n=_n(n))?n:_n(n&&n.provide);const o=function E1(e){return vd(e)?Ia(void 0,e.useValue):Ia(ip(e),Mc)}(n);if(!Ko(n)&&!0===n.multi){let m=this.records.get(i);m||(m=Ia(void 0,Mc,!0),m.factory=()=>td(m.multi),this.records.set(i,m)),i=n,m.multi.push(n)}this.records.set(i,o)}hydrate(n,i){return i.value===Mc&&(i.value=C1,i.value=i.factory()),"object"==typeof i.value&&i.value&&function M1(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(n){if(!n.providedIn)return!1;const i=_n(n.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(n){const i=this._onDestroyHooks.indexOf(n);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Cd(e){const n=Qe(e),i=null!==n?n.factory:Wo(e);if(null!==i)return i;if(e instanceof ht)throw new be(204,!1);if(e instanceof Function)return function w1(e){if(e.length>0)throw new be(204,!1);const i=function Vt(e){return e&&(e[R]||e[Y])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new be(204,!1)}function ip(e,n,i){let o;if(Ko(e)){const m=_n(e);return Wo(m)||Cd(m)}if(vd(e))o=()=>_n(e.useValue);else if(function np(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...td(e.deps||[]));else if(function tp(e){return!(!e||!e.useExisting)}(e))o=()=>$r(_n(e.useExisting));else{const m=_n(e&&(e.useClass||e.provide));if(!function x1(e){return!!e.deps}(e))return Wo(m)||Cd(m);o=()=>new m(...td(e.deps))}return o}function Ia(e,n,i=!1){return{factory:e,value:n,multi:i?[]:void 0}}function wd(e,n){for(const i of e)Array.isArray(i)?wd(i,n):i&&fs(i)?wd(i.\u0275providers,n):n(i)}function D1(e,n){e instanceof Ma&&e.assertNotDestroyed();const o=lo(e),m=ts(void 0);try{return n()}finally{lo(o),ts(m)}}function Dc(e){if(!Vm()&&!function s1(){return _a}())throw new be(-203,!1)}var Yo=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}(Yo||{});function Er(e){const n=ft.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const rp={\u0275\u0275defineInjectable:Z,\u0275\u0275defineInjector:Ee,\u0275\u0275inject:$r,\u0275\u0275invalidFactoryDep:ed,resolveForwardRef:_n},sp=Function;function xl(e){return"function"==typeof e}const A1=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,k1=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,O1=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,R1=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class op{constructor(n){this._reflect=n||ft.Reflect}factory(n){return(...i)=>new n(...i)}_zipTypesAndAnnotations(n,i){let o;o=Vs(typeof n>"u"?i.length:n.length);for(let m=0;m"u"?[]:n[m]&&n[m]!=Object?[n[m]]:[],i&&null!=i[m]&&(o[m]=o[m].concat(i[m]));return o}_ownParameters(n,i){if(function L1(e){return A1.test(e)||R1.test(e)||k1.test(e)&&!O1.test(e)}(n.toString()))return null;if(n.parameters&&n.parameters!==i.parameters)return n.parameters;const m=n.ctorParameters;if(m&&m!==i.ctorParameters){const $="function"==typeof m?m():m,J=$.map(Ne=>Ne&&Ne.type),pe=$.map(Ne=>Ne&&Ed(Ne.decorators));return this._zipTypesAndAnnotations(J,pe)}const x=n.hasOwnProperty(wa)&&n[wa],P=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return P||x?this._zipTypesAndAnnotations(P,x):Vs(n.length)}parameters(n){if(!xl(n))return[];const i=Tc(n);let o=this._ownParameters(n,i);return!o&&i!==Object&&(o=this.parameters(i)),o||[]}_ownAnnotations(n,i){if(n.annotations&&n.annotations!==i.annotations){let o=n.annotations;return"function"==typeof o&&o.annotations&&(o=o.annotations),o}return n.decorators&&n.decorators!==i.decorators?Ed(n.decorators):n.hasOwnProperty(Ca)?n[Ca]:null}annotations(n){if(!xl(n))return[];const i=Tc(n),o=this._ownAnnotations(n,i)||[];return(i!==Object?this.annotations(i):[]).concat(o)}_ownPropMetadata(n,i){if(n.propMetadata&&n.propMetadata!==i.propMetadata){let o=n.propMetadata;return"function"==typeof o&&o.propMetadata&&(o=o.propMetadata),o}if(n.propDecorators&&n.propDecorators!==i.propDecorators){const o=n.propDecorators,m={};return Object.keys(o).forEach(x=>{m[x]=Ed(o[x])}),m}return n.hasOwnProperty(Ea)?n[Ea]:null}propMetadata(n){if(!xl(n))return{};const i=Tc(n),o={};if(i!==Object){const x=this.propMetadata(i);Object.keys(x).forEach(P=>{o[P]=x[P]})}const m=this._ownPropMetadata(n,i);return m&&Object.keys(m).forEach(x=>{const P=[];o.hasOwnProperty(x)&&P.push(...o[x]),P.push(...m[x]),o[x]=P}),o}ownPropMetadata(n){return xl(n)&&this._ownPropMetadata(n,Tc(n))||{}}hasLifecycleHook(n,i){return n instanceof sp&&i in n.prototype}}function Ed(e){return e?e.map(n=>new(0,n.type.annotationCls)(...n.args?n.args:[])):[]}function Tc(e){const n=e.prototype?Object.getPrototypeOf(e.prototype):null;return(n?n.constructor:null)||Object}class ap{constructor(n,i,o){this.previousValue=n,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function lp(e,n,i,o){null!==n?n.applyValueToInputSignal(n,o):e[i]=o}function xd(){return cp}function cp(e){return e.type.prototype.ngOnChanges&&(e.setInput=N1),P1}function P1(){const e=dp(this),n=e?.current;if(n){const i=e.previous;if(i===fn)e.previous=n;else for(let o in n)i[o]=n[o];e.current=null,this.ngOnChanges(n)}}function N1(e,n,i,o,m){const x=this.declaredInputs[o],P=dp(e)||function F1(e,n){return e[up]=n}(e,{previous:fn,current:null}),$=P.current||(P.current={}),J=P.previous,pe=J[x];$[x]=new ap(pe&&pe.currentValue,i,J===fn),lp(e,n,m,i)}xd.ngInherit=!0;const up="__ngSimpleChanges__";function dp(e){return e[up]||null}const Ws=function(e,n,i){};function Sc(e,n){for(let i=n.directiveStart,o=n.directiveEnd;i=o)break}else n[J]<0&&(e[Mt]+=65536),($>14>16&&(3&e[En])===n&&(e[En]+=16384,fp($,x)):fp($,x)}const Da=-1;class Ml{constructor(n,i,o){this.factory=n,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function j1(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Td(e){return e!==Da}function Il(e){return 32767&e}function Dl(e,n){let i=function W1(e){return e>>16}(e),o=n;for(;i>0;)o=o[Ar],i--;return o}let Sd=!0;function Oc(e){const n=Sd;return Sd=e,n}const mp=255,pp=5;let G1=0;const Gs={};function Rc(e,n){const i=gp(e,n);if(-1!==i)return i;const o=n[un];o.firstCreatePass&&(e.injectorIndex=n.length,Ad(o.data,e),Ad(n,null),Ad(o.blueprint,null));const m=Lc(e,n),x=e.injectorIndex;if(Td(m)){const P=Il(m),$=Dl(m,n),J=$[un].data;for(let pe=0;pe<8;pe++)n[x+pe]=$[P+pe]|J[P+pe]}return n[x+8]=m,x}function Ad(e,n){e.push(0,0,0,0,0,0,0,0,n)}function gp(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Lc(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,o=null,m=n;for(;null!==m;){if(o=xp(m),null===o)return Da;if(i++,m=m[Ar],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return Da}function kd(e,n,i){!function K1(e,n,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(ji)&&(o=i[ji]),null==o&&(o=i[ji]=G1++);const m=o∓n.data[e+(m>>pp)]|=1<=0?n&mp:X1:n}(i);if("function"==typeof x){if(!qn(n,e,o))return o&Jt.Host?_p(m,0,o):vp(n,i,o,m);try{let P;if(P=x(o),null!=P||o&Jt.Optional)return P;Xu()}finally{Nr()}}else if("number"==typeof x){let P=null,$=gp(e,n),J=Da,pe=o&Jt.Host?n[hi][Ui]:null;for((-1===$||o&Jt.SkipSelf)&&(J=-1===$?Lc(e,n):n[$+8],J!==Da&&wp(o,!1)?(P=n[un],$=Il(J),n=Dl(J,n)):$=-1);-1!==$;){const Ne=n[un];if(Cp(x,$,Ne.data)){const it=Z1($,n,i,P,o,pe);if(it!==Gs)return it}J=n[$+8],J!==Da&&wp(o,n[un].data[$+8]===pe)&&Cp(x,$,n)?(P=Ne,$=Il(J),n=Dl(J,n)):$=-1}}return m}function Z1(e,n,i,o,m,x){const P=n[un],$=P.data[e+8],Ne=Pc($,P,i,null==o?$i($)&&Sd:o!=P&&0!=(3&$.type),m&Jt.Host&&x===$);return null!==Ne?Zo(n,P,Ne,$):Gs}function Pc(e,n,i,o,m){const x=e.providerIndexes,P=n.data,$=1048575&x,J=e.directiveStart,Ne=x>>20,Dt=m?$+Ne:e.directiveEnd;for(let Rt=o?$:$+Ne;Rt=J&&Wt.type===i)return Rt}if(m){const Rt=P[J];if(Rt&&fr(Rt)&&Rt.type===i)return J}return null}function Zo(e,n,i,o){let m=e[i];const x=n.data;if(function V1(e){return e instanceof Ml}(m)){const P=m;P.resolving&&function qC(e,n){throw n&&n.join(" > "),new be(-200,e)}(xi(x[i]));const $=Oc(P.canSeeViewProviders);P.resolving=!0;const pe=P.injectImpl?ts(P.injectImpl):null;qn(e,o,Jt.Default);try{m=e[i]=P.factory(void 0,x,e,o),n.firstCreatePass&&i>=o.directiveStart&&function B1(e,n,i){const{ngOnChanges:o,ngOnInit:m,ngDoCheck:x}=n.type.prototype;if(o){const P=cp(n);(i.preOrderHooks??=[]).push(e,P),(i.preOrderCheckHooks??=[]).push(e,P)}m&&(i.preOrderHooks??=[]).push(0-e,m),x&&((i.preOrderHooks??=[]).push(e,x),(i.preOrderCheckHooks??=[]).push(e,x))}(i,x[i],n)}finally{null!==pe&&ts(pe),Oc($),P.resolving=!1,Nr()}}return m}function Cp(e,n,i){return!!(i[n+(e>>pp)]&1<{const n=e.prototype.constructor,i=n[mi]||Od(n),o=Object.prototype;let m=Object.getPrototypeOf(e.prototype).constructor;for(;m&&m!==o;){const x=m[mi]||Od(m);if(x&&x!==i)return x;m=Object.getPrototypeOf(m)}return x=>new x})}function Od(e){return ii(e)?()=>{const n=Od(_n(e));return n&&n()}:Wo(e)}function xp(e){const n=e[un],i=n.type;return 2===i?n.declTNode:1===i?e[Ui]:null}function Rd(e){return function Y1(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const i=e.attrs;if(i){const o=i.length;let m=0;for(;m({attributeName:e,__NG_ELEMENT_ID__:()=>Rd(e)}));let Ip=null;function Ld(){return Ip=Ip||new op}function Nc(e){return Dp(Ld().parameters(e))}function Dp(e){return e.map(n=>function q1(e){const n={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;ifunction ew(e,n){let i=null,o=null;e.hasOwnProperty(R)||Object.defineProperty(e,R,{get:()=>(null===i&&(i=Er().compileInjectable(rp,`ng:///${e.name}/\u0275prov.js`,function rw(e,n){const i=n||{providedIn:null},o={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Tp(i)||Sp(i))&&void 0!==i.deps&&(o.deps=Dp(i.deps)),Tp(i)?o.useClass=i.useClass:function nw(e){return tw in e}(i)?o.useValue=i.useValue:Sp(i)?o.useFactory=i.useFactory:function iw(e){return void 0!==e.useExisting}(i)&&(o.useExisting=i.useExisting),o}(e,n))),i)}),e.hasOwnProperty(mi)||Object.defineProperty(e,mi,{get:()=>{if(null===o){const m=Er();o=m.compileFactory(rp,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Nc(e),target:m.FactoryTarget.Injectable})}return o},configurable:!0})}(e,n));function Pd(e,n=null,i=null,o){const m=Ap(e,n,i,o);return m.resolveInjectorInitializers(),m}function Ap(e,n=null,i=null,o,m=new Set){const x=[i||ln,Jm(e)];return o=o||("object"==typeof e?void 0:an(e)),new Ma(x,n||Ic(),o||null,m)}let ms=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=gl;static#t=this.NULL=new wc;static create(i,o){if(Array.isArray(i))return Pd({name:""},o,i,"");{const m=i.name??"";return Pd({name:m},i.parent,i.providers,m)}}static#n=this.\u0275prov=Z({token:e,providedIn:"any",factory:()=>$r(pd)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Nd(e){return e.ngOriginalError}class Ao{constructor(){this._console=console}handleError(n){const i=this._findOriginalError(n);this._console.error("ERROR",n),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(n){let i=n&&Nd(n);for(;i&&Nd(i);)i=Nd(i);return i||null}}const Op=new ht("",{providedIn:"root",factory:()=>Ti(Ao).handleError.bind(void 0)}),Tl=new ht(""),Lp=new ht("",{providedIn:"root",factory:()=>!1});let Fc,Uc;function Fd(){if(void 0===Fc&&(Fc=null,ft.trustedTypes))try{Fc=ft.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fc}function Aa(e){return Fd()?.createHTML(e)||e}function Ud(){if(void 0===Uc&&(Uc=null,ft.trustedTypes))try{Uc=ft.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Uc}function Pp(e){return Ud()?.createHTML(e)||e}function Np(e){return Ud()?.createScript(e)||e}function Fp(e){return Ud()?.createScriptURL(e)||e}class Qo{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${q})`}}class lw extends Qo{getTypeName(){return"HTML"}}class cw extends Qo{getTypeName(){return"Style"}}class uw extends Qo{getTypeName(){return"Script"}}class dw extends Qo{getTypeName(){return"URL"}}class hw extends Qo{getTypeName(){return"ResourceURL"}}function co(e){return e instanceof Qo?e.changingThisBreaksApplicationSecurity:e}function ka(e,n){const i=Up(e);if(null!=i&&i!==n){if("ResourceURL"===i&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${i} (see ${q})`)}return i===n}function Up(e){return e instanceof Qo&&e.getTypeName()||null}function fw(e){return new lw(e)}function mw(e){return new cw(e)}function pw(e){return new uw(e)}function gw(e){return new dw(e)}function _w(e){return new hw(e)}function Bp(e){const n=new bw(e);return function yw(){try{return!!(new window.DOMParser).parseFromString(Aa(""),"text/html")}catch{return!1}}()?new vw(n):n}class vw{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const i=(new window.DOMParser).parseFromString(Aa(n),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(n):(i.removeChild(i.firstChild),i)}catch{return null}}}class bw{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const i=this.inertDocument.createElement("template");return i.innerHTML=Aa(n),i}}const Cw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Bc(e){return(e=String(e)).match(Cw)?e:"unsafe:"+e}function uo(e){const n={};for(const i of e.split(","))n[i]=!0;return n}function Sl(...e){const n={};for(const i of e)for(const o in i)i.hasOwnProperty(o)&&(n[o]=!0);return n}const $p=uo("area,br,col,hr,img,wbr"),Vp=uo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jp=uo("rp,rt"),Bd=Sl($p,Sl(Vp,uo("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")),Sl(jp,uo("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")),Sl(jp,Vp)),$d=uo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Hp=Sl($d,uo("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"),uo("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")),ww=uo("script,style,template");class Ew{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let i=n.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 m=this.checkClobberedElement(i,i.nextSibling);if(m){i=m;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(n){const i=n.nodeName.toLowerCase();if(!Bd.hasOwnProperty(i))return this.sanitizedSomething=!0,!ww.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=n.attributes;for(let m=0;m"),!0}endElement(n){const i=n.nodeName.toLowerCase();Bd.hasOwnProperty(i)&&!$p.hasOwnProperty(i)&&(this.buf.push(""))}chars(n){this.buf.push(zp(n))}checkClobberedElement(n,i){if(i&&(n.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return i}}const xw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mw=/([^\#-~ |!])/g;function zp(e){return e.replace(/&/g,"&").replace(xw,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Mw,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let $c;function Wp(e,n){let i=null;try{$c=$c||Bp(e);let o=n?String(n):"";i=$c.getInertBodyElement(o);let m=5,x=o;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,o=x,x=i.innerHTML,i=$c.getInertBodyElement(o)}while(o!==x);return Aa((new Ew).sanitizeChildren(Vd(i)||i))}finally{if(i){const o=Vd(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function Vd(e){return"content"in e&&function Iw(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Xo=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}(Xo||{});function Gp(e){const n=Al();return n?Pp(n.sanitize(Xo.HTML,e)||""):ka(e,"HTML")?Pp(co(e)):Wp(ie(),Xn(e))}function Kp(e){const n=Al();return n?n.sanitize(Xo.STYLE,e)||"":ka(e,"Style")?co(e):Xn(e)}function jd(e){const n=Al();return n?n.sanitize(Xo.URL,e)||"":ka(e,"URL")?co(e):Bc(Xn(e))}function Hd(e){const n=Al();if(n)return Fp(n.sanitize(Xo.RESOURCE_URL,e)||"");if(ka(e,"ResourceURL"))return Fp(co(e));throw new be(904,!1)}function Yp(e){const n=Al();if(n)return Np(n.sanitize(Xo.SCRIPT,e)||"");if(ka(e,"Script"))return Np(co(e));throw new be(905,!1)}function Zp(e){return Aa(e[0])}function Qp(e){return function aw(e){return Fd()?.createScriptURL(e)||e}(e[0])}function Xp(e,n,i){return function Dw(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?Hd:jd}(n,i)(e)}function Al(){const e=Xt();return e&&e[qi].sanitizer}const Tw=/^>|^->||--!>|)/g,Aw="\u200b$1\u200b";const zd=new Map;let Pw=0;function qp(e){return zd.get(e)||null}class e0{get lView(){return qp(this.lViewId)}constructor(n,i,o){this.lViewId=n,this.nodeIndex=i,this.native=o}}function Yr(e){let n=kl(e);if(n){if(kn(n)){const i=n;let o,m,x;if(r0(e)){if(o=function o0(e,n){const i=e[un].components;if(i)for(let o=0;o=0){const $=Bi(x[P]),J=Wd(x,P,$);Vr($,J),n=J;break}}}}return n||null}function Wd(e,n,i){return new e0(e[It],n,i)}const Gd="__ngContext__";function Vr(e,n){kn(n)?(e[Gd]=n[It],function Fw(e){zd.set(e[It],e)}(n)):e[Gd]=n}function kl(e){const n=e[Gd];return"number"==typeof n?qp(n):n||null}function r0(e){return e&&e.constructor&&e.constructor.\u0275cmp}function s0(e,n){const i=e[un];for(let o=Zt;on.replace(Sw,Aw))}(n))}function Wc(e,n,i){return e.createElement(n,i)}function v0(e,n){Qc(e,n,n[Rn],2,null,null)}function b0(e,n){const i=e[jn],o=i.indexOf(n);i.splice(o,1)}function Ol(e,n){if(e.length<=Gn)return;const i=Gn+n,o=e[i];if(o){const m=o[kr];null!==m&&m!==e&&b0(m,o),n>0&&(e[i-1][ar]=o[ar]);const x=Mo(e,Gn+n);!function Xw(e,n){v0(e,n),n[ni]=null,n[Ui]=null}(o[un],o);const P=x[yt];null!==P&&P.detachView(x[un]),o[ci]=null,o[ar]=null,o[En]&=-129}return o}function Gc(e,n){if(!(256&n[En])){const i=n[Rn];i.destroyNode&&Qc(e,n,i,3,null,null),function qw(e){let n=e[Sr];if(!n)return eh(e[un],e);for(;n;){let i=null;if(kn(n))i=n[Sr];else{const o=n[Gn];o&&(i=o)}if(!i){for(;n&&!n[ar]&&n!==e;)kn(n)&&eh(n[un],n),n=n[ci];null===n&&(n=e),kn(n)&&eh(n[un],n),i=n&&n[ar]}n=i}}(n)}}function eh(e,n){if(!(256&n[En])){n[En]&=-129,n[En]|=256,n[en]&&D(n[en]),function iE(e,n){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let o=0;o=0?o[P]():o[-P].unsubscribe(),x+=2}else i[x].call(o[i[x+1]]);null!==o&&(n[hr]=null);const m=n[Ft];if(null!==m){n[Ft]=null;for(let x=0;x-1){const{encapsulation:x}=e.data[o.directiveStart+m];if(x===et.None||x===et.Emulated)return null}return lr(o,i)}}function Jo(e,n,i,o,m){e.insertBefore(n,i,o,m)}function C0(e,n,i){e.appendChild(n,i)}function w0(e,n,i,o,m){null!==o?Jo(e,n,i,o,m):C0(e,n,i)}function Kc(e,n){return e.parentNode(n)}function E0(e,n,i){return M0(e,n,i)}function x0(e,n,i){return 40&e.type?lr(e,i):null}let nh,M0=x0;function I0(e,n){M0=e,nh=n}function Yc(e,n,i,o){const m=th(e,o,n),x=n[Rn],$=E0(o.parent||n[Ui],o,n);if(null!=m)if(Array.isArray(i))for(let J=0;JZt&&R0(e,n,Zt,!1),Ws(P?2:0,m),i(o,m)}finally{mr(x),Ws(P?3:1,m)}}function oh(e,n,i){if(ir(n)){const o=s(null);try{const x=n.directiveEnd;for(let P=n.directiveStart;Pnull;function mE(e){ga(e)?T0(e):function g1(e){const n=ie(),i=n.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(x){const P=function p1(e){return e.textContent?.replace(/\s/gm,"")}(x);return"ngetn"===P||"ngtns"===P?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let o;const m=[];for(;o=i.nextNode();)m.push(o);for(const x of m)"ngetn"===x.textContent?x.replaceWith(n.createTextNode("")):x.remove()}(e)}function B0(e,n,i,o,m){for(let x in n){if(!n.hasOwnProperty(x))continue;const P=n[x];if(void 0===P)continue;o??={};let $,J=se.None;Array.isArray(P)?($=P[0],J=P[1]):$=P;let pe=x;if(null!==m){if(!m.hasOwnProperty(x))continue;pe=m[x]}0===e?$0(o,i,pe,$,J):$0(o,i,pe,$)}return o}function $0(e,n,i,o,m){let x;e.hasOwnProperty(i)?(x=e[i]).push(n,o):x=e[i]=[n,o],void 0!==m&&x.push(m)}function ns(e,n,i,o,m,x,P,$){const J=lr(n,i);let Ne,pe=n.inputs;!$&&null!=pe&&(Ne=pe[o])?(mh(e,i,Ne,o,m),$i(n)&&function yE(e,n){const i=cr(n,e);16&i[En]||(i[En]|=64)}(i,n.index)):3&n.type&&(o=function bE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),m=null!=P?P(m,n.value||"",o):m,x.setProperty(J,o,m))}function uh(e,n,i,o){if(zr()){const m=null===o?null:{"":-1},x=function IE(e,n){const i=e.directiveRegistry;let o=null,m=null;if(i)for(let x=0;x0;){const i=e[--n];if("number"==typeof i&&i<0)return i}return 0})(P)!=$&&P.push($),P.push(i,o,x)}}(e,n,o,Ll(e,i,m.hostVars,ri),m)}function Ks(e,n,i,o,m,x){const P=lr(e,n);hh(n[Rn],P,x,e.value,i,o,m)}function hh(e,n,i,o,m,x,P){if(null==x)e.removeAttribute(n,m,i);else{const $=null==P?Xn(x):P(x,o||"",m);e.setAttribute(n,m,$,i)}}function OE(e,n,i,o,m,x){const P=x[n];if(null!==P)for(let $=0;$0&&(i[m-1][ar]=n),o{us(e.lView)},consumerOnSignalRead(){this.lView[en]=this}};function X0(e){return q0(e[Sr])}function J0(e){return q0(e[ar])}function q0(e){for(;null!==e&&!Ln(e);)e=e[ar];return e}function eu(e,n=!0,i=0){const o=e[qi],m=o.rendererFactory;m.begin?.();try{!function HE(e,n){_h(e,n);let i=0;for(;ys(e);){if(100===i)throw new be(103,!1);i++,_h(e,1)}}(e,i)}catch(P){throw n&&qc(e,P),P}finally{m.end?.(),o.inlineEffectRunner?.flush()}}function zE(e,n,i,o){const m=n[En];if(256==(256&m))return;n[qi].inlineEffectRunner?.flush(),Ci(n);let P=null,$=null;(function WE(e){return 2!==e.type})(e)&&($=function FE(e){return e[en]??function UE(e){const n=Q0.pop()??Object.create($E);return n.lView=e,n}(e)}(n),P=M($));try{to(n),ro(e.bindingStartIndex),null!==i&&N0(e,n,i,2,o);const J=3==(3&m);if(J){const it=e.preOrderCheckHooks;null!==it&&Ac(n,it,null)}else{const it=e.preOrderHooks;null!==it&&kc(n,it,0,null),Id(n,0)}if(function GE(e){for(let n=X0(e);null!==n;n=J0(n)){if(!(n[En]&Bn.HasTransplantedViews))continue;const i=n[jn];for(let o=0;o-1&&(Ol(n,o),Mo(i,o))}this._attachedToViewContainer=!1}Gc(this._lView[un],this._lView)}onDestroy(n){Rs(this._lView,n)}markForCheck(){Ul(this._cdRefInjectingView||this._lView)}detach(){this._lView[En]&=-129}reattach(){cs(this._lView),this._lView[En]|=128}detectChanges(){this._lView[En]|=1024,eu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new be(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,v0(this._lView[un],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new be(902,!1);this._appRef=n,cs(this._lView)}}let Bl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=QE}return e})();const YE=Bl,ZE=class extends YE{constructor(n,i,o){super(),this._declarationLView=n,this._declarationTContainer=i,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,i){return this.createEmbeddedViewImpl(n,i)}createEmbeddedViewImpl(n,i,o){const m=Pl(this._declarationLView,this._declarationTContainer,n,{injector:i,dehydratedView:o});return new Fa(m)}};function QE(){return tu(yi(),Xt())}function tu(e,n){return 4&e.type?new ZE(n,e,Es(e,n)):null}const vh="<-- AT THIS LOCATION";function ex(e){const o=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function nu(e){const n=" ";let i="";const o=e;return o.previousSibling&&(i+=" \u2026\n",i+=n+$l(o.previousSibling)+"\n"),i+=n+$l(o)+` ${vh}\n`,e.nextSibling&&(i+=" \u2026\n"),e.parentNode&&(i=$l(o.parentNode,"\n"+i)),i}(e)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new be(-503,o)}const nx=new Set(["ngh","ng-version","ng-server-context"]);function bh(e,n="\u2026"){switch(e.type){case 1:return"#text"+(e.value?`(${e.value})`:"");case 2:const o=function tx(e){const n=[];if(e.attrs)for(let i=0;i${n}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function XE(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 $l(e,n="\u2026"){const i=e;switch(i.nodeType){case Node.ELEMENT_NODE:const o=i.tagName.toLowerCase(),m=function ix(e){const n=[];for(let i=0;i${n}`;case Node.TEXT_NODE:const x=i.textContent?jl(i.textContent):"";return"#text"+(x?`(${x})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${jl(i.textContent??"")} --\x3e`;default:return`#node(${i.nodeType})`}}function jl(e,n=50){return e?(e=function rx(e){return e.replace(/\s+/gm,"")}(e)).length>n?`${e.substring(0,n-1)}\u2026`:e:""}function og(e){const n=e[Sn]??[],o=e[ci][Rn];for(const m of n)sx(m,o);e[Sn]=ln}function sx(e,n){let i=0,o=e.firstChild;if(o){const m=e.data[ba];for(;i0&&i[m-1]===o?i[m]=(i[m]||1)+1:i.push(o,"")}return i.join("")}(i,o)}function mx(e,n){let o,m,x,i=e.parent;for(;null!==i&&Hl(i,n);)i=i.parent;null!==i&&3&i.type?(o=i.index,m=Bi(n[o]),x=Xn(o-Zt)):(o=x=nd,m=n[hi][ni]);let P=Bi(n[e.index]);if(12&e.type){const J=Rl(n,e);J&&(P=J)}let $=lg(m,P,x);if(null===$&&m!==P&&($=lg(m.ownerDocument.body,P,id),null===$))throw function qE(e,n){const o=`${function yh(e,n,i){const o=" ";let m="";n.prev?(m+=" \u2026\n",m+=o+bh(n.prev)+"\n"):n.type&&12&n.type&&(m+=" \u2026\n"),i?(m+=o+bh(n)+"\n",m+=o+`\x3c!-- container --\x3e ${vh}\n`):m+=o+bh(n)+` ${vh}\n`,m+=" \u2026\n";const x=n.type?th(e[un],n,e):null;return x&&(m=$l(x,"\n"+m)),m}(e,n,!1)}\n\n`,m=function Vl(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 be(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+o+m)}(n,e);return $}let cg=()=>null;function gx(e,n){const i=e[Sn];return n&&null!==i&&0!==i.length?i[0].data[od]===n?i.shift():(og(e),null):null}function Ua(e,n){return cg(e,n)}class Eh{}class ug{}class ou{}class bx{resolveComponentFactory(n){throw function vx(e){const n=Error(`No component factory found for ${an(e)}.`);return n.ngComponent=e,n}(n)}}let zl=(()=>{class e{static#e=this.NULL=new bx}return e})();class hg{}let yx=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Cx(){const e=Xt(),i=cr(yi().index,e);return(kn(i)?i:e)[Rn]}()}return e})(),fg=(()=>{class e{static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:()=>null})}return e})();const au={};function xh(e){return"function"==typeof e&&void 0!==e[b]}function wx(e,n){const i=F(e);return n?.equal&&(i[b].equal=n.equal),i}function Ex(e){return null}function mg(e,n){const i=function X(e){const n=Object.create(ve);n.value=e;const i=()=>(r(n),n.value);return i[b]=n,i}(e),o=i[b];return n?.equal&&(o.equal=n.equal),i.set=m=>le(o,m),i.update=m=>function ue(e,n){_()||B(),le(e,n(e.value))}(o,m),i.asReadonly=xx.bind(i),i}function xx(){const e=this[b];if(void 0===e.readonlyFn){const n=()=>this();n[b]=e,e.readonlyFn=n}return e.readonlyFn}function pg(e){return xh(e)&&"function"==typeof e.set}function Mx(e){const n=s(null);try{return e()}finally{s(n)}}function lu(e){return!!Mh(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Mh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class gg{constructor(){}supports(n){return lu(n)}create(n){return new _g(n)}}const Tx=(e,n)=>n;class _g{constructor(n){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=n||Tx}forEachItem(n){let i;for(i=this._itHead;null!==i;i=i._next)n(i)}forEachOperation(n){let i=this._itHead,o=this._removalsHead,m=0,x=null;for(;i||o;){const P=!o||i&&i.currentIndex{P=this._trackByFn(m,$),null!==i&&Object.is(i.trackById,P)?(o&&(i=this._verifyReinsertion(i,$,P,m)),Object.is(i.item,$)||this._addIdentityChange(i,$)):(i=this._mismatch(i,$,P,m),o=!0),i=i._next,m++}),this.length=m;return this._truncate(i),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,i,o,m){let x;return null===n?x=this._itTail:(x=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._reinsertAfter(n,x,m)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(o,m))?(Object.is(n.item,i)||this._addIdentityChange(n,i),this._moveAfter(n,x,m)):n=this._addAfter(new Sx(i,o),x,m),n}_verifyReinsertion(n,i,o,m){let x=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==x?n=this._reinsertAfter(x,n._prev,m):n.currentIndex!=m&&(n.currentIndex=m,this._addToMoves(n,m)),n}_truncate(n){for(;null!==n;){const i=n._next;this._addToRemovals(this._unlink(n)),n=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(n,i,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const m=n._prevRemoved,x=n._nextRemoved;return null===m?this._removalsHead=x:m._nextRemoved=x,null===x?this._removalsTail=m:x._prevRemoved=m,this._insertAfter(n,i,o),this._addToMoves(n,o),n}_moveAfter(n,i,o){return this._unlink(n),this._insertAfter(n,i,o),this._addToMoves(n,o),n}_addAfter(n,i,o){return this._insertAfter(n,i,o),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,i,o){const m=null===i?this._itHead:i._next;return n._next=m,n._prev=i,null===m?this._itTail=n:m._prev=n,null===i?this._itHead=n:i._next=n,null===this._linkedRecords&&(this._linkedRecords=new vg),this._linkedRecords.put(n),n.currentIndex=o,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const i=n._prev,o=n._next;return null===i?this._itHead=o:i._next=o,null===o?this._itTail=i:o._prev=i,n}_addToMoves(n,i){return n.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new vg),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,i){return n.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Sx{constructor(n,i){this.item=n,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 Ax{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,i){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===i||i<=o.currentIndex)&&Object.is(o.trackById,n))return o;return null}remove(n){const i=n._prevDup,o=n._nextDup;return null===i?this._head=o:i._nextDup=o,null===o?this._tail=i:o._prevDup=i,null===this._head}}class vg{constructor(){this.map=new Map}put(n){const i=n.trackById;let o=this.map.get(i);o||(o=new Ax,this.map.set(i,o)),o.add(n)}get(n,i){const m=this.map.get(n);return m?m.get(n,i):null}remove(n){const i=n.trackById;return this.map.get(i).remove(n)&&this.map.delete(i),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function bg(e,n,i){const o=e.previousIndex;if(null===o)return o;let m=0;return i&&o{if(i&&i.key===m)this._maybeAddToChanges(i,o),this._appendAfter=i,i=i._next;else{const x=this._getOrCreateRecordForKey(m,o);i=this._insertBeforeOrAppend(i,x)}}),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(n,i){if(n){const o=n._prev;return i._next=n,i._prev=o,n._prev=i,o&&(o._next=i),n===this._mapHead&&(this._mapHead=i),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(n,i){if(this._records.has(n)){const m=this._records.get(n);this._maybeAddToChanges(m,i);const x=m._prev,P=m._next;return x&&(x._next=P),P&&(P._prev=x),m._next=null,m._prev=null,m}const o=new Ox(n);return this._records.set(n,o),o.currentValue=i,this._addToAdditions(o),o}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,i){Object.is(i,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=i,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,i){n instanceof Map?n.forEach(i):Object.keys(n).forEach(o=>i(n[o],o))}}class Ox{constructor(n){this.key=n,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 Cg(){return new Ih([new gg])}let Ih=(()=>{class e{static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:Cg});constructor(i){this.factories=i}static create(i,o){if(null!=o){const m=o.factories.slice();i=i.concat(m)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||Cg()),deps:[[e,new Cc,new yc]]}}find(i){const o=this.factories.find(m=>m.supports(i));if(null!=o)return o;throw new be(901,!1)}}return e})();function wg(){return new Dh([new yg])}let Dh=(()=>{class e{static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:wg});constructor(i){this.factories=i}static create(i,o){if(o){const m=o.factories.slice();i=i.concat(m)}return new e(i)}static extend(i){return{provide:e,useFactory:o=>e.create(i,o||wg()),deps:[[e,new Cc,new yc]]}}find(i){const o=this.factories.find(m=>m.supports(i));if(o)return o;throw new be(901,!1)}}return e})();function Eg(e,n){const i=lu(e),o=lu(n);return i&&o?function Ix(e,n,i){const o=e[Symbol.iterator](),m=n[Symbol.iterator]();for(;;){const x=o.next(),P=m.next();if(x.done&&P.done)return!0;if(x.done||P.done||!i(x.value,P.value))return!1}}(e,n,Eg):!(i||!e||"object"!=typeof e&&"function"!=typeof e||o||!n||"object"!=typeof n&&"function"!=typeof n)||Object.is(e,n)}let Th=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=xg}return e})();function xg(e){return function Rx(e,n,i){if($i(e)&&!i){const o=cr(e.index,n);return new Fa(o,o)}return 47&e.type?new Fa(n[hi],n):null}(yi(),Xt(),16==(16&e))}const Lx=[new yg],Nx=new Ih([new gg]),Fx=new Dh(Lx);let Wl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Bx;static#t=this.__NG_ENV_ID__=i=>i}return e})();class Ux extends Wl{constructor(n){super(),this._lView=n}onDestroy(n){return Rs(this._lView,n),()=>Cs(this._lView,n)}}function Bx(){return new Ux(Xt())}function $x(e,n){if(null!==function f(){return C}())throw new be(-602,!1)}const Vx=new ht("",{providedIn:"root",factory:()=>Ti(Mg)});let Mg=(()=>{class e{static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:()=>new jx})}return e})();class jx{constructor(){this.hasQueuedFlush=!1,this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(n){this.enqueue(n),this.hasQueuedFlush||(queueMicrotask(()=>this.flush()),this.hasQueuedFlush=!1)}enqueue(n){const i=n.creationZone;this.queues.has(i)||this.queues.set(i,new Set);const o=this.queues.get(i);o.has(n)||(this.queuedEffectCount++,o.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,i]of this.queues)null===n?this.flushQueue(i):n.run(()=>this.flushQueue(i))}flushQueue(n){for(const i of n)n.delete(i),this.queuedEffectCount--,i.run()}}class Hx{constructor(n,i,o,m,x,P){this.scheduler=n,this.effectFn=i,this.creationZone=o,this.injector=x,this.watcher=function _t(e,n,i){const o=Object.create(Ct);i&&(o.consumerAllowSignalWrites=!0),o.fn=e,o.schedule=n;const m=J=>{o.cleanupFn=J};return o.ref={notify:()=>y(o),run:()=>{if(null===o.fn)return;if(function d(){return E}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(o.dirty=!1,o.hasRun&&!k(o))return;o.hasRun=!0;const J=M(o);try{o.cleanupFn(),o.cleanupFn=ct,o.fn(m)}finally{w(o,J)}},cleanup:()=>o.cleanupFn(),destroy:()=>function P(J){(function x(J){return null===J.fn&&null===J.schedule})(J)||(D(J),J.cleanupFn(),J.fn=null,J.schedule=null,J.cleanupFn=ct)}(o),[b]:o},o.ref}($=>this.runEffect($),()=>this.schedule(),P),this.unregisterOnDestroy=m?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(i){this.injector.get(Ao,null,{optional:!0})?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Ig(e,n){!n?.injector&&Dc();const i=n?.injector??Ti(ms),o=!0!==n?.manualCleanup?i.get(Wl):null,m=new Hx(i.get(Vx),e,typeof Zone>"u"?null:Zone.current,o,i,n?.allowSignalWrites??!1),x=i.get(Th,null,{optional:!0});return x&&8&x._lView[En]?(x._lView[jt]??=[]).push(m.watcher.notify):m.watcher.notify(),m}const Dg=new Set;function Oo(e){Dg.has(e)||(Dg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Tg(...e){}class gr{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Gt(!1),this.onMicrotaskEmpty=new Gt(!1),this.onStable=new Gt(!1),this.onError=new Gt(!1),typeof Zone>"u")throw new be(908,!1);Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!o&&i,m.shouldCoalesceRunChangeDetection=o,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function zx(){const e="function"==typeof ft.requestAnimationFrame;let n=ft[e?"requestAnimationFrame":"setTimeout"],i=ft[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&i){const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o);const m=i[Zone.__symbol__("OriginalDelegate")];m&&(i=m)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function Kx(e){const n=()=>{!function Gx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ft,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ah(e),e.isCheckStableRunning=!0,Sh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ah(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,m,x,P,$)=>{if(function Yx(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}($))return i.invokeTask(m,x,P,$);try{return Sg(e),i.invokeTask(m,x,P,$)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===x.type||e.shouldCoalesceRunChangeDetection)&&n(),Ag(e)}},onInvoke:(i,o,m,x,P,$,J)=>{try{return Sg(e),i.invoke(m,x,P,$,J)}finally{e.shouldCoalesceRunChangeDetection&&n(),Ag(e)}},onHasTask:(i,o,m,x)=>{i.hasTask(m,x),o===m&&("microTask"==x.change?(e._hasPendingMicrotasks=x.microTask,Ah(e),Sh(e)):"macroTask"==x.change&&(e.hasPendingMacrotasks=x.macroTask))},onHandleError:(i,o,m,x)=>(i.handleError(m,x),e.runOutsideAngular(()=>e.onError.emit(x)),!1)})}(m)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!gr.isInAngularZone())throw new be(909,!1)}static assertNotInAngularZone(){if(gr.isInAngularZone())throw new be(909,!1)}run(n,i,o){return this._inner.run(n,i,o)}runTask(n,i,o,m){const x=this._inner,P=x.scheduleEventTask("NgZoneEvent: "+m,n,Wx,Tg,Tg);try{return x.runTask(P,i,o)}finally{x.cancelTask(P)}}runGuarded(n,i,o){return this._inner.runGuarded(n,i,o)}runOutsideAngular(n){return this._outer.run(n)}}const Wx={};function Sh(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 Ah(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Sg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ag(e){e._nesting--,Sh(e)}class kh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Gt,this.onMicrotaskEmpty=new Gt,this.onStable=new Gt,this.onError=new Gt}run(n,i,o){return n.apply(i,o)}runGuarded(n,i,o){return n.apply(i,o)}runOutsideAngular(n){return n()}runTask(n,i,o,m){return n.apply(i,o)}}var Ro=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ro||{});const kg={destroy(){}};function Oh(e,n){const i=n?.injector??Ti(ms);ko(i)&&i.get(Ba).internalCallbacks.push(e)}function Og(e,n){!n&&Dc();const i=n?.injector??Ti(ms);if(!ko(i))return kg;Oo("NgAfterRender");const o=i.get(Ba),m=o.handler??=new Pg,x=n?.phase??Ro.MixedReadWrite,P=()=>{m.unregister(J),$()},$=i.get(Wl).onDestroy(P),J=new Lg(i,x,e);return m.register(J),{destroy:P}}function Rg(e,n){!n&&Dc();const i=n?.injector??Ti(ms);if(!ko(i))return kg;Oo("NgAfterNextRender");const o=i.get(Ba),m=o.handler??=new Pg,x=n?.phase??Ro.MixedReadWrite,P=()=>{m.unregister(J),$()},$=i.get(Wl).onDestroy(P),J=new Lg(i,x,()=>{P(),e()});return m.register(J),{destroy:P}}class Lg{constructor(n,i,o){this.phase=i,this.callbackFn=o,this.zone=n.get(gr),this.errorHandler=n.get(Ao,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class Pg{constructor(){this.executingCallbacks=!1,this.buckets={[Ro.EarlyRead]:new Set,[Ro.Write]:new Set,[Ro.MixedReadWrite]:new Set,[Ro.Read]:new Set},this.deferredCallbacks=new Set}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const i of n)i.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let Ba=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const i=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of i)o();this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:()=>new e})}return e})();function Rh(e){return void 0!==e.ngModule}function Lo(e){return!!pn(e)}function cu(e){return!!ui(e)}function Ng(e){return!!Qn(e)}function Gl(e){return!!Dn(e)}function Xx(e,n){if(ii(e)&&!(e=_n(e)))throw new Error(`Expected forwardRef function, imported from "${xi(n)}", to return a standalone entity or NgModule but got "${xi(e)||e}".`);if(null==pn(e)){const i=Dn(e)||Qn(e)||ui(e);if(null==i)throw Rh(e)?new Error(`A module with providers was imported from "${xi(n)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${xi(e)}" type, imported from "${xi(n)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!i.standalone)throw new Error(`The "${xi(e)}" ${function Qx(e){return Dn(e)?"component":Qn(e)?"directive":ui(e)?"pipe":"type"}(e)}, imported from "${xi(n)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const uu=!0;class Fg{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const n of this.ngModulesWithSomeUnresolvedDecls){const i=pn(n);if(i?.declarations)for(const o of ss(i.declarations))Gl(o)&&this.ownerNgModule.set(o,n)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(n,i){this.resolveNgModulesDecls();const o=Dn(n);if(null===o)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${n}`);if(o.standalone){const m=this.getStandaloneComponentScope(n,i);return m.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...m.compilation.directives,...m.compilation.pipes,...m.compilation.ngModules]}}{if(!this.ownerNgModule.has(n))return{dependencies:[]};const m=this.getNgModuleScope(this.ownerNgModule.get(n));return m.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...m.compilation.directives,...m.compilation.pipes]}}}registerNgModule(n,i){if(!Lo(n))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${n}`);this.ngModulesWithSomeUnresolvedDecls.add(n)}clearScopeCacheFor(n){this.ngModulesScopeCache.delete(n),this.standaloneComponentsScopeCache.delete(n)}getNgModuleScope(n){if(this.ngModulesScopeCache.has(n))return this.ngModulesScopeCache.get(n);const i=this.computeNgModuleScope(n);return this.ngModulesScopeCache.set(n,i),i}computeNgModuleScope(n){const i=pn(n,!0),o={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const m of ss(i.imports))if(Lo(m)){const x=this.getNgModuleScope(m);Po(x.exported.directives,o.compilation.directives),Po(x.exported.pipes,o.compilation.pipes)}else{if(!cn(m)){o.compilation.isPoisoned=!0;break}if(Ng(m)||Gl(m))o.compilation.directives.add(m);else{if(!cu(m))throw new be(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");o.compilation.pipes.add(m)}}if(!o.compilation.isPoisoned)for(const m of ss(i.declarations)){if(Lo(m)||cn(m)){o.compilation.isPoisoned=!0;break}cu(m)?o.compilation.pipes.add(m):o.compilation.directives.add(m)}for(const m of ss(i.exports))if(Lo(m)){const x=this.getNgModuleScope(m);Po(x.exported.directives,o.exported.directives),Po(x.exported.pipes,o.exported.pipes),Po(x.exported.directives,o.compilation.directives),Po(x.exported.pipes,o.compilation.pipes)}else cu(m)?o.exported.pipes.add(m):o.exported.directives.add(m);return o}getStandaloneComponentScope(n,i){if(this.standaloneComponentsScopeCache.has(n))return this.standaloneComponentsScopeCache.get(n);const o=this.computeStandaloneComponentScope(n,i);return this.standaloneComponentsScopeCache.set(n,o),o}computeStandaloneComponentScope(n,i){const o={compilation:{directives:new Set([n]),pipes:new Set,ngModules:new Set}};for(const m of ur(i??[])){const x=_n(m);try{Xx(x,n)}catch{return o.compilation.isPoisoned=!0,o}if(Lo(x)){o.compilation.ngModules.add(x);const P=this.getNgModuleScope(x);if(P.exported.isPoisoned)return o.compilation.isPoisoned=!0,o;Po(P.exported.directives,o.compilation.directives),Po(P.exported.pipes,o.compilation.pipes)}else if(cu(x))o.compilation.pipes.add(x);else{if(!Ng(x)&&!Gl(x))return o.compilation.isPoisoned=!0,o;o.compilation.directives.add(x)}}return o}isOrphanComponent(n){const i=Dn(n);return!(!i||i.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(n)))}}function Po(e,n){for(const i of e)n.add(i)}const $a=new Fg;function du(e,n,i){let o=i?e.styles:null,m=i?e.classes:null,x=0;if(null!==n)for(let P=0;P0&&A0(e,i,x.join(" "))}}(Dt,Mi,Wt,o),void 0!==i&&function sM(e,n,i){const o=e.projection=[];for(let m=0;m{class e{static#e=this.__NG_ELEMENT_ID__=oM}return e})();function oM(){return zg(yi(),Xt())}const aM=hu,jg=class extends aM{constructor(n,i,o){super(),this._lContainer=n,this._hostTNode=i,this._hostLView=o}get element(){return Es(this._hostTNode,this._hostLView)}get injector(){return new xr(this._hostTNode,this._hostLView)}get parentInjector(){const n=Lc(this._hostTNode,this._hostLView);if(Td(n)){const i=Dl(n,this._hostLView),o=Il(n);return new xr(i[un].data[o+8],i)}return new xr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const i=Hg(this._lContainer);return null!==i&&i[n]||null}get length(){return this._lContainer.length-Gn}createEmbeddedView(n,i,o){let m,x;"number"==typeof o?m=o:null!=o&&(m=o.index,x=o.injector);const P=Ua(this._lContainer,n.ssrId),$=n.createEmbeddedViewImpl(i||{},x,P);return this.insertImpl($,m,Na(this._hostTNode,P)),$}createComponent(n,i,o,m,x){const P=n&&!xl(n);let $;if(P)$=i;else{const Wt=i||{};$=Wt.index,o=Wt.injector,m=Wt.projectableNodes,x=Wt.environmentInjector||Wt.ngModuleRef}const J=P?n:new Va(Dn(n)),pe=o||this.parentInjector;if(!x&&null==J.ngModule){const sn=(P?pe:this.parentInjector).get(zs,null);sn&&(x=sn)}const Ne=Dn(J.componentType??{}),it=Ua(this._lContainer,Ne?.id??null),Rt=J.create(pe,m,it?.firstChild??null,x);return this.insertImpl(Rt.hostView,$,Na(this._hostTNode,it)),Rt}insert(n,i){return this.insertImpl(n,i,!0)}insertImpl(n,i,o){const m=n._lView;if(function eo(e){return Ln(e[ci])}(m)){const $=this.indexOf(n);if(-1!==$)this.detach($);else{const J=m[ci],pe=new jg(J,J[Ui],J[ci]);pe.detach(pe.indexOf(n))}}const x=this._adjustIndex(i),P=this._lContainer;return Nl(P,m,x,o),n.attachToViewContainerRef(),xo(Lh(P),x,n),n}move(n,i){return this.insert(n,i)}indexOf(n){const i=Hg(this._lContainer);return null!==i?i.indexOf(n):-1}remove(n){const i=this._adjustIndex(n,-1),o=Ol(this._lContainer,i);o&&(Mo(Lh(this._lContainer),i),Gc(o[un],o))}detach(n){const i=this._adjustIndex(n,-1),o=Ol(this._lContainer,i);return o&&null!=Mo(Lh(this._lContainer),i)?new Fa(o):null}_adjustIndex(n,i=0){return n??this.length+i}};function Hg(e){return e[8]}function Lh(e){return e[8]||(e[8]=[])}function zg(e,n){let i;const o=n[e.index];return Ln(o)?i=o:(i=H0(o,n,null,e),n[e.index]=i,Jc(n,i)),Wg(i,n,e,o),new jg(i,e,n)}let Wg=Kg,Ph=()=>!1;function Gg(e,n,i){return Ph(e,n,i)}function Kg(e,n,i,o){if(e[On])return;let m;m=8&i.type?Bi(o):function lM(e,n){const i=e[Rn],o=i.createComment(""),m=lr(n,e);return Jo(i,Kc(i,m),o,function sE(e,n){return e.nextSibling(n)}(i,m),!1),o}(n,i),e[On]=m}function cM(e,n,i){if(e[On]&&e[Sn])return!0;const o=i[dr],m=n.index-Zt;if(!o||To(n)||bc(o,m))return!1;const P=hd(o,m),$=o.data[yl]?.[m],[J,pe]=function px(e,n){const i=[];for(const o of n)for(let m=0;m<(o[gc]??1);m++){const x={data:o,firstChild:null};o[ba]>0&&(x.firstChild=e,e=su(o[ba],e)),i.push(x)}return[e,i]}(P,$);return e[On]=J,e[Sn]=pe,!0}function uM(e,n,i,o){Ph(e,i,n)||Kg(e,n,i,o)}class Nh{constructor(n){this.queryList=n,this.matches=null}clone(){return new Nh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fh{constructor(n=[]){this.queries=n}createEmbeddedView(n){const i=n.queries;if(null!==i){const o=null!==n.contentQueries?n.contentQueries[0]:i.length,m=[];for(let x=0;xn.trim())}(n):n}}class Uh{constructor(n=[]){this.queries=n}elementStart(n,i){for(let o=0;o0)o.push(P[$/2]);else{const pe=x[$+1],Ne=n[-J];for(let it=Gn;it{i._dirtyCounter();const m=function vM(e,n){const i=e._lView,o=e._queryIndex;if(void 0===i||void 0===o||4&i[En])return n?void 0:ln;const m=Vh(i,o),x=e_(i,o);return m.reset(x,ha),n?m.first:m._changesDetected||void 0===e._flatValue?e._flatValue=m.toArray():e._flatValue}(i,e);if(n&&void 0===m)throw new be(-951,!1);return m});return i=o[b],i._dirtyCounter=mg(0),i._flatValue=void 0,o}function t_(){return Hh(!0,!1)}function n_(){return Hh(!0,!0)}function i_(){return Hh(!1,!1)}function r_(e,n){const i=e[b];i._lView=Xt(),i._queryIndex=n,i._queryList=Vh(i._lView,n),i._queryList.onDirty(()=>i._dirtyCounter.update(o=>o+1))}function s_(e,n){return t_()}const yM=(s_.required=function bM(e,n){return n_()},s_);function CM(e,n){return i_()}function o_(e,n){return t_()}const EM=(o_.required=function wM(e,n){return n_()},o_);function xM(e,n){return i_()}function a_(e){const n=[],i=Object.create(ge);function o(){return r(i),l_(i.value),i.value}return i.value=e,o[b]=i,o.asReadonly=()=>o(),o.set=x=>{i.equal(i.value,x)||(le(i,x),function m(x){for(let P=0;P{l_(i.value),o.set(x(i.value))},o.subscribe=x=>(n.push(x),()=>{const P=n.indexOf(x);P>-1&&n.splice(P,1)}),o}function l_(e){if(e===Xe)throw new be(-952,!1)}function c_(e){return a_(e)}const IM=(c_.required=function MM(){return a_(Xe)},c_);class Kl{}const DM=So("ContentChildren",(e,n={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...n}),Kl),TM=So("ContentChild",(e,n={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...n}),Kl),SM=So("ViewChildren",(e,n={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...n}),Kl),AM=So("ViewChild",(e,n)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...n}),Kl);function d_(e){const n=[],i=new Map;function o(m){let x=i.get(m);if(!x){const P=e(m);i.set(m,x=P.then(PM))}return x}return ja.forEach((m,x)=>{const P=[];m.templateUrl&&P.push(o(m.templateUrl).then(pe=>{m.template=pe}));const $="string"==typeof m.styles?[m.styles]:m.styles||[];if(m.styles=$,m.styleUrl&&m.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(m.styleUrls?.length){const pe=m.styles.length,Ne=m.styleUrls;m.styleUrls.forEach((it,Dt)=>{$.push(""),P.push(o(it).then(Rt=>{$[pe+Dt]=Rt,Ne.splice(Ne.indexOf(it),1),0==Ne.length&&(m.styleUrls=void 0)}))})}else m.styleUrl&&P.push(o(m.styleUrl).then(pe=>{$.push(pe),m.styleUrl=void 0}));const J=Promise.all(P).then(()=>function NM(e){Yl.delete(e)}(x));n.push(J)}),f_(),Promise.all(n).then(()=>{})}let ja=new Map;const Yl=new Set;function OM(e){return Yl.has(e)}function h_(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length||e.styleUrl)}function f_(){const e=ja;return ja=new Map,e}function RM(e){Yl.clear(),e.forEach((n,i)=>Yl.add(i)),ja=e}function PM(e){return"string"==typeof e?e:e.text()}const fu=new Map;let m_=!0;function zh(e,n){(function FM(e,n,i){if(n&&n!==i&&m_)throw new Error(`Duplicate module registered for ${e} - ${an(n)} vs ${an(n.name)}`)})(n,fu.get(n)||null,e),fu.set(n,e)}function p_(e){return fu.get(e)}function UM(e){m_=!e}function g_(e,n,i){const o=Xt(),m=_i(),x=lr(m,o);if(2===m.type&&"iframe"===n.toLowerCase()){const P=x;throw P.src="",P.srcdoc=Aa(""),Zc(o[Rn],P),new be(-910,!1)}return e}function __(e){return Object.getPrototypeOf(e.prototype).constructor}function Wh(e){let n=__(e.type),i=!0;const o=[e];for(;n;){let m;if(fr(e))m=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new be(903,!1);m=n.\u0275dir}if(m){if(i){o.push(m);const P=e;P.inputs=mu(e.inputs),P.inputTransforms=mu(e.inputTransforms),P.declaredInputs=mu(e.declaredInputs),P.outputs=mu(e.outputs);const $=m.hostBindings;$&&HM(e,$);const J=m.viewQuery,pe=m.contentQueries;if(J&&VM(e,J),pe&&jM(e,pe),BM(e,m),fi(e.outputs,m.outputs),fr(m)&&m.data.animation){const Ne=e.data;Ne.animation=(Ne.animation||[]).concat(m.data.animation)}}const x=m.features;if(x)for(let P=0;P=0;o--){const m=e[o];m.hostVars=n+=m.hostVars,m.hostAttrs=_e(m.hostAttrs,i=_e(i,m.hostAttrs))}}(o)}function BM(e,n){for(const i in n.inputs){if(!n.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;const o=n.inputs[i];if(void 0!==o&&(e.inputs[i]=o,e.declaredInputs[i]=n.declaredInputs[i],null!==n.inputTransforms)){const m=Array.isArray(o)?o[0]:o;if(!n.inputTransforms.hasOwnProperty(m))continue;e.inputTransforms??={},e.inputTransforms[m]=n.inputTransforms[m]}}}function mu(e){return e===fn?{}:e===ln?[]:e}function VM(e,n){const i=e.viewQuery;e.viewQuery=i?(o,m)=>{n(o,m),i(o,m)}:n}function jM(e,n){const i=e.contentQueries;e.contentQueries=i?(o,m,x)=>{n(o,m,x),i(o,m,x)}:n}function HM(e,n){const i=e.hostBindings;e.hostBindings=i?(o,m)=>{n(o,m),i(o,m)}:n}const zM=["providersResolver"],WM=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function v_(e){let i,n=__(e.type);i=fr(e)?n.\u0275cmp:n.\u0275dir;const o=e;for(const m of zM)o[m]=i[m];if(fr(i))for(const m of WM)o[m]=i[m]}function b_(e){const n=i=>{const o=(Array.isArray(e)?e:e()).map(m=>"function"==typeof m?{directive:_n(m),inputs:fn,outputs:fn}:{directive:_n(m.directive),inputs:C_(m.inputs),outputs:C_(m.outputs)});null===i.hostDirectives?(i.findHostDirectiveDefs=y_,i.hostDirectives=o):i.hostDirectives.unshift(...o)};return n.ngInherit=!0,n}function y_(e,n,i){if(null!==e.hostDirectives)for(const o of e.hostDirectives){const m=Qn(o.directive);GM(m.declaredInputs,o.inputs),y_(m,n,i),i.set(m,o),n.push(m)}}function C_(e){if(void 0===e||0===e.length)return fn;const n={};for(let i=0;iPromise.all(n()).then(m=>(i(...m),o[pu]=null,m)),o[pu]}function x_(e,n,i,o){return Ye(()=>{const m=e;null!==n&&(m.hasOwnProperty("decorators")&&void 0!==m.decorators?m.decorators.push(...n):m.decorators=n),null!==i&&(m.ctorParameters=i),null!==o&&(m.propDecorators=m.hasOwnProperty("propDecorators")&&void 0!==m.propDecorators?{...m.propDecorators,...o}:o)})}class qo{}class M_{}function I_(e,n){return new gu(e,n??null,[])}const ZM=I_;class gu extends qo{constructor(n,i,o){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ug(this);const m=pn(n);this._bootstrapComponents=ss(m.bootstrap),this._r3Injector=Ap(n,i,[{provide:qo,useValue:this},{provide:zl,useValue:this.componentFactoryResolver},...o],an(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class _u extends M_{constructor(n){super(),this.moduleType=n}create(n){return new gu(this.moduleType,n,[])}}class D_ extends qo{constructor(n){super(),this.componentFactoryResolver=new Ug(this),this.instance=null;const i=new Ma([...n.providers,{provide:qo,useValue:this},{provide:zl,useValue:this.componentFactoryResolver}],n.parent||Ic(),n.debugName,new Set(["environment"]));this.injector=i,n.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function T_(e,n,i=null){return new D_({providers:e,parent:n,debugName:i,runEnvironmentInitializers:!0}).injector}let Zl=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ke.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||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&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ys(e,n,i){return e[n]=i}function Ql(e,n){return e[n]}function _r(e,n,i){return!Object.is(e[n],i)&&(e[n]=i,!0)}function ea(e,n,i,o){const m=_r(e,n,i);return _r(e,n+1,o)||m}function vu(e,n,i,o,m){const x=ea(e,n,i,o);return _r(e,n+2,m)||x}function ps(e,n,i,o,m,x){const P=ea(e,n,i,o);return ea(e,n+2,m,x)||P}function Ha(e,n,i,o,m,x,P,$){const J=Xt(),pe=Hn(),Ne=e+Zt,it=pe.firstCreatePass?function XM(e,n,i,o,m,x,P,$,J){const pe=n.consts,Ne=Pa(n,e,4,P||null,Vi(pe,$));uh(n,i,Ne,Vi(pe,J)),Sc(n,Ne);const it=Ne.tView=ch(2,Ne,o,m,x,n.directiveRegistry,n.pipeRegistry,null,n.schemas,pe,null);return null!==n.queries&&(n.queries.template(n,Ne),it.queries=n.queries.embeddedTView(Ne)),Ne}(Ne,pe,J,n,i,o,m,x,P):pe.data[Ne];wr(it,!1);const Dt=S_(pe,J,it,e);so()&&Yc(pe,J,Dt,it),Vr(Dt,J);const Rt=H0(Dt,J,Dt,it);return J[Ne]=Rt,Jc(J,Rt),Gg(Rt,it,J),Or(it)&&ah(pe,J,it),null!=P&&lh(J,it,$),Ha}let S_=A_;function A_(e,n,i,o){return pr(!0),n[Rn].createComment("")}function JM(e,n,i,o){const m=n[dr],x=!m||qr()||bc(m,o);if(pr(x),x)return A_(0,n);const P=m.data[sd]?.[o]??null;null!==P&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=P);const $=ru(m,e,n,i);return vc(m,o,$),su(fd(m,o),$)}var vr=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(vr||{});const k_=0,eI=1;var br=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(br||{}),Xl=function(e){return e[e.Initial=-1]="Initial",e}(Xl||{});const za=0,bu=1,Jl=2,yu=3,O_=4,R_=5;var Gh=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Gh||{});function Cu(e,n,i){const o=1===e?R_:O_;null===n[o]&&(n[o]=[]),n[o].push(i)}function Kh(e,n){const i=1===e?R_:O_,o=n[i];if(null!==o){for(const m of o)m();n[i]=null}}function L_(e){Kh(1,e),Kh(0,e)}function wu(e){return e+1}function ta(e,n){return e[wu(n.index)]}function gs(e,n){const i=wu(n.index);return e.data[i]}function Yh(e,n){return n===br.Placeholder?e.placeholderBlockConfig?.[k_]??null:n===br.Loading?e.loadingBlockConfig?.[k_]??null:null}function P_(e){return e.loadingBlockConfig?.[eI]??null}function N_(e,n){if(!e||0===e.length)return n;const i=new Set(e);for(const o of n)i.add(o);return e.length===i.size?e:Array.from(i)}function sI(e){return null!==e&&"object"==typeof e&&"number"==typeof e.primaryTmplIndex}const Eu={passive:!0,capture:!0},Zh=new WeakMap,Qh=new WeakMap,Wa=new WeakMap,F_=["click","keydown"],U_=["mouseenter","focusin"];let Ga=null,Xh=0;class Jh{constructor(){this.callbacks=new Set,this.listener=()=>{for(const n of this.callbacks)n()}}}function B_(e,n){let i=Qh.get(e);if(!i){i=new Jh,Qh.set(e,i);for(const o of F_)e.addEventListener(o,i.listener,Eu)}return i.callbacks.add(n),()=>{const{callbacks:o,listener:m}=i;if(o.delete(n),0===o.size){Qh.delete(e);for(const x of F_)e.removeEventListener(x,m,Eu)}}}function $_(e,n){let i=Zh.get(e);if(!i){i=new Jh,Zh.set(e,i);for(const o of U_)e.addEventListener(o,i.listener,Eu)}return i.callbacks.add(n),()=>{const{callbacks:o,listener:m}=i;if(o.delete(n),0===o.size){for(const x of U_)e.removeEventListener(x,m,Eu);Zh.delete(e)}}}function V_(e,n,i){const o=i.get(gr);let m=Wa.get(e);return Ga=Ga||o.runOutsideAngular(()=>new IntersectionObserver(x=>{for(const P of x)P.isIntersecting&&Wa.has(P.target)&&o.run(Wa.get(P.target).listener)})),m||(m=new Jh,o.runOutsideAngular(()=>Ga.observe(e)),Wa.set(e,m),Xh++),m.callbacks.add(n),()=>{Wa.has(e)&&(m.callbacks.delete(n),0===m.callbacks.size&&(Ga?.unobserve(e),Wa.delete(e),Xh--),0===Xh&&(Ga?.disconnect(),Ga=null))}}function Ka(e,n,i,o,m,x,P){const $=e[Hi];Oh(function J(){if(_s(e))return;const pe=ta(e,n),Ne=pe[bu];if(Ne!==Xl.Initial&&Ne!==br.Placeholder)return;const it=function oI(e,n,i){return null==i?e:i>=0?no(i,e):e[n.index][Gn]??null}(e,n,o);if(!it)return void Oh(J,{injector:$});if(_s(it))return;const Dt=function aI(e,n){return Os(Zt+n,e)}(it,i),Rt=m(Dt,()=>{e!==it&&Cs(it,Rt),x()},$);e!==it&&Rs(it,Rt),Cu(P,pe,Rt)},{injector:$})}function j_(e,n){const o=n[Hi].get(uI);return o.add(e),()=>o.remove(e)}let uI=(()=>{class e{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=Ti(gr),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(i){(this.executingCallbacks?this.deferred:this.current).add(i),null===this.idleId&&this.scheduleIdleCallback()}remove(i){const{current:o,deferred:m}=this;o.delete(i),m.delete(i),0===o.size&&0===m.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const i=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const o of this.current)o();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const o of this.deferred)this.current.add(o);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(i))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:()=>new e})}return e})();function H_(e){return(n,i)=>z_(e,n,i)}function z_(e,n,i){const m=i[Hi].get(dI);return m.add(e,n),()=>m.remove(n)}let dI=(()=>{class e{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(i,o){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+i,o),this.scheduleTimer()}remove(i){const{current:o,deferred:m}=this;-1===this.removeFromQueue(o,i)&&this.removeFromQueue(m,i),0===o.length&&0===m.length&&this.clearTimeout()}addToQueue(i,o,m){let x=i.length;for(let P=0;Po){x=P;break}oo(i,x,o,m)}removeFromQueue(i,o){let m=-1;for(let x=0;x-1&&Io(i,m,2),m}scheduleTimer(){const i=()=>{this.clearTimeout(),this.executingCallbacks=!0;const m=[...this.current],x=Date.now();for(let $=0;$=0&&Io(this.current,0,P+1),this.executingCallbacks=!1,this.deferred.length>0){for(let $=0;$0){const m=Date.now(),x=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-x>16){this.clearTimeout();const P=Math.max(x-m,16);this.invokeTimerAt=x,this.timeoutId=setTimeout(i,P)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static#e=this.\u0275prov=Z({token:e,providedIn:"root",factory:()=>new e})}return e})();const hI=new ht("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),W_=new ht("");function qh(e){return e.get(W_,null,{optional:!0})?.behavior!==Gh.Manual&&ko(e)}let ef=null;function G_(e,n,i,o){const m=e.consts;null!=i&&(n.placeholderBlockConfig=Vi(m,i)),null!=o&&(n.loadingBlockConfig=Vi(m,o)),null===ef&&(ef=fI)}function K_(e,n,i,o,m,x,P,$,J){const pe=Xt(),Ne=Hn(),it=e+Zt;if(Ha(e,null,0,0),Ne.firstCreatePass){Oo("NgDefer");const mn={primaryTmplIndex:n,loadingTmplIndex:o??null,placeholderTmplIndex:m??null,errorTmplIndex:x??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:i??null,loadingState:vr.NOT_STARTED,loadingPromise:null};J?.(Ne,mn,$,P),function nI(e,n,i){const o=wu(n);e.data[o]=i}(Ne,it,mn)}const Dt=yi();Gg(pe[it],Dt,pe);const Wt=[null,Xl.Initial,null,null,null,null];!function tI(e,n,i){e[wu(n)]=i}(pe,it,Wt);const sn=()=>L_(Wt);Cu(0,Wt,()=>Cs(pe,sn)),Rs(pe,sn)}function Y_(e){const n=Xt();if(_r(n,Q(),e)){const o=s(null);try{const m=!!e,x=_i(),$=ta(n,x)[bu];!1===m&&$===Xl.Initial?Ya(n,x):!0===m&&($===Xl.Initial||$===br.Placeholder)&&Za(n,x)}finally{s(o)}}}function Z_(e){const n=Xt();if(_r(n,Q(),e)){const o=s(null);try{const m=!!e,x=n[un],P=_i(),$=gs(x,P);!0===m&&$.loadingState===vr.NOT_STARTED&&ql($,n,P)}finally{s(o)}}}function Q_(){lv(j_)}function X_(){cv(j_)}function J_(){const e=Xt(),n=yi(),o=e[Hi],m=gs(e[un],n);(!qh(o)||null===m.loadingTmplIndex)&&Ya(e,n),Za(e,n)}function q_(){const e=Xt(),n=yi(),o=gs(e[un],n);o.loadingState===vr.NOT_STARTED&&xu(o,e,n)}function ev(e){lv(H_(e))}function tv(e){cv(H_(e))}function nv(e,n){const i=Xt(),o=yi();Ya(i,o),Ka(i,o,e,n,$_,()=>Za(i,o),0)}function iv(e,n){const i=Xt(),o=yi(),x=gs(i[un],o);x.loadingState===vr.NOT_STARTED&&Ka(i,o,e,n,$_,()=>ql(x,i,o),1)}function rv(e,n){const i=Xt(),o=yi();Ya(i,o),Ka(i,o,e,n,B_,()=>Za(i,o),0)}function sv(e,n){const i=Xt(),o=yi(),x=gs(i[un],o);x.loadingState===vr.NOT_STARTED&&Ka(i,o,e,n,B_,()=>ql(x,i,o),1)}function ov(e,n){const i=Xt(),o=yi();Ya(i,o),Ka(i,o,e,n,V_,()=>Za(i,o),0)}function av(e,n){const i=Xt(),o=yi(),x=gs(i[un],o);x.loadingState===vr.NOT_STARTED&&Ka(i,o,e,n,V_,()=>ql(x,i,o),1)}function lv(e){const n=Xt(),i=yi();Ya(n,i);const o=e(()=>Za(n,i),n);Cu(0,ta(n,i),o)}function cv(e){const n=Xt(),i=yi(),m=gs(n[un],i);m.loadingState===vr.NOT_STARTED&&Cu(1,ta(n,i),e(()=>ql(m,n,i),n))}function fo(e,n,i,o=!1){const m=i[ci],x=m[un];if(_s(m))return;const P=ta(m,n);if(hv(P[bu],e)&&hv(P[za]??-1,e)){const J=gs(x,n),Ne=o||null===P_(J)&&null===Yh(J,br.Loading)&&!Yh(J,br.Placeholder)?uv:ef;try{Ne(e,P,i,n,m)}catch(it){qc(m,it)}}}function uv(e,n,i,o,m){const x=function iI(e,n,i){const m=gs(n[un],i);switch(e){case br.Complete:return m.primaryTmplIndex;case br.Loading:return m.loadingTmplIndex;case br.Error:return m.errorTmplIndex;case br.Placeholder:return m.placeholderTmplIndex;default:return null}}(e,m,o);if(null!==x){n[bu]=e;const J=ls(m[un],x+Zt),pe=0;gh(i,pe);const Ne=Ua(i,J.tView.ssrId),it=Pl(m,J,null,{dehydratedView:Ne});Nl(i,it,pe,Na(J,Ne)),Ul(it)}}function fI(e,n,i,o,m){const x=Date.now(),$=gs(m[un],o);if(null===n[Jl]||n[Jl]<=x){n[Jl]=null;const J=P_($),pe=null!==n[yu];if(e!==br.Loading||null===J||pe){e>br.Loading&&pe&&(n[yu](),n[yu]=null,n[za]=null),uv(e,n,i,o,m);const Ne=Yh($,e);null!==Ne&&(n[Jl]=x+Ne,dv(Ne,n,o,i,m))}else{n[za]=e;const Ne=dv(J,n,o,i,m);n[yu]=Ne}}else n[za]=e}function dv(e,n,i,o,m){return z_(e,()=>{const P=n[za];n[Jl]=null,n[za]=null,null!==P&&fo(P,i,o)},m)}function hv(e,n){return e{let it=!1;const Dt=[],Rt=[];for(const Wt of Ne){if("fulfilled"!==Wt.status){it=!0;break}{const sn=Wt.value,mn=Dn(sn)||Qn(sn);if(mn)Dt.push(mn);else{const Mn=ui(sn);Mn&&Rt.push(Mn)}}}if(e.loadingPromise=null,J.remove(pe),it){if(e.loadingState=vr.FAILED,null===e.errorTmplIndex){Zd(n);const sn=new be(750,!1);qc(n,sn)}}else{e.loadingState=vr.COMPLETE;const Wt=P.tView;Dt.length>0&&(Wt.directiveRegistry=N_(Wt.directiveRegistry,Dt)),Rt.length>0&&(Wt.pipeRegistry=N_(Wt.pipeRegistry,Rt))}}):Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=vr.COMPLETE,J.remove(pe)})}function Ya(e,n){fo(br.Placeholder,n,e[n.index])}function fv(e,n,i){e.loadingPromise.then(()=>{e.loadingState===vr.COMPLETE?fo(br.Complete,n,i):e.loadingState===vr.FAILED&&fo(br.Error,n,i)})}function Za(e,n){const i=e[un],o=e[n.index];if(!qh(e[Hi]))return;const x=ta(e,n),P=gs(i,n);switch(L_(x),P.loadingState){case vr.NOT_STARTED:fo(br.Loading,n,o),xu(P,e,n),P.loadingState===vr.IN_PROGRESS&&fv(P,n,o);break;case vr.IN_PROGRESS:fo(br.Loading,n,o),fv(P,n,o);break;case vr.COMPLETE:fo(br.Complete,n,o);break;case vr.FAILED:fo(br.Error,n,o)}}function tf(e,n,i,o){const m=Xt();return _r(m,Q(),n)&&(Hn(),Ks(_i(),m,e,n,i,o)),tf}function Qa(e,n){let i=!1,o=Wr();for(let x=1;x>17&32767}function ff(e){return 2|e}function na(e){return(131068&e)>>2}function mf(e,n){return-131069&e|n<<2}function pf(e){return 1|e}function mv(e,n,i,o){const m=e[i+1],x=null===n;let P=o?No(m):na(m),$=!1;for(;0!==P&&(!1===$||x);){const pe=e[P+1];bI(e[P],n)&&($=!0,e[P+1]=o?pf(pe):ff(pe)),P=o?No(pe):na(pe)}$&&(e[i+1]=o?ff(m):pf(m))}function bI(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&js(e,n)>=0}const Mr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function pv(e){return e.substring(Mr.key,Mr.keyEnd)}function yI(e){return e.substring(Mr.value,Mr.valueEnd)}function gv(e,n){const i=Mr.textEnd;return i===n?-1:(n=Mr.keyEnd=function EI(e,n,i){for(;n32;)n++;return n}(e,Mr.key=n,i),sl(e,n,i))}function _v(e,n){const i=Mr.textEnd;let o=Mr.key=sl(e,n,i);return i===o?-1:(o=Mr.keyEnd=function xI(e,n,i){let o;for(;n=65&&(-33&o)<=90||o>=48&&o<=57);)n++;return n}(e,o,i),o=bv(e,o,i),o=Mr.value=sl(e,o,i),o=Mr.valueEnd=function MI(e,n,i){let o=-1,m=-1,x=-1,P=n,$=P;for(;P32&&($=P),x=m,m=o,o=-33&J}return $}(e,o,i),bv(e,o,i))}function vv(e){Mr.key=0,Mr.keyEnd=0,Mr.value=0,Mr.valueEnd=0,Mr.textEnd=e.length}function sl(e,n,i){for(;n=0;i=_v(n,i))xv(e,pv(n),yI(n))}function Cv(e){Ds(OI,Zs,e,!0)}function Zs(e,n){for(let i=function CI(e){return vv(e),gv(e,sl(e,0,Mr.textEnd))}(n);i>=0;i=gv(n,i))Fr(e,pv(n),!0)}function Is(e,n,i,o){const m=Xt(),x=Hn(),P=Ue(2);x.firstUpdatePass&&Ev(x,e,P,o),n!==ri&&_r(m,P,n)&&Mv(x,x.data[zi()],m,m[Rn],e,m[P+1]=function LI(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=an(co(e)))),e}(n,i),o,P)}function Ds(e,n,i,o){const m=Hn(),x=Ue(2);m.firstUpdatePass&&Ev(m,null,x,o);const P=Xt();if(i!==ri&&_r(P,x,i)){const $=m.data[zi()];if(Dv($,o)&&!wv(m,x)){let J=o?$.classesWithoutHost:$.stylesWithoutHost;null!==J&&(i=Ot(J,i||"")),_f(m,$,P,i,o)}else!function RI(e,n,i,o,m,x,P,$){m===ri&&(m=ln);let J=0,pe=0,Ne=0=e.expandoStartIndex}function Ev(e,n,i,o){const m=e.data;if(null===m[i+1]){const x=m[zi()],P=wv(e,i);Dv(x,o)&&null===n&&!P&&(n=!1),n=function DI(e,n,i,o){const m=bn(e);let x=o?n.residualClasses:n.residualStyles;if(null===m)0===(o?n.classBindings:n.styleBindings)&&(i=ec(i=yf(null,e,n,i,o),n.attrs,o),x=null);else{const P=n.directiveStylingLast;if(-1===P||e[P]!==m)if(i=yf(m,e,n,i,o),null===x){let J=function TI(e,n,i){const o=i?n.classBindings:n.styleBindings;if(0!==na(o))return e[No(o)]}(e,n,o);void 0!==J&&Array.isArray(J)&&(J=yf(null,e,n,J[1],o),J=ec(J,n.attrs,o),function SI(e,n,i,o){e[No(i?n.classBindings:n.styleBindings)]=o}(e,n,o,J))}else x=function AI(e,n,i){let o;const m=n.directiveEnd;for(let x=1+n.directiveStylingLast;x0)&&(pe=!0)):Ne=i,m)if(0!==J){const Dt=No(e[$+1]);e[o+1]=Mu(Dt,$),0!==Dt&&(e[Dt+1]=mf(e[Dt+1],o)),e[$+1]=function pI(e,n){return 131071&e|n<<17}(e[$+1],o)}else e[o+1]=Mu($,0),0!==$&&(e[$+1]=mf(e[$+1],o)),$=o;else e[o+1]=Mu(J,0),0===$?$=o:e[J+1]=mf(e[J+1],o),J=o;pe&&(e[o+1]=ff(e[o+1])),mv(e,Ne,o,!0),mv(e,Ne,o,!1),function vI(e,n,i,o,m){const x=m?e.residualClasses:e.residualStyles;null!=x&&"string"==typeof n&&js(x,n)>=0&&(i[o+1]=pf(i[o+1]))}(n,Ne,e,o,x),P=Mu($,J),x?n.classBindings=P:n.styleBindings=P}(m,x,n,i,P,o)}}function yf(e,n,i,o,m){let x=null;const P=i.directiveEnd;let $=i.directiveStylingLast;for(-1===$?$=i.directiveStart:$++;$0;){const J=e[m],pe=Array.isArray(J),Ne=pe?J[1]:J,it=null===Ne;let Dt=i[m+1];Dt===ri&&(Dt=it?ln:void 0);let Rt=it?Ho(Dt,o):Ne===o?Dt:void 0;if(pe&&!Iu(Rt)&&(Rt=Ho(J,o)),Iu(Rt)&&($=Rt,P))return $;const Wt=e[m+1];m=P?No(Wt):na(Wt)}if(null!==n){let J=x?n.residualClasses:n.residualStyles;null!=J&&($=Ho(J,o))}return $}function Iu(e){return void 0!==e}function Dv(e,n){return 0!=(e.flags&(n?8:16))}function Tv(e,n,i){Ds(Fr,Zs,Xa(Xt(),e,n,i),!0)}function Sv(e,n,i,o,m){Ds(Fr,Zs,Ja(Xt(),e,n,i,o,m),!0)}function Av(e,n,i,o,m,x,P){Ds(Fr,Zs,qa(Xt(),e,n,i,o,m,x,P),!0)}function kv(e,n,i,o,m,x,P,$,J){Ds(Fr,Zs,el(Xt(),e,n,i,o,m,x,P,$,J),!0)}function Ov(e,n,i,o,m,x,P,$,J,pe,Ne){Ds(Fr,Zs,tl(Xt(),e,n,i,o,m,x,P,$,J,pe,Ne),!0)}function Rv(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt){Ds(Fr,Zs,nl(Xt(),e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt),!0)}function Lv(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt){Ds(Fr,Zs,il(Xt(),e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt),!0)}function Pv(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt,sn,mn){Ds(Fr,Zs,rl(Xt(),e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt,sn,mn),!0)}function Nv(e){Ds(Fr,Zs,Qa(Xt(),e),!0)}function Fv(){return Xt()[hi][di]}class PI{destroy(n){}updateValue(n,i){}swap(n,i){const o=Math.min(n,i),m=Math.max(n,i),x=this.detach(m);if(m-o>1){const P=this.detach(o);this.attach(o,x),this.attach(m,P)}else this.attach(o,x)}move(n,i){this.attach(i,this.detach(n))}}function Cf(e,n,i,o,m){return e===i&&Object.is(n,o)?1:Object.is(m(e,n),m(i,o))?-1:0}function wf(e,n,i,o){return!(void 0===n||!n.has(o)||(e.attach(i,n.get(o)),n.delete(o),0))}function Uv(e,n,i,o,m){if(wf(e,n,o,i(o,m)))e.updateValue(o,m);else{const x=e.create(o,m);e.attach(o,x)}}function Bv(e,n,i,o){const m=new Set;for(let x=n;x<=i;x++)m.add(o(x,e.at(x)));return m}class $v{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const i=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(i)?(this.kvMap.set(n,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,i){if(this.kvMap.has(n)){let o=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const m=this._vMap;for(;m.has(o);)o=m.get(o);m.set(o,i)}else this.kvMap.set(n,i)}forEach(n){for(let[i,o]of this.kvMap)if(n(o,i),void 0!==this._vMap){const m=this._vMap;for(;m.has(o);)o=m.get(o),n(o,i)}}}function Vv(e,n,i){Oo("NgControlFlow");const o=Xt(),m=Q(),x=Ef(o,Zt+e);if(_r(o,m,n)){const $=s(null);try{if(gh(x,0),-1!==n){const J=xf(o[un],Zt+n),pe=Ua(x,J.tView.ssrId);Nl(x,Pl(o,J,i,{dehydratedView:pe}),0,Na(J,pe))}}finally{s($)}}else{const $=Y0(x,0);void 0!==$&&($[di]=i)}}class FI{constructor(n,i,o){this.lContainer=n,this.$implicit=i,this.$index=o}get $count(){return this.lContainer.length-Gn}}function jv(e){return e}function Hv(e,n){return n}class UI{constructor(n,i,o){this.hasEmptyBlock=n,this.trackByFn=i,this.liveCollection=o}}function zv(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt){Oo("NgControlFlow");const Rt=void 0!==J,Wt=Xt(),sn=$?P.bind(Wt[hi][di]):P,mn=new UI(Rt,sn);Wt[Zt+e]=mn,Ha(e+1,n,i,o,m,x),Rt&&Ha(e+2,J,pe,Ne,it,Dt)}class BI extends PI{constructor(n,i,o){super(),this.lContainer=n,this.hostLView=i,this.templateTNode=o,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Gn}at(n){return this.getLView(n)[di].$implicit}attach(n,i){const o=i[dr];this.needsIndexUpdate||=n!==this.length,Nl(this.lContainer,i,n,Na(this.templateTNode,o))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function $I(e,n){return Ol(e,n)}(this.lContainer,n)}create(n,i){const o=Ua(this.lContainer,this.templateTNode.tView.ssrId);return Pl(this.hostLView,this.templateTNode,new FI(this.lContainer,i,n),{dehydratedView:o})}destroy(n){Gc(n[un],n)}updateValue(n,i){this.getLView(n)[di].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n{e.destroy($)})}(P,e,x.trackByFn),P.updateIndexes(),x.hasEmptyBlock){const $=Q(),J=0===P.length;if(_r(o,$,J)){const pe=i+2,Ne=Ef(o,pe);if(J){const it=xf(m,pe),Dt=Ua(Ne,it.tView.ssrId);Nl(Ne,Pl(o,it,void 0,{dehydratedView:Dt}),0,Na(it,Dt))}else gh(Ne,0)}}}finally{s(n)}}function Ef(e,n){return e[n]}function xf(e,n){return ls(e,n)}function Du(e,n,i,o){const m=Xt(),x=Hn(),P=Zt+e,$=m[Rn],J=x.firstCreatePass?function jI(e,n,i,o,m,x){const P=n.consts,J=Pa(n,e,2,o,Vi(P,m));return uh(n,i,J,Vi(P,x)),null!==J.attrs&&du(J,J.attrs,!1),null!==J.mergedAttrs&&du(J,J.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,J),J}(P,x,m,n,i,o):x.data[P],pe=Gv(x,m,J,$,n,e);m[P]=pe;const Ne=Or(J);return wr(J,!0),k0($,pe,J),32!=(32&J.flags)&&so()&&Yc(x,m,pe,J),0===function Bo(){return Un.lFrame.elementDepthCount}()&&Vr(pe,m),function $o(){Un.lFrame.elementDepthCount++}(),Ne&&(ah(x,m,J),oh(x,J,m)),null!==o&&lh(m,J),Du}function Tu(){let e=yi();Bs()?$s():(e=e.parent,wr(e,!1));const n=e;(function bo(e){return Un.skipHydrationRootTNode===e})(n)&&function Fs(){Un.skipHydrationRootTNode=null}(),function io(){Un.lFrame.elementDepthCount--}();const i=Hn();return i.firstCreatePass&&(Sc(i,e),ir(e)&&i.queries.elementEnd(e)),null!=n.classesWithoutHost&&function H1(e){return 0!=(8&e.flags)}(n)&&_f(i,n,Xt(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function z1(e){return 0!=(16&e.flags)}(n)&&_f(i,n,Xt(),n.stylesWithoutHost,!1),Tu}function Mf(e,n,i,o){return Du(e,n,i,o),Tu(),Mf}let Gv=(e,n,i,o,m,x)=>(pr(!0),Wc(o,m,ua()));function HI(e,n,i,o,m,x){const P=n[dr],$=!P||qr()||bc(P,x);if(pr($),$)return Wc(o,m,ua());const J=ru(P,e,n,i);return Ym(P,x)&&vc(P,x,J.nextSibling),P&&(pa(i)||ga(J))&&$i(i)&&(function yo(e){Un.skipHydrationRootTNode=e}(i),T0(J)),J}function Su(e,n,i){const o=Xt(),m=Hn(),x=e+Zt,P=m.firstCreatePass?function WI(e,n,i,o,m){const x=n.consts,P=Vi(x,o),$=Pa(n,e,8,"ng-container",P);return null!==P&&du($,P,!0),uh(n,i,$,Vi(x,m)),null!==n.queries&&n.queries.elementStart(n,$),$}(x,m,o,n,i):m.data[x];wr(P,!0);const $=Kv(m,o,P,e);return o[x]=$,so()&&Yc(m,o,$,P),Vr($,o),Or(P)&&(ah(m,o,P),oh(m,P,o)),null!=i&&lh(o,P),Su}function Au(){let e=yi();const n=Hn();return Bs()?$s():(e=e.parent,wr(e,!1)),n.firstCreatePass&&(Sc(n,e),ir(e)&&n.queries.elementEnd(e)),Au}function If(e,n,i){return Su(e,n,i),Au(),If}let Kv=(e,n,i,o)=>(pr(!0),qd(n[Rn],""));function GI(e,n,i,o){let m;const x=n[dr],P=!x||qr();if(pr(P),P)return qd(n[Rn],"");const $=ru(x,e,n,i),J=function v1(e,n){const i=e.data;let o=i[rd]?.[n]??null;return null===o&&i[yl]?.[n]&&(o=fd(e,n)),o}(x,o);return vc(x,o,$),m=su(J,$),m}function Yv(){return Xt()}function Df(e,n,i){const o=Xt();return _r(o,Q(),n)&&ns(Hn(),_i(),o,e,n,o[Rn],i,!0),Df}function Tf(e,n,i){const o=Xt();if(_r(o,Q(),n)){const x=Hn(),P=_i();ns(x,P,o,e,n,K0(bn(x.data),P,o),i,!0)}return Tf}const ia=void 0;var ZI=["en",[["a","p"],["AM","PM"],ia],[["AM","PM"],ia,ia],[["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"]],ia,[["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"]],ia,[["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}",ia,"{1} 'at' {0}",ia],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function YI(e){const i=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let ol={};function QI(e,n,i){"string"!=typeof n&&(i=n,n=e[al.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),ol[n]=e,i&&(ol[n][al.ExtraData]=i)}function Sf(e){const n=function qI(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=Qv(n);if(i)return i;const o=n.split("-")[0];if(i=Qv(o),i)return i;if("en"===o)return ZI;throw new be(701,!1)}function XI(e){return Sf(e)[al.CurrencyCode]||null}function Zv(e){return Sf(e)[al.PluralCase]}function Qv(e){return e in ol||(ol[e]=ft.ng&&ft.ng.common&&ft.ng.common.locales&&ft.ng.common.locales[e]),ol[e]}function JI(){ol={}}var al=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}(al||{});const eD=["zero","one","two","few","many"],ra="en-US",ku={marker:"element"},Ou={marker:"ICU"};var is=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(is||{});let Xv=ra;function Af(e){"string"==typeof e&&(Xv=e.toLowerCase().replace(/_/g,"-"))}function Jv(e,n,i){const o=n.insertBeforeIndex,m=Array.isArray(o)?o[0]:o;return null===m?x0(e,0,i):Bi(i[m])}function qv(e,n,i,o,m){const x=n.insertBeforeIndex;if(Array.isArray(x)){let P=o,$=null;if(3&n.type||($=P,P=m),null!==P&&-1===n.componentOffset)for(let J=1;J1)for(let i=e.length-2;i>=0;i--){const o=e[i];tb(o)||rD(o,n)&&null===sD(o)&&oD(o,n.index)}}function tb(e){return!(64&e.type)}function rD(e,n){return tb(n)||e.index>n.index}function sD(e){const n=e.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function oD(e,n){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=n:(I0(Jv,qv),e.insertBeforeIndex=n)}function tc(e,n){const i=e.data[n];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function cD(e,n,i){const o=sh(e,i,64,null,null);return eb(n,o),o}function Ru(e,n){const i=n[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function nb(e){return e>>>17}function ib(e){return(131070&e)>>>1}let nc=0,ic=0;function sb(e,n,i,o){const m=i[Rn];let P,x=null;for(let $=0;$>>1,i),null,null,Rt,Wt,null)}else switch(J){case Ou:const pe=n[++$],Ne=n[++$];null===i[Ne]&&Vr(i[Ne]=qd(m,pe),i);break;case ku:const it=n[++$],Dt=n[++$];null===i[Dt]&&Vr(i[Dt]=Wc(m,it,null),i)}}}function ob(e,n,i,o,m){for(let x=0;x>>2;switch(3&Ne){case 1:const Dt=i[++pe],Rt=i[++pe],Wt=e.data[it];"string"==typeof Wt?hh(n[Rn],n[it],null,Wt,Dt,J,Rt):ns(e,Wt,n,Dt,J,n[Rn],Rt,!1);break;case 0:const sn=n[it];null!==sn&&_0(n[Rn],sn,J);break;case 2:mD(e,tc(e,it),n,J);break;case 3:ab(e,tc(e,it),o,n)}}}}else{const J=i[x+1];if(J>0&&3==(3&J)){const Ne=tc(e,J>>>2);n[Ne.currentCaseLViewIndex]<0&&ab(e,Ne,o,n)}}x+=$}}function ab(e,n,i,o){let m=o[n.currentCaseLViewIndex];if(null!==m){let x=nc;m<0&&(m=o[n.currentCaseLViewIndex]=~m,x=-1),ob(e,o,n.update[m],i,x)}}function mD(e,n,i,o){const m=function pD(e,n){let i=e.cases.indexOf(n);if(-1===i)switch(e.type){case 1:{const o=function tD(e,n){const i=Zv(n)(parseInt(e,10)),o=eD[i];return void 0!==o?o:"other"}(n,function iD(){return Xv}());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}(n,o);if(Ru(n,i)!==m&&(lb(e,n,i),i[n.currentCaseLViewIndex]=null===m?null:~m,null!==m)){const P=i[n.anchorIdx];P&&sb(e,n.create[m],i,P)}}function lb(e,n,i){let o=Ru(n,i);if(null!==o){const m=n.remove[o];for(let x=0;x0){const $=Os(P,i);null!==$&&Zc(i[Rn],$)}else lb(e,tc(e,~P),i)}}}function gD(){const e=[];let i,o,n=-1;function x($,J){n=0;const pe=Ru($,J);o=null!==pe?$.remove[pe]:ln}function P(){if(n0?i[$]:(e.push(n,o),x(i[un].data[~$],i),P())}return 0===e.length?null:(o=e.pop(),n=e.pop(),P())}return function m($,J){for(i=J;e.length;)e.pop();return x($.value,J),P}}const Lu=/\ufffd(\d+):?\d*\ufffd/gi,_D=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,vD=/\ufffd(\d+)\ufffd/,ub=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,rc="\ufffd",bD=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,yD=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,CD=/\uE500/g;function db(e,n,i,o,m,x,P){const $=Ll(e,o,1,null);let J=$<i.length&&i.push(J)}return{type:o,mainBinding:m,cases:n,values:i}}function kf(e){if(!e)return[];let n=0;const i=[],o=[],m=/[{}]/g;let x;for(m.lastIndex=0;x=m.exec(e);){const $=x.index;if("}"==x[0]){if(i.pop(),0==i.length){const J=e.substring(n,$);ub.test(J)?o.push(SD(J)):o.push(J),n=$+1}}else{if(0==i.length){const J=e.substring(n,$);o.push(J),n=$+1}i.push("{")}}const P=e.substring(n);return o.push(P),o}function AD(e,n,i,o,m,x,P,$){const J=[],pe=[],Ne=[];n.cases.push(x),n.create.push(J),n.remove.push(pe),n.update.push(Ne);const Dt=Bp(ie()).getInertBodyElement(P),Rt=Vd(Dt)||Dt;return Rt?pb(e,n,i,o,J,pe,Ne,Rt,m,$,0):0}function pb(e,n,i,o,m,x,P,$,J,pe,Ne){let it=0,Dt=$.firstChild;for(;Dt;){const Rt=Ll(e,i,1,null);switch(Dt.nodeType){case Node.ELEMENT_NODE:const Wt=Dt,sn=Wt.tagName.toLowerCase();if(Bd.hasOwnProperty(sn)){Of(m,ku,sn,J,Rt),e.data[Rt]=sn;const ti=Wt.attributes;for(let vi=0;vi>>is.SHIFT;let it=e[Ne];null===it&&(it=e[Ne]=(P&is.COMMENT)===is.COMMENT?m.createComment($):zc(m,$)),pe&&null!==i&&Jo(m,i,it,o,!1)}})(m,J.create,Ne,$&&8&$.type?m[$.index]:null),ye(!0)}function Lf(){ye(!1)}function vb(e,n,i){Rf(e,n,i),Lf()}function bb(e,n){const i=Hn(),o=Vi(i.consts,n);!function MD(e,n,i){const m=yi().index,x=[];if(e.firstCreatePass&&null===e.data[n]){for(let P=0;P0){const o=e.data[i];ob(e,n,Array.isArray(o)?o:o.update,Wr()-ic-1,nc)}nc=0,ic=0}(Hn(),Xt(),e+Zt)}function Cb(e,n={}){return function jD(e,n={}){let i=e;if(PD.test(e)){const o={},m=[_b];i=i.replace(ND,(x,P,$)=>{const J=P||$,pe=o[J]||[];if(pe.length||(J.split("|").forEach(sn=>{const mn=sn.match(VD),Mn=mn?parseInt(mn[1],10):_b,nn=$D.test(sn);pe.push([Mn,nn,sn])}),o[J]=pe),!pe.length)throw new Error(`i18n postprocess: unmatched placeholder - ${J}`);const Ne=m[m.length-1];let it=0;for(let sn=0;snn.hasOwnProperty(x)?`${m}${n[x]}${J}`:o),i=i.replace(UD,(o,m)=>n.hasOwnProperty(m)?n[m]:o),i=i.replace(BD,(o,m)=>{if(n.hasOwnProperty(m)){const x=n[m];if(!x.length)throw new Error(`i18n postprocess: unmatched ICU - ${o} with key: ${m}`);return x.shift()}return o})),i}(e,n)}function Nf(e,n,i,o){const m=Xt(),x=Hn(),P=yi();return Uf(x,m,m[Rn],P,e,n,o),Nf}function Ff(e,n){const i=yi(),o=Xt(),m=Hn();return Uf(m,o,K0(bn(m.data),i,o),i,e,n),Ff}function Uf(e,n,i,o,m,x,P){const $=Or(o),pe=e.firstCreatePass&&G0(e),Ne=n[di],it=W0(n);let Dt=!0;if(3&o.type||P){const sn=lr(o,n),mn=P?P(sn):sn,Mn=it.length,nn=P?vi=>P(Bi(vi[o.index])):o.index;let ti=null;if(!P&&$&&(ti=function HD(e,n,i,o){const m=e.cleanup;if(null!=m)for(let x=0;xJ?$[J]:null}"string"==typeof P&&(x+=2)}return null}(e,n,m,o.index)),null!==ti)(ti.__ngLastListenerFn__||ti).__ngNextListenerFn__=x,ti.__ngLastListenerFn__=x,Dt=!1;else{x=Eb(o,n,Ne,x,!1);const vi=i.listen(mn,m,x);it.push(x,vi),pe&&pe.push(m,nn,Mn,Mn+1)}}else x=Eb(o,n,Ne,x,!1);const Rt=o.outputs;let Wt;if(Dt&&null!==Rt&&(Wt=Rt[m])){const sn=Wt.length;if(sn)for(let mn=0;mn-1?cr(e.index,n):n);let J=wb(n,i,o,P),pe=x.__ngNextListenerFn__;for(;pe;)J=wb(n,i,pe,P)&&J,pe=pe.__ngNextListenerFn__;return m&&!1===J&&P.preventDefault(),J}}function xb(e=1){return function Gr(e){return(Un.lFrame.contextLView=no(e,Un.lFrame.contextLView))[di]}(e)}function zD(e,n){let i=null;const o=function Tn(e){const n=e.attrs;if(null!=n){const i=n.indexOf(5);if(!(1&i))return n[i+1]}return null}(e);for(let m=0;m=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),n[i]=o}function Pb(e){return Jr(function wo(){return Un.lFrame.contextLView}(),Zt+e)}function Nb(e,n,i){Ms(Xa(Xt(),e,n,i))}function Fb(e,n,i,o,m){Ms(Ja(Xt(),e,n,i,o,m))}function Ub(e,n,i,o,m,x,P){Ms(qa(Xt(),e,n,i,o,m,x,P))}function Bb(e,n,i,o,m,x,P,$,J){Ms(el(Xt(),e,n,i,o,m,x,P,$,J))}function $b(e,n,i,o,m,x,P,$,J,pe,Ne){Ms(tl(Xt(),e,n,i,o,m,x,P,$,J,pe,Ne))}function Vb(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt){Ms(nl(Xt(),e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt))}function jb(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt){Ms(il(Xt(),e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt))}function Hb(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt,sn,mn){Ms(rl(Xt(),e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt,sn,mn))}function zb(e){Ms(Qa(Xt(),e))}function Yf(e,n,i,o,m){return Is(e,Xa(Xt(),n,i,o),m,!1),Yf}function Zf(e,n,i,o,m,x,P){return Is(e,Ja(Xt(),n,i,o,m,x),P,!1),Zf}function Qf(e,n,i,o,m,x,P,$,J){return Is(e,qa(Xt(),n,i,o,m,x,P,$),J,!1),Qf}function Xf(e,n,i,o,m,x,P,$,J,pe,Ne){return Is(e,el(Xt(),n,i,o,m,x,P,$,J,pe),Ne,!1),Xf}function Jf(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt){return Is(e,tl(Xt(),n,i,o,m,x,P,$,J,pe,Ne,it),Dt,!1),Jf}function qf(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt){return Is(e,nl(Xt(),n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt),Wt,!1),qf}function em(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt,sn,mn){return Is(e,il(Xt(),n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt,sn),mn,!1),em}function tm(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt,sn,mn,Mn,nn){return Is(e,rl(Xt(),n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt,sn,mn,Mn),nn,!1),tm}function nm(e,n,i){return Is(e,Qa(Xt(),n),i,!1),nm}function Wb(e,n=""){const i=Xt(),o=Hn(),m=e+Zt,x=o.firstCreatePass?Pa(o,m,1,n,null):o.data[m],P=Gb(o,i,x,n,e);i[m]=P,so()&&Yc(o,i,P,x),wr(x,!1)}let Gb=(e,n,i,o,m)=>(pr(!0),zc(n[Rn],o));function WD(e,n,i,o,m){const x=n[dr],P=!x||qr()||bc(x,m);return pr(P),P?zc(n[Rn],o):ru(x,e,n,i)}function im(e){return Nu("",e,""),im}function Nu(e,n,i){const o=Xt(),m=Xa(o,e,n,i);return m!==ri&&ho(o,zi(),m),Nu}function rm(e,n,i,o,m){const x=Xt(),P=Ja(x,e,n,i,o,m);return P!==ri&&ho(x,zi(),P),rm}function sm(e,n,i,o,m,x,P){const $=Xt(),J=qa($,e,n,i,o,m,x,P);return J!==ri&&ho($,zi(),J),sm}function om(e,n,i,o,m,x,P,$,J){const pe=Xt(),Ne=el(pe,e,n,i,o,m,x,P,$,J);return Ne!==ri&&ho(pe,zi(),Ne),om}function am(e,n,i,o,m,x,P,$,J,pe,Ne){const it=Xt(),Dt=tl(it,e,n,i,o,m,x,P,$,J,pe,Ne);return Dt!==ri&&ho(it,zi(),Dt),am}function lm(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt){const Rt=Xt(),Wt=nl(Rt,e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt);return Wt!==ri&&ho(Rt,zi(),Wt),lm}function cm(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt){const sn=Xt(),mn=il(sn,e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt);return mn!==ri&&ho(sn,zi(),mn),cm}function um(e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt,sn,mn){const Mn=Xt(),nn=rl(Mn,e,n,i,o,m,x,P,$,J,pe,Ne,it,Dt,Rt,Wt,sn,mn);return nn!==ri&&ho(Mn,zi(),nn),um}function dm(e){const n=Xt(),i=Qa(n,e);return i!==ri&&ho(n,zi(),i),dm}function hm(e,n,i){pg(n)&&(n=n());const o=Xt();return _r(o,Q(),n)&&ns(Hn(),_i(),o,e,n,o[Rn],i,!1),hm}function Kb(e,n){const i=pg(e);return i&&e.set(n),i}function fm(e,n){const i=Xt(),o=Hn(),m=yi();return Uf(o,i,i[Rn],m,e,n),fm}function mm(e,n,i,o,m){if(e=_n(e),Array.isArray(e))for(let x=0;x>20;if(Ko(e)||!e.multi){const Rt=new Ml(pe,m,La),Wt=gm(J,n,m?Ne:Ne+Dt,it);-1===Wt?(kd(Rc($,P),x,J),pm(x,e,n.length),n.push(J),$.directiveStart++,$.directiveEnd++,m&&($.providerIndexes+=1048576),i.push(Rt),P.push(Rt)):(i[Wt]=Rt,P[Wt]=Rt)}else{const Rt=gm(J,n,Ne+Dt,it),Wt=gm(J,n,Ne,Ne+Dt),mn=Wt>=0&&i[Wt];if(m&&!mn||!m&&!(Rt>=0&&i[Rt])){kd(Rc($,P),x,J);const Mn=function QD(e,n,i,o,m){const x=new Ml(e,i,La);return x.multi=[],x.index=n,x.componentProviders=0,Yb(x,m,o&&!i),x}(m?ZD:YD,i.length,m,o,pe);!m&&mn&&(i[Wt].providerFactory=Mn),pm(x,e,n.length,0),n.push(J),$.directiveStart++,$.directiveEnd++,m&&($.providerIndexes+=1048576),i.push(Mn),P.push(Mn)}else pm(x,e,Rt>-1?Rt:Wt,Yb(i[m?Wt:Rt],pe,!m&&o));!m&&o&&mn&&i[Wt].componentProviders++}}}function pm(e,n,i,o){const m=Ko(n),x=function y1(e){return!!e.useClass}(n);if(m||x){const J=(x?_n(n.useClass):n).prototype.ngOnDestroy;if(J){const pe=e.destroyHooks||(e.destroyHooks=[]);if(!m&&n.multi){const Ne=pe.indexOf(i);-1===Ne?pe.push(i,[o,J]):pe[Ne+1].push(o,J)}else pe.push(i,J)}}}function Yb(e,n,i){return i&&e.componentProviders++,e.multi.push(n)-1}function gm(e,n,i,o){for(let m=i;m{i.providersResolver=(o,m)=>function KD(e,n,i){const o=Hn();if(o.firstCreatePass){const m=fr(e);mm(i,o.data,o.blueprint,m,!0),mm(n,o.data,o.blueprint,m,!1)}}(o,m?m(e):e,n)}}let XD=(()=>{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=qm(0,i.type),m=o.length>0?T_([o],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,m)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Z({token:e,providedIn:"environment",factory:()=>new e($r(zs))})}return e})();function Qb(e){Oo("NgStandalone"),e.getStandaloneInjector=n=>n.get(XD).getOrCreateStandaloneInjector(e)}function Xb(e,n,i){const o=e.\u0275cmp;o.directiveDefs=Oi(n,!1),o.pipeDefs=Oi(i,!0)}function Jb(e,n){return Ye(()=>{const i=pn(e,!0);i.declarations=Fu(n.declarations||ln),i.imports=Fu(n.imports||ln),i.exports=Fu(n.exports||ln),n.bootstrap&&(i.bootstrap=Fu(n.bootstrap)),$a.registerNgModule(e,n)})}function Fu(e){if("function"==typeof e)return e;const n=ur(e);return n.some(ii)?()=>n.map(_n).map(qb):n.map(qb)}function qb(e){return Rh(e)?e.ngModule:e}function vm(e){const n=Yr(e);if(null===n)return null;if(void 0===n.component){const i=n.lView;if(null===i)return null;n.component=function jw(e,n){const i=n[un].data[e],{directiveStart:o,componentOffset:m}=i;return m>-1?n[o+m]:null}(n.nodeIndex,i)}return n.component}function ry(e){if(e instanceof Text)return[];const n=Yr(e),i=n?n.lView:null;if(null===i)return[];const o=i[un],m=n.nodeIndex;return o?.data[m]?(void 0===n.directives&&(n.directives=a0(m,i)),null===n.directives?[]:[...n.directives]):[]}function bm(e){return Yr(e).native}function tT(e,n){return e.name==n.name?0:e.name=0;i--){const o=n[i];if(e===o.name)return o}}(n,i.pipeRegistry),i.data[m]=o,o.onDestroy&&(i.destroyHooks??=[]).push(m,o.onDestroy)):o=i.data[m];const x=o.factory||(o.factory=Wo(o.type)),$=ts(La);try{const J=Oc(!1),pe=x();return Oc(J),Lb(i,Xt(),m,pe),pe}finally{ts($)}}function Ey(e,n,i){const o=e+Zt,m=Xt(),x=Jr(m,o);return ac(m,o)?_y(m,Zi(),n,x.transform,i,x):x.transform(i)}function xy(e,n,i,o){const m=e+Zt,x=Xt(),P=Jr(x,m);return ac(x,m)?vy(x,Zi(),n,P.transform,i,o,P):P.transform(i,o)}function My(e,n,i,o,m){const x=e+Zt,P=Xt(),$=Jr(P,x);return ac(P,x)?by(P,Zi(),n,$.transform,i,o,m,$):$.transform(i,o,m)}function Iy(e,n,i,o,m,x){const P=e+Zt,$=Xt(),J=Jr($,P);return ac($,P)?yy($,Zi(),n,J.transform,i,o,m,x,J):J.transform(i,o,m,x)}function Dy(e,n,i){const o=e+Zt,m=Xt(),x=Jr(m,o);return ac(m,o)?Cy(m,Zi(),n,x.transform,i,x):x.transform.apply(x,i)}function ac(e,n){return e[un].data[n].pure}function Ty(e,n){return tu(e,n)}function Sy(e,n){return()=>{try{return $a.getComponentDependencies(e,n).dependencies}catch(i){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,i),i}}}function Ay(e,n){const i=Dn(e);null!==i&&(i.debugInfo=n)}const Zr={\u0275\u0275attribute:tf,\u0275\u0275attributeInterpolate1:nf,\u0275\u0275attributeInterpolate2:rf,\u0275\u0275attributeInterpolate3:sf,\u0275\u0275attributeInterpolate4:af,\u0275\u0275attributeInterpolate5:lf,\u0275\u0275attributeInterpolate6:cf,\u0275\u0275attributeInterpolate7:uf,\u0275\u0275attributeInterpolate8:df,\u0275\u0275attributeInterpolateV:hf,\u0275\u0275defineComponent:Gi,\u0275\u0275defineDirective:Wn,\u0275\u0275defineInjectable:Z,\u0275\u0275defineInjector:Ee,\u0275\u0275defineNgModule:ki,\u0275\u0275definePipe:Zn,\u0275\u0275directiveInject:La,\u0275\u0275getInheritedFactory:Ep,\u0275\u0275inject:$r,\u0275\u0275injectAttribute:Rd,\u0275\u0275invalidFactory:L0,\u0275\u0275invalidFactoryDep:ed,\u0275\u0275templateRefExtractor:Ty,\u0275\u0275resetView:Us,\u0275\u0275HostDirectivesFeature:b_,\u0275\u0275NgOnChangesFeature:xd,\u0275\u0275ProvidersFeature:Zb,\u0275\u0275CopyDefinitionFeature:v_,\u0275\u0275InheritDefinitionFeature:Wh,\u0275\u0275InputTransformsFeature:E_,\u0275\u0275StandaloneFeature:Qb,\u0275\u0275nextContext:xb,\u0275\u0275namespaceHTML:ca,\u0275\u0275namespaceMathML:Kr,\u0275\u0275namespaceSVG:ws,\u0275\u0275enableBindings:Ps,\u0275\u0275disableBindings:Ns,\u0275\u0275elementStart:Du,\u0275\u0275elementEnd:Tu,\u0275\u0275element:Mf,\u0275\u0275elementContainerStart:Su,\u0275\u0275elementContainerEnd:Au,\u0275\u0275elementContainer:If,\u0275\u0275pureFunction0:ay,\u0275\u0275pureFunction1:ly,\u0275\u0275pureFunction2:cy,\u0275\u0275pureFunction3:uy,\u0275\u0275pureFunction4:dy,\u0275\u0275pureFunction5:hy,\u0275\u0275pureFunction6:fy,\u0275\u0275pureFunction7:my,\u0275\u0275pureFunction8:py,\u0275\u0275pureFunctionV:gy,\u0275\u0275getCurrentView:Yv,\u0275\u0275restoreView:Lr,\u0275\u0275listener:Nf,\u0275\u0275projection:Ib,\u0275\u0275syntheticHostProperty:Tf,\u0275\u0275syntheticHostListener:Ff,\u0275\u0275pipeBind1:Ey,\u0275\u0275pipeBind2:xy,\u0275\u0275pipeBind3:My,\u0275\u0275pipeBind4:Iy,\u0275\u0275pipeBindV:Dy,\u0275\u0275projectionDef:Mb,\u0275\u0275hostProperty:Df,\u0275\u0275property:gf,\u0275\u0275propertyInterpolate:Bf,\u0275\u0275propertyInterpolate1:Pu,\u0275\u0275propertyInterpolate2:$f,\u0275\u0275propertyInterpolate3:Vf,\u0275\u0275propertyInterpolate4:jf,\u0275\u0275propertyInterpolate5:Hf,\u0275\u0275propertyInterpolate6:zf,\u0275\u0275propertyInterpolate7:Wf,\u0275\u0275propertyInterpolate8:Gf,\u0275\u0275propertyInterpolateV:Kf,\u0275\u0275pipe:wy,\u0275\u0275queryRefresh:Sb,\u0275\u0275queryAdvance:Rb,\u0275\u0275viewQuery:Tb,\u0275\u0275viewQuerySignal:Ob,\u0275\u0275loadQuery:Ab,\u0275\u0275contentQuery:Db,\u0275\u0275contentQuerySignal:kb,\u0275\u0275reference:Pb,\u0275\u0275classMap:Cv,\u0275\u0275classMapInterpolate1:Tv,\u0275\u0275classMapInterpolate2:Sv,\u0275\u0275classMapInterpolate3:Av,\u0275\u0275classMapInterpolate4:kv,\u0275\u0275classMapInterpolate5:Ov,\u0275\u0275classMapInterpolate6:Rv,\u0275\u0275classMapInterpolate7:Lv,\u0275\u0275classMapInterpolate8:Pv,\u0275\u0275classMapInterpolateV:Nv,\u0275\u0275styleMap:Ms,\u0275\u0275styleMapInterpolate1:Nb,\u0275\u0275styleMapInterpolate2:Fb,\u0275\u0275styleMapInterpolate3:Ub,\u0275\u0275styleMapInterpolate4:Bb,\u0275\u0275styleMapInterpolate5:$b,\u0275\u0275styleMapInterpolate6:Vb,\u0275\u0275styleMapInterpolate7:jb,\u0275\u0275styleMapInterpolate8:Hb,\u0275\u0275styleMapInterpolateV:zb,\u0275\u0275styleProp:vf,\u0275\u0275stylePropInterpolate1:Yf,\u0275\u0275stylePropInterpolate2:Zf,\u0275\u0275stylePropInterpolate3:Qf,\u0275\u0275stylePropInterpolate4:Xf,\u0275\u0275stylePropInterpolate5:Jf,\u0275\u0275stylePropInterpolate6:qf,\u0275\u0275stylePropInterpolate7:em,\u0275\u0275stylePropInterpolate8:tm,\u0275\u0275stylePropInterpolateV:nm,\u0275\u0275classProp:bf,\u0275\u0275advance:O0,\u0275\u0275template:Ha,\u0275\u0275conditional:Vv,\u0275\u0275defer:K_,\u0275\u0275deferWhen:Y_,\u0275\u0275deferOnIdle:Q_,\u0275\u0275deferOnImmediate:J_,\u0275\u0275deferOnTimer:ev,\u0275\u0275deferOnHover:nv,\u0275\u0275deferOnInteraction:rv,\u0275\u0275deferOnViewport:ov,\u0275\u0275deferPrefetchWhen:Z_,\u0275\u0275deferPrefetchOnIdle:X_,\u0275\u0275deferPrefetchOnImmediate:q_,\u0275\u0275deferPrefetchOnTimer:tv,\u0275\u0275deferPrefetchOnHover:iv,\u0275\u0275deferPrefetchOnInteraction:sv,\u0275\u0275deferPrefetchOnViewport:av,\u0275\u0275deferEnableTimerScheduling:G_,\u0275\u0275repeater:Wv,\u0275\u0275repeaterCreate:zv,\u0275\u0275repeaterTrackByIndex:jv,\u0275\u0275repeaterTrackByIdentity:Hv,\u0275\u0275componentInstance:Fv,\u0275\u0275text:Wb,\u0275\u0275textInterpolate:im,\u0275\u0275textInterpolate1:Nu,\u0275\u0275textInterpolate2:rm,\u0275\u0275textInterpolate3:sm,\u0275\u0275textInterpolate4:om,\u0275\u0275textInterpolate5:am,\u0275\u0275textInterpolate6:lm,\u0275\u0275textInterpolate7:cm,\u0275\u0275textInterpolate8:um,\u0275\u0275textInterpolateV:dm,\u0275\u0275i18n:vb,\u0275\u0275i18nAttributes:bb,\u0275\u0275i18nExp:Pf,\u0275\u0275i18nStart:Rf,\u0275\u0275i18nEnd:Lf,\u0275\u0275i18nApply:yb,\u0275\u0275i18nPostprocess:Cb,\u0275\u0275resolveWindow:h0,\u0275\u0275resolveDocument:f0,\u0275\u0275resolveBody:Qd,\u0275\u0275setComponentScope:Xb,\u0275\u0275setNgModuleScope:Jb,\u0275\u0275registerNgModuleType:zh,\u0275\u0275getComponentDepsFactory:Sy,\u0275setClassDebugInfo:Ay,\u0275\u0275sanitizeHtml:Gp,\u0275\u0275sanitizeStyle:Kp,\u0275\u0275sanitizeResourceUrl:Hd,\u0275\u0275sanitizeScript:Yp,\u0275\u0275sanitizeUrl:jd,\u0275\u0275sanitizeUrlOrResourceUrl:Xp,\u0275\u0275trustConstantHtml:Zp,\u0275\u0275trustConstantResourceUrl:Qp,\u0275\u0275validateIframeAttribute:g_,forwardRef:Qi,resolveForwardRef:_n,\u0275\u0275twoWayProperty:hm,\u0275\u0275twoWayBindingSet:Kb,\u0275\u0275twoWayListener:fm,\u0275\u0275InputFlags:se};let ll=null;function aT(){ll=null}const lc=[];let ym=!1;function ky(){if(!ym){ym=!0;try{for(let e=lc.length-1;e>=0;e--){const{moduleType:n,ngModule:i}=lc[e];i.declarations&&i.declarations.every(Oy)&&(lc.splice(e,1),dT(n,i))}}finally{ym=!1}}}function Oy(e){return Array.isArray(e)?e.every(Oy):!!_n(e)}function Ry(e,n={}){Ly(e,n),void 0!==n.id&&zh(e,n.id),function lT(e,n){lc.push({moduleType:e,ngModule:n})}(e,n)}function Ly(e,n,i=!1){const o=ur(n.declarations||ln);let m=null;Object.defineProperty(e,Ji,{configurable:!0,get:()=>(null===m&&(m=Er().compileNgModule(Zr,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:ur(n.bootstrap||ln).map(_n),declarations:o.map(_n),imports:ur(n.imports||ln).map(_n).map(Uy),exports:ur(n.exports||ln).map(_n).map(Uy),schemas:n.schemas?ur(n.schemas):null,id:n.id||null}),m.schemas||(m.schemas=[])),m)});let x=null;Object.defineProperty(e,mi,{get:()=>{if(null===x){const $=Er();x=$.compileFactory(Zr,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Nc(e),target:$.FactoryTarget.NgModule,typeArgumentCount:0})}return x},configurable:!1});let P=null;Object.defineProperty(e,Ce,{get:()=>{if(null===P){const $={name:e.name,type:e,providers:n.providers||ln,imports:[(n.imports||ln).map(_n),(n.exports||ln).map(_n)]};P=Er().compileInjector(Zr,`ng:///${e.name}/\u0275inj.js`,$)}return P},configurable:!1})}function Py(e,n){return`Unexpected "${xi(e)}" found in the "declarations" array of the ${n}, "${xi(e)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}let Uu=new WeakMap,wm=new WeakMap;function uT(){Uu=new WeakMap,wm=new WeakMap,lc.length=0,Ki.clear()}function dT(e,n){const i=ur(n.declarations||ln),o=sa(e);i.forEach(m=>{(m=_n(m)).hasOwnProperty(Si)?Em(Dn(m),o):!m.hasOwnProperty(Fi)&&!m.hasOwnProperty(si)&&(m.ngSelectorScope=e)})}function Em(e,n){e.directiveDefs=()=>Array.from(n.compilation.directives).map(i=>i.hasOwnProperty(Si)?Dn(i):Qn(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(n.compilation.pipes).map(i=>ui(i)),e.schemas=n.schemas,e.tView=null}function sa(e){if(Lo(e)){if(uu){const n=$a.getNgModuleScope(e);return{schemas:pn(e,!0).schemas||null,...n}}return function hT(e){const n=pn(e,!0);if(null!==n.transitiveCompileScopes)return n.transitiveCompileScopes;const i={schemas:n.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return ss(n.imports).forEach(o=>{const m=sa(o);m.exported.directives.forEach(x=>i.compilation.directives.add(x)),m.exported.pipes.forEach(x=>i.compilation.pipes.add(x))}),ss(n.declarations).forEach(o=>{ui(o)?i.compilation.pipes.add(o):i.compilation.directives.add(o)}),ss(n.exports).forEach(o=>{const m=o;if(Lo(m)){const x=sa(m);x.exported.directives.forEach(P=>{i.compilation.directives.add(P),i.exported.directives.add(P)}),x.exported.pipes.forEach(P=>{i.compilation.pipes.add(P),i.exported.pipes.add(P)})}else ui(m)?i.exported.pipes.add(m):i.exported.directives.add(m)}),n.transitiveCompileScopes=i,i}(e)}if(cn(e)){if(null!==(Dn(e)||Qn(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==ui(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 Uy(e){return Rh(e)?e.ngModule:e}let xm=0;function By(e,n){let i=null;(function kM(e,n){h_(n)&&(ja.set(e,n),Yl.add(e))})(e,n),Vy(e,n),Object.defineProperty(e,Si,{get:()=>{if(null===i){const o=Er();if(h_(n)){const pe=[`Component '${e.name}' is not resolved:`];throw n.templateUrl&&pe.push(` - templateUrl: ${n.templateUrl}`),n.styleUrls&&n.styleUrls.length&&pe.push(` - styleUrls: ${JSON.stringify(n.styleUrls)}`),n.styleUrl&&pe.push(` - styleUrl: ${n.styleUrl}`),pe.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(pe.join("\n"))}const m=function oT(){return ll}();let x=n.preserveWhitespaces;void 0===x&&(x=null!==m&&void 0!==m.preserveWhitespaces&&m.preserveWhitespaces);let P=n.encapsulation;void 0===P&&(P=null!==m&&void 0!==m.defaultEncapsulation?m.defaultEncapsulation:et.Emulated);const $=n.templateUrl||`ng:///${e.name}/template.html`,J={...jy(e,n),typeSourceSpan:o.createParseSourceSpan("Component",e.name,$),template:n.template||"",preserveWhitespaces:x,styles:"string"==typeof n.styles?[n.styles]:n.styles||ln,animations:n.animations,declarations:[],changeDetection:n.changeDetection,encapsulation:P,interpolation:n.interpolation,viewProviders:n.viewProviders||null};xm++;try{if(J.usesInheritance&&Hy(e),i=o.compileComponent(Zr,$,J),n.standalone){const pe=ur(n.imports||ln),{directiveDefs:Ne,pipeDefs:it}=function fT(e,n){let i=null,o=null;return{directiveDefs:()=>{if(uu)return Gl(e)?[...$a.getStandaloneComponentScope(e,n).compilation.directives].map($=>Dn($)||Qn($)).filter($=>null!==$):[];if(null===i){i=[Dn(e)];const P=new Set([e]);for(const $ of n){const J=_n($);if(!P.has(J))if(P.add(J),pn(J)){const pe=sa(J);for(const Ne of pe.exported.directives){const it=Dn(Ne)||Qn(Ne);it&&!P.has(Ne)&&(P.add(Ne),i.push(it))}}else{const pe=Dn(J)||Qn(J);pe&&i.push(pe)}}}return i},pipeDefs:()=>{if(uu)return Gl(e)?[...$a.getStandaloneComponentScope(e,n).compilation.pipes].map($=>ui($)).filter($=>null!==$):[];if(null===o){o=[];const P=new Set;for(const $ of n){const J=_n($);if(!P.has(J))if(P.add(J),pn(J)){const pe=sa(J);for(const Ne of pe.exported.pipes){const it=ui(Ne);it&&!P.has(Ne)&&(P.add(Ne),o.push(it))}}else{const pe=ui(J);pe&&o.push(pe)}}}return o}}}(e,pe);i.directiveDefs=Ne,i.pipeDefs=it,i.dependencies=()=>pe.map(_n)}}finally{xm--}if(0===xm&&ky(),function mT(e){return void 0!==e.ngSelectorScope}(e)){const pe=sa(e.ngSelectorScope);Em(i,pe)}if(n.schemas){if(!n.standalone)throw new Error(`The 'schemas' was specified for the ${xi(e)} but is only valid on a component that is standalone.`);i.schemas=n.schemas}else n.standalone&&(i.schemas=[])}return i},configurable:!1})}function Mm(e,n){let i=null;Vy(e,n||{}),Object.defineProperty(e,Fi,{get:()=>{if(null===i){const o=$y(e,n||{});i=Er().compileDirective(Zr,o.sourceMapUrl,o.metadata)}return i},configurable:!1})}function $y(e,n){const i=e&&e.name,o=`ng:///${i}/\u0275dir.js`,m=Er(),x=jy(e,n);return x.typeSourceSpan=m.createParseSourceSpan("Directive",i,o),x.usesInheritance&&Hy(e),{metadata:x,sourceMapUrl:o}}function Vy(e,n){let i=null;Object.defineProperty(e,mi,{get:()=>{if(null===i){const o=$y(e,n),m=Er();i=m.compileFactory(Zr,`ng:///${e.name}/\u0275fac.js`,{name:o.metadata.name,type:o.metadata.type,typeArgumentCount:0,deps:Nc(e),target:m.FactoryTarget.Directive})}return i},configurable:!1})}function pT(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function jy(e,n){const i=Ld(),o=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==n.selector?n.selector:null,host:n.host||fn,propMetadata:o,inputs:n.inputs||ln,outputs:n.outputs||ln,queries:zy(e,o,Wy),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!pT(e),exportAs:vT(n.exportAs),providers:n.providers||null,viewQueries:zy(e,o,Gy),isStandalone:!!n.standalone,isSignal:!!n.signals,hostDirectives:n.hostDirectives?.map(m=>"function"==typeof m?{directive:m}:m)||null}}function Hy(e){const n=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==n;)!Qn(i)&&!Dn(i)&&yT(i)&&Mm(i,null),i=Object.getPrototypeOf(i)}function gT(e){return"string"==typeof e?Yy(e):_n(e)}function _T(e,n){return{propertyName:e,predicate:gT(n.selector),descendants:n.descendants,first:n.first,read:n.read?n.read:null,static:!!n.static,emitDistinctChangesOnly:!!n.emitDistinctChangesOnly,isSignal:!!n.isSignal}}function zy(e,n,i){const o=[];for(const m in n)if(n.hasOwnProperty(m)){const x=n[m];x.forEach(P=>{if(i(P)){if(!P.selector)throw new Error(`Can't construct a query for the property "${m}" of "${xi(e)}" since the query selector wasn't defined.`);if(x.some(Ky))throw new Error("Cannot combine @Input decorators with query decorators");o.push(_T(m,P))}})}return o}function vT(e){return void 0===e?null:Yy(e)}function Wy(e){const n=e.ngMetadataName;return"ContentChild"===n||"ContentChildren"===n}function Gy(e){const n=e.ngMetadataName;return"ViewChild"===n||"ViewChildren"===n}function Ky(e){return"Input"===e.ngMetadataName}function Yy(e){return e.split(",").map(n=>n.trim())}const bT=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function yT(e){const n=Ld();if(bT.some(o=>n.hasLifecycleHook(e,o)))return!0;const i=n.propMetadata(e);for(const o in i){const m=i[o];for(let x=0;x{if(null===o){const m=Qy(e,n),x=Er();o=x.compileFactory(Zr,`ng:///${m.name}/\u0275fac.js`,{name:m.name,type:m.type,typeArgumentCount:0,deps:Nc(e),target:x.FactoryTarget.Pipe})}return o},configurable:!1}),Object.defineProperty(e,si,{get:()=>{if(null===i){const m=Qy(e,n);i=Er().compilePipe(Zr,`ng:///${m.name}/\u0275pipe.js`,m)}return i},configurable:!1})}function Qy(e,n){return{type:e,name:e.name,pipeName:n.name,pure:void 0===n.pure||n.pure,isStandalone:!!n.standalone}}const Xy=El("Directive",(e={})=>e,void 0,void 0,(e,n)=>Mm(e,n)),CT=El("Component",(e={})=>({changeDetection:Fe.Default,...e}),Xy,void 0,(e,n)=>By(e,n)),wT=El("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,n)=>Zy(e,n)),ET=So("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),xT=So("Output",e=>({alias:e})),MT=So("HostBinding",e=>({hostPropertyName:e})),IT=So("HostListener",(e,n)=>({eventName:e,args:n})),DT=El("NgModule",e=>e,void 0,void 0,(e,n)=>Ry(e,n));class Jy{constructor(n){this.full=n;const i=n.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}}const TT=new Jy("17.2.1");let qy=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const rC=new ht(""),sC=new ht("");let Dm,eS=(()=>{class e{constructor(i,o,m){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Dm||(aC(m),m.addToWindow(o)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{gr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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()}});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(i)||(clearTimeout(o.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,o,m){let x=-1;o&&o>0&&(x=setTimeout(()=>{this._callbacks=this._callbacks.filter(P=>P.timeoutId!==x),i()},o)),this._callbacks.push({doneCb:i,timeoutId:x,updateCb:m})}whenStable(i,o,m){if(m&&!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,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,o,m){return[]}static#e=this.\u0275fac=function(o){return new(o||e)($r(gr),$r(oC),$r(sC))};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac})}return e})(),oC=(()=>{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 Dm?.findTestabilityInTree(this,i,o)??null}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function aC(e){Dm=e}function Tm(e){return!!e&&"function"==typeof e.then}function lC(e){return!!e&&"function"==typeof e.subscribe}const cC=new ht("");let $u=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),this.appInits=Ti(cC,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const m of this.appInits){const x=m();if(Tm(x))i.push(x);else if(lC(x)){const P=new Promise(($,J)=>{x.subscribe({complete:$,error:J})});i.push(P)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{o()}).catch(m=>{this.reject(m)}),0===i.length&&o(),this.initialized=!0}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Sm=new ht("");function uC(){!function H(e){ne=e}(()=>{throw new be(600,!1)})}function dC(e){return e.isBoundToModule}class tS{constructor(n,i){this.name=n,this.token=i}}function hC(e,n,i){try{const o=i();return Tm(o)?o.catch(m=>{throw n.runOutsideAngular(()=>e.handleError(m)),m}):o}catch(o){throw n.runOutsideAngular(()=>e.handleError(o)),o}}function fC(e,n){return Array.isArray(n)?n.reduce(fC,e):{...e,...n}}let ju,oa=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ti(Op),this.afterRenderEffectManager=Ti(Ba),this.componentTypes=[],this.components=[],this.isStable=Ti(Zl).hasPendingTasks.pipe((0,Be.k)(i=>!i)),this._injector=Ti(zs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,o){const m=i instanceof ou;if(!this._injector.get($u).done)throw!m&&cn(i),new be(405,!1);let P;P=m?i:this._injector.get(zl).resolveComponentFactory(i),this.componentTypes.push(P.componentType);const $=dC(P)?void 0:this._injector.get(qo),pe=P.create(ms.NULL,[],o||P.selector,$),Ne=pe.location.nativeElement,it=pe.injector.get(rC,null);return it?.registerApplication(Ne),pe.onDestroy(()=>{this.detachView(pe.hostView),Vu(this.components,pe),it?.unregisterApplication(Ne)}),this._loadComponent(pe),pe}tick(){if(this._runningTick)throw new be(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let i=0;do{if(100===i)throw new be(103,!1);const o=0===i;for(let{_lView:m,notifyErrorHandler:x}of this._views)!o&&!pC(m)||this.detectChangesInView(m,x,o);this.afterRenderEffectManager.execute(),i++}while(this._views.some(({_lView:o})=>pC(o)))}detectChangesInView(i,o,m){let x;m?(x=0,i[En]|=1024):x=64&i[En]?0:1,eu(i,o,x)}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;Vu(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(Sm,[]);[...this._bootstrapListeners,...o].forEach(m=>m(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),()=>Vu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new be(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vu(e,n){const i=e.indexOf(n);i>-1&&e.splice(i,1)}function mC(e){ju??=new WeakMap;const n=ju.get(e);if(n)return n;const i=e.isStable.pipe((0,Ie.K)(o=>o)).toPromise().then(()=>{});return ju.set(e,i),e.onDestroy(()=>ju?.delete(e)),i}function pC(e){return ys(e)}class gC{constructor(n,i){this.ngModuleFactory=n,this.componentFactories=i}}let nS=(()=>{class e{compileModuleSync(i){return new _u(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),x=ss(pn(i).declarations).reduce((P,$)=>{const J=Dn($);return J&&P.push(new Va(J)),P},[]);return new gC(o,x)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _C=new ht("");class iS{}function vC(e,n,i){const o=new _u(i);return Promise.resolve(o)}let rS=(()=>{class e{constructor(){this.zone=Ti(gr),this.applicationRef=Ti(oa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function yC(e){return[{provide:gr,useFactory:e},{provide:Go,multi:!0,useFactory:()=>{const n=Ti(rS,{optional:!0});return()=>n.initialize()}},{provide:Go,multi:!0,useFactory:()=>{const n=Ti(oS);return()=>{n.initialize()}}},{provide:Op,useFactory:sS}]}function sS(){const e=Ti(gr),n=Ti(Ao);return i=>e.runOutsideAngular(()=>n.handleError(i))}function CC(e){return Ec([[],yC(()=>new gr(wC(e)))])}function wC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let oS=(()=>{class e{constructor(){this.subscription=new fe.wH,this.initialized=!1,this.zone=Ti(gr),this.pendingTasks=Ti(Zl)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{gr.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{gr.assertInAngularZone(),i??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Hu=new ht("",{providedIn:"root",factory:()=>Ti(Hu,Jt.Optional|Jt.SkipSelf)||function aS(){return typeof $localize<"u"&&$localize.locale||ra}()}),lS=new ht("",{providedIn:"root",factory:()=>"USD"}),cS=new ht(""),uS=new ht("");var EC=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(EC||{});const Am=new ht("");let km=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,o){const m=function Zx(e="zone.js",n){return"noop"===e?new kh:"zone.js"===e?new gr(n):e}(o?.ngZone,wC({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return m.run(()=>{const x=function QM(e,n,i){return new gu(e,n,i)}(i.moduleType,this.injector,yC(()=>m)),P=x.injector.get(Ao,null);return m.runOutsideAngular(()=>{const $=m.onError.subscribe({next:J=>{P.handleError(J)}});x.onDestroy(()=>{Vu(this._modules,x),$.unsubscribe()})}),hC(P,m,()=>{const $=x.injector.get($u);return $.runInitializers(),$.donePromise.then(()=>(Af(x.injector.get(Hu,ra)||ra),this._moduleDoBootstrap(x),x))})})}bootstrapModule(i,o=[]){const m=fC({},o);return vC(0,0,i).then(x=>this.bootstrapModuleFactory(x,m))}_moduleDoBootstrap(i){const o=i.injector.get(oa);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(m=>o.bootstrap(m));else{if(!i.instance.ngDoBootstrap)throw new be(-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 be(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const i=this._injector.get(Am,null);i&&(i.forEach(o=>o()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(o){return new(o||e)($r(ms))};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Fo=null;const Om=new ht("");function xC(e){if(Fo&&!Fo.get(Om,!1))throw new be(400,!1);uC(),Fo=e;const n=e.get(km);return TC(e),n}function MC(e,n,i=[]){const o=`Platform: ${n}`,m=new ht(o);return(x=[])=>{let P=zu();if(!P||P.injector.get(Om,!1)){const $=[...i,...x,{provide:m,useValue:!0}];e?e($):xC(IC($,o))}return DC()}}function IC(e=[],n){return ms.create({name:n,providers:[{provide:bd,useValue:"platform"},{provide:Am,useValue:new Set([()=>Fo=null])},...e]})}function DC(e){const n=zu();if(!n)throw new be(401,!1);return n}function zu(){return Fo?.get(km)??null}function dS(){zu()?.destroy()}function TC(e){e.get(Nt,null)?.forEach(i=>i())}function fS(){return!1}function mS(){}function pS(e){const n=p_(e);if(!n)throw SC(e);return new _u(n)}function gS(e){const n=p_(e);if(!n)throw SC(e);return n}function SC(e){return new Error(`No module with ID ${e} loaded`)}class AC extends Th{}class _S extends AC{}class vS{constructor(n,i){this.name=n,this.callback=i}}function bS(e){return e.map(n=>n.nativeElement)}class Rm{constructor(n){this.nativeNode=n}get parent(){const n=this.nativeNode.parentNode;return n?new uc(n):null}get injector(){return function iy(e){const n=Yr(e),i=n?n.lView:null;return null===i?ms.NULL:new xr(i[un].data[n.nodeIndex],i)}(this.nativeNode)}get componentInstance(){const n=this.nativeNode;return n&&(vm(n)||function ty(e){const n=Yr(e);let o,i=n?n.lView:null;if(null===i)return null;for(;2===i[un].type&&(o=Hr(i));)i=o;return 512&i[En]?null:i[di]}(n))}get context(){return vm(this.nativeNode)||function ey(e){!function iT(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const n=Yr(e),i=n?n.lView:null;return null===i?null:i[di]}(this.nativeNode)}get listeners(){return function sy(e){const n=Yr(e),i=null===n?null:n.lView;if(null===i)return[];const m=i[hr],x=i[un].cleanup,P=[];if(x&&m)for(let $=0;$=0?"dom":"output"})}}return P.sort(tT),P}(this.nativeNode).filter(n=>"dom"===n.type)}get references(){return function eT(e){const n=Yr(e);if(null===n)return{};if(void 0===n.localRefs){const i=n.lView;if(null===i)return{};n.localRefs=function Hw(e,n){const i=e[un].data[n];if(i&&i.localNames){const o={};let m=i.index+1;for(let x=0;x1){let Ne=J[1];for(let it=1;itn[x]=!0),n}get childNodes(){const n=this.nativeNode.childNodes,i=[];for(let o=0;o{if(x.name===n){const P=x.callback;P.call(o,i),m.push(P)}}),"function"==typeof o.eventListeners&&o.eventListeners(n).forEach(x=>{if(-1!==x.toString().indexOf("__ngUnwrap__")){const P=x("__ngUnwrap__");return-1===m.indexOf(P)&&P.call(o,i)}})}}function CS(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function kC(e,n,i,o){const m=Yr(e.nativeNode),x=m?m.lView:null;null!==x?aa(x[un].data[m.nodeIndex],x,n,i,o,e.nativeNode):Pm(e.nativeNode,n,i,o)}function aa(e,n,i,o,m,x){const P=function Js(e,n){const i=null===e?-1:e.index;return-1!==i?Bi(n[i]):null}(e,n);if(11&e.type){if(Lm(P,i,o,m,x),$i(e)){const J=cr(e.index,n);J&&J[un].firstChild&&aa(J[un].firstChild,J,i,o,m,x)}else e.child&&aa(e.child,n,i,o,m,x),P&&Pm(P,i,o,m);const $=n[e.index];Ln($)&&OC($,i,o,m,x)}else if(4&e.type){const $=n[e.index];Lm($[On],i,o,m,x),OC($,i,o,m,x)}else if(16&e.type){const $=n[hi],pe=$[Ui].projection[e.projection];if(Array.isArray(pe))for(let Ne of pe)Lm(Ne,i,o,m,x);else if(pe){const Ne=$[ci];aa(Ne[un].data[pe.index],Ne,i,o,m,x)}}else e.child&&aa(e.child,n,i,o,m,x);if(x!==P){const $=2&e.flags?e.projectionNext:e.next;$&&aa($,n,i,o,m,x)}}function OC(e,n,i,o,m){for(let x=Gn;x{class e{constructor(i){}static#e=this.\u0275fac=function(o){return new(o||e)($r(oa))};static#t=this.\u0275mod=ki({type:e});static#n=this.\u0275inj=Ee({})}return e})();function NS(e){}function $S(e){try{const{rootComponent:n,appProviders:i,platformProviders:o}=e,m=function hS(e=[]){if(Fo)return Fo;const n=IC(e);return Fo=n,uC(),TC(n),n}(o),x=[CC(),...i||[]],$=new D_({providers:x,parent:m,debugName:"",runEnvironmentInitializers:!1}).injector,J=$.get(gr);return J.run(()=>{$.resolveInjectorInitializers();const pe=$.get(Ao,null);let Ne;J.runOutsideAngular(()=>{Ne=J.onError.subscribe({next:Rt=>{pe.handleError(Rt)}})});const it=()=>$.destroy(),Dt=m.get(Am);return Dt.add(it),$.onDestroy(()=>{Ne.unsubscribe(),Dt.delete(it)}),hC(pe,J,()=>{const Rt=$.get($u);return Rt.runInitializers(),Rt.donePromise.then(()=>{Af($.get(Hu,ra)||ra);const sn=$.get(oa);return void 0!==n&&sn.bootstrap(n),sn})})})}catch(n){return Promise.reject(n)}}let VS=(()=>{class e{constructor(){this.appRef=Ti(oa),this.taskService=Ti(Zl),this.pendingRenderTaskId=null}notify(){null===this.pendingRenderTaskId&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){var i=this;return(0,t.c)(function*(){const o=new Promise(x=>setTimeout(x)),m="function"==typeof ft.requestAnimationFrame?new Promise(x=>requestAnimationFrame(()=>x())):null;yield Promise.race([o,m]),i.tick()})()}tick(){try{this.appRef.destroyed||this.appRef.tick()}finally{const i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jS(){return Ec([{provide:Eh,useExisting:VS},{provide:gr,useClass:kh}])}function $m(e,n){const i=e[un];for(let o=Zt;o0&&pe===o){const Ne=i[i.length-1];Ne[gc]??=1,Ne[gc]++}else o=pe,i.push(J)}return i}function Yu(e,n,i){const o=n.index-Zt;e[ad]??={},e[ad][o]=mx(n,i)}function ZC(e,n){const i=n.index-Zt;e[_c]??=[],e[_c].includes(i)||e[_c].push(i)}function QC(e,n){const i={},o=e[un];for(let m=Zt;m{let e=!0;return ko()&&(e=!!Ti(bl,{optional:!0})?.get(ld,null)),e&&Oo("NgHydration"),e}},{provide:Go,useValue:()=>{ko()&&Ti(Tl)&&(function tA(){const e=ie();let n;for(const i of e.body.childNodes)if(i.nodeType===Node.COMMENT_NODE&&i.textContent?.trim()===zm){n=i;break}if(!n)throw new be(-507,!1)}(),function JS(){XC||(XC=!0,function m1(){Wm=f1}(),function zI(){Gv=HI}(),function GD(){Gb=WD}(),function KI(){Kv=GI}(),function qM(){S_=JM}(),function dM(){Wg=uM,Ph=cM}(),function _x(){cg=gx}(),function pE(){U0=mE}())}())},multi:!0},{provide:Lp,useFactory:()=>ko()&&Ti(Tl)},{provide:Sm,useFactory:()=>{if(ko()&&Ti(Tl)){const e=Ti(oa);return Ti(ms),()=>{(function qS(e,n){return mC(e)})(e).then(()=>{gr.assertInAngularZone(),function ox(e){const n=e._views;for(const i of n){const o=Gm(i);null!==o&&null!==o[ni]&&(kn(o)?iu(o):(iu(o[ni]),ag(o)))}}(e)})}}return()=>{}},multi:!0}])}function nA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function iA(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}function rA(e){return Er().compileDirectiveDeclaration(Zr,`ng:///${e.type.name}/\u0275fac.js`,e)}function sA(e){x_(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function oA(e){return Er().compileComponentDeclaration(Zr,`ng:///${e.type.name}/\u0275cmp.js`,e)}function aA(e){return Er(function lA(e){switch(e){case Yo.Directive:return"directive";case Yo.Component:return"component";case Yo.Injectable:return"injectable";case Yo.Pipe:return"pipe";case Yo.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(Zr,`ng:///${e.type.name}/\u0275fac.js`,e)}function cA(e){return Er().compileInjectableDeclaration(Zr,`ng:///${e.type.name}/\u0275prov.js`,e)}function uA(e){return Er().compileInjectorDeclaration(Zr,`ng:///${e.type.name}/\u0275inj.js`,e)}function dA(e){return Er().compileNgModuleDeclaration(Zr,`ng:///${e.type.name}/\u0275mod.js`,e)}function hA(e){return Er().compilePipeDeclaration(Zr,`ng:///${e.type.name}/\u0275pipe.js`,e)}function fA(e,n){const i=Dn(e),o=n.elementInjector||Ic();return new Va(i).create(o,n.projectableNodes,n.hostElement,n.environmentInjector)}function mA(e){const n=Dn(e);if(!n)return null;const i=new Va(n);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 n.standalone},get isSignal(){return n.signals}}}function pA(...e){return e.reduce((n,i)=>Object.assign(n,i,{providers:[...n.providers,...i.providers]}),{providers:[]})}},6504:(De,te,g)=>{"use strict";g.r(te),g.d(te,{AbstractControl:()=>Pe,AbstractControlDirective:()=>Re,AbstractFormGroupDirective:()=>Tn,COMPOSITION_BUFFER_MODE:()=>u,CheckboxControlValueAccessor:()=>l,CheckboxRequiredValidator:()=>On,ControlContainer:()=>ke,DefaultValueAccessor:()=>h,EmailValidator:()=>jn,FormArray:()=>Cr,FormArrayName:()=>En,FormBuilder:()=>Rr,FormControl:()=>Yt,FormControlDirective:()=>Fn,FormControlName:()=>Ui,FormGroup:()=>bt,FormGroupDirective:()=>Ki,FormGroupName:()=>ni,FormRecord:()=>kt,FormsModule:()=>po,MaxLengthValidator:()=>Ln,MaxValidator:()=>Ft,MinLengthValidator:()=>Bn,MinValidator:()=>en,NG_ASYNC_VALIDATORS:()=>M,NG_VALIDATORS:()=>y,NG_VALUE_ACCESSOR:()=>f,NgControl:()=>fe,NgControlStatus:()=>je,NgControlStatusGroup:()=>q,NgForm:()=>de,NgModel:()=>or,NgModelGroup:()=>Wi,NgSelectOption:()=>qi,NonNullableFormBuilder:()=>os,NumberValueAccessor:()=>Yn,PatternValidator:()=>$i,RadioControlValueAccessor:()=>Qn,RangeValueAccessor:()=>cn,ReactiveFormsModule:()=>go,RequiredValidator:()=>Sn,SelectControlValueAccessor:()=>Hi,SelectMultipleControlValueAccessor:()=>hi,UntypedFormArray:()=>_s,UntypedFormBuilder:()=>As,UntypedFormControl:()=>Kn,UntypedFormGroup:()=>$e,VERSION:()=>mo,Validators:()=>k,isFormArray:()=>Ss,isFormControl:()=>Pn,isFormGroup:()=>Ge,isFormRecord:()=>dt,\u0275InternalFormsSharedModule:()=>Br,\u0275NgNoValidate:()=>Vn,\u0275NgSelectMultipleOption:()=>kr});var t=g(4496),v=g(1368),C=g(9900),E=g(9336),c=g(4704);let b=(()=>{class we{constructor(ce,Ze){this._renderer=ce,this._elementRef=Ze,this.onChange=Tt=>{},this.onTouched=()=>{}}setProperty(ce,Ze){this._renderer.setProperty(this._elementRef.nativeElement,ce,Ze)}registerOnTouched(ce){this.onTouched=ce}registerOnChange(ce){this.onChange=ce}setDisabledState(ce){this.setProperty("disabled",ce)}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we})}return we})(),s=(()=>{class we extends b{static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,features:[t.\u0275\u0275InheritDefinitionFeature]})}return we})();const f=new t.InjectionToken(""),d={provide:f,useExisting:(0,t.forwardRef)(()=>l),multi:!0};let l=(()=>{class we extends s{writeValue(ce){this.setProperty("checked",ce)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Ze,Tt){1&Ze&&t.\u0275\u0275listener("change",function(ei){return Tt.onChange(ei.target.checked)})("blur",function(){return Tt.onTouched()})},features:[t.\u0275\u0275ProvidersFeature([d]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const a={provide:f,useExisting:(0,t.forwardRef)(()=>h),multi:!0},u=new t.InjectionToken("");let h=(()=>{class we extends b{constructor(ce,Ze,Tt){super(ce,Ze),this._compositionMode=Tt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function r(){const we=(0,v.\u0275getDOM)()?(0,v.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(we.toLowerCase())}())}writeValue(ce){this.setProperty("value",ce??"")}_handleInput(ce){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ce)}_compositionStart(){this._composing=!0}_compositionEnd(ce){this._composing=!1,this._compositionMode&&this.onChange(ce)}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(u,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,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(Ze,Tt){1&Ze&&t.\u0275\u0275listener("input",function(ei){return Tt._handleInput(ei.target.value)})("blur",function(){return Tt.onTouched()})("compositionstart",function(){return Tt._compositionStart()})("compositionend",function(ei){return Tt._compositionEnd(ei.target.value)})},features:[t.\u0275\u0275ProvidersFeature([a]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();function p(we){return null==we||("string"==typeof we||Array.isArray(we))&&0===we.length}function _(we){return null!=we&&"number"==typeof we.length}const y=new t.InjectionToken(""),M=new t.InjectionToken(""),w=/^(?=.{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 k{static min(Se){return D(Se)}static max(Se){return I(Se)}static required(Se){return O(Se)}static requiredTrue(Se){return T(Se)}static email(Se){return N(Se)}static minLength(Se){return S(Se)}static maxLength(Se){return F(Se)}static pattern(Se){return L(Se)}static nullValidator(Se){return null}static compose(Se){return z(Se)}static composeAsync(Se){return G(Se)}}function D(we){return Se=>{if(p(Se.value)||p(we))return null;const ce=parseFloat(Se.value);return!isNaN(ce)&&ce{if(p(Se.value)||p(we))return null;const ce=parseFloat(Se.value);return!isNaN(ce)&&ce>we?{max:{max:we,actual:Se.value}}:null}}function O(we){return p(we.value)?{required:!0}:null}function T(we){return!0===we.value?null:{required:!0}}function N(we){return p(we.value)||w.test(we.value)?null:{email:!0}}function S(we){return Se=>p(Se.value)||!_(Se.value)?null:Se.value.length_(Se.value)&&Se.value.length>we?{maxlength:{requiredLength:we,actualLength:Se.value.length}}:null}function L(we){if(!we)return A;let Se,ce;return"string"==typeof we?(ce="","^"!==we.charAt(0)&&(ce+="^"),ce+=we,"$"!==we.charAt(we.length-1)&&(ce+="$"),Se=new RegExp(ce)):(ce=we.toString(),Se=we),Ze=>{if(p(Ze.value))return null;const Tt=Ze.value;return Se.test(Tt)?null:{pattern:{requiredPattern:ce,actualValue:Tt}}}}function A(we){return null}function U(we){return null!=we}function K(we){return(0,t.\u0275isPromise)(we)?(0,C.Q)(we):we}function ee(we){let Se={};return we.forEach(ce=>{Se=null!=ce?{...Se,...ce}:Se}),0===Object.keys(Se).length?null:Se}function ne(we,Se){return Se.map(ce=>ce(we))}function H(we){return we.map(Se=>function B(we){return!we.validate}(Se)?Se:ce=>Se.validate(ce))}function z(we){if(!we)return null;const Se=we.filter(U);return 0==Se.length?null:function(ce){return ee(ne(ce,Se))}}function X(we){return null!=we?z(H(we)):null}function G(we){if(!we)return null;const Se=we.filter(U);return 0==Se.length?null:function(ce){const Ze=ne(ce,Se).map(K);return(0,E.y)(Ze).pipe((0,c.k)(ee))}}function j(we){return null!=we?G(H(we)):null}function le(we,Se){return null===we?[Se]:Array.isArray(we)?[...we,Se]:[we,Se]}function ue(we){return we._rawValidators}function ve(we){return we._rawAsyncValidators}function Je(we){return we?Array.isArray(we)?we:[we]:[]}function _t(we,Se){return Array.isArray(we)?we.includes(Se):we===Se}function ct(we,Se){const ce=Je(Se);return Je(we).forEach(Tt=>{_t(ce,Tt)||ce.push(Tt)}),ce}function Ct(we,Se){return Je(Se).filter(ce=>!_t(we,ce))}class Re{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(Se){this._rawValidators=Se||[],this._composedValidatorFn=X(this._rawValidators)}_setAsyncValidators(Se){this._rawAsyncValidators=Se||[],this._composedAsyncValidatorFn=j(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Se){this._onDestroyCallbacks.push(Se)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Se=>Se()),this._onDestroyCallbacks=[]}reset(Se=void 0){this.control&&this.control.reset(Se)}hasError(Se,ce){return!!this.control&&this.control.hasError(Se,ce)}getError(Se,ce){return this.control?this.control.getError(Se,ce):null}}class ke extends Re{get formDirective(){return null}get path(){return null}}class fe extends Re{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ke{constructor(Se){this._cd=Se}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 je=(()=>{class we extends Ke{constructor(ce){super(ce)}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(fe,2))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ze,Tt){2&Ze&&t.\u0275\u0275classProp("ng-untouched",Tt.isUntouched)("ng-touched",Tt.isTouched)("ng-pristine",Tt.isPristine)("ng-dirty",Tt.isDirty)("ng-valid",Tt.isValid)("ng-invalid",Tt.isInvalid)("ng-pending",Tt.isPending)},features:[t.\u0275\u0275InheritDefinitionFeature]})}return we})(),q=(()=>{class we extends Ke{constructor(ce){super(ce)}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(ke,10))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ze,Tt){2&Ze&&t.\u0275\u0275classProp("ng-untouched",Tt.isUntouched)("ng-touched",Tt.isTouched)("ng-pristine",Tt.isPristine)("ng-dirty",Tt.isDirty)("ng-valid",Tt.isValid)("ng-invalid",Tt.isInvalid)("ng-pending",Tt.isPending)("ng-submitted",Tt.isSubmitted)},features:[t.\u0275\u0275InheritDefinitionFeature]})}return we})();const Ut="VALID",xe="INVALID",rt="PENDING",lt="DISABLED";function At(we){return(He(we)?we.validators:we)||null}function vt(we,Se){return(He(Se)?Se.asyncValidators:we)||null}function He(we){return null!=we&&!Array.isArray(we)&&"object"==typeof we}function st(we,Se,ce){const Ze=we.controls;if(!(Se?Object.keys(Ze):Ze).length)throw new t.\u0275RuntimeError(1e3,"");if(!Ze[ce])throw new t.\u0275RuntimeError(1001,"")}function Te(we,Se,ce){we._forEachChild((Ze,Tt)=>{if(void 0===ce[Tt])throw new t.\u0275RuntimeError(1002,"")})}class Pe{constructor(Se,ce){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Se),this._assignAsyncValidators(ce)}get validator(){return this._composedValidatorFn}set validator(Se){this._rawValidators=this._composedValidatorFn=Se}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Se){this._rawAsyncValidators=this._composedAsyncValidatorFn=Se}get parent(){return this._parent}get valid(){return this.status===Ut}get invalid(){return this.status===xe}get pending(){return this.status==rt}get disabled(){return this.status===lt}get enabled(){return this.status!==lt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Se){this._assignValidators(Se)}setAsyncValidators(Se){this._assignAsyncValidators(Se)}addValidators(Se){this.setValidators(ct(Se,this._rawValidators))}addAsyncValidators(Se){this.setAsyncValidators(ct(Se,this._rawAsyncValidators))}removeValidators(Se){this.setValidators(Ct(Se,this._rawValidators))}removeAsyncValidators(Se){this.setAsyncValidators(Ct(Se,this._rawAsyncValidators))}hasValidator(Se){return _t(this._rawValidators,Se)}hasAsyncValidator(Se){return _t(this._rawAsyncValidators,Se)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Se={}){this.touched=!0,this._parent&&!Se.onlySelf&&this._parent.markAsTouched(Se)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Se=>Se.markAllAsTouched())}markAsUntouched(Se={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ce=>{ce.markAsUntouched({onlySelf:!0})}),this._parent&&!Se.onlySelf&&this._parent._updateTouched(Se)}markAsDirty(Se={}){this.pristine=!1,this._parent&&!Se.onlySelf&&this._parent.markAsDirty(Se)}markAsPristine(Se={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ce=>{ce.markAsPristine({onlySelf:!0})}),this._parent&&!Se.onlySelf&&this._parent._updatePristine(Se)}markAsPending(Se={}){this.status=rt,!1!==Se.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Se.onlySelf&&this._parent.markAsPending(Se)}disable(Se={}){const ce=this._parentMarkedDirty(Se.onlySelf);this.status=lt,this.errors=null,this._forEachChild(Ze=>{Ze.disable({...Se,onlySelf:!0})}),this._updateValue(),!1!==Se.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Se,skipPristineCheck:ce}),this._onDisabledChange.forEach(Ze=>Ze(!0))}enable(Se={}){const ce=this._parentMarkedDirty(Se.onlySelf);this.status=Ut,this._forEachChild(Ze=>{Ze.enable({...Se,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Se.emitEvent}),this._updateAncestors({...Se,skipPristineCheck:ce}),this._onDisabledChange.forEach(Ze=>Ze(!1))}_updateAncestors(Se){this._parent&&!Se.onlySelf&&(this._parent.updateValueAndValidity(Se),Se.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Se){this._parent=Se}getRawValue(){return this.value}updateValueAndValidity(Se={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ut||this.status===rt)&&this._runAsyncValidator(Se.emitEvent)),!1!==Se.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Se.onlySelf&&this._parent.updateValueAndValidity(Se)}_updateTreeValidity(Se={emitEvent:!0}){this._forEachChild(ce=>ce._updateTreeValidity(Se)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Se.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?lt:Ut}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Se){if(this.asyncValidator){this.status=rt,this._hasOwnPendingAsyncValidator=!0;const ce=K(this.asyncValidator(this));this._asyncValidationSubscription=ce.subscribe(Ze=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ze,{emitEvent:Se})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Se,ce={}){this.errors=Se,this._updateControlsErrors(!1!==ce.emitEvent)}get(Se){let ce=Se;return null==ce||(Array.isArray(ce)||(ce=ce.split(".")),0===ce.length)?null:ce.reduce((Ze,Tt)=>Ze&&Ze._find(Tt),this)}getError(Se,ce){const Ze=ce?this.get(ce):this;return Ze&&Ze.errors?Ze.errors[Se]:null}hasError(Se,ce){return!!this.getError(Se,ce)}get root(){let Se=this;for(;Se._parent;)Se=Se._parent;return Se}_updateControlsErrors(Se){this.status=this._calculateStatus(),Se&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Se)}_initObservables(){this.valueChanges=new t.EventEmitter,this.statusChanges=new t.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?lt:this.errors?xe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(rt)?rt:this._anyControlsHaveStatus(xe)?xe:Ut}_anyControlsHaveStatus(Se){return this._anyControls(ce=>ce.status===Se)}_anyControlsDirty(){return this._anyControls(Se=>Se.dirty)}_anyControlsTouched(){return this._anyControls(Se=>Se.touched)}_updatePristine(Se={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Se.onlySelf&&this._parent._updatePristine(Se)}_updateTouched(Se={}){this.touched=this._anyControlsTouched(),this._parent&&!Se.onlySelf&&this._parent._updateTouched(Se)}_registerOnCollectionChange(Se){this._onCollectionChange=Se}_setUpdateStrategy(Se){He(Se)&&null!=Se.updateOn&&(this._updateOn=Se.updateOn)}_parentMarkedDirty(Se){return!Se&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Se){return null}_assignValidators(Se){this._rawValidators=Array.isArray(Se)?Se.slice():Se,this._composedValidatorFn=function nt(we){return Array.isArray(we)?X(we):we||null}(this._rawValidators)}_assignAsyncValidators(Se){this._rawAsyncValidators=Array.isArray(Se)?Se.slice():Se,this._composedAsyncValidatorFn=function Le(we){return Array.isArray(we)?j(we):we||null}(this._rawAsyncValidators)}}class bt extends Pe{constructor(Se,ce,Ze){super(At(ce),vt(Ze,ce)),this.controls=Se,this._initObservables(),this._setUpdateStrategy(ce),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Se,ce){return this.controls[Se]?this.controls[Se]:(this.controls[Se]=ce,ce.setParent(this),ce._registerOnCollectionChange(this._onCollectionChange),ce)}addControl(Se,ce,Ze={}){this.registerControl(Se,ce),this.updateValueAndValidity({emitEvent:Ze.emitEvent}),this._onCollectionChange()}removeControl(Se,ce={}){this.controls[Se]&&this.controls[Se]._registerOnCollectionChange(()=>{}),delete this.controls[Se],this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}setControl(Se,ce,Ze={}){this.controls[Se]&&this.controls[Se]._registerOnCollectionChange(()=>{}),delete this.controls[Se],ce&&this.registerControl(Se,ce),this.updateValueAndValidity({emitEvent:Ze.emitEvent}),this._onCollectionChange()}contains(Se){return this.controls.hasOwnProperty(Se)&&this.controls[Se].enabled}setValue(Se,ce={}){Te(this,0,Se),Object.keys(Se).forEach(Ze=>{st(this,!0,Ze),this.controls[Ze].setValue(Se[Ze],{onlySelf:!0,emitEvent:ce.emitEvent})}),this.updateValueAndValidity(ce)}patchValue(Se,ce={}){null!=Se&&(Object.keys(Se).forEach(Ze=>{const Tt=this.controls[Ze];Tt&&Tt.patchValue(Se[Ze],{onlySelf:!0,emitEvent:ce.emitEvent})}),this.updateValueAndValidity(ce))}reset(Se={},ce={}){this._forEachChild((Ze,Tt)=>{Ze.reset(Se?Se[Tt]:null,{onlySelf:!0,emitEvent:ce.emitEvent})}),this._updatePristine(ce),this._updateTouched(ce),this.updateValueAndValidity(ce)}getRawValue(){return this._reduceChildren({},(Se,ce,Ze)=>(Se[Ze]=ce.getRawValue(),Se))}_syncPendingControls(){let Se=this._reduceChildren(!1,(ce,Ze)=>!!Ze._syncPendingControls()||ce);return Se&&this.updateValueAndValidity({onlySelf:!0}),Se}_forEachChild(Se){Object.keys(this.controls).forEach(ce=>{const Ze=this.controls[ce];Ze&&Se(Ze,ce)})}_setUpControls(){this._forEachChild(Se=>{Se.setParent(this),Se._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Se){for(const[ce,Ze]of Object.entries(this.controls))if(this.contains(ce)&&Se(Ze))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ce,Ze,Tt)=>((Ze.enabled||this.disabled)&&(ce[Tt]=Ze.value),ce))}_reduceChildren(Se,ce){let Ze=Se;return this._forEachChild((Tt,wn)=>{Ze=ce(Ze,Tt,wn)}),Ze}_allControlsDisabled(){for(const Se of Object.keys(this.controls))if(this.controls[Se].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Se){return this.controls.hasOwnProperty(Se)?this.controls[Se]:null}}const $e=bt,Ge=we=>we instanceof bt;class kt extends bt{}const dt=we=>we instanceof kt,xt=new t.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>qe}),qe="always";function Fe(we,Se){return[...Se.path,we]}function et(we,Se,ce=qe){qt(we,Se),Se.valueAccessor.writeValue(we.value),(we.disabled||"always"===ce)&&Se.valueAccessor.setDisabledState?.(we.disabled),function ln(we,Se){Se.valueAccessor.registerOnChange(ce=>{we._pendingValue=ce,we._pendingChange=!0,we._pendingDirty=!0,"change"===we.updateOn&&fi(we,Se)})}(we,Se),function Si(we,Se){const ce=(Ze,Tt)=>{Se.valueAccessor.writeValue(Ze),Tt&&Se.viewToModelUpdate(Ze)};we.registerOnChange(ce),Se._registerOnDestroy(()=>{we._unregisterOnChange(ce)})}(we,Se),function An(we,Se){Se.valueAccessor.registerOnTouched(()=>{we._pendingTouched=!0,"blur"===we.updateOn&&we._pendingChange&&fi(we,Se),"submit"!==we.updateOn&&we.markAsTouched()})}(we,Se),function Bt(we,Se){if(Se.valueAccessor.setDisabledState){const ce=Ze=>{Se.valueAccessor.setDisabledState(Ze)};we.registerOnDisabledChange(ce),Se._registerOnDestroy(()=>{we._unregisterOnDisabledChange(ce)})}}(we,Se)}function Ye(we,Se,ce=!0){const Ze=()=>{};Se.valueAccessor&&(Se.valueAccessor.registerOnChange(Ze),Se.valueAccessor.registerOnTouched(Ze)),fn(we,Se),we&&(Se._invokeOnDestroyCallbacks(),we._registerOnCollectionChange(()=>{}))}function ft(we,Se){we.forEach(ce=>{ce.registerOnValidatorChange&&ce.registerOnValidatorChange(Se)})}function qt(we,Se){const ce=ue(we);null!==Se.validator?we.setValidators(le(ce,Se.validator)):"function"==typeof ce&&we.setValidators([ce]);const Ze=ve(we);null!==Se.asyncValidator?we.setAsyncValidators(le(Ze,Se.asyncValidator)):"function"==typeof Ze&&we.setAsyncValidators([Ze]);const Tt=()=>we.updateValueAndValidity();ft(Se._rawValidators,Tt),ft(Se._rawAsyncValidators,Tt)}function fn(we,Se){let ce=!1;if(null!==we){if(null!==Se.validator){const Tt=ue(we);if(Array.isArray(Tt)&&Tt.length>0){const wn=Tt.filter(ei=>ei!==Se.validator);wn.length!==Tt.length&&(ce=!0,we.setValidators(wn))}}if(null!==Se.asyncValidator){const Tt=ve(we);if(Array.isArray(Tt)&&Tt.length>0){const wn=Tt.filter(ei=>ei!==Se.asyncValidator);wn.length!==Tt.length&&(ce=!0,we.setAsyncValidators(wn))}}}const Ze=()=>{};return ft(Se._rawValidators,Ze),ft(Se._rawAsyncValidators,Ze),ce}function fi(we,Se){we._pendingDirty&&we.markAsDirty(),we.setValue(we._pendingValue,{emitModelToViewChange:!1}),Se.viewToModelUpdate(we._pendingValue),we._pendingChange=!1}function Fi(we,Se){qt(we,Se)}function at(we,Se){if(!we.hasOwnProperty("model"))return!1;const ce=we.model;return!!ce.isFirstChange()||!Object.is(Se,ce.currentValue)}function me(we,Se){we._syncPendingControls(),Se.forEach(ce=>{const Ze=ce.control;"submit"===Ze.updateOn&&Ze._pendingChange&&(ce.viewToModelUpdate(Ze._pendingValue),Ze._pendingChange=!1)})}function Ae(we,Se){if(!Se)return null;let ce,Ze,Tt;return Array.isArray(Se),Se.forEach(wn=>{wn.constructor===h?ce=wn:function ae(we){return Object.getPrototypeOf(we.constructor)===s}(wn)?Ze=wn:Tt=wn}),Tt||Ze||ce||null}const V={provide:ke,useExisting:(0,t.forwardRef)(()=>de)},he=Promise.resolve();let de=(()=>{class we extends ke{constructor(ce,Ze,Tt){super(),this.callSetDisabledState=Tt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.EventEmitter,this.form=new bt({},X(ce),j(Ze))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ce){he.then(()=>{const Ze=this._findContainer(ce.path);ce.control=Ze.registerControl(ce.name,ce.control),et(ce.control,ce,this.callSetDisabledState),ce.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ce)})}getControl(ce){return this.form.get(ce.path)}removeControl(ce){he.then(()=>{const Ze=this._findContainer(ce.path);Ze&&Ze.removeControl(ce.name),this._directives.delete(ce)})}addFormGroup(ce){he.then(()=>{const Ze=this._findContainer(ce.path),Tt=new bt({});Fi(Tt,ce),Ze.registerControl(ce.name,Tt),Tt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ce){he.then(()=>{const Ze=this._findContainer(ce.path);Ze&&Ze.removeControl(ce.name)})}getFormGroup(ce){return this.form.get(ce.path)}updateModel(ce,Ze){he.then(()=>{this.form.get(ce.path).setValue(Ze)})}setValue(ce){this.control.setValue(ce)}onSubmit(ce){return this.submitted=!0,me(this.form,this._directives),this.ngSubmit.emit(ce),"dialog"===ce?.target?.method}onReset(){this.resetForm()}resetForm(ce=void 0){this.form.reset(ce),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ce){return ce.pop(),ce.length?this.form.get(ce):this.form}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(xt,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ze,Tt){1&Ze&&t.\u0275\u0275listener("submit",function(ei){return Tt.onSubmit(ei)})("reset",function(){return Tt.onReset()})},inputs:{options:[t.\u0275\u0275InputFlags.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.\u0275\u0275ProvidersFeature([V]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();function We(we,Se){const ce=we.indexOf(Se);ce>-1&&we.splice(ce,1)}function wt(we){return"object"==typeof we&&null!==we&&2===Object.keys(we).length&&"value"in we&&"disabled"in we}const Yt=class extends Pe{constructor(Se=null,ce,Ze){super(At(ce),vt(Ze,ce)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Se),this._setUpdateStrategy(ce),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),He(ce)&&(ce.nonNullable||ce.initialValueIsDefault)&&(this.defaultValue=wt(Se)?Se.value:Se)}setValue(Se,ce={}){this.value=this._pendingValue=Se,this._onChange.length&&!1!==ce.emitModelToViewChange&&this._onChange.forEach(Ze=>Ze(this.value,!1!==ce.emitViewToModelChange)),this.updateValueAndValidity(ce)}patchValue(Se,ce={}){this.setValue(Se,ce)}reset(Se=this.defaultValue,ce={}){this._applyFormState(Se),this.markAsPristine(ce),this.markAsUntouched(ce),this.setValue(this.value,ce),this._pendingChange=!1}_updateValue(){}_anyControls(Se){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Se){this._onChange.push(Se)}_unregisterOnChange(Se){We(this._onChange,Se)}registerOnDisabledChange(Se){this._onDisabledChange.push(Se)}_unregisterOnDisabledChange(Se){We(this._onDisabledChange,Se)}_forEachChild(Se){}_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(Se){wt(Se)?(this.value=this._pendingValue=Se.value,Se.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Se}},Kn=Yt,Pn=we=>we instanceof Yt;let Tn=(()=>{class we extends ke{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Fe(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,features:[t.\u0275\u0275InheritDefinitionFeature]})}return we})();const sr={provide:ke,useExisting:(0,t.forwardRef)(()=>Wi)};let Wi=(()=>{class we extends Tn{constructor(ce,Ze,Tt){super(),this.name="",this._parent=ce,this._setValidators(Ze),this._setAsyncValidators(Tt)}_checkParentType(){}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(ke,5),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","ngModelGroup",""]],inputs:{name:[t.\u0275\u0275InputFlags.None,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[t.\u0275\u0275ProvidersFeature([sr]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const Ai={provide:fe,useExisting:(0,t.forwardRef)(()=>or)},Gi=Promise.resolve();let or=(()=>{class we extends fe{constructor(ce,Ze,Tt,wn,ei,Dr){super(),this._changeDetectorRef=ei,this.callSetDisabledState=Dr,this.control=new Yt,this._registered=!1,this.name="",this.update=new t.EventEmitter,this._parent=ce,this._setValidators(Ze),this._setAsyncValidators(Tt),this.valueAccessor=Ae(0,wn)}ngOnChanges(ce){if(this._checkForErrors(),!this._registered||"name"in ce){if(this._registered&&(this._checkName(),this.formDirective)){const Ze=ce.name.previousValue;this.formDirective.removeControl({name:Ze,path:this._getPath(Ze)})}this._setUpControl()}"isDisabled"in ce&&this._updateDisabled(ce),at(ce,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(ce){this.viewModel=ce,this.update.emit(ce)}_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(){et(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(ce){Gi.then(()=>{this.control.setValue(ce,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ce){const Ze=ce.isDisabled.currentValue,Tt=0!==Ze&&(0,t.booleanAttribute)(Ze);Gi.then(()=>{Tt&&!this.control.disabled?this.control.disable():!Tt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ce){return this._parent?Fe(ce,this._parent):[ce]}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(ke,9),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(f,10),t.\u0275\u0275directiveInject(t.ChangeDetectorRef,8),t.\u0275\u0275directiveInject(xt,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[t.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[t.\u0275\u0275InputFlags.None,"ngModel","model"],options:[t.\u0275\u0275InputFlags.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t.\u0275\u0275ProvidersFeature([Ai]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return we})(),Vn=(()=>{class we{static#e=this.\u0275fac=function(Ze){return new(Ze||we)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return we})();const ki={provide:f,useExisting:(0,t.forwardRef)(()=>Yn),multi:!0};let Yn=(()=>{class we extends s{writeValue(ce){this.setProperty("value",ce??"")}registerOnChange(ce){this.onChange=Ze=>{ce(""==Ze?null:parseFloat(Ze))}}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ze,Tt){1&Ze&&t.\u0275\u0275listener("input",function(ei){return Tt.onChange(ei.target.value)})("blur",function(){return Tt.onTouched()})},features:[t.\u0275\u0275ProvidersFeature([ki]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const Wn={provide:f,useExisting:(0,t.forwardRef)(()=>Qn),multi:!0};let Dn=(()=>{class we{constructor(){this._accessors=[]}add(ce,Ze){this._accessors.push([ce,Ze])}remove(ce){for(let Ze=this._accessors.length-1;Ze>=0;--Ze)if(this._accessors[Ze][1]===ce)return void this._accessors.splice(Ze,1)}select(ce){this._accessors.forEach(Ze=>{this._isSameGroup(Ze,ce)&&Ze[1]!==ce&&Ze[1].fireUncheck(ce.value)})}_isSameGroup(ce,Ze){return!!ce[0].control&&ce[0]._parent===Ze._control._parent&&ce[1].name===Ze.name}static#e=this.\u0275fac=function(Ze){return new(Ze||we)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Qn=(()=>{class we extends s{constructor(ce,Ze,Tt,wn){super(ce,Ze),this._registry=Tt,this._injector=wn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,t.inject)(xt,{optional:!0})??qe}ngOnInit(){this._control=this._injector.get(fe),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ce){this._state=ce===this.value,this.setProperty("checked",this._state)}registerOnChange(ce){this._fn=ce,this.onChange=()=>{ce(this.value),this._registry.select(this)}}setDisabledState(ce){(this.setDisabledStateFired||ce||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",ce),this.setDisabledStateFired=!0}fireUncheck(ce){this.writeValue(ce)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(Dn),t.\u0275\u0275directiveInject(t.Injector))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Ze,Tt){1&Ze&&t.\u0275\u0275listener("change",function(){return Tt.onChange()})("blur",function(){return Tt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[t.\u0275\u0275ProvidersFeature([Wn]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const ui={provide:f,useExisting:(0,t.forwardRef)(()=>cn),multi:!0};let cn=(()=>{class we extends s{writeValue(ce){this.setProperty("value",parseFloat(ce))}registerOnChange(ce){this.onChange=Ze=>{ce(""==Ze?null:parseFloat(Ze))}}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(Ze,Tt){1&Ze&&t.\u0275\u0275listener("change",function(ei){return Tt.onChange(ei.target.value)})("input",function(ei){return Tt.onChange(ei.target.value)})("blur",function(){return Tt.onTouched()})},features:[t.\u0275\u0275ProvidersFeature([ui]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const pn=new t.InjectionToken(""),Nn={provide:fe,useExisting:(0,t.forwardRef)(()=>Fn)};let Fn=(()=>{class we extends fe{set isDisabled(ce){}static#e=this._ngModelWarningSentOnce=!1;constructor(ce,Ze,Tt,wn,ei){super(),this._ngModelWarningConfig=wn,this.callSetDisabledState=ei,this.update=new t.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(ce),this._setAsyncValidators(Ze),this.valueAccessor=Ae(0,Tt)}ngOnChanges(ce){if(this._isControlChanged(ce)){const Ze=ce.form.previousValue;Ze&&Ye(Ze,this,!1),et(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}at(ce,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ye(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ce){this.viewModel=ce,this.update.emit(ce)}_isControlChanged(ce){return ce.hasOwnProperty("form")}static#t=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(f,10),t.\u0275\u0275directiveInject(pn,8),t.\u0275\u0275directiveInject(xt,8))};static#n=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formControl",""]],inputs:{form:[t.\u0275\u0275InputFlags.None,"formControl","form"],isDisabled:[t.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[t.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t.\u0275\u0275ProvidersFeature([Nn]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return we})();const Oi={provide:ke,useExisting:(0,t.forwardRef)(()=>Ki)};let Ki=(()=>{class we extends ke{constructor(ce,Ze,Tt){super(),this.callSetDisabledState=Tt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.EventEmitter,this._setValidators(ce),this._setAsyncValidators(Ze)}ngOnChanges(ce){this._checkFormPresent(),ce.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(fn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ce){const Ze=this.form.get(ce.path);return et(Ze,ce,this.callSetDisabledState),Ze.updateValueAndValidity({emitEvent:!1}),this.directives.push(ce),Ze}getControl(ce){return this.form.get(ce.path)}removeControl(ce){Ye(ce.control||null,ce,!1),function _e(we,Se){const ce=we.indexOf(Se);ce>-1&&we.splice(ce,1)}(this.directives,ce)}addFormGroup(ce){this._setUpFormContainer(ce)}removeFormGroup(ce){this._cleanUpFormContainer(ce)}getFormGroup(ce){return this.form.get(ce.path)}addFormArray(ce){this._setUpFormContainer(ce)}removeFormArray(ce){this._cleanUpFormContainer(ce)}getFormArray(ce){return this.form.get(ce.path)}updateModel(ce,Ze){this.form.get(ce.path).setValue(Ze)}onSubmit(ce){return this.submitted=!0,me(this.form,this.directives),this.ngSubmit.emit(ce),"dialog"===ce?.target?.method}onReset(){this.resetForm()}resetForm(ce=void 0){this.form.reset(ce),this.submitted=!1}_updateDomValue(){this.directives.forEach(ce=>{const Ze=ce.control,Tt=this.form.get(ce.path);Ze!==Tt&&(Ye(Ze||null,ce),Pn(Tt)&&(et(Tt,ce,this.callSetDisabledState),ce.control=Tt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ce){const Ze=this.form.get(ce.path);Fi(Ze,ce),Ze.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ce){if(this.form){const Ze=this.form.get(ce.path);Ze&&function si(we,Se){return fn(we,Se)}(Ze,ce)&&Ze.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){qt(this.form,this),this._oldForm&&fn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(xt,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formGroup",""]],hostBindings:function(Ze,Tt){1&Ze&&t.\u0275\u0275listener("submit",function(ei){return Tt.onSubmit(ei)})("reset",function(){return Tt.onReset()})},inputs:{form:[t.\u0275\u0275InputFlags.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.\u0275\u0275ProvidersFeature([Oi]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return we})();const nr={provide:ke,useExisting:(0,t.forwardRef)(()=>ni)};let ni=(()=>{class we extends Tn{constructor(ce,Ze,Tt){super(),this.name=null,this._parent=ce,this._setValidators(Ze),this._setAsyncValidators(Tt)}_checkParentType(){ci(this._parent)}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(ke,13),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formGroupName",""]],inputs:{name:[t.\u0275\u0275InputFlags.None,"formGroupName","name"]},features:[t.\u0275\u0275ProvidersFeature([nr]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const un={provide:ke,useExisting:(0,t.forwardRef)(()=>En)};let En=(()=>{class we extends ke{constructor(ce,Ze,Tt){super(),this.name=null,this._parent=ce,this._setValidators(Ze),this._setAsyncValidators(Tt)}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 Fe(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){ci(this._parent)}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(ke,13),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formArrayName",""]],inputs:{name:[t.\u0275\u0275InputFlags.None,"formArrayName","name"]},features:[t.\u0275\u0275ProvidersFeature([un]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();function ci(we){return!(we instanceof ni||we instanceof Ki||we instanceof En)}const ar={provide:fe,useExisting:(0,t.forwardRef)(()=>Ui)};let Ui=(()=>{class we extends fe{set isDisabled(ce){}static#e=this._ngModelWarningSentOnce=!1;constructor(ce,Ze,Tt,wn,ei){super(),this._ngModelWarningConfig=ei,this._added=!1,this.name=null,this.update=new t.EventEmitter,this._ngModelWarningSent=!1,this._parent=ce,this._setValidators(Ze),this._setAsyncValidators(Tt),this.valueAccessor=Ae(0,wn)}ngOnChanges(ce){this._added||this._setUpControl(),at(ce,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ce){this.viewModel=ce,this.update.emit(ce)}get path(){return Fe(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}static#t=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(ke,13),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(f,10),t.\u0275\u0275directiveInject(pn,8))};static#n=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","formControlName",""]],inputs:{name:[t.\u0275\u0275InputFlags.None,"formControlName","name"],isDisabled:[t.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[t.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[t.\u0275\u0275ProvidersFeature([ar]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return we})();const dr={provide:f,useExisting:(0,t.forwardRef)(()=>Hi),multi:!0};function hr(we,Se){return null==we?`${Se}`:(Se&&"object"==typeof Se&&(Se="Object"),`${we}: ${Se}`.slice(0,50))}let Hi=(()=>{class we extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ce){this._compareWith=ce}writeValue(ce){this.value=ce;const Tt=hr(this._getOptionId(ce),ce);this.setProperty("value",Tt)}registerOnChange(ce){this.onChange=Ze=>{this.value=this._getOptionValue(Ze),ce(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ce){for(const Ze of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Ze),ce))return Ze;return null}_getOptionValue(ce){const Ze=function di(we){return we.split(":")[0]}(ce);return this._optionMap.has(Ze)?this._optionMap.get(Ze):ce}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Ze,Tt){1&Ze&&t.\u0275\u0275listener("change",function(ei){return Tt.onChange(ei.target.value)})("blur",function(){return Tt.onTouched()})},inputs:{compareWith:"compareWith"},features:[t.\u0275\u0275ProvidersFeature([dr]),t.\u0275\u0275InheritDefinitionFeature]})}return we})(),qi=(()=>{class we{constructor(ce,Ze,Tt){this._element=ce,this._renderer=Ze,this._select=Tt,this._select&&(this.id=this._select._registerOption())}set ngValue(ce){null!=this._select&&(this._select._optionMap.set(this.id,ce),this._setElementValue(hr(this.id,ce)),this._select.writeValue(this._select.value))}set value(ce){this._setElementValue(ce),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ce){this._renderer.setProperty(this._element.nativeElement,"value",ce)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(Hi,9))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return we})();const Rn={provide:f,useExisting:(0,t.forwardRef)(()=>hi),multi:!0};function Sr(we,Se){return null==we?`${Se}`:("string"==typeof Se&&(Se=`'${Se}'`),Se&&"object"==typeof Se&&(Se="Object"),`${we}: ${Se}`.slice(0,50))}let hi=(()=>{class we extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ce){this._compareWith=ce}writeValue(ce){let Ze;if(this.value=ce,Array.isArray(ce)){const Tt=ce.map(wn=>this._getOptionId(wn));Ze=(wn,ei)=>{wn._setSelected(Tt.indexOf(ei.toString())>-1)}}else Ze=(Tt,wn)=>{Tt._setSelected(!1)};this._optionMap.forEach(Ze)}registerOnChange(ce){this.onChange=Ze=>{const Tt=[],wn=Ze.selectedOptions;if(void 0!==wn){const ei=wn;for(let Dr=0;Dr{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Ze,Tt){1&Ze&&t.\u0275\u0275listener("change",function(ei){return Tt.onChange(ei.target)})("blur",function(){return Tt.onTouched()})},inputs:{compareWith:"compareWith"},features:[t.\u0275\u0275ProvidersFeature([Rn]),t.\u0275\u0275InheritDefinitionFeature]})}return we})(),kr=(()=>{class we{constructor(ce,Ze,Tt){this._element=ce,this._renderer=Ze,this._select=Tt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ce){null!=this._select&&(this._value=ce,this._setElementValue(Sr(this.id,ce)),this._select.writeValue(this._select.value))}set value(ce){this._select?(this._value=ce,this._setElementValue(Sr(this.id,ce)),this._select.writeValue(this._select.value)):this._setElementValue(ce)}_setElementValue(ce){this._renderer.setProperty(this._element.nativeElement,"value",ce)}_setSelected(ce){this._renderer.setProperty(this._element.nativeElement,"selected",ce)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(Ze){return new(Ze||we)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(hi,9))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return we})();function Mt(we){return"number"==typeof we?we:parseInt(we,10)}function yt(we){return"number"==typeof we?we:parseFloat(we)}let It=(()=>{class we{constructor(){this._validator=A}ngOnChanges(ce){if(this.inputName in ce){const Ze=this.normalizeInput(ce[this.inputName].currentValue);this._enabled=this.enabled(Ze),this._validator=this._enabled?this.createValidator(Ze):A,this._onChange&&this._onChange()}}validate(ce){return this._validator(ce)}registerOnValidatorChange(ce){this._onChange=ce}enabled(ce){return null!=ce}static#e=this.\u0275fac=function(Ze){return new(Ze||we)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,features:[t.\u0275\u0275NgOnChangesFeature]})}return we})();const St={provide:y,useExisting:(0,t.forwardRef)(()=>Ft),multi:!0};let Ft=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ce=>yt(ce),this.createValidator=ce=>I(ce)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Ze,Tt){2&Ze&&t.\u0275\u0275attribute("max",Tt._enabled?Tt.max:null)},inputs:{max:"max"},features:[t.\u0275\u0275ProvidersFeature([St]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const jt={provide:y,useExisting:(0,t.forwardRef)(()=>en),multi:!0};let en=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ce=>yt(ce),this.createValidator=ce=>D(ce)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Ze,Tt){2&Ze&&t.\u0275\u0275attribute("min",Tt._enabled?Tt.min:null)},inputs:{min:"min"},features:[t.\u0275\u0275ProvidersFeature([jt]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const Zt={provide:y,useExisting:(0,t.forwardRef)(()=>Sn),multi:!0},hn={provide:y,useExisting:(0,t.forwardRef)(()=>On),multi:!0};let Sn=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.booleanAttribute,this.createValidator=ce=>O}enabled(ce){return ce}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ze,Tt){2&Ze&&t.\u0275\u0275attribute("required",Tt._enabled?"":null)},inputs:{required:"required"},features:[t.\u0275\u0275ProvidersFeature([Zt]),t.\u0275\u0275InheritDefinitionFeature]})}return we})(),On=(()=>{class we extends Sn{constructor(){super(...arguments),this.createValidator=ce=>T}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ze,Tt){2&Ze&&t.\u0275\u0275attribute("required",Tt._enabled?"":null)},features:[t.\u0275\u0275ProvidersFeature([hn]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const gi={provide:y,useExisting:(0,t.forwardRef)(()=>jn),multi:!0};let jn=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=t.booleanAttribute,this.createValidator=ce=>N}enabled(ce){return ce}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[t.\u0275\u0275ProvidersFeature([gi]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const Gn={provide:y,useExisting:(0,t.forwardRef)(()=>Bn),multi:!0};let Bn=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ce=>Mt(ce),this.createValidator=ce=>S(ce)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(Ze,Tt){2&Ze&&t.\u0275\u0275attribute("minlength",Tt._enabled?Tt.minlength:null)},inputs:{minlength:"minlength"},features:[t.\u0275\u0275ProvidersFeature([Gn]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const kn={provide:y,useExisting:(0,t.forwardRef)(()=>Ln),multi:!0};let Ln=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ce=>Mt(ce),this.createValidator=ce=>F(ce)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Ze,Tt){2&Ze&&t.\u0275\u0275attribute("maxlength",Tt._enabled?Tt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[t.\u0275\u0275ProvidersFeature([kn]),t.\u0275\u0275InheritDefinitionFeature]})}return we})();const ir={provide:y,useExisting:(0,t.forwardRef)(()=>$i),multi:!0};let $i=(()=>{class we extends It{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ce=>ce,this.createValidator=ce=>L(ce)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:we,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(Ze,Tt){2&Ze&&t.\u0275\u0275attribute("pattern",Tt._enabled?Tt.pattern:null)},inputs:{pattern:"pattern"},features:[t.\u0275\u0275ProvidersFeature([ir]),t.\u0275\u0275InheritDefinitionFeature]})}return we})(),Br=(()=>{class we{static#e=this.\u0275fac=function(Ze){return new(Ze||we)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:we});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return we})();class Cr extends Pe{constructor(Se,ce,Ze){super(At(ce),vt(Ze,ce)),this.controls=Se,this._initObservables(),this._setUpdateStrategy(ce),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Se){return this.controls[this._adjustIndex(Se)]}push(Se,ce={}){this.controls.push(Se),this._registerControl(Se),this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}insert(Se,ce,Ze={}){this.controls.splice(Se,0,ce),this._registerControl(ce),this.updateValueAndValidity({emitEvent:Ze.emitEvent})}removeAt(Se,ce={}){let Ze=this._adjustIndex(Se);Ze<0&&(Ze=0),this.controls[Ze]&&this.controls[Ze]._registerOnCollectionChange(()=>{}),this.controls.splice(Ze,1),this.updateValueAndValidity({emitEvent:ce.emitEvent})}setControl(Se,ce,Ze={}){let Tt=this._adjustIndex(Se);Tt<0&&(Tt=0),this.controls[Tt]&&this.controls[Tt]._registerOnCollectionChange(()=>{}),this.controls.splice(Tt,1),ce&&(this.controls.splice(Tt,0,ce),this._registerControl(ce)),this.updateValueAndValidity({emitEvent:Ze.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Se,ce={}){Te(this,0,Se),Se.forEach((Ze,Tt)=>{st(this,!1,Tt),this.at(Tt).setValue(Ze,{onlySelf:!0,emitEvent:ce.emitEvent})}),this.updateValueAndValidity(ce)}patchValue(Se,ce={}){null!=Se&&(Se.forEach((Ze,Tt)=>{this.at(Tt)&&this.at(Tt).patchValue(Ze,{onlySelf:!0,emitEvent:ce.emitEvent})}),this.updateValueAndValidity(ce))}reset(Se=[],ce={}){this._forEachChild((Ze,Tt)=>{Ze.reset(Se[Tt],{onlySelf:!0,emitEvent:ce.emitEvent})}),this._updatePristine(ce),this._updateTouched(ce),this.updateValueAndValidity(ce)}getRawValue(){return this.controls.map(Se=>Se.getRawValue())}clear(Se={}){this.controls.length<1||(this._forEachChild(ce=>ce._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Se.emitEvent}))}_adjustIndex(Se){return Se<0?Se+this.length:Se}_syncPendingControls(){let Se=this.controls.reduce((ce,Ze)=>!!Ze._syncPendingControls()||ce,!1);return Se&&this.updateValueAndValidity({onlySelf:!0}),Se}_forEachChild(Se){this.controls.forEach((ce,Ze)=>{Se(ce,Ze)})}_updateValue(){this.value=this.controls.filter(Se=>Se.enabled||this.disabled).map(Se=>Se.value)}_anyControls(Se){return this.controls.some(ce=>ce.enabled&&Se(ce))}_setUpControls(){this._forEachChild(Se=>this._registerControl(Se))}_allControlsDisabled(){for(const Se of this.controls)if(Se.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Se){Se.setParent(this),Se._registerOnCollectionChange(this._onCollectionChange)}_find(Se){return this.at(Se)??null}}const _s=Cr,Ss=we=>we instanceof Cr;function Qr(we){return!!we&&(void 0!==we.asyncValidators||void 0!==we.validators||void 0!==we.updateOn)}let Rr=(()=>{class we{constructor(){this.useNonNullable=!1}get nonNullable(){const ce=new we;return ce.useNonNullable=!0,ce}group(ce,Ze=null){const Tt=this._reduceControls(ce);let wn={};return Qr(Ze)?wn=Ze:null!==Ze&&(wn.validators=Ze.validator,wn.asyncValidators=Ze.asyncValidator),new bt(Tt,wn)}record(ce,Ze=null){const Tt=this._reduceControls(ce);return new kt(Tt,Ze)}control(ce,Ze,Tt){let wn={};return this.useNonNullable?(Qr(Ze)?wn=Ze:(wn.validators=Ze,wn.asyncValidators=Tt),new Yt(ce,{...wn,nonNullable:!0})):new Yt(ce,Ze,Tt)}array(ce,Ze,Tt){const wn=ce.map(ei=>this._createControl(ei));return new Cr(wn,Ze,Tt)}_reduceControls(ce){const Ze={};return Object.keys(ce).forEach(Tt=>{Ze[Tt]=this._createControl(ce[Tt])}),Ze}_createControl(ce){return ce instanceof Yt||ce instanceof Pe?ce:Array.isArray(ce)?this.control(ce[0],ce.length>1?ce[1]:null,ce.length>2?ce[2]:null):this.control(ce)}static#e=this.\u0275fac=function(Ze){return new(Ze||we)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),os=(()=>{class we{static#e=this.\u0275fac=function(Ze){return new(Ze||we)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:we,factory:()=>(0,t.inject)(Rr).nonNullable,providedIn:"root"})}return we})(),As=(()=>{class we extends Rr{group(ce,Ze=null){return super.group(ce,Ze)}control(ce,Ze,Tt){return super.control(ce,Ze,Tt)}array(ce,Ze,Tt){return super.array(ce,Ze,Tt)}static#e=this.\u0275fac=(()=>{let ce;return function(Tt){return(ce||(ce=t.\u0275\u0275getInheritedFactory(we)))(Tt||we)}})();static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();const mo=new t.Version("17.2.1");let po=(()=>{class we{static withConfig(ce){return{ngModule:we,providers:[{provide:xt,useValue:ce.callSetDisabledState??qe}]}}static#e=this.\u0275fac=function(Ze){return new(Ze||we)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:we});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[Br]})}return we})(),go=(()=>{class we{static withConfig(ce){return{ngModule:we,providers:[{provide:pn,useValue:ce.warnOnNgModelWithFormControl??"always"},{provide:xt,useValue:ce.callSetDisabledState??qe}]}}static#e=this.\u0275fac=function(Ze){return new(Ze||we)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:we});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[Br]})}return we})()},7764:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>B,MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>H,MAT_AUTOCOMPLETE_SCROLL_STRATEGY:()=>le,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>ue,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>ve,MAT_AUTOCOMPLETE_VALUE_ACCESSOR:()=>G,MatAutocomplete:()=>z,MatAutocompleteModule:()=>_t,MatAutocompleteOrigin:()=>X,MatAutocompleteSelectedEvent:()=>ne,MatAutocompleteTrigger:()=>Je,MatOptgroup:()=>v.MatOptgroup,MatOption:()=>v.MatOption,getMatAutocompleteMissingPanelError:()=>j});var t=g(4496),v=g(3576),C=g(1368),E=g(1904),c=g(7556),b=g(1336),s=g(7712),f=g(5792),d=g(9684),l=g(6928),a=g(5657),r=g(1424),u=g(3412),h=g(2700),p=g(800),_=g(5420),y=g(2488),M=g(6504),w=g(4060),k=g(5568),D=g(7368),I=g(3992),O=g(6684),T=g(4704),N=g(9212),S=g(1224),F=g(1900);const L=["panel"];function A(ct,Ct){if(1&ct){const Re=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",0,1),t.\u0275\u0275listener("@panelAnimation.done",function(fe){t.\u0275\u0275restoreView(Re);const Ke=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(Ke._animationDone.next(fe))}),t.\u0275\u0275projection(2),t.\u0275\u0275elementEnd()}if(2&ct){const Re=Ct.id,ke=t.\u0275\u0275nextContext();t.\u0275\u0275property("id",ke.id)("ngClass",ke._classList)("@panelAnimation",ke.isOpen?"visible":"hidden"),t.\u0275\u0275attribute("aria-label",ke.ariaLabel||null)("aria-labelledby",ke._getPanelAriaLabelledby(Re))}}const U=["*"],K=(0,d.gV)("panelAnimation",[(0,d.K2)("void, hidden",(0,d.wb)({opacity:0,transform:"scaleY(0.8)"})),(0,d.aK)(":enter, hidden => visible",[(0,d.yA)([(0,d.Cs)("0.03s linear",(0,d.wb)({opacity:1})),(0,d.Cs)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,d.wb)({transform:"scaleY(1)"}))])]),(0,d.aK)(":leave, visible => hidden",[(0,d.Cs)("0.075s linear",(0,d.wb)({opacity:0}))])]);let ee=0;class ne{constructor(Ct,Re){this.source=Ct,this.option=Re}}const B=new t.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:H});function H(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}let z=(()=>{class ct{get isOpen(){return this._isOpen&&this.showPanel}_setColor(Re){this._color=Re,this._setThemeClasses(this._classList)}set classList(Re){this._classList=Re&&Re.length?(0,s._s)(Re).reduce((ke,fe)=>(ke[fe]=!0,ke),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Re){this._hideSingleSelectionIndicator=Re,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Re of this.options)Re._changeDetectorRef.markForCheck()}constructor(Re,ke,fe,Ke){this._changeDetectorRef=Re,this._elementRef=ke,this._defaults=fe,this._activeOptionChanges=l.wH.EMPTY,this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new t.EventEmitter,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new t.EventEmitter,this.opened=new t.EventEmitter,this.closed=new t.EventEmitter,this.optionActivated=new t.EventEmitter,this._classList={},this.id="mat-autocomplete-"+ee++,this.inertGroups=Ke?.SAFARI||!1,this.autoActiveFirstOption=!!fe.autoActiveFirstOption,this.autoSelectActiveOption=!!fe.autoSelectActiveOption,this.requireSelection=!!fe.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new b.mJ(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(Re=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Re]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(Re){this.panel&&(this.panel.nativeElement.scrollTop=Re)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Re){const ke=new ne(this,Re);this.optionSelected.emit(ke)}_getPanelAriaLabelledby(Re){return this.ariaLabel?null:this.ariaLabelledby?(Re?Re+" ":"")+this.ariaLabelledby:Re}_setVisibilityClasses(Re){Re[this._visibleClass]=this.showPanel,Re[this._hiddenClass]=!this.showPanel}_setThemeClasses(Re){Re["mat-primary"]="primary"===this._color,Re["mat-warn"]="warn"===this._color,Re["mat-accent"]="accent"===this._color}_skipPredicate(){return!1}static#e=this.\u0275fac=function(ke){return new(ke||ct)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(B),t.\u0275\u0275directiveInject(f.WU))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:ct,selectors:[["mat-autocomplete"]],contentQueries:function(ke,fe,Ke){if(1&ke&&(t.\u0275\u0275contentQuery(Ke,v.MatOption,5),t.\u0275\u0275contentQuery(Ke,v.MAT_OPTGROUP,5)),2&ke){let Be;t.\u0275\u0275queryRefresh(Be=t.\u0275\u0275loadQuery())&&(fe.options=Be),t.\u0275\u0275queryRefresh(Be=t.\u0275\u0275loadQuery())&&(fe.optionGroups=Be)}},viewQuery:function(ke,fe){if(1&ke&&(t.\u0275\u0275viewQuery(t.TemplateRef,7),t.\u0275\u0275viewQuery(L,5)),2&ke){let Ke;t.\u0275\u0275queryRefresh(Ke=t.\u0275\u0275loadQuery())&&(fe.template=Ke.first),t.\u0275\u0275queryRefresh(Ke=t.\u0275\u0275loadQuery())&&(fe.panel=Ke.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[t.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[t.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"autoActiveFirstOption","autoActiveFirstOption",t.booleanAttribute],autoSelectActiveOption:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"autoSelectActiveOption","autoSelectActiveOption",t.booleanAttribute],requireSelection:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"requireSelection","requireSelection",t.booleanAttribute],panelWidth:"panelWidth",disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute],classList:[t.\u0275\u0275InputFlags.None,"class","classList"],hideSingleSelectionIndicator:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",t.booleanAttribute]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:v.MAT_OPTION_PARENT_COMPONENT,useExisting:ct}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(ke,fe){1&ke&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,A,3,5,"ng-template"))},dependencies:[C.NgClass],styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[K]},changeDetection:0})}return ct})(),X=(()=>{class ct{constructor(Re){this.elementRef=Re}static#e=this.\u0275fac=function(ke){return new(ke||ct)(t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:ct,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],standalone:!0})}return ct})();const G={provide:M.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(()=>Je),multi:!0};function j(){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 le=new t.InjectionToken("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const ct=(0,t.inject)(c.mc);return()=>ct.scrollStrategies.reposition()}});function ue(ct){return()=>ct.scrollStrategies.reposition()}const ve={provide:le,deps:[c.mc],useFactory:ue};let Je=(()=>{class ct{constructor(Re,ke,fe,Ke,Be,Ie,je,q,be,Oe,Xe){this._element=Re,this._overlay=ke,this._viewContainerRef=fe,this._zone=Ke,this._changeDetectorRef=Be,this._dir=je,this._formField=q,this._document=be,this._viewportRuler=Oe,this._defaults=Xe,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=l.wH.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new a.E,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,r.Q)(()=>{const ge=this.autocomplete?this.autocomplete.options:null;return ge?ge.changes.pipe((0,k.W)(ge),(0,D.G)(()=>(0,u.U)(...ge.map(Ve=>Ve.onSelectionChange)))):this._zone.onStable.pipe((0,I.U)(1),(0,D.G)(()=>this.optionSelections))}),this._handlePanelKeydown=ge=>{(ge.keyCode===_.UX&&!(0,_.Yp)(ge)||ge.keyCode===_.qI&&(0,_.Yp)(ge,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),ge.stopPropagation(),ge.preventDefault())},this._trackedModal=null,this._scrollStrategy=Ie}ngAfterViewInit(){const Re=this._getWindow();typeof Re<"u"&&this._zone.runOutsideAngular(()=>Re.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Re){Re.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Re=this._getWindow();typeof Re<"u"&&Re.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(),this._trackedModal&&(0,b.AZ)(this._trackedModal,"aria-owns",this.autocomplete.id)}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(),this._trackedModal)&&(0,b.Cs)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,u.U)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,O.I)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,O.I)(()=>this._overlayAttached)):(0,h.of)()).pipe((0,T.k)(Re=>Re instanceof v.MatOptionSelectionChange?Re:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,u.U)((0,p.w)(this._document,"click"),(0,p.w)(this._document,"auxclick"),(0,p.w)(this._document,"touchend")).pipe((0,O.I)(Re=>{const ke=(0,f.oZ)(Re),fe=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,Ke=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ke!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!fe||!fe.contains(ke))&&(!Ke||!Ke.contains(ke))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ke)}))}writeValue(Re){Promise.resolve(null).then(()=>this._assignOptionValue(Re))}registerOnChange(Re){this._onChange=Re}registerOnTouched(Re){this._onTouched=Re}setDisabledState(Re){this._element.nativeElement.disabled=Re}_handleKeydown(Re){const ke=Re.keyCode,fe=(0,_.Yp)(Re);if(ke===_.UX&&!fe&&Re.preventDefault(),this.activeOption&&ke===_.wJ&&this.panelOpen&&!fe)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Re.preventDefault();else if(this.autocomplete){const Ke=this.autocomplete._keyManager.activeItem,Be=ke===_.qI||ke===_.Oq;ke===_.k0||Be&&!fe&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Re):Be&&this._canOpen()&&this.openPanel(),(Be||this.autocomplete._keyManager.activeItem!==Ke)&&(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(Re){let ke=Re.target,fe=ke.value;if("number"===ke.type&&(fe=""==fe?null:parseFloat(fe)),this._previousValue!==fe){if(this._previousValue=fe,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(fe),fe){if(this.panelOpen&&!this.autocomplete.requireSelection){const Ke=this.autocomplete.options?.find(Be=>Be.selected);Ke&&fe!==(this.autocomplete.displayWith?.(Ke)??Ke.value)&&Ke.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);this._canOpen()&&this._document.activeElement===Re.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(Re=!1){this._formField&&"auto"===this._formField.floatLabel&&(Re?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Re=this._zone.onStable.pipe((0,I.U)(1)),ke=this.autocomplete.options.changes.pipe((0,N.y)(()=>this._positionStrategy.reapplyLastPosition()),(0,S.o)(0));return(0,u.U)(Re,ke).pipe((0,D.G)(()=>(this._zone.run(()=>{const fe=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),fe!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,I.U)(1)).subscribe(fe=>this._setValueAndClose(fe))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Re){const ke=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Re):Re;null==Re&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(ke??"")}_updateNativeInputValue(Re){this._formField?this._formField._control.value=Re:this._element.nativeElement.value=Re,this._previousValue=Re}_setValueAndClose(Re){const ke=this.autocomplete,fe=Re?Re.source:this._pendingAutoselectedOption;fe?(this._clearPreviousSelectedOption(fe),this._assignOptionValue(fe.value),this._onChange(fe.value),ke._emitSelectEvent(fe),this._element.nativeElement.focus()):ke.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),ke._animationDone?ke._animationDone.pipe((0,I.U)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(Re,ke){this.autocomplete?.options?.forEach(fe=>{fe!==Re&&fe.selected&&fe.deselect(ke)})}_attachOverlay(){let Re=this._overlayRef;Re?(this._positionStrategy.setOrigin(this._getConnectedElement()),Re.updateSize({width:this._getPanelWidth()})):(this._portal=new y.CC(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Re=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Re,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Re&&Re.updateSize({width:this._getPanelWidth()})})),Re&&!Re.hasAttached()&&(Re.attach(this._portal),this._valueOnAttach=this._element.nativeElement.value,this._closingActionsSubscription=this._subscribeToClosingActions());const ke=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ke!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const Re=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=Re.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=Re.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new c.o9({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Re=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Re),this._positionStrategy=Re,Re}_setStrategyPositions(Re){const ke=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],fe=this._aboveClass,Ke=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:fe},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:fe}];let Be;Be="above"===this.position?Ke:"below"===this.position?ke:[...ke,...Ke],Re.withPositions(Be)}_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 Re=this.autocomplete;if(Re.autoActiveFirstOption){let ke=-1;for(let fe=0;fe .cdk-overlay-container [aria-modal="true"]');if(!Re)return;const ke=this.autocomplete.id;this._trackedModal&&(0,b.Cs)(this._trackedModal,"aria-owns",ke),(0,b.AZ)(Re,"aria-owns",ke),this._trackedModal=Re}_clearFromModal(){this._trackedModal&&((0,b.Cs)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(ke){return new(ke||ct)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(c.mc),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(le),t.\u0275\u0275directiveInject(F.yG,8),t.\u0275\u0275directiveInject(w.MAT_FORM_FIELD,9),t.\u0275\u0275directiveInject(C.DOCUMENT,8),t.\u0275\u0275directiveInject(E.S8),t.\u0275\u0275directiveInject(B,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:ct,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(ke,fe){1&ke&&t.\u0275\u0275listener("focusin",function(){return fe._handleFocus()})("blur",function(){return fe._onTouched()})("input",function(Be){return fe._handleInput(Be)})("keydown",function(Be){return fe._handleKeydown(Be)})("click",function(){return fe._handleClick()}),2&ke&&t.\u0275\u0275attribute("autocomplete",fe.autocompleteAttribute)("role",fe.autocompleteDisabled?null:"combobox")("aria-autocomplete",fe.autocompleteDisabled?null:"list")("aria-activedescendant",fe.panelOpen&&fe.activeOption?fe.activeOption.id:null)("aria-expanded",fe.autocompleteDisabled?null:fe.panelOpen.toString())("aria-controls",fe.autocompleteDisabled||!fe.panelOpen||null==fe.autocomplete?null:fe.autocomplete.id)("aria-haspopup",fe.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[t.\u0275\u0275InputFlags.None,"matAutocomplete","autocomplete"],position:[t.\u0275\u0275InputFlags.None,"matAutocompletePosition","position"],connectedTo:[t.\u0275\u0275InputFlags.None,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[t.\u0275\u0275InputFlags.None,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"matAutocompleteDisabled","autocompleteDisabled",t.booleanAttribute]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([G]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature]})}return ct})(),_t=(()=>{class ct{static#e=this.\u0275fac=function(ke){return new(ke||ct)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[ve],imports:[c.Y1,v.MatOptionModule,v.MatCommonModule,C.CommonModule,E.uU,v.MatOptionModule,v.MatCommonModule]})}return ct})()},7816:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_BUTTON_CONFIG:()=>_,MAT_FAB_DEFAULT_OPTIONS:()=>T,MAT_FAB_DEFAULT_OPTIONS_FACTORY:()=>N,MatAnchor:()=>O,MatButton:()=>I,MatButtonModule:()=>ne,MatFabAnchor:()=>A,MatFabButton:()=>F,MatIconAnchor:()=>ee,MatIconButton:()=>K,MatMiniFabAnchor:()=>U,MatMiniFabButton:()=>L});var t=g(5792),v=g(4496),C=g(1336),E=g(3576);const c=["mat-button",""],b=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],s=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],d=".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}",l=["mat-fab",""],a=["mat-mini-fab",""],r='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__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(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__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-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}',u=["mat-icon-button",""],h=["*"],_=new v.InjectionToken("MAT_BUTTON_CONFIG"),M=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let w=(()=>{class B{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(z){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,z)}get disableRipple(){return this._disableRipple}set disableRipple(z){this._disableRipple=z,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(z){this._disabled=z,this._updateRippleDisabled()}constructor(z,X,G,j){this._elementRef=z,this._platform=X,this._ngZone=G,this._animationMode=j,this._focusMonitor=(0,v.inject)(C.Kk),this._rippleLoader=(0,v.inject)(E.MatRippleLoader),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const le=(0,v.inject)(_,{optional:!0}),ue=z.nativeElement,ve=ue.classList;this.disabledInteractive=le?.disabledInteractive??!1,this._rippleLoader?.configureRipple(ue,{className:"mat-mdc-button-ripple"});for(const{attribute:Je,mdcClasses:_t}of M)ue.hasAttribute(Je)&&ve.add(..._t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(z="program",X){z?this._focusMonitor.focusVia(this._elementRef.nativeElement,z,X):this._elementRef.nativeElement.focus(X)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(X){v.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:B,inputs:{color:"color",disableRipple:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",v.booleanAttribute],disabled:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",v.booleanAttribute],ariaDisabled:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",v.booleanAttribute],disabledInteractive:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",v.booleanAttribute]},features:[v.\u0275\u0275InputTransformsFeature]})}return B})(),D=(()=>{class B extends w{constructor(z,X,G,j){super(z,X,G,j),this._haltDisabledEvents=le=>{this.disabled&&(le.preventDefault(),le.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return null==this.ariaDisabled?this.disabled:this.ariaDisabled}static#e=this.\u0275fac=function(X){v.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:B,inputs:{tabIndex:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",z=>null==z?void 0:(0,v.numberAttribute)(z)]},features:[v.\u0275\u0275InputTransformsFeature,v.\u0275\u0275InheritDefinitionFeature]})}return B})(),I=(()=>{class B extends w{constructor(z,X,G,j){super(z,X,G,j)}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("aria-disabled",G._getAriaDisabled()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:c,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._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(100% + 4px);width:calc(100% + 4px);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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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}.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._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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.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})}return B})(),O=(()=>{class B extends D{constructor(z,X,G,j){super(z,X,G,j)}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("tabindex",G.disabled&&!G.disabledInteractive?-1:G.tabIndex)("aria-disabled",G._getDisabledAttribute()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:c,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._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(100% + 4px);width:calc(100% + 4px);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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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}.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._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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.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)}',d],encapsulation:2,changeDetection:0})}return B})();const T=new v.InjectionToken("mat-mdc-fab-default-options",{providedIn:"root",factory:N});function N(){return{color:"accent"}}const S=N();let F=(()=>{class B extends w{constructor(z,X,G,j,le){super(z,X,G,j),this._options=le,this._isFab=!0,this._options=this._options||S,this.color=this._options.color||S.color}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8),v.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["button","mat-fab",""]],hostVars:18,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("aria-disabled",G._getAriaDisabled()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0)("mdc-fab--extended",G.extended)("mat-mdc-extended-fab",G.extended))},inputs:{extended:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"extended","extended",v.booleanAttribute]},exportAs:["matButton"],standalone:!0,features:[v.\u0275\u0275InputTransformsFeature,v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:l,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._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);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__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(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__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-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}'],encapsulation:2,changeDetection:0})}return B})(),L=(()=>{class B extends w{constructor(z,X,G,j,le){super(z,X,G,j),this._options=le,this._isFab=!0,this._options=this._options||S,this.color=this._options.color||S.color}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8),v.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("aria-disabled",G._getAriaDisabled()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:a,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return B})(),A=(()=>{class B extends O{constructor(z,X,G,j,le){super(z,X,G,j),this._options=le,this._isFab=!0,this._options=this._options||S,this.color=this._options.color||S.color}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8),v.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["a","mat-fab",""]],hostVars:19,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("tabindex",G.disabled&&!G.disabledInteractive?-1:G.tabIndex)("aria-disabled",G._getDisabledAttribute()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0)("mdc-fab--extended",G.extended)("mat-mdc-extended-fab",G.extended))},inputs:{extended:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"extended","extended",v.booleanAttribute]},exportAs:["matButton","matAnchor"],standalone:!0,features:[v.\u0275\u0275InputTransformsFeature,v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:l,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return B})(),U=(()=>{class B extends O{constructor(z,X,G,j,le){super(z,X,G,j),this._options=le,this._isFab=!0,this._options=this._options||S,this.color=this._options.color||S.color}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8),v.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["a","mat-mini-fab",""]],hostVars:15,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("tabindex",G.disabled&&!G.disabledInteractive?-1:G.tabIndex)("aria-disabled",G._getDisabledAttribute()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:a,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return B})(),K=(()=>{class B extends w{constructor(z,X,G,j){super(z,X,G,j),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("aria-disabled",G._getAriaDisabled()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:u,ngContentSelectors:h,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(X,G){1&X&&(v.\u0275\u0275projectionDef(),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\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{color:var(--mdc-icon-button-icon-color)}.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{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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}.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-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.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}',d],encapsulation:2,changeDetection:0})}return B})(),ee=(()=>{class B extends D{constructor(z,X,G,j){super(z,X,G,j)}static#e=this.\u0275fac=function(X){return new(X||B)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.WU),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:B,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(X,G){2&X&&(v.\u0275\u0275attribute("disabled",G._getDisabledAttribute())("tabindex",G.disabled&&!G.disabledInteractive?-1:G.tabIndex)("aria-disabled",G._getDisabledAttribute()),v.\u0275\u0275classMap(G.color?"mat-"+G.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",G.disabled)("mat-mdc-button-disabled-interactive",G.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===G._animationMode)("mat-unthemed",!G.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[v.\u0275\u0275InheritDefinitionFeature,v.\u0275\u0275StandaloneFeature],attrs:u,ngContentSelectors:s,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(X,G){1&X&&(v.\u0275\u0275projectionDef(b),v.\u0275\u0275element(0,"span",0),v.\u0275\u0275projection(1),v.\u0275\u0275elementStart(2,"span",1),v.\u0275\u0275projection(3,1),v.\u0275\u0275elementEnd(),v.\u0275\u0275projection(4,2),v.\u0275\u0275element(5,"span",2)(6,"span",3)),2&X&&v.\u0275\u0275classProp("mdc-button__ripple",!G._isFab)("mdc-fab__ripple",G._isFab)},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{color:var(--mdc-icon-button-icon-color)}.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{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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}.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-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.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}',d],encapsulation:2,changeDetection:0})}return B})(),ne=(()=>{class B{static#e=this.\u0275fac=function(X){return new(X||B)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:B});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({imports:[E.MatCommonModule,E.MatRippleModule,E.MatCommonModule]})}return B})()},2080:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_CARD_CONFIG:()=>d,MatCard:()=>l,MatCardActions:()=>p,MatCardAvatar:()=>O,MatCardContent:()=>u,MatCardFooter:()=>y,MatCardHeader:()=>_,MatCardImage:()=>M,MatCardLgImage:()=>D,MatCardMdImage:()=>k,MatCardModule:()=>N,MatCardSmImage:()=>w,MatCardSubtitle:()=>h,MatCardTitle:()=>a,MatCardTitleGroup:()=>r,MatCardXlImage:()=>I});var t=g(4496),v=g(1368),C=g(3576);const E=["*"],c=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["","mat-card-image",""],["","matCardImage",""],["","mat-card-sm-image",""],["","matCardImageSmall",""],["","mat-card-md-image",""],["","matCardImageMedium",""],["","mat-card-lg-image",""],["","matCardImageLarge",""],["","mat-card-xl-image",""],["","matCardImageXLarge",""]],"*"],b=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","[mat-card-image], [matCardImage],\n [mat-card-sm-image], [matCardImageSmall],\n [mat-card-md-image], [matCardImageMedium],\n [mat-card-lg-image], [matCardImageLarge],\n [mat-card-xl-image], [matCardImageXLarge]","*"],s=[[["","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]","*"],d=new t.InjectionToken("MAT_CARD_CONFIG");let l=(()=>{class S{constructor(L){this.appearance=L?.appearance||"raised"}static#e=this.\u0275fac=function(A){return new(A||S)(t.\u0275\u0275directiveInject(d,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:S,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(A,U){2&A&&t.\u0275\u0275classProp("mat-mdc-card-outlined","outlined"===U.appearance)("mdc-card--outlined","outlined"===U.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],ngContentSelectors:E,decls:1,vars:0,template:function(A,U){1&A&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return S})(),a=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0})}return S})(),r=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:S,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-mdc-card-title-group"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],ngContentSelectors:b,decls:4,vars:0,template:function(A,U){1&A&&(t.\u0275\u0275projectionDef(c),t.\u0275\u0275elementStart(0,"div"),t.\u0275\u0275projection(1),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(2,1),t.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0})}return S})(),u=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}return S})(),h=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"],standalone:!0})}return S})(),p=(()=>{class S{constructor(){this.align="start"}static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(A,U){2&A&&t.\u0275\u0275classProp("mat-mdc-card-actions-align-end","end"===U.align)},inputs:{align:"align"},exportAs:["matCardActions"],standalone:!0})}return S})(),_=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:S,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(A,U){1&A&&(t.\u0275\u0275projectionDef(s),t.\u0275\u0275projection(0),t.\u0275\u0275elementStart(1,"div",0),t.\u0275\u0275projection(2,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275projection(3,2))},encapsulation:2,changeDetection:0})}return S})(),y=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-mdc-card-footer"],standalone:!0})}return S})(),M=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"],standalone:!0})}return S})(),w=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-mdc-card-sm-image","mdc-card__media"],standalone:!0})}return S})(),k=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-mdc-card-md-image","mdc-card__media"],standalone:!0})}return S})(),D=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-mdc-card-lg-image","mdc-card__media"],standalone:!0})}return S})(),I=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-mdc-card-xl-image","mdc-card__media"],standalone:!0})}return S})(),O=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:S,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"],standalone:!0})}return S})(),N=(()=>{class S{static#e=this.\u0275fac=function(A){return new(A||S)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:S});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[C.MatCommonModule,v.CommonModule,C.MatCommonModule]})}return S})()},3840:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>l,MAT_CHECKBOX_DEFAULT_OPTIONS:()=>s,MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>f,MAT_CHECKBOX_REQUIRED_VALIDATOR:()=>p,MatCheckbox:()=>h,MatCheckboxChange:()=>a,MatCheckboxModule:()=>M,MatCheckboxRequiredValidator:()=>_,TransitionCheckState:()=>d,_MatCheckboxRequiredValidatorModule:()=>y});var t=g(4496),v=g(6504),C=g(3576);const E=["input"],c=["label"],b=["*"],s=new t.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent",clickAction:"check-indeterminate"}}var d=function(w){return w[w.Init=0]="Init",w[w.Checked=1]="Checked",w[w.Unchecked=2]="Unchecked",w[w.Indeterminate=3]="Indeterminate",w}(d||{});const l={provide:v.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(()=>h),multi:!0};class a{}let r=0;const u=f();let h=(()=>{class w{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(D){const I=new a;return I.source=this,I.checked=D,I}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(D,I,O,T,N,S){this._elementRef=D,this._changeDetectorRef=I,this._ngZone=O,this._animationMode=N,this._options=S,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new t.EventEmitter,this.indeterminateChange=new t.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=d.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||u,this.color=this._options.color||u.color,this.tabIndex=parseInt(T)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++r}ngOnChanges(D){D.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(D){D!=this.checked&&(this._checked=D,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(D){D!==this.disabled&&(this._disabled=D,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(D){const I=D!=this._indeterminate;this._indeterminate=D,I&&(this._transitionCheckState(this._indeterminate?d.Indeterminate:this.checked?d.Checked:d.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(D){this.checked=!!D}registerOnChange(D){this._controlValueAccessorChangeFn=D}registerOnTouched(D){this._onTouched=D}setDisabledState(D){this.disabled=D}validate(D){return this.required&&!0!==D.value?{required:!0}:null}registerOnValidatorChange(D){this._validatorChangeFn=D}_transitionCheckState(D){let I=this._currentCheckState,O=this._getAnimationTargetElement();if(I!==D&&O&&(this._currentAnimationClass&&O.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(I,D),this._currentCheckState=D,this._currentAnimationClass.length>0)){O.classList.add(this._currentAnimationClass);const T=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{O.classList.remove(T)},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 D=this._options?.clickAction;this.disabled||"noop"===D?!this.disabled&&"noop"===D&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==D&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?d.Checked:d.Unchecked),this._emitChangeEvent())}_onInteractionEvent(D){D.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(D,I){if("NoopAnimations"===this._animationMode)return"";switch(D){case d.Init:if(I===d.Checked)return this._animationClasses.uncheckedToChecked;if(I==d.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case d.Unchecked:return I===d.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case d.Checked:return I===d.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case d.Indeterminate:return I===d.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(D){const I=this._inputElement;I&&(I.nativeElement.indeterminate=D)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(D){D.target&&this._labelElement.nativeElement.contains(D.target)&&D.stopPropagation()}static#e=this.\u0275fac=function(I){return new(I||w)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275injectAttribute("tabindex"),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(s,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:w,selectors:[["mat-checkbox"]],viewQuery:function(I,O){if(1&I&&(t.\u0275\u0275viewQuery(E,5),t.\u0275\u0275viewQuery(c,5),t.\u0275\u0275viewQuery(C.MatRipple,5)),2&I){let T;t.\u0275\u0275queryRefresh(T=t.\u0275\u0275loadQuery())&&(O._inputElement=T.first),t.\u0275\u0275queryRefresh(T=t.\u0275\u0275loadQuery())&&(O._labelElement=T.first),t.\u0275\u0275queryRefresh(T=t.\u0275\u0275loadQuery())&&(O.ripple=T.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(I,O){2&I&&(t.\u0275\u0275hostProperty("id",O.id),t.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),t.\u0275\u0275classMap(O.color?"mat-"+O.color:"mat-accent"),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode)("mdc-checkbox--disabled",O.disabled)("mat-mdc-checkbox-disabled",O.disabled)("mat-mdc-checkbox-checked",O.checked))},inputs:{ariaLabel:[t.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[t.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[t.\u0275\u0275InputFlags.None,"aria-describedby","ariaDescribedby"],id:"id",required:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"required","required",t.booleanAttribute],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute],tabIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",D=>null==D?void 0:(0,t.numberAttribute)(D)],color:"color",checked:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"checked","checked",t.booleanAttribute],disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],indeterminate:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"indeterminate","indeterminate",t.booleanAttribute]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([l,{provide:v.NG_VALIDATORS,useExisting:w,multi:!0}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:b,decls:15,vars:19,consts:[["mat-internal-form-field","",3,"labelPosition","click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(I,O){if(1&I&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"div",0),t.\u0275\u0275listener("click",function(N){return O._preventBubblingFromLabel(N)}),t.\u0275\u0275elementStart(1,"div",1,2)(3,"div",3),t.\u0275\u0275listener("click",function(){return O._onTouchTargetClick()}),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"input",4,5),t.\u0275\u0275listener("blur",function(){return O._onBlur()})("click",function(){return O._onInputClick()})("change",function(N){return O._onInteractionEvent(N)}),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(6,"div",6),t.\u0275\u0275elementStart(7,"div",7),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(8,"svg",8),t.\u0275\u0275element(9,"path",9),t.\u0275\u0275elementEnd(),t.\u0275\u0275namespaceHTML(),t.\u0275\u0275element(10,"div",10),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(11,"div",11),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(12,"label",12,13),t.\u0275\u0275projection(14),t.\u0275\u0275elementEnd()()),2&I){const T=t.\u0275\u0275reference(2);t.\u0275\u0275property("labelPosition",O.labelPosition),t.\u0275\u0275advance(4),t.\u0275\u0275classProp("mdc-checkbox--selected",O.checked),t.\u0275\u0275property("checked",O.checked)("indeterminate",O.indeterminate)("disabled",O.disabled)("id",O.inputId)("required",O.required)("tabIndex",O.disabled?-1:O.tabIndex),t.\u0275\u0275attribute("aria-label",O.ariaLabel||null)("aria-labelledby",O.ariaLabelledby)("aria-describedby",O.ariaDescribedby)("aria-checked",O.indeterminate?"mixed":null)("name",O.name)("value",O.value),t.\u0275\u0275advance(7),t.\u0275\u0275property("matRippleTrigger",T)("matRippleDisabled",O.disableRipple||O.disabled)("matRippleCentered",!0),t.\u0275\u0275advance(),t.\u0275\u0275property("for",O.inputId)}},dependencies:[C.MatRipple,C._MatInternalFormField],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__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-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return w})();const p={provide:v.NG_VALIDATORS,useExisting:(0,t.forwardRef)(()=>_),multi:!0};let _=(()=>{class w extends v.CheckboxRequiredValidator{static#e=this.\u0275fac=(()=>{let D;return function(O){return(D||(D=t.\u0275\u0275getInheritedFactory(w)))(O||w)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:w,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([p]),t.\u0275\u0275InheritDefinitionFeature]})}return w})(),y=(()=>{class w{static#e=this.\u0275fac=function(I){return new(I||w)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:w});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return w})(),M=(()=>{class w{static#e=this.\u0275fac=function(I){return new(I||w)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:w});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[h,C.MatCommonModule,C.MatCommonModule]})}return w})()},3576:(De,te,g)=>{"use strict";g.r(te),g.d(te,{AnimationCurves:()=>O,AnimationDurations:()=>T,DateAdapter:()=>le,ErrorStateMatcher:()=>Ke,MATERIAL_SANITY_CHECKS:()=>S,MAT_DATE_FORMATS:()=>ue,MAT_DATE_LOCALE:()=>G,MAT_DATE_LOCALE_FACTORY:()=>j,MAT_NATIVE_DATE_FORMATS:()=>ct,MAT_OPTGROUP:()=>xe,MAT_OPTION_PARENT_COMPONENT:()=>Ot,MAT_RIPPLE_GLOBAL_OPTIONS:()=>on,MatCommonModule:()=>F,MatLine:()=>Be,MatLineModule:()=>q,MatNativeDateModule:()=>Re,MatOptgroup:()=>rt,MatOption:()=>nt,MatOptionModule:()=>He,MatOptionSelectionChange:()=>At,MatPseudoCheckbox:()=>Jt,MatPseudoCheckboxModule:()=>an,MatRipple:()=>tn,MatRippleLoader:()=>Ge,MatRippleModule:()=>gn,NativeDateAdapter:()=>_t,NativeDateModule:()=>Ct,RippleRef:()=>Oe,RippleRenderer:()=>Gt,RippleState:()=>be,ShowOnDirtyErrorStateMatcher:()=>fe,VERSION:()=>I,_ErrorStateTracker:()=>H,_MatInternalFormField:()=>kt,_countGroupLabelsBeforeOption:()=>vt,_getOptionScrollPosition:()=>Le,defaultRippleAnimationConfig:()=>Ve,mixinColor:()=>ee,mixinDisableRipple:()=>ne,mixinDisabled:()=>K,mixinErrorState:()=>z,mixinInitialized:()=>X,mixinTabIndex:()=>B,provideNativeDateAdapter:()=>ke,setLines:()=>Ie});var t=g(4496),v=g(1336),C=g(1900),c=g(1368),b=g(5792),s=g(7712),f=g(3252),d=g(5657),l=g(5568),a=g(5420);const r=["*",[["mat-option"],["ng-container"]]],u=["*","mat-option, ng-container"],h=["text"];function p(dt,xt){if(1&dt&&t.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&dt){const qe=t.\u0275\u0275nextContext();t.\u0275\u0275property("disabled",qe.disabled)("state",qe.selected?"checked":"unchecked")}}function _(dt,xt){if(1&dt&&t.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&dt){const qe=t.\u0275\u0275nextContext();t.\u0275\u0275property("disabled",qe.disabled)}}function y(dt,xt){if(1&dt&&(t.\u0275\u0275elementStart(0,"span",8),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&dt){const qe=t.\u0275\u0275nextContext();t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1("(",qe.group.label,")")}}const M=[[["mat-icon"]],"*"],w=["mat-icon","*"],k=["mat-internal-form-field",""],D=["*"],I=new t.Version("17.2.0");let O=(()=>{class dt{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#n=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#i=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return dt})(),T=(()=>{class dt{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#n=this.EXITING="195ms"}return dt})();const S=new t.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function N(){return!0}});let F=(()=>{class dt{constructor(qe,Fe,et){this._sanityChecks=Fe,this._document=et,this._hasDoneGlobalChecks=!1,qe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(qe){return!(0,b.mW)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[qe])}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)(t.\u0275\u0275inject(v.MM),t.\u0275\u0275inject(S,8),t.\u0275\u0275inject(c.DOCUMENT))};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[C.gN,C.gN]})}return dt})();function K(dt){return class extends dt{get disabled(){return this._disabled}set disabled(xt){this._disabled=(0,s.W6)(xt)}constructor(...xt){super(...xt),this._disabled=!1}}}function ee(dt,xt){return class extends dt{get color(){return this._color}set color(qe){const Fe=qe||this.defaultColor;Fe!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Fe&&this._elementRef.nativeElement.classList.add(`mat-${Fe}`),this._color=Fe)}constructor(...qe){super(...qe),this.defaultColor=xt,this.color=xt}}}function ne(dt){return class extends dt{get disableRipple(){return this._disableRipple}set disableRipple(xt){this._disableRipple=(0,s.W6)(xt)}constructor(...xt){super(...xt),this._disableRipple=!1}}}function B(dt,xt=0){return class extends dt{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(qe){this._tabIndex=null!=qe?(0,s.wZ)(qe):this.defaultTabIndex}constructor(...qe){super(...qe),this._tabIndex=xt,this.defaultTabIndex=xt}}}class H{constructor(xt,qe,Fe,et,Ye){this._defaultMatcher=xt,this.ngControl=qe,this._parentFormGroup=Fe,this._parentForm=et,this._stateChanges=Ye,this.errorState=!1}updateErrorState(){const xt=this.errorState,qe=this._parentFormGroup||this._parentForm,Fe=this.matcher||this._defaultMatcher,et=this.ngControl?this.ngControl.control:null,Ye=Fe?.isErrorState(et,qe)??!1;Ye!==xt&&(this.errorState=Ye,this._stateChanges.next())}}function z(dt){return class extends dt{get errorState(){return this._getTracker().errorState}set errorState(xt){this._getTracker().errorState=xt}get errorStateMatcher(){return this._getTracker().matcher}set errorStateMatcher(xt){this._getTracker().matcher=xt}updateErrorState(){this._getTracker().updateErrorState()}_getTracker(){return this._tracker||(this._tracker=new H(this._defaultErrorStateMatcher,this.ngControl,this._parentFormGroup,this._parentForm,this.stateChanges)),this._tracker}constructor(...xt){super(...xt)}}}function X(dt){return class extends dt{constructor(...xt){super(...xt),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new f._(qe=>{this._isInitialized?this._notifySubscriber(qe):this._pendingSubscribers.push(qe)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(xt){xt.next(),xt.complete()}}}const G=new t.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:j});function j(){return(0,t.inject)(t.LOCALE_ID)}class le{constructor(){this._localeChanges=new d.E,this.localeChanges=this._localeChanges}getValidDateOrNull(xt){return this.isDateInstance(xt)&&this.isValid(xt)?xt:null}deserialize(xt){return null==xt||this.isDateInstance(xt)&&this.isValid(xt)?xt:this.invalid()}setLocale(xt){this.locale=xt,this._localeChanges.next()}compareDate(xt,qe){return this.getYear(xt)-this.getYear(qe)||this.getMonth(xt)-this.getMonth(qe)||this.getDate(xt)-this.getDate(qe)}sameDate(xt,qe){if(xt&&qe){let Fe=this.isValid(xt),et=this.isValid(qe);return Fe&&et?!this.compareDate(xt,qe):Fe==et}return xt==qe}clampDate(xt,qe,Fe){return qe&&this.compareDate(xt,qe)<0?qe:Fe&&this.compareDate(xt,Fe)>0?Fe:xt}}const ue=new t.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 Je(dt,xt){const qe=Array(dt);for(let Fe=0;Fe{class dt extends le{constructor(qe){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,t.inject)(G,{optional:!0}),void 0!==qe&&(this._matDateLocale=qe),super.setLocale(this._matDateLocale)}getYear(qe){return qe.getFullYear()}getMonth(qe){return qe.getMonth()}getDate(qe){return qe.getDate()}getDayOfWeek(qe){return qe.getDay()}getMonthNames(qe){const Fe=new Intl.DateTimeFormat(this.locale,{month:qe,timeZone:"utc"});return Je(12,et=>this._format(Fe,new Date(2017,et,1)))}getDateNames(){const qe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Je(31,Fe=>this._format(qe,new Date(2017,0,Fe+1)))}getDayOfWeekNames(qe){const Fe=new Intl.DateTimeFormat(this.locale,{weekday:qe,timeZone:"utc"});return Je(7,et=>this._format(Fe,new Date(2017,0,et+1)))}getYearName(qe){const Fe=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Fe,qe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(qe){return this.getDate(this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe)+1,0))}clone(qe){return new Date(qe.getTime())}createDate(qe,Fe,et){let Ye=this._createDateWithOverflow(qe,Fe,et);return Ye.getMonth(),Ye}today(){return new Date}parse(qe,Fe){return"number"==typeof qe?new Date(qe):qe?new Date(Date.parse(qe)):null}format(qe,Fe){if(!this.isValid(qe))throw Error("NativeDateAdapter: Cannot format invalid date.");const et=new Intl.DateTimeFormat(this.locale,{...Fe,timeZone:"utc"});return this._format(et,qe)}addCalendarYears(qe,Fe){return this.addCalendarMonths(qe,12*Fe)}addCalendarMonths(qe,Fe){let et=this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe)+Fe,this.getDate(qe));return this.getMonth(et)!=((this.getMonth(qe)+Fe)%12+12)%12&&(et=this._createDateWithOverflow(this.getYear(et),this.getMonth(et),0)),et}addCalendarDays(qe,Fe){return this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe),this.getDate(qe)+Fe)}toIso8601(qe){return[qe.getUTCFullYear(),this._2digit(qe.getUTCMonth()+1),this._2digit(qe.getUTCDate())].join("-")}deserialize(qe){if("string"==typeof qe){if(!qe)return null;if(ve.test(qe)){let Fe=new Date(qe);if(this.isValid(Fe))return Fe}}return super.deserialize(qe)}isDateInstance(qe){return qe instanceof Date}isValid(qe){return!isNaN(qe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(qe,Fe,et){const Ye=new Date;return Ye.setFullYear(qe,Fe,et),Ye.setHours(0,0,0,0),Ye}_2digit(qe){return("00"+qe).slice(-2)}_format(qe,Fe){const et=new Date;return et.setUTCFullYear(Fe.getFullYear(),Fe.getMonth(),Fe.getDate()),et.setUTCHours(Fe.getHours(),Fe.getMinutes(),Fe.getSeconds(),Fe.getMilliseconds()),qe.format(et)}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)(t.\u0275\u0275inject(G,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:dt,factory:dt.\u0275fac})}return dt})();const ct={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 Ct=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[{provide:le,useClass:_t}]})}return dt})(),Re=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[ke()]})}return dt})();function ke(dt=ct){return[{provide:le,useClass:_t},{provide:ue,useValue:dt}]}let fe=(()=>{class dt{isErrorState(qe,Fe){return!!(qe&&qe.invalid&&(qe.dirty||Fe&&Fe.submitted))}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:dt,factory:dt.\u0275fac})}return dt})(),Ke=(()=>{class dt{isErrorState(qe,Fe){return!!(qe&&qe.invalid&&(qe.touched||Fe&&Fe.submitted))}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})(),Be=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:dt,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"],standalone:!0})}return dt})();function Ie(dt,xt,qe="mat"){dt.changes.pipe((0,l.W)(dt)).subscribe(({length:Fe})=>{je(xt,`${qe}-2-line`,!1),je(xt,`${qe}-3-line`,!1),je(xt,`${qe}-multi-line`,!1),2===Fe||3===Fe?je(xt,`${qe}-${Fe}-line`,!0):Fe>3&&je(xt,`${qe}-multi-line`,!0)})}function je(dt,xt,qe){dt.nativeElement.classList.toggle(xt,qe)}let q=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[F,F]})}return dt})();var be=function(dt){return dt[dt.FADING_IN=0]="FADING_IN",dt[dt.VISIBLE=1]="VISIBLE",dt[dt.FADING_OUT=2]="FADING_OUT",dt[dt.HIDDEN=3]="HIDDEN",dt}(be||{});class Oe{constructor(xt,qe,Fe,et=!1){this._renderer=xt,this.element=qe,this.config=Fe,this._animationForciblyDisabledThroughCss=et,this.state=be.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const Xe=(0,b.W4)({passive:!0,capture:!0});class ge{constructor(){this._events=new Map,this._delegateEventHandler=xt=>{const qe=(0,b.oZ)(xt);qe&&this._events.get(xt.type)?.forEach((Fe,et)=>{(et===qe||et.contains(qe))&&Fe.forEach(Ye=>Ye.handleEvent(xt))})}}addHandler(xt,qe,Fe,et){const Ye=this._events.get(qe);if(Ye){const ft=Ye.get(Fe);ft?ft.add(et):Ye.set(Fe,new Set([et]))}else this._events.set(qe,new Map([[Fe,new Set([et])]])),xt.runOutsideAngular(()=>{document.addEventListener(qe,this._delegateEventHandler,Xe)})}removeHandler(xt,qe,Fe){const et=this._events.get(xt);if(!et)return;const Ye=et.get(qe);Ye&&(Ye.delete(Fe),0===Ye.size&&et.delete(qe),0===et.size&&(this._events.delete(xt),document.removeEventListener(xt,this._delegateEventHandler,Xe)))}}const Ve={enterDuration:225,exitDuration:150},ze=(0,b.W4)({passive:!0,capture:!0}),pt=["mousedown","touchstart"],Pt=["mouseup","mouseleave","touchend","touchcancel"];class Gt{static#e=this._eventManager=new ge;constructor(xt,qe,Fe,et){this._target=xt,this._ngZone=qe,this._platform=et,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,et.isBrowser&&(this._containerElement=(0,s.mk)(Fe))}fadeInRipple(xt,qe,Fe={}){const et=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ye={...Ve,...Fe.animation};Fe.centered&&(xt=et.left+et.width/2,qe=et.top+et.height/2);const ft=Fe.radius||function rn(dt,xt,qe){const Fe=Math.max(Math.abs(dt-qe.left),Math.abs(dt-qe.right)),et=Math.max(Math.abs(xt-qe.top),Math.abs(xt-qe.bottom));return Math.sqrt(Fe*Fe+et*et)}(xt,qe,et),Bt=xt-et.left,qt=qe-et.top,fn=Ye.enterDuration,ln=document.createElement("div");ln.classList.add("mat-ripple-element"),ln.style.left=Bt-ft+"px",ln.style.top=qt-ft+"px",ln.style.height=2*ft+"px",ln.style.width=2*ft+"px",null!=Fe.color&&(ln.style.backgroundColor=Fe.color),ln.style.transitionDuration=`${fn}ms`,this._containerElement.appendChild(ln);const An=window.getComputedStyle(ln),Si=An.transitionDuration,Fi="none"===An.transitionProperty||"0s"===Si||"0s, 0s"===Si||0===et.width&&0===et.height,si=new Oe(this,ln,Fe,Fi);ln.style.transform="scale3d(1, 1, 1)",si.state=be.FADING_IN,Fe.persistent||(this._mostRecentTransientRipple=si);let Ji=null;return!Fi&&(fn||Ye.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const mi=()=>this._finishRippleTransition(si),ji=()=>this._destroyRipple(si);ln.addEventListener("transitionend",mi),ln.addEventListener("transitioncancel",ji),Ji={onTransitionEnd:mi,onTransitionCancel:ji}}),this._activeRipples.set(si,Ji),(Fi||!fn)&&this._finishRippleTransition(si),si}fadeOutRipple(xt){if(xt.state===be.FADING_OUT||xt.state===be.HIDDEN)return;const qe=xt.element,Fe={...Ve,...xt.config.animation};qe.style.transitionDuration=`${Fe.exitDuration}ms`,qe.style.opacity="0",xt.state=be.FADING_OUT,(xt._animationForciblyDisabledThroughCss||!Fe.exitDuration)&&this._finishRippleTransition(xt)}fadeOutAll(){this._getActiveRipples().forEach(xt=>xt.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(xt=>{xt.config.persistent||xt.fadeOut()})}setupTriggerEvents(xt){const qe=(0,s.mk)(xt);!this._platform.isBrowser||!qe||qe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=qe,pt.forEach(Fe=>{Gt._eventManager.addHandler(this._ngZone,Fe,qe,this)}))}handleEvent(xt){"mousedown"===xt.type?this._onMousedown(xt):"touchstart"===xt.type?this._onTouchStart(xt):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Pt.forEach(qe=>{this._triggerElement.addEventListener(qe,this,ze)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(xt){xt.state===be.FADING_IN?this._startFadeOutTransition(xt):xt.state===be.FADING_OUT&&this._destroyRipple(xt)}_startFadeOutTransition(xt){const qe=xt===this._mostRecentTransientRipple,{persistent:Fe}=xt.config;xt.state=be.VISIBLE,!Fe&&(!qe||!this._isPointerDown)&&xt.fadeOut()}_destroyRipple(xt){const qe=this._activeRipples.get(xt)??null;this._activeRipples.delete(xt),this._activeRipples.size||(this._containerRect=null),xt===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),xt.state=be.HIDDEN,null!==qe&&(xt.element.removeEventListener("transitionend",qe.onTransitionEnd),xt.element.removeEventListener("transitioncancel",qe.onTransitionCancel)),xt.element.remove()}_onMousedown(xt){const qe=(0,v.G3)(xt),Fe=this._lastTouchStartEvent&&Date.now(){!xt.config.persistent&&(xt.state===be.VISIBLE||xt.config.terminateOnPointerUp&&xt.state===be.FADING_IN)&&xt.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const xt=this._triggerElement;xt&&(pt.forEach(qe=>Gt._eventManager.removeHandler(qe,xt,this)),this._pointerUpEventsRegistered&&Pt.forEach(qe=>xt.removeEventListener(qe,this,ze)))}}const on=new t.InjectionToken("mat-ripple-global-options");let tn=(()=>{class dt{get disabled(){return this._disabled}set disabled(qe){qe&&this.fadeOutAllNonPersistent(),this._disabled=qe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(qe){this._trigger=qe,this._setupTriggerEventsIfEnabled()}constructor(qe,Fe,et,Ye,ft){this._elementRef=qe,this._animationMode=ft,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ye||{},this._rippleRenderer=new Gt(this,Fe,qe,et)}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(qe,Fe=0,et){return"number"==typeof qe?this._rippleRenderer.fadeInRipple(qe,Fe,{...this.rippleConfig,...et}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...qe})}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(b.WU),t.\u0275\u0275directiveInject(on,8),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:dt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Fe,et){2&Fe&&t.\u0275\u0275classProp("mat-ripple-unbounded",et.unbounded)},inputs:{color:[t.\u0275\u0275InputFlags.None,"matRippleColor","color"],unbounded:[t.\u0275\u0275InputFlags.None,"matRippleUnbounded","unbounded"],centered:[t.\u0275\u0275InputFlags.None,"matRippleCentered","centered"],radius:[t.\u0275\u0275InputFlags.None,"matRippleRadius","radius"],animation:[t.\u0275\u0275InputFlags.None,"matRippleAnimation","animation"],disabled:[t.\u0275\u0275InputFlags.None,"matRippleDisabled","disabled"],trigger:[t.\u0275\u0275InputFlags.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return dt})(),gn=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[F,F]})}return dt})(),Jt=(()=>{class dt{constructor(qe){this._animationMode=qe,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)(t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:dt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(Fe,et){2&Fe&&t.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===et.state)("mat-pseudo-checkbox-checked","checked"===et.state)("mat-pseudo-checkbox-disabled",et.disabled)("mat-pseudo-checkbox-minimal","minimal"===et.appearance)("mat-pseudo-checkbox-full","full"===et.appearance)("_mat-animation-noopable","NoopAnimations"===et._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(Fe,et){},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-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.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})}return dt})(),an=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[F]})}return dt})();const Ot=new t.InjectionToken("MAT_OPTION_PARENT_COMPONENT");let Ut=0;const xe=new t.InjectionToken("MatOptgroup");let rt=(()=>{class dt{constructor(qe){this.disabled=!1,this._labelId="mat-optgroup-label-"+Ut++,this._inert=qe?.inertGroups??!1}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)(t.\u0275\u0275directiveInject(Ot,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:dt,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(Fe,et){2&Fe&&t.\u0275\u0275attribute("role",et._inert?null:"group")("aria-disabled",et._inert?null:et.disabled.toString())("aria-labelledby",et._inert?null:et._labelId)},inputs:{label:"label",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute]},exportAs:["matOptgroup"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:xe,useExisting:dt}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:u,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(Fe,et){1&Fe&&(t.\u0275\u0275projectionDef(r),t.\u0275\u0275elementStart(0,"span",0)(1,"span",1),t.\u0275\u0275text(2),t.\u0275\u0275projection(3),t.\u0275\u0275elementEnd()(),t.\u0275\u0275projection(4,1)),2&Fe&&(t.\u0275\u0275classProp("mdc-list-item--disabled",et.disabled),t.\u0275\u0275property("id",et._labelId),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1("",et.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})}return dt})(),lt=0;class At{constructor(xt,qe=!1){this.source=xt,this.isUserInput=qe}}let nt=(()=>{class dt{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(qe){this._disabled=qe}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(qe,Fe,et,Ye){this._element=qe,this._changeDetectorRef=Fe,this._parent=et,this.group=Ye,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+lt++,this.onSelectionChange=new t.EventEmitter,this._stateChanges=new d.E}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(qe=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),qe&&this._emitSelectionChangeEvent())}deselect(qe=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),qe&&this._emitSelectionChangeEvent())}focus(qe,Fe){const et=this._getHostElement();"function"==typeof et.focus&&et.focus(Fe)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(qe){(qe.keyCode===a.wJ||qe.keyCode===a.Gi)&&!(0,a.Yp)(qe)&&(this._selectViaInteraction(),qe.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 qe=this.viewValue;qe!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=qe)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(qe=!1){this.onSelectionChange.emit(new At(this,qe))}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(Ot,8),t.\u0275\u0275directiveInject(xe,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:dt,selectors:[["mat-option"]],viewQuery:function(Fe,et){if(1&Fe&&t.\u0275\u0275viewQuery(h,7),2&Fe){let Ye;t.\u0275\u0275queryRefresh(Ye=t.\u0275\u0275loadQuery())&&(et._text=Ye.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(Fe,et){1&Fe&&t.\u0275\u0275listener("click",function(){return et._selectViaInteraction()})("keydown",function(ft){return et._handleKeydown(ft)}),2&Fe&&(t.\u0275\u0275hostProperty("id",et.id),t.\u0275\u0275attribute("aria-selected",et.selected)("aria-disabled",et.disabled.toString()),t.\u0275\u0275classProp("mdc-list-item--selected",et.selected)("mat-mdc-option-multiple",et.multiple)("mat-mdc-option-active",et.active)("mdc-list-item--disabled",et.disabled))},inputs:{value:"value",id:"id",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:w,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["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(Fe,et){1&Fe&&(t.\u0275\u0275projectionDef(M),t.\u0275\u0275template(0,p,1,2,"mat-pseudo-checkbox",0),t.\u0275\u0275projection(1),t.\u0275\u0275elementStart(2,"span",1,2),t.\u0275\u0275projection(4,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(5,_,1,1,"mat-pseudo-checkbox",3)(6,y,2,1,"span",4),t.\u0275\u0275element(7,"div",5)),2&Fe&&(t.\u0275\u0275conditional(0,et.multiple?0:-1),t.\u0275\u0275advance(5),t.\u0275\u0275conditional(5,et.multiple||!et.selected||et.hideSingleSelectionIndicator?-1:5),t.\u0275\u0275advance(),t.\u0275\u0275conditional(6,et.group&&et.group._inert?6:-1),t.\u0275\u0275advance(),t.\u0275\u0275property("matRippleTrigger",et._getHostElement())("matRippleDisabled",et.disabled||et.disableRipple))},dependencies:[Jt,tn],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;background:rgba(0,0,0,0)}.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-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return dt})();function vt(dt,xt,qe){if(qe.length){let Fe=xt.toArray(),et=qe.toArray(),Ye=0;for(let ft=0;ftqe+Fe?Math.max(0,dt-Fe+xt):qe}let He=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:dt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[gn,F,an]})}return dt})();const st={capture:!0},Te=["focus","click","mouseenter","touchstart"],Pe="mat-ripple-loader-uninitialized",bt="mat-ripple-loader-class-name",Me="mat-ripple-loader-centered",$e="mat-ripple-loader-disabled";let Ge=(()=>{class dt{constructor(){this._document=(0,t.inject)(c.DOCUMENT,{optional:!0}),this._animationMode=(0,t.inject)(t.ANIMATION_MODULE_TYPE,{optional:!0}),this._globalRippleOptions=(0,t.inject)(on,{optional:!0}),this._platform=(0,t.inject)(b.WU),this._ngZone=(0,t.inject)(t.NgZone),this._hosts=new Map,this._onInteraction=qe=>{if(!(qe.target instanceof HTMLElement))return;const et=qe.target.closest(`[${Pe}]`);et&&this._createRipple(et)},this._ngZone.runOutsideAngular(()=>{for(const qe of Te)this._document?.addEventListener(qe,this._onInteraction,st)})}ngOnDestroy(){const qe=this._hosts.keys();for(const Fe of qe)this.destroyRipple(Fe);for(const Fe of Te)this._document?.removeEventListener(Fe,this._onInteraction,st)}configureRipple(qe,Fe){qe.setAttribute(Pe,""),(Fe.className||!qe.hasAttribute(bt))&&qe.setAttribute(bt,Fe.className||""),Fe.centered&&qe.setAttribute(Me,""),Fe.disabled&&qe.setAttribute($e,"")}getRipple(qe){return this._hosts.get(qe)||this._createRipple(qe)}setDisabled(qe,Fe){const et=this._hosts.get(qe);et?et.disabled=Fe:Fe?qe.setAttribute($e,""):qe.removeAttribute($e)}_createRipple(qe){if(!this._document)return;const Fe=this._hosts.get(qe);if(Fe)return Fe;qe.querySelector(".mat-ripple")?.remove();const et=this._document.createElement("span");et.classList.add("mat-ripple",qe.getAttribute(bt)),qe.append(et);const Ye=new tn(new t.ElementRef(et),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ye._isInitialized=!0,Ye.trigger=qe,Ye.centered=qe.hasAttribute(Me),Ye.disabled=qe.hasAttribute($e),this.attachRipple(qe,Ye),Ye}attachRipple(qe,Fe){qe.removeAttribute(Pe),this._hosts.set(qe,Fe)}destroyRipple(qe){const Fe=this._hosts.get(qe);Fe&&(Fe.ngOnDestroy(),this._hosts.delete(qe))}static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})(),kt=(()=>{class dt{static#e=this.\u0275fac=function(Fe){return new(Fe||dt)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:dt,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(Fe,et){2&Fe&&t.\u0275\u0275classProp("mdc-form-field--align-end","before"===et.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],attrs:k,ngContentSelectors:D,decls:1,vars:0,template:function(Fe,et){1&Fe&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0})}return dt})()},9120:(De,te,g)=>{"use strict";g.r(te),g.d(te,{DateRange:()=>Xe,DefaultMatCalendarRangeStrategy:()=>on,MAT_DATEPICKER_SCROLL_STRATEGY:()=>bt,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>Me,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>$e,MAT_DATEPICKER_VALIDATORS:()=>Ye,MAT_DATEPICKER_VALUE_ACCESSOR:()=>et,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>rn,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>Pt,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>Gt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>ze,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>pt,MatCalendar:()=>st,MatCalendarBody:()=>Ke,MatCalendarCell:()=>ct,MatCalendarHeader:()=>He,MatDateRangeInput:()=>rr,MatDateRangePicker:()=>se,MatDateSelectionModel:()=>ge,MatDatepicker:()=>dt,MatDatepickerActions:()=>me,MatDatepickerApply:()=>at,MatDatepickerCancel:()=>ae,MatDatepickerContent:()=>Ge,MatDatepickerInput:()=>ft,MatDatepickerInputEvent:()=>xt,MatDatepickerIntl:()=>_t,MatDatepickerModule:()=>Ae,MatDatepickerToggle:()=>qt,MatDatepickerToggleIcon:()=>Bt,MatEndDate:()=>mi,MatMonthView:()=>an,MatMultiYearView:()=>xe,MatRangeDateSelectionModel:()=>ot,MatSingleDateSelectionModel:()=>Ve,MatStartDate:()=>Ji,MatYearView:()=>vt,matDatepickerAnimations:()=>Te,yearsPerPage:()=>Ot,yearsPerRow:()=>Ut});var t=g(1336),v=g(7556),C=g(2488),E=g(1368),c=g(4496),b=g(7816),s=g(1904),f=g(3576),d=g(5657),l=g(6928),a=g(3412),r=g(2700),u=g(5420),h=g(1900),p=g(5792),_=g(3992),y=g(5568),M=g(6684),w=g(7712),k=g(9684),D=g(6504),I=g(4060),O=g(5155);const T=["mat-calendar-body",""];function N(_e,mt){if(1&_e&&(c.\u0275\u0275elementStart(0,"tr",0)(1,"td",2),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd()()),2&_e){const V=c.\u0275\u0275nextContext();c.\u0275\u0275advance(),c.\u0275\u0275styleProp("padding-top",V._cellPadding)("padding-bottom",V._cellPadding),c.\u0275\u0275attribute("colspan",V.numCols),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",V.label," ")}}function S(_e,mt){if(1&_e&&(c.\u0275\u0275elementStart(0,"td",2),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&_e){const V=c.\u0275\u0275nextContext(2);c.\u0275\u0275styleProp("padding-top",V._cellPadding)("padding-bottom",V._cellPadding),c.\u0275\u0275attribute("colspan",V._firstRowOffset),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",V._firstRowOffset>=V.labelMinRequiredCells?V.label:""," ")}}function F(_e,mt){if(1&_e){const V=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"td",5)(1,"button",6),c.\u0275\u0275listener("click",function(de){const wt=c.\u0275\u0275restoreView(V).$implicit,Yt=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(Yt._cellClicked(wt,de))})("focus",function(de){const wt=c.\u0275\u0275restoreView(V).$implicit,Yt=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(Yt._emitActiveDateChange(wt,de))}),c.\u0275\u0275elementStart(2,"span",7),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(4,"span",8),c.\u0275\u0275elementEnd()()}if(2&_e){const V=mt.$implicit,he=mt.$index,de=c.\u0275\u0275nextContext().$index,We=c.\u0275\u0275nextContext();c.\u0275\u0275styleProp("width",We._cellWidth)("padding-top",We._cellPadding)("padding-bottom",We._cellPadding),c.\u0275\u0275attribute("data-mat-row",de)("data-mat-col",he),c.\u0275\u0275advance(),c.\u0275\u0275classProp("mat-calendar-body-disabled",!V.enabled)("mat-calendar-body-active",We._isActiveCell(de,he))("mat-calendar-body-range-start",We._isRangeStart(V.compareValue))("mat-calendar-body-range-end",We._isRangeEnd(V.compareValue))("mat-calendar-body-in-range",We._isInRange(V.compareValue))("mat-calendar-body-comparison-bridge-start",We._isComparisonBridgeStart(V.compareValue,de,he))("mat-calendar-body-comparison-bridge-end",We._isComparisonBridgeEnd(V.compareValue,de,he))("mat-calendar-body-comparison-start",We._isComparisonStart(V.compareValue))("mat-calendar-body-comparison-end",We._isComparisonEnd(V.compareValue))("mat-calendar-body-in-comparison-range",We._isInComparisonRange(V.compareValue))("mat-calendar-body-preview-start",We._isPreviewStart(V.compareValue))("mat-calendar-body-preview-end",We._isPreviewEnd(V.compareValue))("mat-calendar-body-in-preview",We._isInPreview(V.compareValue)),c.\u0275\u0275property("ngClass",V.cssClasses)("tabindex",We._isActiveCell(de,he)?0:-1),c.\u0275\u0275attribute("aria-label",V.ariaLabel)("aria-disabled",!V.enabled||null)("aria-pressed",We._isSelected(V.compareValue))("aria-current",We.todayValue===V.compareValue?"date":null)("aria-describedby",We._getDescribedby(V.compareValue)),c.\u0275\u0275advance(),c.\u0275\u0275classProp("mat-calendar-body-selected",We._isSelected(V.compareValue))("mat-calendar-body-comparison-identical",We._isComparisonIdentical(V.compareValue))("mat-calendar-body-today",We.todayValue===V.compareValue),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",V.displayValue," ")}}function L(_e,mt){if(1&_e&&(c.\u0275\u0275elementStart(0,"tr",3),c.\u0275\u0275template(1,S,2,6,"td",4),c.\u0275\u0275repeaterCreate(2,F,5,48,"td",9,c.\u0275\u0275repeaterTrackByIdentity),c.\u0275\u0275elementEnd()),2&_e){const V=mt.$implicit,he=mt.$index,de=c.\u0275\u0275nextContext();c.\u0275\u0275advance(),c.\u0275\u0275conditional(1,0===he&&de._firstRowOffset?1:-1),c.\u0275\u0275advance(),c.\u0275\u0275repeater(V)}}function A(_e,mt){if(1&_e&&(c.\u0275\u0275elementStart(0,"th",4)(1,"span",5),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(3,"span",6),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()()),2&_e){const V=mt.$implicit;c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(V.long),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(V.narrow)}}const U=["*"];function K(_e,mt){}function ee(_e,mt){if(1&_e){const V=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-month-view",2),c.\u0275\u0275twoWayListener("activeDateChange",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(We.activeDate,de)||(We.activeDate=de),c.\u0275\u0275resetView(de)}),c.\u0275\u0275listener("_userSelection",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._dateSelected(de))})("dragStarted",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._dragStarted(de))})("dragEnded",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._dragEnded(de))}),c.\u0275\u0275elementEnd()}if(2&_e){const V=c.\u0275\u0275nextContext();c.\u0275\u0275twoWayProperty("activeDate",V.activeDate),c.\u0275\u0275property("selected",V.selected)("dateFilter",V.dateFilter)("maxDate",V.maxDate)("minDate",V.minDate)("dateClass",V.dateClass)("comparisonStart",V.comparisonStart)("comparisonEnd",V.comparisonEnd)("startDateAccessibleName",V.startDateAccessibleName)("endDateAccessibleName",V.endDateAccessibleName)("activeDrag",V._activeDrag)}}function ne(_e,mt){if(1&_e){const V=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-year-view",3),c.\u0275\u0275twoWayListener("activeDateChange",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(We.activeDate,de)||(We.activeDate=de),c.\u0275\u0275resetView(de)}),c.\u0275\u0275listener("monthSelected",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._monthSelectedInYearView(de))})("selectedChange",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._goToDateInView(de,"month"))}),c.\u0275\u0275elementEnd()}if(2&_e){const V=c.\u0275\u0275nextContext();c.\u0275\u0275twoWayProperty("activeDate",V.activeDate),c.\u0275\u0275property("selected",V.selected)("dateFilter",V.dateFilter)("maxDate",V.maxDate)("minDate",V.minDate)("dateClass",V.dateClass)}}function B(_e,mt){if(1&_e){const V=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-multi-year-view",4),c.\u0275\u0275twoWayListener("activeDateChange",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(We.activeDate,de)||(We.activeDate=de),c.\u0275\u0275resetView(de)}),c.\u0275\u0275listener("yearSelected",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._yearSelectedInMultiYearView(de))})("selectedChange",function(de){c.\u0275\u0275restoreView(V);const We=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(We._goToDateInView(de,"year"))}),c.\u0275\u0275elementEnd()}if(2&_e){const V=c.\u0275\u0275nextContext();c.\u0275\u0275twoWayProperty("activeDate",V.activeDate),c.\u0275\u0275property("selected",V.selected)("dateFilter",V.dateFilter)("maxDate",V.maxDate)("minDate",V.minDate)("dateClass",V.dateClass)}}function H(_e,mt){}const z=["button"];function X(_e,mt){1&_e&&(c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(0,"svg",3),c.\u0275\u0275element(1,"path",4),c.\u0275\u0275elementEnd())}const G=[[["","matDatepickerToggleIcon",""]]],j=["[matDatepickerToggleIcon]"],le=[[["input","matStartDate",""]],[["input","matEndDate",""]]],ue=["input[matStartDate]","input[matEndDate]"];function ve(_e,mt){1&_e&&(c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275projection(1),c.\u0275\u0275elementEnd())}let _t=(()=>{class _e{constructor(){this.changes=new d.E,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(V,he){return`${V} \u2013 ${he}`}formatYearRangeLabel(V,he){return`${V} to ${he}`}static#e=this.\u0275fac=function(he){return new(he||_e)};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})();class ct{constructor(mt,V,he,de,We={},wt=mt,Yt){this.value=mt,this.displayValue=V,this.ariaLabel=he,this.enabled=de,this.cssClasses=We,this.compareValue=wt,this.rawValue=Yt}}let Ct=1;const Re=(0,p.W4)({passive:!1,capture:!0}),ke=(0,p.W4)({passive:!0,capture:!0}),fe=(0,p.W4)({passive:!0});let Ke=(()=>{class _e{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(V,he){this._elementRef=V,this._ngZone=he,this._platform=(0,c.inject)(p.WU),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new c.EventEmitter,this.previewChange=new c.EventEmitter,this.activeDateChange=new c.EventEmitter,this.dragStarted=new c.EventEmitter,this.dragEnded=new c.EventEmitter,this._didDragSinceMouseDown=!1,this._enterHandler=de=>{if(this._skipNextFocus&&"focus"===de.type)this._skipNextFocus=!1;else if(de.target&&this.isRange){const We=this._getCellFromElement(de.target);We&&this._ngZone.run(()=>this.previewChange.emit({value:We.enabled?We:null,event:de}))}},this._touchmoveHandler=de=>{if(!this.isRange)return;const We=Oe(de),wt=We?this._getCellFromElement(We):null;We!==de.target&&(this._didDragSinceMouseDown=!0),Ie(de.target)&&de.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:wt?.enabled?wt:null,event:de}))},this._leaveHandler=de=>{null!==this.previewEnd&&this.isRange&&("blur"!==de.type&&(this._didDragSinceMouseDown=!0),de.target&&this._getCellFromElement(de.target)&&(!de.relatedTarget||!this._getCellFromElement(de.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:de})))},this._mousedownHandler=de=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const We=de.target&&this._getCellFromElement(de.target);!We||!this._isInRange(We.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:We.rawValue,event:de})})},this._mouseupHandler=de=>{if(!this.isRange)return;const We=Ie(de.target);We?We.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const wt=this._getCellFromElement(We);this.dragEnded.emit({value:wt?.rawValue??null,event:de})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:de})})},this._touchendHandler=de=>{const We=Oe(de);We&&this._mouseupHandler({target:We})},this._id="mat-calendar-body-"+Ct++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,he.runOutsideAngular(()=>{const de=V.nativeElement;de.addEventListener("touchmove",this._touchmoveHandler,Re),de.addEventListener("mouseenter",this._enterHandler,ke),de.addEventListener("focus",this._enterHandler,ke),de.addEventListener("mouseleave",this._leaveHandler,ke),de.addEventListener("blur",this._leaveHandler,ke),de.addEventListener("mousedown",this._mousedownHandler,fe),de.addEventListener("touchstart",this._mousedownHandler,fe),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(V,he){this._didDragSinceMouseDown||V.enabled&&this.selectedValueChange.emit({value:V.value,event:he})}_emitActiveDateChange(V,he){V.enabled&&this.activeDateChange.emit({value:V.value,event:he})}_isSelected(V){return this.startValue===V||this.endValue===V}ngOnChanges(V){const he=V.numCols,{rows:de,numCols:We}=this;(V.rows||he)&&(this._firstRowOffset=de&&de.length&&de[0].length?We-de[0].length:0),(V.cellAspectRatio||he||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/We+"%"),(he||!this._cellWidth)&&(this._cellWidth=100/We+"%")}ngOnDestroy(){const V=this._elementRef.nativeElement;V.removeEventListener("touchmove",this._touchmoveHandler,Re),V.removeEventListener("mouseenter",this._enterHandler,ke),V.removeEventListener("focus",this._enterHandler,ke),V.removeEventListener("mouseleave",this._leaveHandler,ke),V.removeEventListener("blur",this._leaveHandler,ke),V.removeEventListener("mousedown",this._mousedownHandler,fe),V.removeEventListener("touchstart",this._mousedownHandler,fe),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(V,he){let de=V*this.numCols+he;return V&&(de-=this._firstRowOffset),de==this.activeCell}_focusActiveCell(V=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,_.U)(1)).subscribe(()=>{setTimeout(()=>{const he=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");he&&(V||(this._skipNextFocus=!0),he.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(V){return je(V,this.startValue,this.endValue)}_isRangeEnd(V){return q(V,this.startValue,this.endValue)}_isInRange(V){return be(V,this.startValue,this.endValue,this.isRange)}_isComparisonStart(V){return je(V,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(V,he,de){if(!this._isComparisonStart(V)||this._isRangeStart(V)||!this._isInRange(V))return!1;let We=this.rows[he][de-1];if(!We){const wt=this.rows[he-1];We=wt&&wt[wt.length-1]}return We&&!this._isRangeEnd(We.compareValue)}_isComparisonBridgeEnd(V,he,de){if(!this._isComparisonEnd(V)||this._isRangeEnd(V)||!this._isInRange(V))return!1;let We=this.rows[he][de+1];if(!We){const wt=this.rows[he+1];We=wt&&wt[0]}return We&&!this._isRangeStart(We.compareValue)}_isComparisonEnd(V){return q(V,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(V){return be(V,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(V){return this.comparisonStart===this.comparisonEnd&&V===this.comparisonStart}_isPreviewStart(V){return je(V,this.previewStart,this.previewEnd)}_isPreviewEnd(V){return q(V,this.previewStart,this.previewEnd)}_isInPreview(V){return be(V,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(V){return this.isRange?this.startValue===V&&this.endValue===V?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===V?this._startDateLabelId:this.endValue===V?this._endDateLabelId:null:null}_getCellFromElement(V){const he=Ie(V);if(he){const de=he.getAttribute("data-mat-row"),We=he.getAttribute("data-mat-col");if(de&&We)return this.rows[parseInt(de)][parseInt(We)]}return null}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,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"],standalone:!0,features:[c.\u0275\u0275NgOnChangesFeature,c.\u0275\u0275StandaloneFeature],attrs:T,decls:7,vars:5,consts:[["aria-hidden","true"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom"],["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"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"]],template:function(he,de){1&he&&(c.\u0275\u0275template(0,N,3,6,"tr",0),c.\u0275\u0275repeaterCreate(1,L,4,1,"tr",3,c.\u0275\u0275repeaterTrackByIdentity),c.\u0275\u0275elementStart(3,"label",1),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"label",1),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd()),2&he&&(c.\u0275\u0275conditional(0,de._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.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:var(--mat-datepicker-calendar-date-focus-state-background-color)}@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:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.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}'],encapsulation:2,changeDetection:0})}return _e})();function Be(_e){return"TD"===_e?.nodeName}function Ie(_e){let mt;return Be(_e)?mt=_e:Be(_e.parentNode)?mt=_e.parentNode:Be(_e.parentNode?.parentNode)&&(mt=_e.parentNode.parentNode),null!=mt?.getAttribute("data-mat-row")?mt:null}function je(_e,mt,V){return null!==V&&mt!==V&&_e=mt&&_e===V}function be(_e,mt,V,he){return he&&null!==mt&&null!==V&&mt!==V&&_e>=mt&&_e<=V}function Oe(_e){const mt=_e.changedTouches[0];return document.elementFromPoint(mt.clientX,mt.clientY)}class Xe{constructor(mt,V){this.start=mt,this.end=V}}let ge=(()=>{class _e{constructor(V,he){this.selection=V,this._adapter=he,this._selectionChanged=new d.E,this.selectionChanged=this._selectionChanged,this.selection=V}updateSelection(V,he){const de=this.selection;this.selection=V,this._selectionChanged.next({selection:V,source:he,oldValue:de})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(V){return this._adapter.isDateInstance(V)&&this._adapter.isValid(V)}static#e=this.\u0275fac=function(he){c.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})(),Ve=(()=>{class _e extends ge{constructor(V){super(null,V)}add(V){super.updateSelection(V,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const V=new _e(this._adapter);return V.updateSelection(this.selection,this),V}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275inject(f.DateAdapter))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})(),ot=(()=>{class _e extends ge{constructor(V){super(new Xe(null,null),V)}add(V){let{start:he,end:de}=this.selection;null==he?he=V:null==de?de=V:(he=V,de=null),super.updateSelection(new Xe(he,de),this)}isValid(){const{start:V,end:he}=this.selection;return null==V&&null==he||(null!=V&&null!=he?this._isValidDateInstance(V)&&this._isValidDateInstance(he)&&this._adapter.compareDate(V,he)<=0:(null==V||this._isValidDateInstance(V))&&(null==he||this._isValidDateInstance(he)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const V=new _e(this._adapter);return V.updateSelection(this.selection,this),V}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275inject(f.DateAdapter))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();function ze(_e,mt){return _e||new Ve(mt)}const pt={provide:ge,deps:[[new c.Optional,new c.SkipSelf,ge],f.DateAdapter],useFactory:ze};function Pt(_e,mt){return _e||new ot(mt)}const Gt={provide:ge,deps:[[new c.Optional,new c.SkipSelf,ge],f.DateAdapter],useFactory:Pt},rn=new c.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let on=(()=>{class _e{constructor(V){this._dateAdapter=V}selectionFinished(V,he){let{start:de,end:We}=he;return null==de?de=V:null==We&&V&&this._dateAdapter.compareDate(V,de)>=0?We=V:(de=V,We=null),new Xe(de,We)}createPreview(V,he){let de=null,We=null;return he.start&&!he.end&&V&&(de=he.start,We=V),new Xe(de,We)}createDrag(V,he,de){let We=he.start,wt=he.end;if(!We||!wt)return null;const Yt=this._dateAdapter,Kn=0!==Yt.compareDate(We,wt),Pn=Yt.getYear(de)-Yt.getYear(V),Tn=Yt.getMonth(de)-Yt.getMonth(V),vn=Yt.getDate(de)-Yt.getDate(V);return Kn&&Yt.sameDate(V,he.start)?(We=de,Yt.compareDate(de,wt)>0&&(wt=Yt.addCalendarYears(wt,Pn),wt=Yt.addCalendarMonths(wt,Tn),wt=Yt.addCalendarDays(wt,vn))):Kn&&Yt.sameDate(V,he.end)?(wt=de,Yt.compareDate(de,We)<0&&(We=Yt.addCalendarYears(We,Pn),We=Yt.addCalendarMonths(We,Tn),We=Yt.addCalendarDays(We,vn))):(We=Yt.addCalendarYears(We,Pn),We=Yt.addCalendarMonths(We,Tn),We=Yt.addCalendarDays(We,vn),wt=Yt.addCalendarYears(wt,Pn),wt=Yt.addCalendarMonths(wt,Tn),wt=Yt.addCalendarDays(wt,vn)),new Xe(We,wt)}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275inject(f.DateAdapter))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac})}return _e})();const gn={provide:rn,deps:[[new c.Optional,new c.SkipSelf,rn],f.DateAdapter],useFactory:function tn(_e,mt){return _e||new on(mt)}};let an=(()=>{class _e{get activeDate(){return this._activeDate}set activeDate(V){const he=this._activeDate,de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),this._hasSameMonthAndYear(he,this._activeDate)||this._init()}get selected(){return this._selected}set selected(V){this._selected=V instanceof Xe?V:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(V){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get maxDate(){return this._maxDate}set maxDate(V){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}constructor(V,he,de,We,wt){this._changeDetectorRef=V,this._dateFormats=he,this._dateAdapter=de,this._dir=We,this._rangeStrategy=wt,this._rerenderSubscription=l.wH.EMPTY,this.activeDrag=null,this.selectedChange=new c.EventEmitter,this._userSelection=new c.EventEmitter,this.dragStarted=new c.EventEmitter,this.dragEnded=new c.EventEmitter,this.activeDateChange=new c.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,y.W)(null)).subscribe(()=>this._init())}ngOnChanges(V){const he=V.comparisonStart||V.comparisonEnd;he&&!he.firstChange&&this._setRanges(this.selected),V.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(V){const he=V.value,de=this._getDateFromDayOfMonth(he);let We,wt;this._selected instanceof Xe?(We=this._getDateInCurrentMonth(this._selected.start),wt=this._getDateInCurrentMonth(this._selected.end)):We=wt=this._getDateInCurrentMonth(this._selected),(We!==he||wt!==he)&&this.selectedChange.emit(de),this._userSelection.emit({value:de,event:V.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(V){const de=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(V.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(V){const he=this._activeDate,de=this._isRtl();switch(V.keyCode){case u.Mx:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,de?1:-1);break;case u.a4:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,de?-1:1);break;case u.qI:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case u.Oq:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case u.qU:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case u.Mp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case u.u_:this.activeDate=V.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case u.yI:this.activeDate=V.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case u.wJ:case u.Gi:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&V.preventDefault());case u.UX:return void(null!=this._previewEnd&&!(0,u.Yp)(V)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:V}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:V})),V.preventDefault(),V.stopPropagation()));default:return}this._dateAdapter.compareDate(he,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),V.preventDefault()}_handleCalendarBodyKeyup(V){(V.keyCode===u.Gi||V.keyCode===u.wJ)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:V}),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 V=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(V)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(V){this._matCalendarBody._focusActiveCell(V)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:V,value:he}){if(this._rangeStrategy){const de=he?he.rawValue:null,We=this._rangeStrategy.createPreview(de,this.selected,V);if(this._previewStart=this._getCellCompareValue(We.start),this._previewEnd=this._getCellCompareValue(We.end),this.activeDrag&&de){const wt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,de,V);wt&&(this._previewStart=this._getCellCompareValue(wt.start),this._previewEnd=this._getCellCompareValue(wt.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(V){if(this.activeDrag)if(V.value){const he=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,V.value,V.event);this.dragEnded.emit({value:he??null,event:V.event})}else this.dragEnded.emit({value:null,event:V.event})}_getDateFromDayOfMonth(V){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),V)}_initWeekdays(){const V=this._dateAdapter.getFirstDayOfWeek(),he=this._dateAdapter.getDayOfWeekNames("narrow");let We=this._dateAdapter.getDayOfWeekNames("long").map((wt,Yt)=>({long:wt,narrow:he[Yt]}));this._weekdays=We.slice(V).concat(We.slice(0,V))}_createWeekCells(){const V=this._dateAdapter.getNumDaysInMonth(this.activeDate),he=this._dateAdapter.getDateNames();this._weeks=[[]];for(let de=0,We=this._firstWeekOffset;de=0)&&(!this.maxDate||this._dateAdapter.compareDate(V,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(V))}_getDateInCurrentMonth(V){return V&&this._hasSameMonthAndYear(V,this.activeDate)?this._dateAdapter.getDate(V):null}_hasSameMonthAndYear(V,he){return!(!V||!he||this._dateAdapter.getMonth(V)!=this._dateAdapter.getMonth(he)||this._dateAdapter.getYear(V)!=this._dateAdapter.getYear(he))}_getCellCompareValue(V){if(V){const he=this._dateAdapter.getYear(V),de=this._dateAdapter.getMonth(V),We=this._dateAdapter.getDate(V);return new Date(he,de,We).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(V){V instanceof Xe?(this._rangeStart=this._getCellCompareValue(V.start),this._rangeEnd=this._getCellCompareValue(V.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(V),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(V){return!this.dateFilter||this.dateFilter(V)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(h.yG,8),c.\u0275\u0275directiveInject(rn,8))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-month-view"]],viewQuery:function(he,de){if(1&he&&c.\u0275\u0275viewQuery(Ke,5),2&he){let We;c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de._matCalendarBody=We.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"],standalone:!0,features:[c.\u0275\u0275NgOnChangesFeature,c.\u0275\u0275StandaloneFeature],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["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(he,de){1&he&&(c.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),c.\u0275\u0275repeaterCreate(3,A,5,2,"th",4,c.\u0275\u0275repeaterTrackByIdentity),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"tr"),c.\u0275\u0275element(6,"th",2),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(7,"tbody",3),c.\u0275\u0275listener("selectedValueChange",function(wt){return de._dateSelected(wt)})("activeDateChange",function(wt){return de._updateActiveDate(wt)})("previewChange",function(wt){return de._previewChanged(wt)})("dragStarted",function(wt){return de.dragStarted.emit(wt)})("dragEnded",function(wt){return de._dragEnded(wt)})("keyup",function(wt){return de._handleCalendarBodyKeyup(wt)})("keydown",function(wt){return de._handleCalendarBodyKeydown(wt)}),c.\u0275\u0275elementEnd()()),2&he&&(c.\u0275\u0275advance(3),c.\u0275\u0275repeater(de._weekdays),c.\u0275\u0275advance(4),c.\u0275\u0275property("label",de._monthLabel)("rows",de._weeks)("todayValue",de._todayDate)("startValue",de._rangeStart)("endValue",de._rangeEnd)("comparisonStart",de._comparisonRangeStart)("comparisonEnd",de._comparisonRangeEnd)("previewStart",de._previewStart)("previewEnd",de._previewEnd)("isRange",de._isRange)("labelMinRequiredCells",3)("activeCell",de._dateAdapter.getDate(de.activeDate)-1)("startDateAccessibleName",de.startDateAccessibleName)("endDateAccessibleName",de.endDateAccessibleName))},dependencies:[Ke],encapsulation:2,changeDetection:0})}return _e})();const Ot=24,Ut=4;let xe=(()=>{class _e{get activeDate(){return this._activeDate}set activeDate(V){let he=this._activeDate;const de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),rt(this._dateAdapter,he,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(V){this._selected=V instanceof Xe?V:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V)),this._setSelectedYear(V)}get minDate(){return this._minDate}set minDate(V){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get maxDate(){return this._maxDate}set maxDate(V){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}constructor(V,he,de){this._changeDetectorRef=V,this._dateAdapter=he,this._dir=de,this._rerenderSubscription=l.wH.EMPTY,this.selectedChange=new c.EventEmitter,this.yearSelected=new c.EventEmitter,this.activeDateChange=new c.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,y.W)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const he=this._dateAdapter.getYear(this._activeDate)-lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let de=0,We=[];dethis._createCellForYear(wt))),We=[]);this._changeDetectorRef.markForCheck()}_yearSelected(V){const he=V.value,de=this._dateAdapter.createDate(he,0,1),We=this._getDateFromYear(he);this.yearSelected.emit(de),this.selectedChange.emit(We)}_updateActiveDate(V){const de=this._activeDate;this.activeDate=this._getDateFromYear(V.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(V){const he=this._activeDate,de=this._isRtl();switch(V.keyCode){case u.Mx:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,de?1:-1);break;case u.a4:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,de?-1:1);break;case u.qI:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ut);break;case u.Oq:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ut);break;case u.qU:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case u.Mp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ot-lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case u.u_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,V.altKey?10*-Ot:-Ot);break;case u.yI:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,V.altKey?10*Ot:Ot);break;case u.wJ:case u.Gi:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(he,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),V.preventDefault()}_handleCalendarBodyKeyup(V){(V.keyCode===u.Gi||V.keyCode===u.wJ)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:V}),this._selectionKeyPressed=!1)}_getActiveCell(){return lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(V){const he=this._dateAdapter.getMonth(this.activeDate),de=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(V,he,1));return this._dateAdapter.createDate(V,he,Math.min(this._dateAdapter.getDate(this.activeDate),de))}_createCellForYear(V){const he=this._dateAdapter.createDate(V,0,1),de=this._dateAdapter.getYearName(he),We=this.dateClass?this.dateClass(he,"multi-year"):void 0;return new ct(V,de,de,this._shouldEnableYear(V),We)}_shouldEnableYear(V){if(null==V||this.maxDate&&V>this._dateAdapter.getYear(this.maxDate)||this.minDate&&V{class _e{get activeDate(){return this._activeDate}set activeDate(V){let he=this._activeDate;const de=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(de,this.minDate,this.maxDate),this._dateAdapter.getYear(he)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(V){this._selected=V instanceof Xe?V:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V)),this._setSelectedMonth(V)}get minDate(){return this._minDate}set minDate(V){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get maxDate(){return this._maxDate}set maxDate(V){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}constructor(V,he,de,We){this._changeDetectorRef=V,this._dateFormats=he,this._dateAdapter=de,this._dir=We,this._rerenderSubscription=l.wH.EMPTY,this.selectedChange=new c.EventEmitter,this.monthSelected=new c.EventEmitter,this.activeDateChange=new c.EventEmitter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,y.W)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(V){const he=V.value,de=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),he,1);this.monthSelected.emit(de);const We=this._getDateFromMonth(he);this.selectedChange.emit(We)}_updateActiveDate(V){const de=this._activeDate;this.activeDate=this._getDateFromMonth(V.value),this._dateAdapter.compareDate(de,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(V){const he=this._activeDate,de=this._isRtl();switch(V.keyCode){case u.Mx:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,de?1:-1);break;case u.a4:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,de?-1:1);break;case u.qI:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case u.Oq:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case u.qU:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case u.Mp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case u.u_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,V.altKey?-10:-1);break;case u.yI:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,V.altKey?10:1);break;case u.wJ:case u.Gi:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(he,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),V.preventDefault()}_handleCalendarBodyKeyup(V){(V.keyCode===u.Gi||V.keyCode===u.wJ)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:V}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let V=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(he=>he.map(de=>this._createCellForMonth(de,V[de]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(V){return V&&this._dateAdapter.getYear(V)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(V):null}_getDateFromMonth(V){const he=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),V,1),de=this._dateAdapter.getNumDaysInMonth(he);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),V,Math.min(this._dateAdapter.getDate(this.activeDate),de))}_createCellForMonth(V,he){const de=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),V,1),We=this._dateAdapter.format(de,this._dateFormats.display.monthYearA11yLabel),wt=this.dateClass?this.dateClass(de,"year"):void 0;return new ct(V,he.toLocaleUpperCase(),We,this._shouldEnableMonth(V),wt)}_shouldEnableMonth(V){const he=this._dateAdapter.getYear(this.activeDate);if(null==V||this._isYearAndMonthAfterMaxDate(he,V)||this._isYearAndMonthBeforeMinDate(he,V))return!1;if(!this.dateFilter)return!0;for(let We=this._dateAdapter.createDate(he,V,1);this._dateAdapter.getMonth(We)==V;We=this._dateAdapter.addCalendarDays(We,1))if(this.dateFilter(We))return!0;return!1}_isYearAndMonthAfterMaxDate(V,he){if(this.maxDate){const de=this._dateAdapter.getYear(this.maxDate),We=this._dateAdapter.getMonth(this.maxDate);return V>de||V===de&&he>We}return!1}_isYearAndMonthBeforeMinDate(V,he){if(this.minDate){const de=this._dateAdapter.getYear(this.minDate),We=this._dateAdapter.getMonth(this.minDate);return V{class _e{constructor(V,he,de,We,wt){this._intl=V,this.calendar=he,this._dateAdapter=de,this._dateFormats=We,this._id="mat-calendar-header-"+Le++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>wt.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:-Ot)}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:Ot)}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(V,he){return"month"==this.calendar.currentView?this._dateAdapter.getYear(V)==this._dateAdapter.getYear(he)&&this._dateAdapter.getMonth(V)==this._dateAdapter.getMonth(he):"year"==this.calendar.currentView?this._dateAdapter.getYear(V)==this._dateAdapter.getYear(he):rt(this._dateAdapter,V,he,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const he=this._dateAdapter.getYear(this.calendar.activeDate)-lt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),de=he+Ot-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(he,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(de,0,1))]}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(_t),c.\u0275\u0275directiveInject((0,c.forwardRef)(()=>st)),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),c.\u0275\u0275directiveInject(c.ChangeDetectorRef))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[c.\u0275\u0275StandaloneFeature],ngContentSelectors:U,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(he,de){1&he&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"button",2),c.\u0275\u0275listener("click",function(){return de.currentPeriodClicked()}),c.\u0275\u0275elementStart(3,"span",3),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(5,"svg",4),c.\u0275\u0275element(6,"polygon",5),c.\u0275\u0275elementEnd()(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275element(7,"div",6),c.\u0275\u0275projection(8),c.\u0275\u0275elementStart(9,"button",7),c.\u0275\u0275listener("click",function(){return de.previousClicked()}),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"button",8),c.\u0275\u0275listener("click",function(){return de.nextClicked()}),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(11,"label",9),c.\u0275\u0275text(12),c.\u0275\u0275elementEnd()),2&he&&(c.\u0275\u0275advance(2),c.\u0275\u0275attribute("aria-label",de.periodButtonLabel)("aria-describedby",de._periodButtonLabelId),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(de.periodButtonText),c.\u0275\u0275advance(),c.\u0275\u0275classProp("mat-calendar-invert","month"!==de.calendar.currentView),c.\u0275\u0275advance(4),c.\u0275\u0275property("disabled",!de.previousEnabled()),c.\u0275\u0275attribute("aria-label",de.prevButtonLabel),c.\u0275\u0275advance(),c.\u0275\u0275property("disabled",!de.nextEnabled()),c.\u0275\u0275attribute("aria-label",de.nextButtonLabel),c.\u0275\u0275advance(),c.\u0275\u0275property("id",de._periodButtonLabelId),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(de.periodButtonDescription))},dependencies:[b.MatButton,b.MatIconButton],encapsulation:2,changeDetection:0})}return _e})(),st=(()=>{class _e{get startAt(){return this._startAt}set startAt(V){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get selected(){return this._selected}set selected(V){this._selected=V instanceof Xe?V:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get minDate(){return this._minDate}set minDate(V){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get maxDate(){return this._maxDate}set maxDate(V){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get activeDate(){return this._clampedActiveDate}set activeDate(V){this._clampedActiveDate=this._dateAdapter.clampDate(V,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(V){const he=this._currentView!==V?V:null;this._currentView=V,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),he&&this.viewChanged.emit(he)}constructor(V,he,de,We){this._dateAdapter=he,this._dateFormats=de,this._changeDetectorRef=We,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new c.EventEmitter,this.yearSelected=new c.EventEmitter,this.monthSelected=new c.EventEmitter,this.viewChanged=new c.EventEmitter(!0),this._userSelection=new c.EventEmitter,this._userDragDrop=new c.EventEmitter,this._activeDrag=null,this.stateChanges=new d.E,this._intlChanges=V.changes.subscribe(()=>{We.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new C.KC(this.headerComponent||He),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(V){const he=V.minDate&&!this._dateAdapter.sameDate(V.minDate.previousValue,V.minDate.currentValue)?V.minDate:void 0,de=V.maxDate&&!this._dateAdapter.sameDate(V.maxDate.previousValue,V.maxDate.currentValue)?V.maxDate:void 0,We=he||de||V.dateFilter;if(We&&!We.firstChange){const wt=this._getCurrentViewComponent();wt&&(this._changeDetectorRef.detectChanges(),wt._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(V){const he=V.value;(this.selected instanceof Xe||he&&!this._dateAdapter.sameDate(he,this.selected))&&this.selectedChange.emit(he),this._userSelection.emit(V)}_yearSelectedInMultiYearView(V){this.yearSelected.emit(V)}_monthSelectedInYearView(V){this.monthSelected.emit(V)}_goToDateInView(V,he){this.activeDate=V,this.currentView=he}_dragStarted(V){this._activeDrag=V}_dragEnded(V){this._activeDrag&&(V.value&&this._userDragDrop.emit(V),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(_t),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),c.\u0275\u0275directiveInject(c.ChangeDetectorRef))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-calendar"]],viewQuery:function(he,de){if(1&he&&(c.\u0275\u0275viewQuery(an,5),c.\u0275\u0275viewQuery(vt,5),c.\u0275\u0275viewQuery(xe,5)),2&he){let We;c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de.monthView=We.first),c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de.yearView=We.first),c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de.multiYearView=We.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"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([pt]),c.\u0275\u0275NgOnChangesFeature,c.\u0275\u0275StandaloneFeature],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[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(he,de){if(1&he&&(c.\u0275\u0275template(0,K,0,0,"ng-template",0),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275template(2,ee,1,11)(3,ne,1,6)(4,B,1,6),c.\u0275\u0275elementEnd()),2&he){let We;c.\u0275\u0275property("cdkPortalOutlet",de._calendarHeaderPortal),c.\u0275\u0275advance(2),c.\u0275\u0275conditional(2,"month"===(We=de.currentView)?2:"year"===We?3:"multi-year"===We?4:-1)}},dependencies:[C.IP,t.Si,an,vt,xe],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.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;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.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-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.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;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.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;background:var(--mat-datepicker-calendar-header-divider-color)}.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})}return _e})();const Te={transformPanel:(0,k.gV)("transformPanel",[(0,k.aK)("void => enter-dropdown",(0,k.Cs)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,k.xZ)([(0,k.wb)({opacity:0,transform:"scale(1, 0.8)"}),(0,k.wb)({opacity:1,transform:"scale(1, 1)"})]))),(0,k.aK)("void => enter-dialog",(0,k.Cs)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,k.xZ)([(0,k.wb)({opacity:0,transform:"scale(0.7)"}),(0,k.wb)({transform:"none",opacity:1})]))),(0,k.aK)("* => void",(0,k.Cs)("100ms linear",(0,k.wb)({opacity:0})))]),fadeInCalendar:(0,k.gV)("fadeInCalendar",[(0,k.K2)("void",(0,k.wb)({opacity:0})),(0,k.K2)("enter",(0,k.wb)({opacity:1})),(0,k.aK)("void => *",(0,k.Cs)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Pe=0;const bt=new c.InjectionToken("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const _e=(0,c.inject)(v.mc);return()=>_e.scrollStrategies.reposition()}});function Me(_e){return()=>_e.scrollStrategies.reposition()}const $e={provide:bt,deps:[v.mc],useFactory:Me};let Ge=(()=>{class _e{constructor(V,he,de,We,wt,Yt){this._elementRef=V,this._changeDetectorRef=he,this._globalModel=de,this._dateAdapter=We,this._rangeSelectionStrategy=wt,this._subscriptions=new l.wH,this._animationDone=new d.E,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Yt.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(V){const he=this._model.selection,de=V.value,We=he instanceof Xe;if(We&&this._rangeSelectionStrategy){const wt=this._rangeSelectionStrategy.selectionFinished(de,he,V.event);this._model.updateSelection(wt,this)}else de&&(We||!this._dateAdapter.sameDate(de,he))&&this._model.add(de);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(V){this._model.updateSelection(V.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(V){this._isAnimating="start"===V.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(V,he){this._model=V?this._globalModel.clone():this._globalModel,this._actionsPortal=V,he&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(ge),c.\u0275\u0275directiveInject(f.DateAdapter),c.\u0275\u0275directiveInject(rn,8),c.\u0275\u0275directiveInject(_t))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-datepicker-content"]],viewQuery:function(he,de){if(1&he&&c.\u0275\u0275viewQuery(st,5),2&he){let We;c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de._calendar=We.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(he,de){1&he&&c.\u0275\u0275syntheticHostListener("@transformPanel.start",function(wt){return de._handleAnimationEvent(wt)})("@transformPanel.done",function(wt){return de._handleAnimationEvent(wt)}),2&he&&(c.\u0275\u0275syntheticHostProperty("@transformPanel",de._animationState),c.\u0275\u0275classMap(de.color?"mat-"+de.color:""),c.\u0275\u0275classProp("mat-datepicker-content-touch",de.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[c.\u0275\u0275StandaloneFeature],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(he,de){if(1&he&&(c.\u0275\u0275elementStart(0,"div",0)(1,"mat-calendar",1),c.\u0275\u0275listener("yearSelected",function(wt){return de.datepicker._selectYear(wt)})("monthSelected",function(wt){return de.datepicker._selectMonth(wt)})("viewChanged",function(wt){return de.datepicker._viewChanged(wt)})("_userSelection",function(wt){return de._handleUserSelection(wt)})("_userDragDrop",function(wt){return de._handleUserDragDrop(wt)}),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(2,H,0,0,"ng-template",2),c.\u0275\u0275elementStart(3,"button",3),c.\u0275\u0275listener("focus",function(){return de._closeButtonFocused=!0})("blur",function(){return de._closeButtonFocused=!1})("click",function(){return de.datepicker.close()}),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()()),2&he){let We;c.\u0275\u0275classProp("mat-datepicker-content-container-with-custom-header",de.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",de._actionsPortal),c.\u0275\u0275attribute("aria-modal",!0)("aria-labelledby",null!==(We=de._dialogLabelId)&&void 0!==We?We:void 0),c.\u0275\u0275advance(),c.\u0275\u0275property("id",de.datepicker.id)("ngClass",de.datepicker.panelClass)("startAt",de.datepicker.startAt)("startView",de.datepicker.startView)("minDate",de.datepicker._getMinDate())("maxDate",de.datepicker._getMaxDate())("dateFilter",de.datepicker._getDateFilter())("headerComponent",de.datepicker.calendarHeaderComponent)("selected",de._getSelected())("dateClass",de.datepicker.dateClass)("comparisonStart",de.comparisonStart)("comparisonEnd",de.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",de.startDateAccessibleName)("endDateAccessibleName",de.endDateAccessibleName),c.\u0275\u0275advance(),c.\u0275\u0275property("cdkPortalOutlet",de._actionsPortal),c.\u0275\u0275advance(),c.\u0275\u0275classProp("cdk-visually-hidden",!de._closeButtonFocused),c.\u0275\u0275property("color",de.color||"primary"),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(de._closeButtonText)}},dependencies:[t.Eh,st,E.NgClass,C.IP,b.MatButton],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.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;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape);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:[Te.transformPanel,Te.fadeInCalendar]},changeDetection:0})}return _e})(),kt=(()=>{class _e{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(V){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(V){this._color=V}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(V){V!==this._disabled&&(this._disabled=V,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(V){this._panelClass=(0,w._s)(V)}get opened(){return this._opened}set opened(V){V?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(V,he,de,We,wt,Yt,Kn){this._overlay=V,this._ngZone=he,this._viewContainerRef=de,this._dateAdapter=wt,this._dir=Yt,this._model=Kn,this._inputStateChanges=l.wH.EMPTY,this._document=(0,c.inject)(E.DOCUMENT),this.startView="month",this.touchUi=!1,this.xPosition="start",this.yPosition="below",this.restoreFocus=!0,this.yearSelected=new c.EventEmitter,this.monthSelected=new c.EventEmitter,this.viewChanged=new c.EventEmitter(!0),this.openedStream=new c.EventEmitter,this.closedStream=new c.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+Pe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.E,this._scrollStrategy=We}ngOnChanges(V){const he=V.xPosition||V.yPosition;if(he&&!he.firstChange&&this._overlayRef){const de=this._overlayRef.getConfig().positionStrategy;de instanceof v.g$&&(this._setConnectedPositions(de),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(V){this._model.add(V)}_selectYear(V){this.yearSelected.emit(V)}_selectMonth(V){this.monthSelected.emit(V)}_viewChanged(V){this.viewChanged.emit(V)}registerInput(V){return this._inputStateChanges.unsubscribe(),this.datepickerInput=V,this._inputStateChanges=V.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(V){this._actionsPortal=V,this._componentRef?.instance._assignActions(V,!0)}removeActions(V){V===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,p.Yx)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const V=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,he=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:de,location:We}=this._componentRef;de._startExitAnimation(),de._animationDone.pipe((0,_.U)(1)).subscribe(()=>{const wt=this._document.activeElement;V&&(!wt||wt===this._document.activeElement||We.nativeElement.contains(wt))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}V?setTimeout(he):he()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(V){V.datepicker=this,V.color=this.color,V._dialogLabelId=this.datepickerInput.getOverlayLabelId(),V._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const V=this.touchUi,he=new C.KC(Ge,this._viewContainerRef),de=this._overlayRef=this._overlay.create(new v.o9({positionStrategy:V?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[V?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:V?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(V?"dialog":"popup")}));this._getCloseStream(de).subscribe(We=>{We&&We.preventDefault(),this.close()}),de.keydownEvents().subscribe(We=>{const wt=We.keyCode;(wt===u.qI||wt===u.Oq||wt===u.Mx||wt===u.a4||wt===u.u_||wt===u.yI)&&We.preventDefault()}),this._componentRef=de.attach(he),this._forwardContentValues(this._componentRef.instance),V||this._ngZone.onStable.pipe((0,_.U)(1)).subscribe(()=>de.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const V=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(V)}_setConnectedPositions(V){const he="end"===this.xPosition?"end":"start",de="start"===he?"end":"start",We="above"===this.yPosition?"bottom":"top",wt="top"===We?"bottom":"top";return V.withPositions([{originX:he,originY:wt,overlayX:he,overlayY:We},{originX:he,originY:We,overlayX:he,overlayY:wt},{originX:de,originY:wt,overlayX:de,overlayY:We},{originX:de,originY:We,overlayX:de,overlayY:wt}])}_getCloseStream(V){const he=["ctrlKey","shiftKey","metaKey"];return(0,a.U)(V.backdropClick(),V.detachments(),V.keydownEvents().pipe((0,M.I)(de=>de.keyCode===u.UX&&!(0,u.Yp)(de)||this.datepickerInput&&(0,u.Yp)(de,"altKey")&&de.keyCode===u.qI&&he.every(We=>!(0,u.Yp)(de,We)))))}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(v.mc),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(bt),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(h.yG,8),c.\u0275\u0275directiveInject(ge))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"touchUi","touchUi",c.booleanAttribute],disabled:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",c.booleanAttribute],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"restoreFocus","restoreFocus",c.booleanAttribute],dateClass:"dateClass",panelClass:"panelClass",opened:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"opened","opened",c.booleanAttribute]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[c.\u0275\u0275InputTransformsFeature,c.\u0275\u0275NgOnChangesFeature]})}return _e})(),dt=(()=>{class _e extends kt{static#e=this.\u0275fac=(()=>{let V;return function(de){return(V||(V=c.\u0275\u0275getInheritedFactory(_e)))(de||_e)}})();static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([pt,{provide:kt,useExisting:_e}]),c.\u0275\u0275InheritDefinitionFeature,c.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(he,de){},encapsulation:2,changeDetection:0})}return _e})();class xt{constructor(mt,V){this.target=mt,this.targetElement=V,this.value=this.target.value}}let qe=(()=>{class _e{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(V){this._assignValueProgrammatically(V)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(V){const he=V,de=this._elementRef.nativeElement;this._disabled!==he&&(this._disabled=he,this.stateChanges.next(void 0)),he&&this._isInitialized&&de.blur&&de.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(V){this._model=V,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(he=>{if(this._shouldHandleChangeEvent(he)){const de=this._getValueFromModel(he.selection);this._lastValueValid=this._isValidValue(de),this._cvaOnChange(de),this._onTouched(),this._formatValue(de),this.dateInput.emit(new xt(this,this._elementRef.nativeElement)),this.dateChange.emit(new xt(this,this._elementRef.nativeElement))}})}constructor(V,he,de){this._elementRef=V,this._dateAdapter=he,this._dateFormats=de,this.dateChange=new c.EventEmitter,this.dateInput=new c.EventEmitter,this.stateChanges=new d.E,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=l.wH.EMPTY,this._localeSubscription=l.wH.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=We=>{const wt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(We.value));return!wt||this._matchesFilter(wt)?null:{matDatepickerFilter:!0}},this._minValidator=We=>{const wt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(We.value)),Yt=this._getMinDate();return!Yt||!wt||this._dateAdapter.compareDate(Yt,wt)<=0?null:{matDatepickerMin:{min:Yt,actual:wt}}},this._maxValidator=We=>{const wt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(We.value)),Yt=this._getMaxDate();return!Yt||!wt||this._dateAdapter.compareDate(Yt,wt)>=0?null:{matDatepickerMax:{max:Yt,actual:wt}}},this._lastValueValid=!1,this._localeSubscription=he.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(V){Fe(V,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(V){this._validatorOnChange=V}validate(V){return this._validator?this._validator(V):null}writeValue(V){this._assignValueProgrammatically(V)}registerOnChange(V){this._cvaOnChange=V}registerOnTouched(V){this._onTouched=V}setDisabledState(V){this.disabled=V}_onKeydown(V){(0,u.Yp)(V,"altKey")&&V.keyCode===u.Oq&&["ctrlKey","shiftKey","metaKey"].every(We=>!(0,u.Yp)(V,We))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),V.preventDefault())}_onInput(V){const he=this._lastValueValid;let de=this._dateAdapter.parse(V,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(de),de=this._dateAdapter.getValidDateOrNull(de);const We=!this._dateAdapter.sameDate(de,this.value);!de||We?this._cvaOnChange(de):(V&&!this.value&&this._cvaOnChange(de),he!==this._lastValueValid&&this._validatorOnChange()),We&&(this._assignValue(de),this.dateInput.emit(new xt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new xt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(V){this._elementRef.nativeElement.value=null!=V?this._dateAdapter.format(V,this._dateFormats.display.dateInput):""}_assignValue(V){this._model?(this._assignValueToModel(V),this._pendingValue=null):this._pendingValue=V}_isValidValue(V){return!V||this._dateAdapter.isValid(V)}_parentDisabled(){return!1}_assignValueProgrammatically(V){V=this._dateAdapter.deserialize(V),this._lastValueValid=this._isValidValue(V),V=this._dateAdapter.getValidDateOrNull(V),this._assignValue(V),this._formatValue(V)}_matchesFilter(V){const he=this._getDateFilter();return!he||he(V)}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,inputs:{value:"value",disabled:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",c.booleanAttribute]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[c.\u0275\u0275InputTransformsFeature,c.\u0275\u0275NgOnChangesFeature]})}return _e})();function Fe(_e,mt){const V=Object.keys(_e);for(let he of V){const{previousValue:de,currentValue:We}=_e[he];if(!mt.isDateInstance(de)||!mt.isDateInstance(We))return!0;if(!mt.sameDate(de,We))return!0}return!1}const et={provide:D.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>ft),multi:!0},Ye={provide:D.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>ft),multi:!0};let ft=(()=>{class _e extends qe{set matDatepicker(V){V&&(this._datepicker=V,this._closedSubscription=V.closedStream.subscribe(()=>this._onTouched()),this._registerModel(V.registerInput(this)))}get min(){return this._min}set min(V){const he=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V));this._dateAdapter.sameDate(he,this._min)||(this._min=he,this._validatorOnChange())}get max(){return this._max}set max(V){const he=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V));this._dateAdapter.sameDate(he,this._max)||(this._max=he,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(V){const he=this._matchesFilter(this.value);this._dateFilter=V,this._matchesFilter(this.value)!==he&&this._validatorOnChange()}constructor(V,he,de,We){super(V,he,de),this._formField=We,this._closedSubscription=l.wH.EMPTY,this._validator=D.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(V){return V}_assignValueToModel(V){this._model&&this._model.updateSelection(V,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(V){return V.source!==this}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),c.\u0275\u0275directiveInject(I.MAT_FORM_FIELD,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(he,de){1&he&&c.\u0275\u0275listener("input",function(wt){return de._onInput(wt.target.value)})("change",function(){return de._onChange()})("blur",function(){return de._onBlur()})("keydown",function(wt){return de._onKeydown(wt)}),2&he&&(c.\u0275\u0275hostProperty("disabled",de.disabled),c.\u0275\u0275attribute("aria-haspopup",de._datepicker?"dialog":null)("aria-owns",(null==de._datepicker?null:de._datepicker.opened)&&de._datepicker.id||null)("min",de.min?de._dateAdapter.toIso8601(de.min):null)("max",de.max?de._dateAdapter.toIso8601(de.max):null)("data-mat-calendar",de._datepicker?de._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[c.\u0275\u0275InputFlags.None,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([et,Ye,{provide:O.MAT_INPUT_VALUE_ACCESSOR,useExisting:_e}]),c.\u0275\u0275InheritDefinitionFeature]})}return _e})(),Bt=(()=>{class _e{static#e=this.\u0275fac=function(he){return new(he||_e)};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0})}return _e})(),qt=(()=>{class _e{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(V){this._disabled=V}constructor(V,he,de){this._intl=V,this._changeDetectorRef=he,this._stateChanges=l.wH.EMPTY;const We=Number(de);this.tabIndex=We||0===We?We:null}ngOnChanges(V){V.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(V){this.datepicker&&!this.disabled&&(this.datepicker.open(),V.stopPropagation())}_watchStateChanges(){const V=this.datepicker?this.datepicker.stateChanges:(0,r.of)(),he=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,r.of)(),de=this.datepicker?(0,a.U)(this.datepicker.openedStream,this.datepicker.closedStream):(0,r.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,a.U)(this._intl.changes,V,he,de).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(_t),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(he,de,We){if(1&he&&c.\u0275\u0275contentQuery(We,Bt,5),2&he){let wt;c.\u0275\u0275queryRefresh(wt=c.\u0275\u0275loadQuery())&&(de._customIcon=wt.first)}},viewQuery:function(he,de){if(1&he&&c.\u0275\u0275viewQuery(z,5),2&he){let We;c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de._button=We.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(he,de){1&he&&c.\u0275\u0275listener("click",function(wt){return de._open(wt)}),2&he&&(c.\u0275\u0275attribute("tabindex",null)("data-mat-calendar",de.datepicker?de.datepicker.id:null),c.\u0275\u0275classProp("mat-datepicker-toggle-active",de.datepicker&&de.datepicker.opened)("mat-accent",de.datepicker&&"accent"===de.datepicker.color)("mat-warn",de.datepicker&&"warn"===de.datepicker.color))},inputs:{datepicker:[c.\u0275\u0275InputFlags.None,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[c.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],disabled:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",c.booleanAttribute],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[c.\u0275\u0275InputTransformsFeature,c.\u0275\u0275NgOnChangesFeature,c.\u0275\u0275StandaloneFeature],ngContentSelectors:j,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"],["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(he,de){1&he&&(c.\u0275\u0275projectionDef(G),c.\u0275\u0275elementStart(0,"button",0,1),c.\u0275\u0275template(2,X,2,0,":svg:svg",2),c.\u0275\u0275projection(3),c.\u0275\u0275elementEnd()),2&he&&(c.\u0275\u0275property("disabled",de.disabled)("disableRipple",de.disableRipple),c.\u0275\u0275attribute("aria-haspopup",de.datepicker?"dialog":null)("aria-label",de.ariaLabel||de._intl.openCalendarLabel)("tabindex",de.disabled?-1:de.tabIndex),c.\u0275\u0275advance(2),c.\u0275\u0275conditional(2,de._customIcon?-1:2))},dependencies:[b.MatIconButton],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return _e})();function fn(_e){return Si(_e,!0)}function ln(_e){return _e.nodeType===Node.ELEMENT_NODE}function Si(_e,mt){if(ln(_e)&&mt){const he=(_e.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((de,We)=>{const wt=document.getElementById(We);return wt&&de.push(wt),de},[]);if(he.length)return he.map(de=>Si(de,!1)).join(" ")}if(ln(_e)){const V=_e.getAttribute("aria-label")?.trim();if(V)return V}if(function An(_e){return"INPUT"===_e.nodeName}(_e)||function fi(_e){return"TEXTAREA"===_e.nodeName}(_e)){if(_e.labels?.length)return Array.from(_e.labels).map(de=>Si(de,!1)).join(" ");const V=_e.getAttribute("placeholder")?.trim();if(V)return V;const he=_e.getAttribute("title")?.trim();if(he)return he}return(_e.textContent||"").replace(/\s+/g," ").trim()}const Fi=new c.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT");let si=(()=>{class _e extends qe{get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(V){this._errorStateTracker.matcher=V}get errorState(){return this._errorStateTracker.errorState}set errorState(V){this._errorStateTracker.errorState=V}constructor(V,he,de,We,wt,Yt,Kn,Pn){super(he,Kn,Pn),this._rangeInput=V,this._elementRef=he,this._defaultErrorStateMatcher=de,this._injector=We,this._parentForm=wt,this._parentFormGroup=Yt,this._dir=(0,c.inject)(h.yG,{optional:!0}),this._errorStateTracker=new f._ErrorStateTracker(this._defaultErrorStateMatcher,null,this._parentFormGroup,this._parentForm,this.stateChanges)}ngOnInit(){const V=this._injector.get(D.NgControl,null,{optional:!0,self:!0});V&&(this.ngControl=V,this._errorStateTracker.ngControl=V)}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 V=this._elementRef.nativeElement,he=V.value;return he.length>0?he:V.placeholder}updateErrorState(){this._errorStateTracker.updateErrorState()}_onInput(V){super._onInput(V),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:V}){return V!==this._rangeInput._startInput&&V!==this._rangeInput._endInput}_assignValueProgrammatically(V){super._assignValueProgrammatically(V),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return fn(this._elementRef.nativeElement)}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(Fi),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.ErrorStateMatcher),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(D.NgForm,8),c.\u0275\u0275directiveInject(D.FormGroupDirective,8),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,inputs:{errorStateMatcher:"errorStateMatcher"},standalone:!0,features:[c.\u0275\u0275InheritDefinitionFeature]})}return _e})(),Ji=(()=>{class _e extends si{constructor(V,he,de,We,wt,Yt,Kn,Pn){super(V,he,de,We,wt,Yt,Kn,Pn),this._startValidator=Tn=>{const vn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Tn.value)),oi=this._model?this._model.selection.end:null;return!vn||!oi||this._dateAdapter.compareDate(vn,oi)<=0?null:{matStartDateInvalid:{end:oi,actual:vn}}},this._validator=D.Validators.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(V){return V.start}_shouldHandleChangeEvent(V){return!(!super._shouldHandleChangeEvent(V)||(V.oldValue?.start?V.selection.start&&!this._dateAdapter.compareDate(V.oldValue.start,V.selection.start):!V.selection.start))}_assignValueToModel(V){if(this._model){const he=new Xe(V,this._model.selection.end);this._model.updateSelection(he,this)}}_formatValue(V){super._formatValue(V),this._rangeInput._handleChildValueChange()}_onKeydown(V){const he=this._rangeInput._endInput,de=this._elementRef.nativeElement,We="rtl"!==this._dir?.value;(V.keyCode===u.a4&&We||V.keyCode===u.Mx&&!We)&&de.selectionStart===de.value.length&&de.selectionEnd===de.value.length?(V.preventDefault(),he._elementRef.nativeElement.setSelectionRange(0,0),he.focus()):super._onKeydown(V)}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(Fi),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.ErrorStateMatcher),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(D.NgForm,8),c.\u0275\u0275directiveInject(D.FormGroupDirective,8),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(he,de){1&he&&c.\u0275\u0275listener("input",function(wt){return de._onInput(wt.target.value)})("change",function(){return de._onChange()})("keydown",function(wt){return de._onKeydown(wt)})("blur",function(){return de._onBlur()}),2&he&&(c.\u0275\u0275hostProperty("disabled",de.disabled),c.\u0275\u0275attribute("aria-haspopup",de._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==de._rangeInput.rangePicker?null:de._rangeInput.rangePicker.opened)&&de._rangeInput.rangePicker.id||null)("min",de._getMinDate()?de._dateAdapter.toIso8601(de._getMinDate()):null)("max",de._getMaxDate()?de._dateAdapter.toIso8601(de._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:D.NG_VALUE_ACCESSOR,useExisting:_e,multi:!0},{provide:D.NG_VALIDATORS,useExisting:_e,multi:!0}]),c.\u0275\u0275InheritDefinitionFeature]})}return _e})(),mi=(()=>{class _e extends si{constructor(V,he,de,We,wt,Yt,Kn,Pn){super(V,he,de,We,wt,Yt,Kn,Pn),this._endValidator=Tn=>{const vn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Tn.value)),oi=this._model?this._model.selection.start:null;return!vn||!oi||this._dateAdapter.compareDate(vn,oi)>=0?null:{matEndDateInvalid:{start:oi,actual:vn}}},this._validator=D.Validators.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(V){return V.end}_shouldHandleChangeEvent(V){return!(!super._shouldHandleChangeEvent(V)||(V.oldValue?.end?V.selection.end&&!this._dateAdapter.compareDate(V.oldValue.end,V.selection.end):!V.selection.end))}_assignValueToModel(V){if(this._model){const he=new Xe(this._model.selection.start,V);this._model.updateSelection(he,this)}}_onKeydown(V){const he=this._rangeInput._startInput,de=this._elementRef.nativeElement,We="rtl"!==this._dir?.value;if(V.keyCode!==u.y_||de.value)if((V.keyCode===u.Mx&&We||V.keyCode===u.a4&&!We)&&0===de.selectionStart&&0===de.selectionEnd){V.preventDefault();const wt=he._elementRef.nativeElement.value.length;he._elementRef.nativeElement.setSelectionRange(wt,wt),he.focus()}else super._onKeydown(V);else he.focus()}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(Fi),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.ErrorStateMatcher),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(D.NgForm,8),c.\u0275\u0275directiveInject(D.FormGroupDirective,8),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(he,de){1&he&&c.\u0275\u0275listener("input",function(wt){return de._onInput(wt.target.value)})("change",function(){return de._onChange()})("keydown",function(wt){return de._onKeydown(wt)})("blur",function(){return de._onBlur()}),2&he&&(c.\u0275\u0275hostProperty("disabled",de.disabled),c.\u0275\u0275attribute("aria-haspopup",de._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==de._rangeInput.rangePicker?null:de._rangeInput.rangePicker.opened)&&de._rangeInput.rangePicker.id||null)("min",de._getMinDate()?de._dateAdapter.toIso8601(de._getMinDate()):null)("max",de._getMaxDate()?de._dateAdapter.toIso8601(de._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:D.NG_VALUE_ACCESSOR,useExisting:_e,multi:!0},{provide:D.NG_VALIDATORS,useExisting:_e,multi:!0}]),c.\u0275\u0275InheritDefinitionFeature]})}return _e})(),ji=0,rr=(()=>{class _e{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const V=this._startInput?._getPlaceholder()||"",he=this._endInput?._getPlaceholder()||"";return V||he?`${V} ${this.separator} ${he}`:""}get rangePicker(){return this._rangePicker}set rangePicker(V){V&&(this._model=V.registerInput(this),this._rangePicker=V,this._closedSubscription.unsubscribe(),this._closedSubscription=V.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(V){this._required=V}get dateFilter(){return this._dateFilter}set dateFilter(V){const he=this._startInput,de=this._endInput,We=he&&he._matchesFilter(he.value),wt=de&&de._matchesFilter(he.value);this._dateFilter=V,he&&he._matchesFilter(he.value)!==We&&he._validatorOnChange(),de&&de._matchesFilter(de.value)!==wt&&de._validatorOnChange()}get min(){return this._min}set min(V){const he=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V));this._dateAdapter.sameDate(he,this._min)||(this._min=he,this._revalidate())}get max(){return this._max}set max(V){const he=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(V));this._dateAdapter.sameDate(he,this._max)||(this._max=he,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(V){V!==this._groupDisabled&&(this._groupDisabled=V,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const V=!!this._startInput&&this._startInput.isEmpty(),he=!!this._endInput&&this._endInput.isEmpty();return V&&he}constructor(V,he,de,We,wt){this._changeDetectorRef=V,this._elementRef=he,this._dateAdapter=We,this._formField=wt,this._closedSubscription=l.wH.EMPTY,this.id="mat-date-range-input-"+ji++,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 d.E,wt?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&he.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=de}setDescribedByIds(V){this._ariaDescribedBy=V.length?V.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,a.U)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(V){Fe(V,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(V){const he="start"===V?this._startInput:this._endInput;return he?he.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 V=this._formField;return V&&V._hasFloatingLabel()?V._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(V){this.focused=null!==V,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(V){this._startInput&&this._startInput._registerModel(V),this._endInput&&this._endInput._registerModel(V)}_isTargetRequired(V){return V?.ngControl?.control?.hasValidator(D.Validators.required)}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(D.ControlContainer,10),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(I.MAT_FORM_FIELD,8))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-date-range-input"]],contentQueries:function(he,de,We){if(1&he&&(c.\u0275\u0275contentQuery(We,Ji,5),c.\u0275\u0275contentQuery(We,mi,5)),2&he){let wt;c.\u0275\u0275queryRefresh(wt=c.\u0275\u0275loadQuery())&&(de._startInput=wt.first),c.\u0275\u0275queryRefresh(wt=c.\u0275\u0275loadQuery())&&(de._endInput=wt.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(he,de){2&he&&(c.\u0275\u0275attribute("id",de.id)("aria-labelledby",de._getAriaLabelledby())("aria-describedby",de._ariaDescribedBy)("data-mat-calendar",de.rangePicker?de.rangePicker.id:null),c.\u0275\u0275classProp("mat-date-range-input-hide-placeholders",de._shouldHidePlaceholders())("mat-date-range-input-required",de.required))},inputs:{rangePicker:"rangePicker",required:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"required","required",c.booleanAttribute],dateFilter:"dateFilter",min:"min",max:"max",disabled:[c.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",c.booleanAttribute],separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:I.MatFormFieldControl,useExisting:_e},{provide:Fi,useExisting:_e}]),c.\u0275\u0275InputTransformsFeature,c.\u0275\u0275NgOnChangesFeature,c.\u0275\u0275StandaloneFeature],ngContentSelectors:ue,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(he,de){1&he&&(c.\u0275\u0275projectionDef(le),c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275listener("cdkFocusChange",function(wt){return de._updateFocus(wt)}),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275projection(2),c.\u0275\u0275elementStart(3,"span",2),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(5,"span",3),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(7,"div",4),c.\u0275\u0275projection(8,1),c.\u0275\u0275elementStart(9,"span",2),c.\u0275\u0275text(10),c.\u0275\u0275elementEnd()()()),2&he&&(c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate(de._getInputMirrorValue("start")),c.\u0275\u0275advance(),c.\u0275\u0275classProp("mat-date-range-input-separator-hidden",de._shouldHideSeparator()),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(de.separator),c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate(de._getInputMirrorValue("end")))},dependencies:[t.Si],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;color:var(--mat-datepicker-range-input-separator-color)}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color)}._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-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color)}.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})}return _e})(),se=(()=>{class _e extends kt{_forwardContentValues(V){super._forwardContentValues(V);const he=this.datepickerInput;he&&(V.comparisonStart=he.comparisonStart,V.comparisonEnd=he.comparisonEnd,V.startDateAccessibleName=he._getStartDateAccessibleName(),V.endDateAccessibleName=he._getEndDateAccessibleName())}static#e=this.\u0275fac=(()=>{let V;return function(de){return(V||(V=c.\u0275\u0275getInheritedFactory(_e)))(de||_e)}})();static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([Gt,gn,{provide:kt,useExisting:_e}]),c.\u0275\u0275InheritDefinitionFeature,c.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(he,de){},encapsulation:2,changeDetection:0})}return _e})(),at=(()=>{class _e{constructor(V){this._datepicker=V}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(kt))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(he,de){1&he&&c.\u0275\u0275listener("click",function(){return de._applySelection()})},standalone:!0})}return _e})(),ae=(()=>{class _e{constructor(V){this._datepicker=V}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(kt))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(he,de){1&he&&c.\u0275\u0275listener("click",function(){return de._datepicker.close()})},standalone:!0})}return _e})(),me=(()=>{class _e{constructor(V,he){this._datepicker=V,this._viewContainerRef=he}ngAfterViewInit(){this._portal=new C.CC(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}static#e=this.\u0275fac=function(he){return new(he||_e)(c.\u0275\u0275directiveInject(kt),c.\u0275\u0275directiveInject(c.ViewContainerRef))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(he,de){if(1&he&&c.\u0275\u0275viewQuery(c.TemplateRef,5),2&he){let We;c.\u0275\u0275queryRefresh(We=c.\u0275\u0275loadQuery())&&(de._template=We.first)}},standalone:!0,features:[c.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(he,de){1&he&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275template(0,ve,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})}return _e})(),Ae=(()=>{class _e{static#e=this.\u0275fac=function(he){return new(he||_e)};static#t=this.\u0275mod=c.\u0275\u0275defineNgModule({type:_e});static#n=this.\u0275inj=c.\u0275\u0275defineInjector({providers:[_t,$e],imports:[E.CommonModule,b.MatButtonModule,v.Y1,t.Ux,C.g$,f.MatCommonModule,Ge,qt,He,s.uU]})}return _e})()},3584:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MatDivider:()=>E,MatDividerModule:()=>c});var t=g(4496),v=g(7712),C=g(3576);let E=(()=>{class b{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(f){this._vertical=(0,v.W6)(f)}get inset(){return this._inset}set inset(f){this._inset=(0,v.W6)(f)}static#e=this.\u0275fac=function(d){return new(d||b)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:b,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(d,l){2&d&&(t.\u0275\u0275attribute("aria-orientation",l.vertical?"vertical":"horizontal"),t.\u0275\u0275classProp("mat-divider-vertical",l.vertical)("mat-divider-horizontal",!l.vertical)("mat-divider-inset",l.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(d,l){},styles:[".mat-divider{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})}return b})(),c=(()=>{class b{static#e=this.\u0275fac=function(d){return new(d||b)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:b});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[C.MatCommonModule,C.MatCommonModule]})}return b})()},4060:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_ERROR:()=>Ct,MAT_FORM_FIELD:()=>on,MAT_FORM_FIELD_DEFAULT_OPTIONS:()=>tn,MAT_PREFIX:()=>Ke,MAT_SUFFIX:()=>Ie,MatError:()=>Re,MatFormField:()=>xe,MatFormFieldControl:()=>pt,MatFormFieldModule:()=>rt,MatHint:()=>fe,MatLabel:()=>_t,MatPrefix:()=>Be,MatSuffix:()=>je,getMatFormFieldDuplicatedHintError:()=>Gt,getMatFormFieldMissingControlError:()=>rn,getMatFormFieldPlaceholderConflictError:()=>Pt,matFormFieldAnimations:()=>ze});var t=g(4496),v=g(1900),C=g(5792),E=g(6928),c=g(5657),b=g(3412),s=g(3616),f=g(3252),d=g(6684),l=g(8716);class r{constructor(At){this._box=At,this._destroyed=new c.E,this._resizeSubject=new c.E,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(nt=>this._resizeSubject.next(nt)))}observe(At){return this._elementObservables.has(At)||this._elementObservables.set(At,new f._(nt=>{const vt=this._resizeSubject.subscribe(nt);return this._resizeObserver?.observe(At,{box:this._box}),()=>{this._resizeObserver?.unobserve(At),vt.unsubscribe(),this._elementObservables.delete(At)}}).pipe((0,d.I)(nt=>nt.some(vt=>vt.target===At)),(0,l.C)({bufferSize:1,refCount:!0}),(0,s.a)(this._destroyed))),this._elementObservables.get(At)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let u=(()=>{class lt{constructor(){this._observers=new Map,this._ngZone=(0,t.inject)(t.NgZone)}ngOnDestroy(){for(const[,nt]of this._observers)nt.destroy();this._observers.clear()}observe(nt,vt){const Le=vt?.box||"content-box";return this._observers.has(Le)||this._observers.set(Le,new r(Le)),this._observers.get(Le).observe(nt)}static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:lt,factory:lt.\u0275fac,providedIn:"root"})}return lt})();var h=g(7712),p=g(9684),_=g(1368),y=g(6640),M=g(3576);const w=["notch"],k=["matFormFieldNotchedOutline",""],D=["*"],I=["textField"],O=["iconPrefixContainer"],T=["textPrefixContainer"];function N(lt,At){1<&&t.\u0275\u0275element(0,"span",16)}function S(lt,At){if(1<&&(t.\u0275\u0275elementStart(0,"label",14),t.\u0275\u0275projection(1,1),t.\u0275\u0275template(2,N,1,0,"span",15),t.\u0275\u0275elementEnd()),2<){const nt=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("floating",nt._shouldLabelFloat())("monitorResize",nt._hasOutline())("id",nt._labelId),t.\u0275\u0275attribute("for",nt._control.id),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(2,!nt.hideRequiredMarker&&nt._control.required?2:-1)}}function F(lt,At){if(1<&&t.\u0275\u0275template(0,S,3,5,"label",14),2<){const nt=t.\u0275\u0275nextContext();t.\u0275\u0275conditional(0,nt._hasFloatingLabel()?0:-1)}}function L(lt,At){1<&&t.\u0275\u0275element(0,"div",17)}function A(lt,At){}function U(lt,At){if(1<&&t.\u0275\u0275template(0,A,0,0,"ng-template",9),2<){t.\u0275\u0275nextContext(2);const nt=t.\u0275\u0275reference(1);t.\u0275\u0275property("ngTemplateOutlet",nt)}}function K(lt,At){if(1<&&(t.\u0275\u0275elementStart(0,"div",5),t.\u0275\u0275template(1,U,1,1,null,9),t.\u0275\u0275elementEnd()),2<){const nt=t.\u0275\u0275nextContext();t.\u0275\u0275property("matFormFieldNotchedOutlineOpen",nt._shouldLabelFloat()),t.\u0275\u0275advance(),t.\u0275\u0275conditional(1,nt._forceDisplayInfixLabel()?-1:1)}}function ee(lt,At){1<&&(t.\u0275\u0275elementStart(0,"div",18,19),t.\u0275\u0275projection(2,2),t.\u0275\u0275elementEnd())}function ne(lt,At){1<&&(t.\u0275\u0275elementStart(0,"div",20,21),t.\u0275\u0275projection(2,3),t.\u0275\u0275elementEnd())}function B(lt,At){}function H(lt,At){if(1<&&t.\u0275\u0275template(0,B,0,0,"ng-template",9),2<){t.\u0275\u0275nextContext();const nt=t.\u0275\u0275reference(1);t.\u0275\u0275property("ngTemplateOutlet",nt)}}function z(lt,At){1<&&(t.\u0275\u0275elementStart(0,"div",22),t.\u0275\u0275projection(1,4),t.\u0275\u0275elementEnd())}function X(lt,At){1<&&(t.\u0275\u0275elementStart(0,"div",23),t.\u0275\u0275projection(1,5),t.\u0275\u0275elementEnd())}function G(lt,At){1<&&t.\u0275\u0275element(0,"div",12)}function j(lt,At){if(1<&&(t.\u0275\u0275elementStart(0,"div",24),t.\u0275\u0275projection(1,6),t.\u0275\u0275elementEnd()),2<){const nt=t.\u0275\u0275nextContext();t.\u0275\u0275property("@transitionMessages",nt._subscriptAnimationState)}}function le(lt,At){if(1<&&(t.\u0275\u0275elementStart(0,"mat-hint",26),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2<){const nt=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("id",nt._hintLabelId),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate(nt.hintLabel)}}function ue(lt,At){if(1<&&(t.\u0275\u0275elementStart(0,"div",25),t.\u0275\u0275template(1,le,2,2,"mat-hint",26),t.\u0275\u0275projection(2,7),t.\u0275\u0275element(3,"div",27),t.\u0275\u0275projection(4,8),t.\u0275\u0275elementEnd()),2<){const nt=t.\u0275\u0275nextContext();t.\u0275\u0275property("@transitionMessages",nt._subscriptAnimationState),t.\u0275\u0275advance(),t.\u0275\u0275conditional(1,nt.hintLabel?1:-1)}}const ve=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Je=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let _t=(()=>{class lt{static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["mat-label"]],standalone:!0})}return lt})(),ct=0;const Ct=new t.InjectionToken("MatError");let Re=(()=>{class lt{constructor(nt,vt){this.id="mat-mdc-error-"+ct++,nt||vt.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(vt){return new(vt||lt)(t.\u0275\u0275injectAttribute("aria-live"),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(vt,Le){2&vt&&t.\u0275\u0275hostProperty("id",Le.id)},inputs:{id:"id"},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ct,useExisting:lt}])]})}return lt})(),ke=0,fe=(()=>{class lt{constructor(){this.align="start",this.id="mat-mdc-hint-"+ke++}static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(vt,Le){2&vt&&(t.\u0275\u0275hostProperty("id",Le.id),t.\u0275\u0275attribute("align",null),t.\u0275\u0275classProp("mat-mdc-form-field-hint-end","end"===Le.align))},inputs:{align:"align",id:"id"},standalone:!0})}return lt})();const Ke=new t.InjectionToken("MatPrefix");let Be=(()=>{class lt{constructor(){this._isText=!1}set _isTextSelector(nt){this._isText=!0}static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[t.\u0275\u0275InputFlags.None,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ke,useExisting:lt}])]})}return lt})();const Ie=new t.InjectionToken("MatSuffix");let je=(()=>{class lt{constructor(){this._isText=!1}set _isTextSelector(nt){this._isText=!0}static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[t.\u0275\u0275InputFlags.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ie,useExisting:lt}])]})}return lt})();const q=new t.InjectionToken("FloatingLabelParent");let be=(()=>{class lt{get floating(){return this._floating}set floating(nt){this._floating=nt,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(nt){this._monitorResize=nt,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(nt){this._elementRef=nt,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,t.inject)(u),this._ngZone=(0,t.inject)(t.NgZone),this._parent=(0,t.inject)(q),this._resizeSubscription=new E.wH}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Oe(lt){if(null!==lt.offsetParent)return lt.scrollWidth;const nt=lt.cloneNode(!0);nt.style.setProperty("position","absolute"),nt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(nt);const vt=nt.scrollWidth;return nt.remove(),vt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(vt){return new(vt||lt)(t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(vt,Le){2&vt&&t.\u0275\u0275classProp("mdc-floating-label--float-above",Le.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return lt})();const Xe="mdc-line-ripple--active",ge="mdc-line-ripple--deactivating";let Ve=(()=>{class lt{constructor(nt,vt){this._elementRef=nt,this._handleTransitionEnd=Le=>{const He=this._elementRef.nativeElement.classList,st=He.contains(ge);"opacity"===Le.propertyName&&st&&He.remove(Xe,ge)},vt.runOutsideAngular(()=>{nt.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const nt=this._elementRef.nativeElement.classList;nt.remove(ge),nt.add(Xe)}deactivate(){this._elementRef.nativeElement.classList.add(ge)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(vt){return new(vt||lt)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return lt})(),ot=(()=>{class lt{constructor(nt,vt){this._elementRef=nt,this._ngZone=vt,this.open=!1}ngAfterViewInit(){const nt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");nt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(nt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>nt.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(nt){this._notch.nativeElement.style.width=this.open&&nt?`calc(${nt}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(vt){return new(vt||lt)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:lt,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(vt,Le){if(1&vt&&t.\u0275\u0275viewQuery(w,5),2&vt){let He;t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._notch=He.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(vt,Le){2&vt&&t.\u0275\u0275classProp("mdc-notched-outline--notched",Le.open)},inputs:{open:[t.\u0275\u0275InputFlags.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],attrs:k,ngContentSelectors:D,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(vt,Le){1&vt&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275element(0,"div",0),t.\u0275\u0275elementStart(1,"div",1,2),t.\u0275\u0275projection(3),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(4,"div",3))},encapsulation:2,changeDetection:0})}return lt})();const ze={transitionMessages:(0,p.gV)("transitionMessages",[(0,p.K2)("enter",(0,p.wb)({opacity:1,transform:"translateY(0%)"})),(0,p.aK)("void => enter",[(0,p.wb)({opacity:0,transform:"translateY(-5px)"}),(0,p.Cs)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pt=(()=>{class lt{static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:lt})}return lt})();function Pt(){return Error("Placeholder attribute and child element were both specified.")}function Gt(lt){return Error(`A hint was already declared for 'align="${lt}"'.`)}function rn(){return Error("mat-form-field must contain a MatFormFieldControl.")}const on=new t.InjectionToken("MatFormField"),tn=new t.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let gn=0,xe=(()=>{class lt{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(nt){this._hideRequiredMarker=(0,h.W6)(nt)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(nt){nt!==this._floatLabel&&(this._floatLabel=nt,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(nt){const vt=this._appearance;this._appearance=nt||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==vt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(nt){this._subscriptSizing=nt||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(nt){this._hintLabel=nt,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(nt){this._explicitFormFieldControl=nt}constructor(nt,vt,Le,He,st,Te,Pe,bt){this._elementRef=nt,this._changeDetectorRef=vt,this._ngZone=Le,this._dir=He,this._platform=st,this._defaults=Te,this._animationMode=Pe,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+gn++,this._hintLabelId="mat-mdc-hint-"+gn++,this._subscriptAnimationState="",this._destroyed=new c.E,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Te&&(Te.appearance&&(this.appearance=Te.appearance),this._hideRequiredMarker=!!Te?.hideRequiredMarker,Te.color&&(this.color=Te.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const nt=this._control;nt.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${nt.controlType}`),nt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),nt.ngControl&&nt.ngControl.valueChanges&&nt.ngControl.valueChanges.pipe((0,s.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(nt=>!nt._isText),this._hasTextPrefix=!!this._prefixChildren.find(nt=>nt._isText),this._hasIconSuffix=!!this._suffixChildren.find(nt=>!nt._isText),this._hasTextSuffix=!!this._suffixChildren.find(nt=>nt._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,b.U)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,s.a)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,s.a)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(nt){const vt=this._control?this._control.ngControl:null;return vt&&vt[nt]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let nt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&nt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const vt=this._hintChildren?this._hintChildren.find(He=>"start"===He.align):null,Le=this._hintChildren?this._hintChildren.find(He=>"end"===He.align):null;vt?nt.push(vt.id):this._hintLabel&&nt.push(this._hintLabelId),Le&&nt.push(Le.id)}else this._errorChildren&&nt.push(...this._errorChildren.map(vt=>vt.id));this._control.setDescribedByIds(nt)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const nt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(nt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const vt=this._iconPrefixContainer?.nativeElement,Le=this._textPrefixContainer?.nativeElement,He=vt?.getBoundingClientRect().width??0,st=Le?.getBoundingClientRect().width??0;nt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${He+st}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const nt=this._elementRef.nativeElement;if(nt.getRootNode){const vt=nt.getRootNode();return vt&&vt!==nt}return document.documentElement.contains(nt)}static#e=this.\u0275fac=function(vt){return new(vt||lt)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(v.yG),t.\u0275\u0275directiveInject(C.WU),t.\u0275\u0275directiveInject(tn,8),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(_.DOCUMENT))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:lt,selectors:[["mat-form-field"]],contentQueries:function(vt,Le,He){if(1&vt&&(t.\u0275\u0275contentQuery(He,_t,5),t.\u0275\u0275contentQuery(He,_t,7),t.\u0275\u0275contentQuery(He,pt,5),t.\u0275\u0275contentQuery(He,Ke,5),t.\u0275\u0275contentQuery(He,Ie,5),t.\u0275\u0275contentQuery(He,Ct,5),t.\u0275\u0275contentQuery(He,fe,5)),2&vt){let st;t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._labelChildNonStatic=st.first),t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._labelChildStatic=st.first),t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._formFieldControl=st.first),t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._prefixChildren=st),t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._suffixChildren=st),t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._errorChildren=st),t.\u0275\u0275queryRefresh(st=t.\u0275\u0275loadQuery())&&(Le._hintChildren=st)}},viewQuery:function(vt,Le){if(1&vt&&(t.\u0275\u0275viewQuery(I,5),t.\u0275\u0275viewQuery(O,5),t.\u0275\u0275viewQuery(T,5),t.\u0275\u0275viewQuery(be,5),t.\u0275\u0275viewQuery(ot,5),t.\u0275\u0275viewQuery(Ve,5)),2&vt){let He;t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._textField=He.first),t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._iconPrefixContainer=He.first),t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._textPrefixContainer=He.first),t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._floatingLabel=He.first),t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._notchedOutline=He.first),t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(Le._lineRipple=He.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(vt,Le){2&vt&&t.\u0275\u0275classProp("mat-mdc-form-field-label-always-float",Le._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Le._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Le._hasIconSuffix)("mat-form-field-invalid",Le._control.errorState)("mat-form-field-disabled",Le._control.disabled)("mat-form-field-autofilled",Le._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Le._animationMode)("mat-form-field-appearance-fill","fill"==Le.appearance)("mat-form-field-appearance-outline","outline"==Le.appearance)("mat-form-field-hide-placeholder",Le._hasFloatingLabel()&&!Le._shouldLabelFloat())("mat-focused",Le._control.focused)("mat-primary","accent"!==Le.color&&"warn"!==Le.color)("mat-accent","accent"===Le.color)("mat-warn","warn"===Le.color)("ng-untouched",Le._shouldForward("untouched"))("ng-touched",Le._shouldForward("touched"))("ng-pristine",Le._shouldForward("pristine"))("ng-dirty",Le._shouldForward("dirty"))("ng-valid",Le._shouldForward("valid"))("ng-invalid",Le._shouldForward("invalid"))("ng-pending",Le._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:on,useExisting:lt},{provide:q,useExisting:lt}]),t.\u0275\u0275StandaloneFeature],ngContentSelectors:Je,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(vt,Le){if(1&vt&&(t.\u0275\u0275projectionDef(ve),t.\u0275\u0275template(0,F,1,1,"ng-template",null,0,t.\u0275\u0275templateRefExtractor),t.\u0275\u0275elementStart(2,"div",1,2),t.\u0275\u0275listener("click",function(st){return Le._control.onContainerClick(st)}),t.\u0275\u0275template(4,L,1,0,"div",3),t.\u0275\u0275elementStart(5,"div",4),t.\u0275\u0275template(6,K,2,2,"div",5)(7,ee,3,0,"div",6)(8,ne,3,0,"div",7),t.\u0275\u0275elementStart(9,"div",8),t.\u0275\u0275template(10,H,1,1,null,9),t.\u0275\u0275projection(11),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(12,z,2,0,"div",10)(13,X,2,0,"div",11),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(14,G,1,0,"div",12),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(15,"div",13),t.\u0275\u0275template(16,j,2,1)(17,ue,5,2),t.\u0275\u0275elementEnd()),2&vt){let He;t.\u0275\u0275advance(2),t.\u0275\u0275classProp("mdc-text-field--filled",!Le._hasOutline())("mdc-text-field--outlined",Le._hasOutline())("mdc-text-field--no-label",!Le._hasFloatingLabel())("mdc-text-field--disabled",Le._control.disabled)("mdc-text-field--invalid",Le._control.errorState),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(4,Le._hasOutline()||Le._control.disabled?-1:4),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(6,Le._hasOutline()?6:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(7,Le._hasIconPrefix?7:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(8,Le._hasTextPrefix?8:-1),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(10,!Le._hasOutline()||Le._forceDisplayInfixLabel()?10:-1),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(12,Le._hasTextSuffix?12:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(13,Le._hasIconSuffix?13:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(14,Le._hasOutline()?-1:14),t.\u0275\u0275advance(),t.\u0275\u0275classProp("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Le.subscriptSizing),t.\u0275\u0275advance(),t.\u0275\u0275conditional(16,"error"===(He=Le._getDisplayedMessages())?16:"hint"===He?17:-1)}},dependencies:[be,ot,_.NgTemplateOutlet,Ve,fe],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";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;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[ze.transitionMessages]},changeDetection:0})}return lt})(),rt=(()=>{class lt{static#e=this.\u0275fac=function(vt){return new(vt||lt)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:lt});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[M.MatCommonModule,_.CommonModule,y.IT,M.MatCommonModule]})}return lt})()},1560:(De,te,g)=>{"use strict";g.r(te),g.d(te,{ICON_REGISTRY_PROVIDER:()=>F,ICON_REGISTRY_PROVIDER_FACTORY:()=>S,MAT_ICON_DEFAULT_OPTIONS:()=>K,MAT_ICON_LOCATION:()=>ee,MAT_ICON_LOCATION_FACTORY:()=>ne,MatIcon:()=>X,MatIconModule:()=>G,MatIconRegistry:()=>N,getMatIconFailedToSanitizeLiteralError:()=>O,getMatIconFailedToSanitizeUrlError:()=>I,getMatIconNameNotFoundError:()=>k,getMatIconNoHttpProviderError:()=>D});var t=g(4496),v=g(3576),C=g(1368),E=g(2700),c=g(3800),b=g(9336),s=g(6928),f=g(9212),d=g(4704),l=g(9144),a=g(8824),r=g(7648),u=g(3992),h=g(7048),p=g(4476);const _=["*"];let y;function w(j){return function M(){if(void 0===y&&(y=null,typeof window<"u")){const j=window;void 0!==j.trustedTypes&&(y=j.trustedTypes.createPolicy("angular#components",{createHTML:le=>le}))}return y}()?.createHTML(j)||j}function k(j){return Error(`Unable to find icon with the name "${j}"`)}function D(){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 I(j){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${j}".`)}function O(j){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${j}".`)}class T{constructor(le,ue,ve){this.url=le,this.svgText=ue,this.options=ve}}let N=(()=>{class j{constructor(ue,ve,Je,_t){this._httpClient=ue,this._sanitizer=ve,this._errorHandler=_t,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=Je}addSvgIcon(ue,ve,Je){return this.addSvgIconInNamespace("",ue,ve,Je)}addSvgIconLiteral(ue,ve,Je){return this.addSvgIconLiteralInNamespace("",ue,ve,Je)}addSvgIconInNamespace(ue,ve,Je,_t){return this._addSvgIconConfig(ue,ve,new T(Je,null,_t))}addSvgIconResolver(ue){return this._resolvers.push(ue),this}addSvgIconLiteralInNamespace(ue,ve,Je,_t){const ct=this._sanitizer.sanitize(t.SecurityContext.HTML,Je);if(!ct)throw O(Je);const Ct=w(ct);return this._addSvgIconConfig(ue,ve,new T("",Ct,_t))}addSvgIconSet(ue,ve){return this.addSvgIconSetInNamespace("",ue,ve)}addSvgIconSetLiteral(ue,ve){return this.addSvgIconSetLiteralInNamespace("",ue,ve)}addSvgIconSetInNamespace(ue,ve,Je){return this._addSvgIconSetConfig(ue,new T(ve,null,Je))}addSvgIconSetLiteralInNamespace(ue,ve,Je){const _t=this._sanitizer.sanitize(t.SecurityContext.HTML,ve);if(!_t)throw O(ve);const ct=w(_t);return this._addSvgIconSetConfig(ue,new T("",ct,Je))}registerFontClassAlias(ue,ve=ue){return this._fontCssClassesByAlias.set(ue,ve),this}classNameForFontAlias(ue){return this._fontCssClassesByAlias.get(ue)||ue}setDefaultFontSetClass(...ue){return this._defaultFontSetClass=ue,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(ue){const ve=this._sanitizer.sanitize(t.SecurityContext.RESOURCE_URL,ue);if(!ve)throw I(ue);const Je=this._cachedIconsByUrl.get(ve);return Je?(0,E.of)(L(Je)):this._loadSvgIconFromConfig(new T(ue,null)).pipe((0,f.y)(_t=>this._cachedIconsByUrl.set(ve,_t)),(0,d.k)(_t=>L(_t)))}getNamedSvgIcon(ue,ve=""){const Je=A(ve,ue);let _t=this._svgIconConfigs.get(Je);if(_t)return this._getSvgFromConfig(_t);if(_t=this._getIconConfigFromResolvers(ve,ue),_t)return this._svgIconConfigs.set(Je,_t),this._getSvgFromConfig(_t);const ct=this._iconSetConfigs.get(ve);return ct?this._getSvgFromIconSetConfigs(ue,ct):(0,c.c)(k(Je))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ue){return ue.svgText?(0,E.of)(L(this._svgElementFromConfig(ue))):this._loadSvgIconFromConfig(ue).pipe((0,d.k)(ve=>L(ve)))}_getSvgFromIconSetConfigs(ue,ve){const Je=this._extractIconWithNameFromAnySet(ue,ve);if(Je)return(0,E.of)(Je);const _t=ve.filter(ct=>!ct.svgText).map(ct=>this._loadSvgIconSetFromConfig(ct).pipe((0,l.a)(Ct=>{const ke=`Loading icon set URL: ${this._sanitizer.sanitize(t.SecurityContext.RESOURCE_URL,ct.url)} failed: ${Ct.message}`;return this._errorHandler.handleError(new Error(ke)),(0,E.of)(null)})));return(0,b.y)(_t).pipe((0,d.k)(()=>{const ct=this._extractIconWithNameFromAnySet(ue,ve);if(!ct)throw k(ue);return ct}))}_extractIconWithNameFromAnySet(ue,ve){for(let Je=ve.length-1;Je>=0;Je--){const _t=ve[Je];if(_t.svgText&&_t.svgText.toString().indexOf(ue)>-1){const ct=this._svgElementFromConfig(_t),Ct=this._extractSvgIconFromSet(ct,ue,_t.options);if(Ct)return Ct}}return null}_loadSvgIconFromConfig(ue){return this._fetchIcon(ue).pipe((0,f.y)(ve=>ue.svgText=ve),(0,d.k)(()=>this._svgElementFromConfig(ue)))}_loadSvgIconSetFromConfig(ue){return ue.svgText?(0,E.of)(null):this._fetchIcon(ue).pipe((0,f.y)(ve=>ue.svgText=ve))}_extractSvgIconFromSet(ue,ve,Je){const _t=ue.querySelector(`[id="${ve}"]`);if(!_t)return null;const ct=_t.cloneNode(!0);if(ct.removeAttribute("id"),"svg"===ct.nodeName.toLowerCase())return this._setSvgAttributes(ct,Je);if("symbol"===ct.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ct),Je);const Ct=this._svgElementFromString(w(""));return Ct.appendChild(ct),this._setSvgAttributes(Ct,Je)}_svgElementFromString(ue){const ve=this._document.createElement("DIV");ve.innerHTML=ue;const Je=ve.querySelector("svg");if(!Je)throw Error(" tag not found");return Je}_toSvgElement(ue){const ve=this._svgElementFromString(w("")),Je=ue.attributes;for(let _t=0;_tw(ke)),(0,a.U)(()=>this._inProgressUrlFetches.delete(ct)),(0,r.o)());return this._inProgressUrlFetches.set(ct,Re),Re}_addSvgIconConfig(ue,ve,Je){return this._svgIconConfigs.set(A(ue,ve),Je),this}_addSvgIconSetConfig(ue,ve){const Je=this._iconSetConfigs.get(ue);return Je?Je.push(ve):this._iconSetConfigs.set(ue,[ve]),this}_svgElementFromConfig(ue){if(!ue.svgElement){const ve=this._svgElementFromString(ue.svgText);this._setSvgAttributes(ve,ue.options),ue.svgElement=ve}return ue.svgElement}_getIconConfigFromResolvers(ue,ve){for(let Je=0;Jele?le.pathname+le.search:""}}const B=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],H=B.map(j=>`[${j}]`).join(", "),z=/^url\(['"]?#(.*?)['"]?\)$/;let X=(()=>{class j{get color(){return this._color||this._defaultColor}set color(ue){this._color=ue}get svgIcon(){return this._svgIcon}set svgIcon(ue){ue!==this._svgIcon&&(ue?this._updateSvgIcon(ue):this._svgIcon&&this._clearSvgElement(),this._svgIcon=ue)}get fontSet(){return this._fontSet}set fontSet(ue){const ve=this._cleanupFontValue(ue);ve!==this._fontSet&&(this._fontSet=ve,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(ue){const ve=this._cleanupFontValue(ue);ve!==this._fontIcon&&(this._fontIcon=ve,this._updateFontIconClasses())}constructor(ue,ve,Je,_t,ct,Ct){this._elementRef=ue,this._iconRegistry=ve,this._location=_t,this._errorHandler=ct,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=s.wH.EMPTY,Ct&&(Ct.color&&(this.color=this._defaultColor=Ct.color),Ct.fontSet&&(this.fontSet=Ct.fontSet)),Je||ue.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(ue){if(!ue)return["",""];const ve=ue.split(":");switch(ve.length){case 1:return["",ve[0]];case 2:return ve;default:throw Error(`Invalid icon name: "${ue}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const ue=this._elementsWithExternalReferences;if(ue&&ue.size){const ve=this._location.getPathname();ve!==this._previousPath&&(this._previousPath=ve,this._prependPathToReferences(ve))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(ue){this._clearSvgElement();const ve=this._location.getPathname();this._previousPath=ve,this._cacheChildrenWithExternalReferences(ue),this._prependPathToReferences(ve),this._elementRef.nativeElement.appendChild(ue)}_clearSvgElement(){const ue=this._elementRef.nativeElement;let ve=ue.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ve--;){const Je=ue.childNodes[ve];(1!==Je.nodeType||"svg"===Je.nodeName.toLowerCase())&&Je.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ue=this._elementRef.nativeElement,ve=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Je=>Je.length>0);this._previousFontSetClass.forEach(Je=>ue.classList.remove(Je)),ve.forEach(Je=>ue.classList.add(Je)),this._previousFontSetClass=ve,this.fontIcon!==this._previousFontIconClass&&!ve.includes("mat-ligature-font")&&(this._previousFontIconClass&&ue.classList.remove(this._previousFontIconClass),this.fontIcon&&ue.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(ue){return"string"==typeof ue?ue.trim().split(" ")[0]:ue}_prependPathToReferences(ue){const ve=this._elementsWithExternalReferences;ve&&ve.forEach((Je,_t)=>{Je.forEach(ct=>{_t.setAttribute(ct.name,`url('${ue}#${ct.value}')`)})})}_cacheChildrenWithExternalReferences(ue){const ve=ue.querySelectorAll(H),Je=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let _t=0;_t{const Ct=ve[_t],Re=Ct.getAttribute(ct),ke=Re?Re.match(z):null;if(ke){let fe=Je.get(Ct);fe||(fe=[],Je.set(Ct,fe)),fe.push({name:ct,value:ke[1]})}})}_updateSvgIcon(ue){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ue){const[ve,Je]=this._splitIconName(ue);ve&&(this._svgNamespace=ve),Je&&(this._svgName=Je),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Je,ve).pipe((0,u.U)(1)).subscribe(_t=>this._setSvgElement(_t),_t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ve}:${Je}! ${_t.message}`))})}}static#e=this.\u0275fac=function(ve){return new(ve||j)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(N),t.\u0275\u0275injectAttribute("aria-hidden"),t.\u0275\u0275directiveInject(ee),t.\u0275\u0275directiveInject(t.ErrorHandler),t.\u0275\u0275directiveInject(K,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:j,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(ve,Je){2&ve&&(t.\u0275\u0275attribute("data-mat-icon-type",Je._usingFontIcon()?"font":"svg")("data-mat-icon-name",Je._svgName||Je.fontIcon)("data-mat-icon-namespace",Je._svgNamespace||Je.fontSet)("fontIcon",Je._usingFontIcon()?Je.fontIcon:null),t.\u0275\u0275classMap(Je.color?"mat-"+Je.color:""),t.\u0275\u0275classProp("mat-icon-inline",Je.inline)("mat-icon-no-color","primary"!==Je.color&&"accent"!==Je.color&&"warn"!==Je.color))},inputs:{color:"color",inline:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"inline","inline",t.booleanAttribute],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:_,decls:1,vars:0,template:function(ve,Je){1&ve&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.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})}return j})(),G=(()=>{class j{static#e=this.\u0275fac=function(ve){return new(ve||j)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:j});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[v.MatCommonModule,v.MatCommonModule]})}return j})()},5155:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_INPUT_VALUE_ACCESSOR:()=>p,MatError:()=>u.MatError,MatFormField:()=>u.MatFormField,MatHint:()=>u.MatHint,MatInput:()=>M,MatInputModule:()=>w,MatLabel:()=>u.MatLabel,MatPrefix:()=>u.MatPrefix,MatSuffix:()=>u.MatSuffix,getMatInputUnsupportedTypeError:()=>h});var t=g(7712),v=g(5792),C=g(4496),E=g(8960),c=g(5657);const b=(0,v.W4)({passive:!0});let s=(()=>{class k{constructor(I,O){this._platform=I,this._ngZone=O,this._monitoredElements=new Map}monitor(I){if(!this._platform.isBrowser)return E.k;const O=(0,t.mk)(I),T=this._monitoredElements.get(O);if(T)return T.subject;const N=new c.E,S="cdk-text-field-autofilled",F=L=>{"cdk-text-field-autofill-start"!==L.animationName||O.classList.contains(S)?"cdk-text-field-autofill-end"===L.animationName&&O.classList.contains(S)&&(O.classList.remove(S),this._ngZone.run(()=>N.next({target:L.target,isAutofilled:!1}))):(O.classList.add(S),this._ngZone.run(()=>N.next({target:L.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{O.addEventListener("animationstart",F,b),O.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(O,{subject:N,unlisten:()=>{O.removeEventListener("animationstart",F,b)}}),N}stopMonitoring(I){const O=(0,t.mk)(I),T=this._monitoredElements.get(O);T&&(T.unlisten(),T.subject.complete(),O.classList.remove("cdk-text-field-autofill-monitored"),O.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(O))}ngOnDestroy(){this._monitoredElements.forEach((I,O)=>this.stopMonitoring(O))}static#e=this.\u0275fac=function(O){return new(O||k)(C.\u0275\u0275inject(v.WU),C.\u0275\u0275inject(C.NgZone))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})(),l=(()=>{class k{static#e=this.\u0275fac=function(O){return new(O||k)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:k});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({})}return k})();var a=g(6504),r=g(3576),u=g(4060);function h(k){return Error(`Input type "${k}" isn't supported by matInput.`)}const p=new C.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),_=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let y=0,M=(()=>{class k{get disabled(){return this._disabled}set disabled(I){this._disabled=(0,t.W6)(I),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(I){this._id=I||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(a.Validators.required)??!1}set required(I){this._required=(0,t.W6)(I)}get type(){return this._type}set type(I){this._type=I||"text",this._validateType(),!this._isTextarea&&(0,v.mU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(I){this._errorStateTracker.matcher=I}get value(){return this._inputValueAccessor.value}set value(I){I!==this.value&&(this._inputValueAccessor.value=I,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(I){this._readonly=(0,t.W6)(I)}get errorState(){return this._errorStateTracker.errorState}set errorState(I){this._errorStateTracker.errorState=I}constructor(I,O,T,N,S,F,L,A,U,K){this._elementRef=I,this._platform=O,this.ngControl=T,this._autofillMonitor=A,this._formField=K,this._uid="mat-input-"+y++,this.focused=!1,this.stateChanges=new c.E,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(B=>(0,v.mU)().has(B)),this._iOSKeyupListener=B=>{const H=B.target;!H.value&&0===H.selectionStart&&0===H.selectionEnd&&(H.setSelectionRange(1,1),H.setSelectionRange(0,0))};const ee=this._elementRef.nativeElement,ne=ee.nodeName.toLowerCase();this._inputValueAccessor=L||ee,this._previousNativeValue=this.value,this.id=this.id,O.IOS&&U.runOutsideAngular(()=>{I.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new r._ErrorStateTracker(F,T,S,N,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ne,this._isTextarea="textarea"===ne,this._isInFormField=!!K,this._isNativeSelect&&(this.controlType=ee.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(I=>{this.autofilled=I.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(I){this._elementRef.nativeElement.focus(I)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(I){I!==this.focused&&(this.focused=I,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const I=this._elementRef.nativeElement.value;this._previousNativeValue!==I&&(this._previousNativeValue=I,this.stateChanges.next())}_dirtyCheckPlaceholder(){const I=this._getPlaceholder();if(I!==this._previousPlaceholder){const O=this._elementRef.nativeElement;this._previousPlaceholder=I,I?O.setAttribute("placeholder",I):O.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){_.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let I=this._elementRef.nativeElement.validity;return I&&I.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const I=this._elementRef.nativeElement,O=I.options[0];return this.focused||I.multiple||!this.empty||!!(I.selectedIndex>-1&&O&&O.label)}return this.focused||!this.empty}setDescribedByIds(I){I.length?this._elementRef.nativeElement.setAttribute("aria-describedby",I.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const I=this._elementRef.nativeElement;return this._isNativeSelect&&(I.multiple||I.size>1)}static#e=this.\u0275fac=function(O){return new(O||k)(C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(v.WU),C.\u0275\u0275directiveInject(a.NgControl,10),C.\u0275\u0275directiveInject(a.NgForm,8),C.\u0275\u0275directiveInject(a.FormGroupDirective,8),C.\u0275\u0275directiveInject(r.ErrorStateMatcher),C.\u0275\u0275directiveInject(p,10),C.\u0275\u0275directiveInject(s),C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(u.MAT_FORM_FIELD,8))};static#t=this.\u0275dir=C.\u0275\u0275defineDirective({type:k,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(O,T){1&O&&C.\u0275\u0275listener("focus",function(){return T._focusChanged(!0)})("blur",function(){return T._focusChanged(!1)})("input",function(){return T._onInput()}),2&O&&(C.\u0275\u0275hostProperty("id",T.id)("disabled",T.disabled)("required",T.required),C.\u0275\u0275attribute("name",T.name||null)("readonly",T.readonly&&!T._isNativeSelect||null)("aria-invalid",T.empty&&T.required?null:T.errorState)("aria-required",T.required)("id",T.id),C.\u0275\u0275classProp("mat-input-server",T._isServer)("mat-mdc-form-field-textarea-control",T._isInFormField&&T._isTextarea)("mat-mdc-form-field-input-control",T._isInFormField)("mdc-text-field__input",T._isInFormField)("mat-mdc-native-select-inline",T._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[C.\u0275\u0275InputFlags.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[C.\u0275\u0275ProvidersFeature([{provide:u.MatFormFieldControl,useExisting:k}]),C.\u0275\u0275NgOnChangesFeature]})}return k})(),w=(()=>{class k{static#e=this.\u0275fac=function(O){return new(O||k)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:k});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({imports:[r.MatCommonModule,u.MatFormFieldModule,u.MatFormFieldModule,l,r.MatCommonModule]})}return k})()},9880:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_MENU_CONTENT:()=>B,MAT_MENU_DEFAULT_OPTIONS:()=>le,MAT_MENU_PANEL:()=>A,MAT_MENU_SCROLL_STRATEGY:()=>Je,MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>ct,MENU_PANEL_TOP_PADDING:()=>Re,MatMenu:()=>ve,MatMenuContent:()=>H,MatMenuItem:()=>U,MatMenuModule:()=>fe,MatMenuTrigger:()=>ke,fadeInItems:()=>X,matMenuAnimations:()=>z,transformMenu:()=>G});var t=g(4496),v=g(1336),C=g(5420),E=g(5657),c=g(3412),b=g(6928),s=g(2700),f=g(1472),d=g(5568),l=g(7368),a=g(3992),r=g(3616),u=g(6684),h=g(1224),p=g(1368),_=g(3576),y=g(2488),M=g(9684),w=g(1900),k=g(7556),D=g(5792),I=g(1904);const O=["mat-menu-item",""];function T(Ke,Be){1&Ke&&(t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(0,"svg",3),t.\u0275\u0275element(1,"polygon",4),t.\u0275\u0275elementEnd())}const N=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],S=["mat-icon, [matMenuItemIcon]","*"];function F(Ke,Be){if(1&Ke){const Ie=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",0),t.\u0275\u0275listener("keydown",function(q){t.\u0275\u0275restoreView(Ie);const be=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(be._handleKeydown(q))})("click",function(){t.\u0275\u0275restoreView(Ie);const q=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(q.closed.emit("click"))})("@transformMenu.start",function(q){t.\u0275\u0275restoreView(Ie);const be=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(be._onAnimationStart(q))})("@transformMenu.done",function(q){t.\u0275\u0275restoreView(Ie);const be=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(be._onAnimationDone(q))}),t.\u0275\u0275elementStart(1,"div",1),t.\u0275\u0275projection(2),t.\u0275\u0275elementEnd()()}if(2&Ke){const Ie=t.\u0275\u0275nextContext();t.\u0275\u0275property("id",Ie.panelId)("ngClass",Ie._classList)("@transformMenu",Ie._panelAnimationState),t.\u0275\u0275attribute("aria-label",Ie.ariaLabel||null)("aria-labelledby",Ie.ariaLabelledby||null)("aria-describedby",Ie.ariaDescribedby||null)}}const L=["*"],A=new t.InjectionToken("MAT_MENU_PANEL");let U=(()=>{class Ke{constructor(Ie,je,q,be,Oe){this._elementRef=Ie,this._document=je,this._focusMonitor=q,this._parentMenu=be,this._changeDetectorRef=Oe,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new E.E,this._focused=new E.E,this._highlighted=!1,this._triggersSubmenu=!1,be?.addItem?.(this)}focus(Ie,je){this._focusMonitor&&Ie?this._focusMonitor.focusVia(this._getHostElement(),Ie,je):this._getHostElement().focus(je),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(Ie){this.disabled&&(Ie.preventDefault(),Ie.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ie=this._elementRef.nativeElement.cloneNode(!0),je=Ie.querySelectorAll("mat-icon, .material-icons");for(let q=0;q{class Ke{constructor(Ie,je,q,be,Oe,Xe,ge){this._template=Ie,this._componentFactoryResolver=je,this._appRef=q,this._injector=be,this._viewContainerRef=Oe,this._document=Xe,this._changeDetectorRef=ge,this._attached=new E.E}attach(Ie={}){this._portal||(this._portal=new y.CC(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new y.S4(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const je=this._template.elementRef.nativeElement;je.parentNode.insertBefore(this._outlet.outletElement,je),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,Ie),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}static#e=this.\u0275fac=function(je){return new(je||Ke)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.ComponentFactoryResolver),t.\u0275\u0275directiveInject(t.ApplicationRef),t.\u0275\u0275directiveInject(t.Injector),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(p.DOCUMENT),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Ke,selectors:[["ng-template","matMenuContent",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:B,useExisting:Ke}])]})}return Ke})();const z={transformMenu:(0,M.gV)("transformMenu",[(0,M.K2)("void",(0,M.wb)({opacity:0,transform:"scale(0.8)"})),(0,M.aK)("void => enter",(0,M.Cs)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,M.wb)({opacity:1,transform:"scale(1)"}))),(0,M.aK)("* => void",(0,M.Cs)("100ms 25ms linear",(0,M.wb)({opacity:0})))]),fadeInItems:(0,M.gV)("fadeInItems",[(0,M.K2)("showing",(0,M.wb)({opacity:1})),(0,M.aK)("void => *",[(0,M.wb)({opacity:0}),(0,M.Cs)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},X=z.fadeInItems,G=z.transformMenu;let j=0;const le=new t.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function ue(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ve=(()=>{class Ke{get xPosition(){return this._xPosition}set xPosition(Ie){this._xPosition=Ie,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ie){this._yPosition=Ie,this.setPositionClasses()}set panelClass(Ie){const je=this._previousPanelClass;je&&je.length&&je.split(" ").forEach(q=>{this._classList[q]=!1}),this._previousPanelClass=Ie,Ie&&Ie.length&&(Ie.split(" ").forEach(q=>{this._classList[q]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Ie){this.panelClass=Ie}constructor(Ie,je,q,be){this._elementRef=Ie,this._ngZone=je,this._changeDetectorRef=be,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new t.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new E.E,this.closed=new t.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+j++,this.overlayPanelClass=q.overlayPanelClass||"",this._xPosition=q.xPosition,this._yPosition=q.yPosition,this.backdropClass=q.backdropClass,this.overlapTrigger=q.overlapTrigger,this.hasBackdrop=q.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new v.IH(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,d.W)(this._directDescendantItems),(0,l.G)(Ie=>(0,c.U)(...Ie.map(je=>je._focused)))).subscribe(Ie=>this._keyManager.updateActiveItem(Ie)),this._directDescendantItems.changes.subscribe(Ie=>{const je=this._keyManager;if("enter"===this._panelAnimationState&&je.activeItem?._hasFocus()){const q=Ie.toArray(),be=Math.max(0,Math.min(q.length-1,je.activeItemIndex||0));q[be]&&!q[be].disabled?je.setActiveItem(be):je.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,d.W)(this._directDescendantItems),(0,l.G)(je=>(0,c.U)(...je.map(q=>q._hovered))))}addItem(Ie){}removeItem(Ie){}_handleKeydown(Ie){const je=Ie.keyCode,q=this._keyManager;switch(je){case C.UX:(0,C.Yp)(Ie)||(Ie.preventDefault(),this.closed.emit("keydown"));break;case C.Mx:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case C.a4:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(je===C.qI||je===C.Oq)&&q.setFocusOrigin("keyboard"),void q.onKeydown(Ie)}Ie.stopPropagation()}focusFirstItem(Ie="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,a.U)(1)).subscribe(()=>{let je=null;if(this._directDescendantItems.length&&(je=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!je||!je.contains(document.activeElement)){const q=this._keyManager;q.setFocusOrigin(Ie).setFirstItemActive(),!q.activeItem&&je&&je.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ie){const je=Math.min(this._baseElevation+Ie,24),q=`${this._elevationPrefix}${je}`,be=Object.keys(this._classList).find(Oe=>Oe.startsWith(this._elevationPrefix));(!be||be===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[q]=!0,this._previousElevation=q)}setPositionClasses(Ie=this.xPosition,je=this.yPosition){const q=this._classList;q["mat-menu-before"]="before"===Ie,q["mat-menu-after"]="after"===Ie,q["mat-menu-above"]="above"===je,q["mat-menu-below"]="below"===je,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Ie){this._animationDone.next(Ie),this._isAnimating=!1}_onAnimationStart(Ie){this._isAnimating=!0,"enter"===Ie.toState&&0===this._keyManager.activeItemIndex&&(Ie.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.W)(this._allItems)).subscribe(Ie=>{this._directDescendantItems.reset(Ie.filter(je=>je._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(je){return new(je||Ke)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(le),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Ke,selectors:[["mat-menu"]],contentQueries:function(je,q,be){if(1&je&&(t.\u0275\u0275contentQuery(be,B,5),t.\u0275\u0275contentQuery(be,U,5),t.\u0275\u0275contentQuery(be,U,4)),2&je){let Oe;t.\u0275\u0275queryRefresh(Oe=t.\u0275\u0275loadQuery())&&(q.lazyContent=Oe.first),t.\u0275\u0275queryRefresh(Oe=t.\u0275\u0275loadQuery())&&(q._allItems=Oe),t.\u0275\u0275queryRefresh(Oe=t.\u0275\u0275loadQuery())&&(q.items=Oe)}},viewQuery:function(je,q){if(1&je&&t.\u0275\u0275viewQuery(t.TemplateRef,5),2&je){let be;t.\u0275\u0275queryRefresh(be=t.\u0275\u0275loadQuery())&&(q.templateRef=be.first)}},hostVars:3,hostBindings:function(je,q){2&je&&t.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[t.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[t.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[t.\u0275\u0275InputFlags.None,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"overlapTrigger","overlapTrigger",t.booleanAttribute],hasBackdrop:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"hasBackdrop","hasBackdrop",Ie=>null==Ie?null:(0,t.booleanAttribute)(Ie)],panelClass:[t.\u0275\u0275InputFlags.None,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:A,useExisting:Ke}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:L,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(je,q){1&je&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,F,3,6,"ng-template"))},dependencies:[p.NgClass],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;padding-right:var(--mat-menu-item-spacing);padding-left:0}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[z.transformMenu,z.fadeInItems]},changeDetection:0})}return Ke})();const Je=new t.InjectionToken("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Ke=(0,t.inject)(k.mc);return()=>Ke.scrollStrategies.reposition()}}),ct={provide:Je,deps:[k.mc],useFactory:function _t(Ke){return()=>Ke.scrollStrategies.reposition()}},Ct=(0,D.W4)({passive:!0}),Re=8;let ke=(()=>{class Ke{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ie){this.menu=Ie}get menu(){return this._menu}set menu(Ie){Ie!==this._menu&&(this._menu=Ie,this._menuCloseSubscription.unsubscribe(),Ie&&(this._menuCloseSubscription=Ie.close.subscribe(je=>{this._destroyMenu(je),("click"===je||"tab"===je)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(je)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Ie,je,q,be,Oe,Xe,ge,Ve,ot){this._overlay=Ie,this._element=je,this._viewContainerRef=q,this._menuItemInstance=Xe,this._dir=ge,this._focusMonitor=Ve,this._ngZone=ot,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=b.wH.EMPTY,this._hoverSubscription=b.wH.EMPTY,this._menuCloseSubscription=b.wH.EMPTY,this._changeDetectorRef=(0,t.inject)(t.ChangeDetectorRef),this._handleTouchStart=ze=>{(0,v.q0)(ze)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new t.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new t.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=be,this._parentMaterialMenu=Oe instanceof ve?Oe:void 0,je.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ct)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ct),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 Ie=this.menu;if(this._menuOpen||!Ie)return;const je=this._createOverlay(Ie),q=je.getConfig(),be=q.positionStrategy;this._setPosition(Ie,be),q.hasBackdrop=null==Ie.hasBackdrop?!this.triggersSubmenu():Ie.hasBackdrop,je.attach(this._getPortal(Ie)),Ie.lazyContent&&Ie.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Ie),Ie instanceof ve&&(Ie._startAnimation(),Ie._directDescendantItems.changes.pipe((0,r.a)(Ie.close)).subscribe(()=>{be.withLockedPosition(!1).reapplyLastPosition(),be.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Ie,je){this._focusMonitor&&Ie?this._focusMonitor.focusVia(this._element,Ie,je):this._element.nativeElement.focus(je)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Ie){if(!this._overlayRef||!this.menuOpen)return;const je=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Ie||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,je instanceof ve?(je._resetAnimation(),je.lazyContent?je._animationDone.pipe((0,u.I)(q=>"void"===q.toState),(0,a.U)(1),(0,r.a)(je.lazyContent._attached)).subscribe({next:()=>je.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),je?.lazyContent?.detach())}_initMenu(Ie){Ie.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Ie.direction=this.dir,this._setMenuElevation(Ie),Ie.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Ie){if(Ie.setElevation){let je=0,q=Ie.parentMenu;for(;q;)je++,q=q.parentMenu;Ie.setElevation(je)}}_setIsMenuOpen(Ie){Ie!==this._menuOpen&&(this._menuOpen=Ie,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ie),this._changeDetectorRef.markForCheck())}_createOverlay(Ie){if(!this._overlayRef){const je=this._getOverlayConfig(Ie);this._subscribeToPositions(Ie,je.positionStrategy),this._overlayRef=this._overlay.create(je),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Ie){return new k.o9({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ie.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ie.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Ie,je){Ie.setPositionClasses&&je.positionChanges.subscribe(q=>{const be="start"===q.connectionPair.overlayX?"after":"before",Oe="top"===q.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Ie.setPositionClasses(be,Oe)):Ie.setPositionClasses(be,Oe)})}_setPosition(Ie,je){let[q,be]="before"===Ie.xPosition?["end","start"]:["start","end"],[Oe,Xe]="above"===Ie.yPosition?["bottom","top"]:["top","bottom"],[ge,Ve]=[Oe,Xe],[ot,ze]=[q,be],pt=0;if(this.triggersSubmenu()){if(ze=q="before"===Ie.xPosition?"start":"end",be=ot="end"===q?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Pt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Pt?Pt._getHostElement().offsetTop:0}pt="bottom"===Oe?this._parentInnerPadding:-this._parentInnerPadding}}else Ie.overlapTrigger||(ge="top"===Oe?"bottom":"top",Ve="top"===Xe?"bottom":"top");je.withPositions([{originX:q,originY:ge,overlayX:ot,overlayY:Oe,offsetY:pt},{originX:be,originY:ge,overlayX:ze,overlayY:Oe,offsetY:pt},{originX:q,originY:Ve,overlayX:ot,overlayY:Xe,offsetY:-pt},{originX:be,originY:Ve,overlayX:ze,overlayY:Xe,offsetY:-pt}])}_menuClosingActions(){const Ie=this._overlayRef.backdropClick(),je=this._overlayRef.detachments(),q=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,s.of)(),be=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,u.I)(Oe=>Oe!==this._menuItemInstance),(0,u.I)(()=>this._menuOpen)):(0,s.of)();return(0,c.U)(Ie,q,be,je)}_handleMousedown(Ie){(0,v.G3)(Ie)||(this._openedBy=0===Ie.button?"mouse":void 0,this.triggersSubmenu()&&Ie.preventDefault())}_handleKeydown(Ie){const je=Ie.keyCode;(je===C.wJ||je===C.Gi)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(je===C.a4&&"ltr"===this.dir||je===C.Mx&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ie){this.triggersSubmenu()?(Ie.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,u.I)(Ie=>Ie===this._menuItemInstance&&!Ie.disabled),(0,h.o)(0,f.u)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ve&&this.menu._isAnimating?this.menu._animationDone.pipe((0,a.U)(1),(0,h.o)(0,f.u),(0,r.a)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Ie){return(!this._portal||this._portal.templateRef!==Ie.templateRef)&&(this._portal=new y.CC(Ie.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(je){return new(je||Ke)(t.\u0275\u0275directiveInject(k.mc),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(Je),t.\u0275\u0275directiveInject(A,8),t.\u0275\u0275directiveInject(U,10),t.\u0275\u0275directiveInject(w.yG,8),t.\u0275\u0275directiveInject(v.Kk),t.\u0275\u0275directiveInject(t.NgZone))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Ke,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(je,q){1&je&&t.\u0275\u0275listener("click",function(Oe){return q._handleClick(Oe)})("mousedown",function(Oe){return q._handleMousedown(Oe)})("keydown",function(Oe){return q._handleKeydown(Oe)}),2&je&&t.\u0275\u0275attribute("aria-haspopup",q.menu?"menu":null)("aria-expanded",q.menuOpen)("aria-controls",q.menuOpen?q.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[t.\u0275\u0275InputFlags.None,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[t.\u0275\u0275InputFlags.None,"matMenuTriggerFor","menu"],menuData:[t.\u0275\u0275InputFlags.None,"matMenuTriggerData","menuData"],restoreFocus:[t.\u0275\u0275InputFlags.None,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}return Ke})(),fe=(()=>{class Ke{static#e=this.\u0275fac=function(je){return new(je||Ke)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:Ke});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[ct],imports:[p.CommonModule,_.MatRippleModule,_.MatCommonModule,k.Y1,I.uU,_.MatCommonModule]})}return Ke})()},9776:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_PAGINATOR_DEFAULT_OPTIONS:()=>w,MAT_PAGINATOR_INTL_PROVIDER:()=>_,MAT_PAGINATOR_INTL_PROVIDER_FACTORY:()=>p,MatPaginator:()=>I,MatPaginatorIntl:()=>h,MatPaginatorModule:()=>O,PageEvent:()=>M});var t=g(4496),v=g(5657),C=g(7816),E=g(9716),c=g(6496),b=g(4060),s=g(3576);function f(T,N){if(1&T&&(t.\u0275\u0275elementStart(0,"mat-option",18),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&T){const S=N.$implicit;t.\u0275\u0275property("value",S),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",S," ")}}function d(T,N){if(1&T){const S=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),t.\u0275\u0275listener("selectionChange",function(L){t.\u0275\u0275restoreView(S);const A=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(A._changePageSize(L.value))}),t.\u0275\u0275repeaterCreate(2,f,2,2,"mat-option",18,t.\u0275\u0275repeaterTrackByIdentity),t.\u0275\u0275elementEnd()()}if(2&T){const S=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("appearance",S._formFieldAppearance)("color",S.color),t.\u0275\u0275advance(),t.\u0275\u0275property("value",S.pageSize)("disabled",S.disabled)("aria-labelledby",S._pageSizeLabelId)("panelClass",S.selectConfig.panelClass||"")("disableOptionCentering",S.selectConfig.disableOptionCentering),t.\u0275\u0275advance(),t.\u0275\u0275repeater(S._displayedPageSizeOptions)}}function l(T,N){if(1&T&&(t.\u0275\u0275elementStart(0,"div",19),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&T){const S=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate(S.pageSize)}}function a(T,N){if(1&T&&(t.\u0275\u0275elementStart(0,"div",12)(1,"div",13),t.\u0275\u0275text(2),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(3,d,4,7,"mat-form-field",14)(4,l,2,1,"div",15),t.\u0275\u0275elementEnd()),2&T){const S=t.\u0275\u0275nextContext();t.\u0275\u0275advance(),t.\u0275\u0275attribute("id",S._pageSizeLabelId),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",S._intl.itemsPerPageLabel," "),t.\u0275\u0275advance(),t.\u0275\u0275conditional(3,S._displayedPageSizeOptions.length>1?3:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(4,S._displayedPageSizeOptions.length<=1?4:-1)}}function r(T,N){if(1&T){const S=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"button",20),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(S);const L=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(L.firstPage())}),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(1,"svg",7),t.\u0275\u0275element(2,"path",21),t.\u0275\u0275elementEnd()()}if(2&T){const S=t.\u0275\u0275nextContext();t.\u0275\u0275property("matTooltip",S._intl.firstPageLabel)("matTooltipDisabled",S._previousButtonsDisabled())("matTooltipPosition","above")("disabled",S._previousButtonsDisabled()),t.\u0275\u0275attribute("aria-label",S._intl.firstPageLabel)}}function u(T,N){if(1&T){const S=t.\u0275\u0275getCurrentView();t.\u0275\u0275namespaceSVG(),t.\u0275\u0275namespaceHTML(),t.\u0275\u0275elementStart(0,"button",22),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(S);const L=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(L.lastPage())}),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(1,"svg",7),t.\u0275\u0275element(2,"path",23),t.\u0275\u0275elementEnd()()}if(2&T){const S=t.\u0275\u0275nextContext();t.\u0275\u0275property("matTooltip",S._intl.lastPageLabel)("matTooltipDisabled",S._nextButtonsDisabled())("matTooltipPosition","above")("disabled",S._nextButtonsDisabled()),t.\u0275\u0275attribute("aria-label",S._intl.lastPageLabel)}}let h=(()=>{class T{constructor(){this.changes=new v.E,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(S,F,L)=>{if(0==L||0==F)return`0 of ${L}`;const A=S*F;return`${A+1} \u2013 ${A<(L=Math.max(L,0))?Math.min(A+F,L):A+F} of ${L}`}}static#e=this.\u0275fac=function(F){return new(F||T)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})();function p(T){return T||new h}const _={provide:h,deps:[[new t.Optional,new t.SkipSelf,h]],useFactory:p};class M{}const w=new t.InjectionToken("MAT_PAGINATOR_DEFAULT_OPTIONS"),k=(0,s.mixinInitialized)(class{});let D=0,I=(()=>{class T extends k{get pageIndex(){return this._pageIndex}set pageIndex(S){this._pageIndex=Math.max(S||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(S){this._length=S||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(S){this._pageSize=Math.max(S||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(S){this._pageSizeOptions=(S||[]).map(F=>(0,t.numberAttribute)(F,0)),this._updateDisplayedPageSizeOptions()}constructor(S,F,L){if(super(),this._intl=S,this._changeDetectorRef=F,this._pageSizeLabelId="mat-paginator-page-size-label-"+D++,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this.hidePageSize=!1,this.showFirstLastButtons=!1,this.selectConfig={},this.disabled=!1,this.page=new t.EventEmitter,this._intlChanges=S.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),L){const{pageSize:A,pageSizeOptions:U,hidePageSize:K,showFirstLastButtons:ee}=L;null!=A&&(this._pageSize=A),null!=U&&(this._pageSizeOptions=U),null!=K&&(this.hidePageSize=K),null!=ee&&(this.showFirstLastButtons=ee)}this._formFieldAppearance=L?.formFieldAppearance||"outline"}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const S=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(S)}previousPage(){if(!this.hasPreviousPage())return;const S=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(S)}firstPage(){if(!this.hasPreviousPage())return;const S=this.pageIndex;this.pageIndex=0,this._emitPageEvent(S)}lastPage(){if(!this.hasNextPage())return;const S=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(S)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const S=this.getNumberOfPages()-1;return this.pageIndexS-F),this._changeDetectorRef.markForCheck())}_emitPageEvent(S){this.page.emit({previousPageIndex:S,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(F){return new(F||T)(t.\u0275\u0275directiveInject(h),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(w,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:T,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"pageIndex","pageIndex",t.numberAttribute],length:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"length","length",t.numberAttribute],pageSize:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"pageSize","pageSize",t.numberAttribute],pageSizeOptions:"pageSizeOptions",hidePageSize:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"hidePageSize","hidePageSize",t.booleanAttribute],showFirstLastButtons:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"showFirstLastButtons","showFirstLastButtons",t.booleanAttribute],selectConfig:"selectConfig",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute]},outputs:{page:"page"},exportAs:["matPaginator"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-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-mdc-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-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color"],["class","mat-mdc-paginator-page-size-value"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-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-mdc-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(F,L){1&F&&(t.\u0275\u0275elementStart(0,"div",0)(1,"div",1),t.\u0275\u0275template(2,a,5,4,"div",2),t.\u0275\u0275elementStart(3,"div",3)(4,"div",4),t.\u0275\u0275text(5),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(6,r,3,5,"button",5),t.\u0275\u0275elementStart(7,"button",6),t.\u0275\u0275listener("click",function(){return L.previousPage()}),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(8,"svg",7),t.\u0275\u0275element(9,"path",8),t.\u0275\u0275elementEnd()(),t.\u0275\u0275namespaceHTML(),t.\u0275\u0275elementStart(10,"button",9),t.\u0275\u0275listener("click",function(){return L.nextPage()}),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(11,"svg",7),t.\u0275\u0275element(12,"path",10),t.\u0275\u0275elementEnd()(),t.\u0275\u0275template(13,u,3,5,"button",11),t.\u0275\u0275elementEnd()()()),2&F&&(t.\u0275\u0275advance(2),t.\u0275\u0275conditional(2,L.hidePageSize?-1:2),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate1(" ",L._intl.getRangeLabel(L.pageIndex,L.pageSize,L.length)," "),t.\u0275\u0275advance(),t.\u0275\u0275conditional(6,L.showFirstLastButtons?6:-1),t.\u0275\u0275advance(),t.\u0275\u0275property("matTooltip",L._intl.previousPageLabel)("matTooltipDisabled",L._previousButtonsDisabled())("matTooltipPosition","above")("disabled",L._previousButtonsDisabled()),t.\u0275\u0275attribute("aria-label",L._intl.previousPageLabel),t.\u0275\u0275advance(3),t.\u0275\u0275property("matTooltip",L._intl.nextPageLabel)("matTooltipDisabled",L._nextButtonsDisabled())("matTooltipPosition","above")("disabled",L._nextButtonsDisabled()),t.\u0275\u0275attribute("aria-label",L._intl.nextPageLabel),t.\u0275\u0275advance(3),t.\u0275\u0275conditional(13,L.showFirstLastButtons?13:-1))},dependencies:[b.MatFormField,E.MatSelect,s.MatOption,C.MatIconButton,c.a4],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking);--mat-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return T})(),O=(()=>{class T{static#e=this.\u0275fac=function(F){return new(F||T)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:T});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[_],imports:[C.MatButtonModule,E.MatSelectModule,c.KO,I]})}return T})()},7488:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>b,MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>s,MatProgressSpinner:()=>l,MatProgressSpinnerModule:()=>r,MatSpinner:()=>a});var t=g(4496),v=g(1368),C=g(3576);const E=["determinateSpinner"];function c(u,h){if(1&u&&(t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(0,"svg",11),t.\u0275\u0275element(1,"circle",12),t.\u0275\u0275elementEnd()),2&u){const p=t.\u0275\u0275nextContext();t.\u0275\u0275attribute("viewBox",p._viewBox()),t.\u0275\u0275advance(),t.\u0275\u0275styleProp("stroke-dasharray",p._strokeCircumference(),"px")("stroke-dashoffset",p._strokeCircumference()/2,"px")("stroke-width",p._circleStrokeWidth(),"%"),t.\u0275\u0275attribute("r",p._circleRadius())}}const b=new t.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:s});function s(){return{diameter:f}}const f=100;let l=(()=>{class u{get color(){return this._color||this._defaultColor}set color(p){this._color=p}constructor(p,_,y){this._elementRef=p,this._defaultColor="primary",this._value=0,this._diameter=f,this._noopAnimations="NoopAnimations"===_&&!!y&&!y._forceAnimations,this.mode="mat-spinner"===p.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",y&&(y.color&&(this.color=this._defaultColor=y.color),y.diameter&&(this.diameter=y.diameter),y.strokeWidth&&(this.strokeWidth=y.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(p){this._value=Math.max(0,Math.min(100,p||0))}get diameter(){return this._diameter}set diameter(p){this._diameter=p||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(p){this._strokeWidth=p||0}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const p=2*this._circleRadius()+this.strokeWidth;return`0 0 ${p} ${p}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static#e=this.\u0275fac=function(_){return new(_||u)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(b))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:u,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(_,y){if(1&_&&t.\u0275\u0275viewQuery(E,5),2&_){let M;t.\u0275\u0275queryRefresh(M=t.\u0275\u0275loadQuery())&&(y._determinateCircle=M.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(_,y){2&_&&(t.\u0275\u0275attribute("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===y.mode?y.value:null)("mode",y.mode),t.\u0275\u0275classMap("mat-"+y.color),t.\u0275\u0275styleProp("width",y.diameter,"px")("height",y.diameter,"px")("--mdc-circular-progress-size",y.diameter+"px")("--mdc-circular-progress-active-indicator-width",y.diameter+"px"),t.\u0275\u0275classProp("_mat-animation-noopable",y._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===y.mode))},inputs:{color:"color",mode:"mode",value:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"value","value",t.numberAttribute],diameter:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"diameter","diameter",t.numberAttribute],strokeWidth:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"strokeWidth","strokeWidth",t.numberAttribute]},exportAs:["matProgressSpinner"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(_,y){if(1&_&&(t.\u0275\u0275template(0,c,2,8,"ng-template",null,0,t.\u0275\u0275templateRefExtractor),t.\u0275\u0275elementStart(2,"div",1,2),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(4,"svg",3),t.\u0275\u0275element(5,"circle",4),t.\u0275\u0275elementEnd()(),t.\u0275\u0275namespaceHTML(),t.\u0275\u0275elementStart(6,"div",5)(7,"div",6)(8,"div",7),t.\u0275\u0275elementContainer(9,8),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(10,"div",9),t.\u0275\u0275elementContainer(11,8),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(12,"div",10),t.\u0275\u0275elementContainer(13,8),t.\u0275\u0275elementEnd()()()),2&_){const M=t.\u0275\u0275reference(1);t.\u0275\u0275advance(4),t.\u0275\u0275attribute("viewBox",y._viewBox()),t.\u0275\u0275advance(),t.\u0275\u0275styleProp("stroke-dasharray",y._strokeCircumference(),"px")("stroke-dashoffset",y._strokeDashOffset(),"px")("stroke-width",y._circleStrokeWidth(),"%"),t.\u0275\u0275attribute("r",y._circleRadius()),t.\u0275\u0275advance(4),t.\u0275\u0275property("ngTemplateOutlet",M),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngTemplateOutlet",M),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngTemplateOutlet",M)}},dependencies:[v.NgTemplateOutlet],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return u})();const a=l;let r=(()=>{class u{static#e=this.\u0275fac=function(_){return new(_||u)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:u});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[v.CommonModule,C.MatCommonModule]})}return u})()},8568:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_RADIO_DEFAULT_OPTIONS:()=>h,MAT_RADIO_DEFAULT_OPTIONS_FACTORY:()=>p,MAT_RADIO_GROUP:()=>u,MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>r,MatRadioButton:()=>y,MatRadioChange:()=>a,MatRadioGroup:()=>_,MatRadioModule:()=>M});var t=g(4496),v=g(3576),C=g(1336),E=g(1032),c=g(6504),b=g(1368);const s=["input"],f=["formField"],d=["*"];let l=0;class a{constructor(k,D){this.source=k,this.value=D}}const r={provide:c.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(()=>_),multi:!0},u=new t.InjectionToken("MatRadioGroup"),h=new t.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:p});function p(){return{color:"accent"}}let _=(()=>{class w{get name(){return this._name}set name(D){this._name=D,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(D){this._labelPosition="before"===D?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(D){this._value!==D&&(this._value=D,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(D){this._selected=D,this.value=D?D.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(D){this._disabled=D,this._markRadiosForCheck()}get required(){return this._required}set required(D){this._required=D,this._markRadiosForCheck()}constructor(D){this._changeDetector=D,this._value=null,this._name="mat-radio-group-"+l++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new t.EventEmitter}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(D=>D===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(D=>{D.name=this.name,D._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(I=>{I.checked=this.value===I.value,I.checked&&(this._selected=I)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new a(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(D=>D._markForCheck())}writeValue(D){this.value=D,this._changeDetector.markForCheck()}registerOnChange(D){this._controlValueAccessorChangeFn=D}registerOnTouched(D){this.onTouched=D}setDisabledState(D){this.disabled=D,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(I){return new(I||w)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:w,selectors:[["mat-radio-group"]],contentQueries:function(I,O,T){if(1&I&&t.\u0275\u0275contentQuery(T,y,5),2&I){let N;t.\u0275\u0275queryRefresh(N=t.\u0275\u0275loadQuery())&&(O._radios=N)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],required:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"required","required",t.booleanAttribute]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([r,{provide:u,useExisting:w}]),t.\u0275\u0275InputTransformsFeature]})}return w})(),y=(()=>{class w{get checked(){return this._checked}set checked(D){this._checked!==D&&(this._checked=D,D&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!D&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),D&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(D){this._value!==D&&(this._value=D,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===D),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(D){this._labelPosition=D}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(D){this._setDisabled(D)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(D){this._required=D}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(D){this._color=D}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(D,I,O,T,N,S,F,L){this._elementRef=I,this._changeDetector=O,this._focusMonitor=T,this._radioDispatcher=N,this._providerOverride=F,this._uniqueId="mat-radio-"+ ++l,this.id=this._uniqueId,this.disableRipple=!1,this.tabIndex=0,this.change=new t.EventEmitter,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=D,this._noopAnimations="NoopAnimations"===S,L&&(this.tabIndex=(0,t.numberAttribute)(L,0))}focus(D,I){I?this._focusMonitor.focusVia(this._inputElement,I,D):this._inputElement.nativeElement.focus(D)}_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((D,I)=>{D!==this.id&&I===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(D=>{!D&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new a(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(D){D.stopPropagation()}_onInputInteraction(D){if(D.stopPropagation(),!this.checked&&!this.disabled){const I=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),I&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(D){this._onInputInteraction(D),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(D){this._disabled!==D&&(this._disabled=D,this._changeDetector.markForCheck())}_updateTabIndex(){const D=this.radioGroup;let I;if(I=D&&D.selected&&!this.disabled?D.selected===this?this.tabIndex:-1:this.tabIndex,I!==this._previousTabIndex){const O=this._inputElement?.nativeElement;O&&(O.setAttribute("tabindex",I+""),this._previousTabIndex=I)}}static#e=this.\u0275fac=function(I){return new(I||w)(t.\u0275\u0275directiveInject(u,8),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(C.Kk),t.\u0275\u0275directiveInject(E.kT),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(h,8),t.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:w,selectors:[["mat-radio-button"]],viewQuery:function(I,O){if(1&I&&(t.\u0275\u0275viewQuery(s,5),t.\u0275\u0275viewQuery(f,7,t.ElementRef)),2&I){let T;t.\u0275\u0275queryRefresh(T=t.\u0275\u0275loadQuery())&&(O._inputElement=T.first),t.\u0275\u0275queryRefresh(T=t.\u0275\u0275loadQuery())&&(O._rippleTrigger=T.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(I,O){1&I&&t.\u0275\u0275listener("focus",function(){return O._inputElement.nativeElement.focus()}),2&I&&(t.\u0275\u0275attribute("id",O.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),t.\u0275\u0275classProp("mat-primary","primary"===O.color)("mat-accent","accent"===O.color)("mat-warn","warn"===O.color)("mat-mdc-radio-checked",O.checked)("_mat-animation-noopable",O._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[t.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[t.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[t.\u0275\u0275InputFlags.None,"aria-describedby","ariaDescribedby"],disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute],tabIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",D=>null==D?0:(0,t.numberAttribute)(D)],checked:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"checked","checked",t.booleanAttribute],value:"value",labelPosition:"labelPosition",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],required:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"required","required",t.booleanAttribute],color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:d,decls:13,vars:16,consts:[["mat-internal-form-field","",3,"labelPosition"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(I,O){1&I&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"div",0,1)(2,"div",2)(3,"div",3),t.\u0275\u0275listener("click",function(N){return O._onTouchTargetClick(N)}),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"input",4,5),t.\u0275\u0275listener("change",function(N){return O._onInputInteraction(N)}),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(6,"div",6),t.\u0275\u0275element(7,"div",7)(8,"div",8),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(9,"div",9),t.\u0275\u0275element(10,"div",10),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(11,"label",11),t.\u0275\u0275projection(12),t.\u0275\u0275elementEnd()()),2&I&&(t.\u0275\u0275property("labelPosition",O.labelPosition),t.\u0275\u0275advance(2),t.\u0275\u0275classProp("mdc-radio--disabled",O.disabled),t.\u0275\u0275advance(2),t.\u0275\u0275property("id",O.inputId)("checked",O.checked)("disabled",O.disabled)("required",O.required),t.\u0275\u0275attribute("name",O.name)("value",O.value)("aria-label",O.ariaLabel)("aria-labelledby",O.ariaLabelledby)("aria-describedby",O.ariaDescribedby),t.\u0275\u0275advance(5),t.\u0275\u0275property("matRippleTrigger",O._rippleTrigger.nativeElement)("matRippleDisabled",O._isRippleDisabled())("matRippleCentered",!0),t.\u0275\u0275advance(2),t.\u0275\u0275property("for",O.inputId))},dependencies:[v.MatRipple,v._MatInternalFormField],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__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%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__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-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return w})(),M=(()=>{class w{static#e=this.\u0275fac=function(I){return new(I||w)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:w});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[v.MatCommonModule,b.CommonModule,v.MatRippleModule,y,v.MatCommonModule]})}return w})()},9716:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_SELECT_CONFIG:()=>j,MAT_SELECT_SCROLL_STRATEGY:()=>X,MAT_SELECT_SCROLL_STRATEGY_PROVIDER:()=>le,MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>G,MAT_SELECT_TRIGGER:()=>ue,MatError:()=>c.MatError,MatFormField:()=>c.MatFormField,MatHint:()=>c.MatHint,MatLabel:()=>c.MatLabel,MatOptgroup:()=>E.MatOptgroup,MatOption:()=>E.MatOption,MatPrefix:()=>c.MatPrefix,MatSelect:()=>Je,MatSelectChange:()=>ve,MatSelectModule:()=>ct,MatSelectTrigger:()=>_t,MatSuffix:()=>c.MatSuffix,matSelectAnimations:()=>ee});var t=g(7556),v=g(1368),C=g(4496),E=g(3576),c=g(4060),b=g(1904),s=g(1336),f=g(1900),d=g(1032),l=g(5420),a=g(6504),r=g(5657),u=g(1424),h=g(3412),p=g(5568),_=g(7368),y=g(3992),M=g(6684),w=g(4704),k=g(4e3),D=g(3616),I=g(9684);const O=["trigger"],T=["panel"];function N(Ct,Re){if(1&Ct&&(C.\u0275\u0275elementStart(0,"span",9),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&Ct){const ke=C.\u0275\u0275nextContext();C.\u0275\u0275advance(),C.\u0275\u0275textInterpolate(ke.placeholder)}}function S(Ct,Re){1&Ct&&C.\u0275\u0275projection(0)}function F(Ct,Re){if(1&Ct&&(C.\u0275\u0275elementStart(0,"span",11),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&Ct){const ke=C.\u0275\u0275nextContext(2);C.\u0275\u0275advance(),C.\u0275\u0275textInterpolate(ke.triggerValue)}}function L(Ct,Re){if(1&Ct&&(C.\u0275\u0275elementStart(0,"span",10),C.\u0275\u0275template(1,S,1,0)(2,F,2,1),C.\u0275\u0275elementEnd()),2&Ct){const ke=C.\u0275\u0275nextContext();C.\u0275\u0275advance(),C.\u0275\u0275conditional(1,ke.customTrigger?1:2)}}function A(Ct,Re){if(1&Ct){const ke=C.\u0275\u0275getCurrentView();C.\u0275\u0275namespaceSVG(),C.\u0275\u0275namespaceHTML(),C.\u0275\u0275elementStart(0,"div",12,13),C.\u0275\u0275listener("@transformPanel.done",function(Ke){C.\u0275\u0275restoreView(ke);const Be=C.\u0275\u0275nextContext();return C.\u0275\u0275resetView(Be._panelDoneAnimatingStream.next(Ke.toState))})("keydown",function(Ke){C.\u0275\u0275restoreView(ke);const Be=C.\u0275\u0275nextContext();return C.\u0275\u0275resetView(Be._handleKeydown(Ke))}),C.\u0275\u0275projection(2,1),C.\u0275\u0275elementEnd()}if(2&Ct){const ke=C.\u0275\u0275nextContext();C.\u0275\u0275classMapInterpolate1("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",ke._getPanelTheme(),""),C.\u0275\u0275property("ngClass",ke.panelClass)("@transformPanel","showing"),C.\u0275\u0275attribute("id",ke.id+"-panel")("aria-multiselectable",ke.multiple)("aria-label",ke.ariaLabel||null)("aria-labelledby",ke._getPanelAriaLabelledby())}}const U=[[["mat-select-trigger"]],"*"],K=["mat-select-trigger","*"],ee={transformPanelWrap:(0,I.gV)("transformPanelWrap",[(0,I.aK)("* => void",(0,I.kt)("@transformPanel",[(0,I.Ql)()],{optional:!0}))]),transformPanel:(0,I.gV)("transformPanel",[(0,I.K2)("void",(0,I.wb)({opacity:0,transform:"scale(1, 0.8)"})),(0,I.aK)("void => showing",(0,I.Cs)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,I.wb)({opacity:1,transform:"scale(1, 1)"}))),(0,I.aK)("* => void",(0,I.Cs)("100ms linear",(0,I.wb)({opacity:0})))])};let z=0;const X=new C.InjectionToken("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const Ct=(0,C.inject)(t.mc);return()=>Ct.scrollStrategies.reposition()}});function G(Ct){return()=>Ct.scrollStrategies.reposition()}const j=new C.InjectionToken("MAT_SELECT_CONFIG"),le={provide:X,deps:[t.mc],useFactory:G},ue=new C.InjectionToken("MatSelectTrigger");class ve{constructor(Re,ke){this.source=Re,this.value=ke}}let Je=(()=>{class Ct{_scrollOptionIntoView(ke){const fe=this.options.toArray()[ke];if(fe){const Ke=this.panel.nativeElement,Be=(0,E._countGroupLabelsBeforeOption)(ke,this.options,this.optionGroups),Ie=fe._getHostElement();Ke.scrollTop=0===ke&&1===Be?0:(0,E._getOptionScrollPosition)(Ie.offsetTop,Ie.offsetHeight,Ke.scrollTop,Ke.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(ke){return new ve(this,ke)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(ke){this._hideSingleSelectionIndicator=ke,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(ke){this._placeholder=ke,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(a.Validators.required)??!1}set required(ke){this._required=ke,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(ke){this._multiple=ke}get compareWith(){return this._compareWith}set compareWith(ke){this._compareWith=ke,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(ke){this._assignValue(ke)&&this._onChange(ke)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(ke){this._errorStateTracker.matcher=ke}get id(){return this._id}set id(ke){this._id=ke||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(ke){this._errorStateTracker.errorState=ke}constructor(ke,fe,Ke,Be,Ie,je,q,be,Oe,Xe,ge,Ve,ot,ze){this._viewportRuler=ke,this._changeDetectorRef=fe,this._ngZone=Ke,this._elementRef=Ie,this._dir=je,this._parentFormField=Oe,this.ngControl=Xe,this._liveAnnouncer=ot,this._defaultOptions=ze,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(pt,Pt)=>pt===Pt,this._uid="mat-select-"+z++,this._triggerAriaLabelledBy=null,this._destroy=new r.E,this.stateChanges=new r.E,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+z++,this._panelDoneAnimatingStream=new r.E,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=(0,u.Q)(()=>{const pt=this.options;return pt?pt.changes.pipe((0,p.W)(pt),(0,_.G)(()=>(0,h.U)(...pt.map(Pt=>Pt.onSelectionChange)))):this._ngZone.onStable.pipe((0,y.U)(1),(0,_.G)(()=>this.optionSelectionChanges))}),this.openedChange=new C.EventEmitter,this._openedStream=this.openedChange.pipe((0,M.I)(pt=>pt),(0,w.k)(()=>{})),this._closedStream=this.openedChange.pipe((0,M.I)(pt=>!pt),(0,w.k)(()=>{})),this.selectionChange=new C.EventEmitter,this.valueChange=new C.EventEmitter,this._trackedModal=null,this._skipPredicate=pt=>!this.panelOpen&&pt.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=ze?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=ze.typeaheadDebounceInterval),this._errorStateTracker=new E._ErrorStateTracker(Be,Xe,be,q,this.stateChanges),this._scrollStrategyFactory=Ve,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(ge)||0,this.id=this.id}ngOnInit(){this._selectionModel=new d.e2(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,k.a)(),(0,D.a)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,D.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,D.a)(this._destroy)).subscribe(ke=>{ke.added.forEach(fe=>fe.select()),ke.removed.forEach(fe=>fe.deselect())}),this.options.changes.pipe((0,p.W)(null),(0,D.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const ke=this._getTriggerAriaLabelledby(),fe=this.ngControl;if(ke!==this._triggerAriaLabelledBy){const Ke=this._elementRef.nativeElement;this._triggerAriaLabelledBy=ke,ke?Ke.setAttribute("aria-labelledby",ke):Ke.removeAttribute("aria-labelledby")}fe&&(this._previousControl!==fe.control&&(void 0!==this._previousControl&&null!==fe.disabled&&fe.disabled!==this.disabled&&(this.disabled=fe.disabled),this._previousControl=fe.control),this.updateErrorState())}ngOnChanges(ke){(ke.disabled||ke.userAriaDescribedBy)&&this.stateChanges.next(),ke.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._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const ke=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!ke)return;const fe=`${this.id}-panel`;this._trackedModal&&(0,s.Cs)(this._trackedModal,"aria-owns",fe),(0,s.AZ)(ke,"aria-owns",fe),this._trackedModal=ke}_clearFromModal(){this._trackedModal&&((0,s.Cs)(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(),this.stateChanges.next())}writeValue(ke){this._assignValue(ke)}registerOnChange(ke){this._onChange=ke}registerOnTouched(ke){this._onTouched=ke}setDisabledState(ke){this.disabled=ke,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 ke=this._selectionModel.selected.map(fe=>fe.viewValue);return this._isRtl()&&ke.reverse(),ke.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(ke){this.disabled||(this.panelOpen?this._handleOpenKeydown(ke):this._handleClosedKeydown(ke))}_handleClosedKeydown(ke){const fe=ke.keyCode,Ke=fe===l.Oq||fe===l.qI||fe===l.Mx||fe===l.a4,Be=fe===l.wJ||fe===l.Gi,Ie=this._keyManager;if(!Ie.isTyping()&&Be&&!(0,l.Yp)(ke)||(this.multiple||ke.altKey)&&Ke)ke.preventDefault(),this.open();else if(!this.multiple){const je=this.selected;Ie.onKeydown(ke);const q=this.selected;q&&je!==q&&this._liveAnnouncer.announce(q.viewValue,1e4)}}_handleOpenKeydown(ke){const fe=this._keyManager,Ke=ke.keyCode,Be=Ke===l.Oq||Ke===l.qI,Ie=fe.isTyping();if(Be&&ke.altKey)ke.preventDefault(),this.close();else if(Ie||Ke!==l.wJ&&Ke!==l.Gi||!fe.activeItem||(0,l.Yp)(ke))if(!Ie&&this._multiple&&Ke===l.A&&ke.ctrlKey){ke.preventDefault();const je=this.options.some(q=>!q.disabled&&!q.selected);this.options.forEach(q=>{q.disabled||(je?q.select():q.deselect())})}else{const je=fe.activeItemIndex;fe.onKeydown(ke),this._multiple&&Be&&ke.shiftKey&&fe.activeItem&&fe.activeItemIndex!==je&&fe.activeItem._selectViaInteraction()}else ke.preventDefault(),fe.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,y.U)(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(ke){if(this.options.forEach(fe=>fe.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&ke)Array.isArray(ke),ke.forEach(fe=>this._selectOptionByValue(fe)),this._sortValues();else{const fe=this._selectOptionByValue(ke);fe?this._keyManager.updateActiveItem(fe):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(ke){const fe=this.options.find(Ke=>{if(this._selectionModel.isSelected(Ke))return!1;try{return null!=Ke.value&&this._compareWith(Ke.value,ke)}catch{return!1}});return fe&&this._selectionModel.select(fe),fe}_assignValue(ke){return!!(ke!==this._value||this._multiple&&Array.isArray(ke))&&(this.options&&this._setSelectionByValue(ke),this._value=ke,!0)}_getOverlayWidth(ke){return"auto"===this.panelWidth?(ke instanceof t.wW?ke.elementRef:ke||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const ke of this.options)ke._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new s.mJ(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 ke=(0,h.U)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,D.a)(ke)).subscribe(fe=>{this._onSelect(fe.source,fe.isUserInput),fe.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,h.U)(...this.options.map(fe=>fe._stateChanges)).pipe((0,D.a)(ke)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(ke,fe){const Ke=this._selectionModel.isSelected(ke);null!=ke.value||this._multiple?(Ke!==ke.selected&&(ke.selected?this._selectionModel.select(ke):this._selectionModel.deselect(ke)),fe&&this._keyManager.setActiveItem(ke),this.multiple&&(this._sortValues(),fe&&this.focus())):(ke.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(ke.value)),Ke!==this._selectionModel.isSelected(ke)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const ke=this.options.toArray();this._selectionModel.sort((fe,Ke)=>this.sortComparator?this.sortComparator(fe,Ke,ke):ke.indexOf(fe)-ke.indexOf(Ke)),this.stateChanges.next()}}_propagateChanges(ke){let fe;fe=this.multiple?this.selected.map(Ke=>Ke.value):this.selected?this.selected.value:ke,this._value=fe,this.valueChange.emit(fe),this._onChange(fe),this.selectionChange.emit(this._getChangeEvent(fe)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let ke=-1;for(let fe=0;fe0}focus(ke){this._elementRef.nativeElement.focus(ke)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const ke=this._parentFormField?.getLabelId();return this.ariaLabelledby?(ke?ke+" ":"")+this.ariaLabelledby:ke}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const ke=this._parentFormField?.getLabelId();let fe=(ke?ke+" ":"")+this._valueId;return this.ariaLabelledby&&(fe+=" "+this.ariaLabelledby),fe}_panelDoneAnimating(ke){this.openedChange.emit(ke)}setDescribedByIds(ke){ke.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ke.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static#e=this.\u0275fac=function(fe){return new(fe||Ct)(C.\u0275\u0275directiveInject(b.S8),C.\u0275\u0275directiveInject(C.ChangeDetectorRef),C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(E.ErrorStateMatcher),C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(f.yG,8),C.\u0275\u0275directiveInject(a.NgForm,8),C.\u0275\u0275directiveInject(a.FormGroupDirective,8),C.\u0275\u0275directiveInject(c.MAT_FORM_FIELD,8),C.\u0275\u0275directiveInject(a.NgControl,10),C.\u0275\u0275injectAttribute("tabindex"),C.\u0275\u0275directiveInject(X),C.\u0275\u0275directiveInject(s.mE),C.\u0275\u0275directiveInject(j,8))};static#t=this.\u0275cmp=C.\u0275\u0275defineComponent({type:Ct,selectors:[["mat-select"]],contentQueries:function(fe,Ke,Be){if(1&fe&&(C.\u0275\u0275contentQuery(Be,ue,5),C.\u0275\u0275contentQuery(Be,E.MatOption,5),C.\u0275\u0275contentQuery(Be,E.MAT_OPTGROUP,5)),2&fe){let Ie;C.\u0275\u0275queryRefresh(Ie=C.\u0275\u0275loadQuery())&&(Ke.customTrigger=Ie.first),C.\u0275\u0275queryRefresh(Ie=C.\u0275\u0275loadQuery())&&(Ke.options=Ie),C.\u0275\u0275queryRefresh(Ie=C.\u0275\u0275loadQuery())&&(Ke.optionGroups=Ie)}},viewQuery:function(fe,Ke){if(1&fe&&(C.\u0275\u0275viewQuery(O,5),C.\u0275\u0275viewQuery(T,5),C.\u0275\u0275viewQuery(t.eC,5)),2&fe){let Be;C.\u0275\u0275queryRefresh(Be=C.\u0275\u0275loadQuery())&&(Ke.trigger=Be.first),C.\u0275\u0275queryRefresh(Be=C.\u0275\u0275loadQuery())&&(Ke.panel=Be.first),C.\u0275\u0275queryRefresh(Be=C.\u0275\u0275loadQuery())&&(Ke._overlayDir=Be.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(fe,Ke){1&fe&&C.\u0275\u0275listener("keydown",function(Ie){return Ke._handleKeydown(Ie)})("focus",function(){return Ke._onFocus()})("blur",function(){return Ke._onBlur()}),2&fe&&(C.\u0275\u0275attribute("id",Ke.id)("tabindex",Ke.disabled?-1: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()),C.\u0275\u0275classProp("mat-mdc-select-disabled",Ke.disabled)("mat-mdc-select-invalid",Ke.errorState)("mat-mdc-select-required",Ke.required)("mat-mdc-select-empty",Ke.empty)("mat-mdc-select-multiple",Ke.multiple))},inputs:{userAriaDescribedBy:[C.\u0275\u0275InputFlags.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",C.booleanAttribute],disableRipple:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",C.booleanAttribute],tabIndex:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",ke=>null==ke?0:(0,C.numberAttribute)(ke)],hideSingleSelectionIndicator:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",C.booleanAttribute],placeholder:"placeholder",required:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"required","required",C.booleanAttribute],multiple:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"multiple","multiple",C.booleanAttribute],disableOptionCentering:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",C.booleanAttribute],compareWith:"compareWith",value:"value",ariaLabel:[C.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[C.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",C.numberAttribute],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[C.\u0275\u0275ProvidersFeature([{provide:c.MatFormFieldControl,useExisting:Ct},{provide:E.MAT_OPTION_PARENT_COMPONENT,useExisting:Ct}]),C.\u0275\u0275InputTransformsFeature,C.\u0275\u0275NgOnChangesFeature,C.\u0275\u0275StandaloneFeature],ngContentSelectors:K,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(fe,Ke){if(1&fe&&(C.\u0275\u0275projectionDef(U),C.\u0275\u0275elementStart(0,"div",0,1),C.\u0275\u0275listener("click",function(){return Ke.open()}),C.\u0275\u0275elementStart(3,"div",2),C.\u0275\u0275template(4,N,2,1,"span",3)(5,L,3,1),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(6,"div",4)(7,"div",5),C.\u0275\u0275namespaceSVG(),C.\u0275\u0275elementStart(8,"svg",6),C.\u0275\u0275element(9,"path",7),C.\u0275\u0275elementEnd()()()(),C.\u0275\u0275template(10,A,3,9,"ng-template",8),C.\u0275\u0275listener("backdropClick",function(){return Ke.close()})("attach",function(){return Ke._onAttached()})("detach",function(){return Ke.close()})),2&fe){const Be=C.\u0275\u0275reference(1);C.\u0275\u0275advance(3),C.\u0275\u0275attribute("id",Ke._valueId),C.\u0275\u0275advance(),C.\u0275\u0275conditional(4,Ke.empty?4:5),C.\u0275\u0275advance(6),C.\u0275\u0275property("cdkConnectedOverlayPanelClass",Ke._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ke._scrollStrategy)("cdkConnectedOverlayOrigin",Ke._preferredOverlayOrigin||Be)("cdkConnectedOverlayOpen",Ke.panelOpen)("cdkConnectedOverlayPositions",Ke._positions)("cdkConnectedOverlayWidth",Ke._overlayWidth)}},dependencies:[t.wW,t.eC,v.NgClass],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[ee.transformPanel]},changeDetection:0})}return Ct})(),_t=(()=>{class Ct{static#e=this.\u0275fac=function(fe){return new(fe||Ct)};static#t=this.\u0275dir=C.\u0275\u0275defineDirective({type:Ct,selectors:[["mat-select-trigger"]],standalone:!0,features:[C.\u0275\u0275ProvidersFeature([{provide:ue,useExisting:Ct}])]})}return Ct})(),ct=(()=>{class Ct{static#e=this.\u0275fac=function(fe){return new(fe||Ct)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:Ct});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({providers:[le],imports:[v.CommonModule,t.Y1,E.MatOptionModule,E.MatCommonModule,b.uU,c.MatFormFieldModule,E.MatOptionModule,E.MatCommonModule]})}return Ct})()},7760:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>f,MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>u,MAT_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>d,MatSlideToggle:()=>r,MatSlideToggleChange:()=>l,MatSlideToggleModule:()=>_,MatSlideToggleRequiredValidator:()=>h,_MatSlideToggleRequiredValidatorModule:()=>p});var t=g(4496),v=g(6504),C=g(1336),E=g(3576);const c=["switch"];function b(y,M){1&y&&(t.\u0275\u0275elementStart(0,"div",12),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(1,"svg",13),t.\u0275\u0275element(2,"path",14),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"svg",15),t.\u0275\u0275element(4,"path",16),t.\u0275\u0275elementEnd()())}const s=["*"],f=new t.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),d={provide:v.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(()=>r),multi:!0};class l{constructor(M,w){this.source=M,this.checked=w}}let a=0,r=(()=>{class y{_createChangeEvent(w){return new l(this,w)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(w){this._checked=w,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(w,k,D,I,O,T){this._elementRef=w,this._focusMonitor=k,this._changeDetectorRef=D,this.defaults=O,this._onChange=N=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new t.EventEmitter,this.toggleChange=new t.EventEmitter,this.tabIndex=parseInt(I)||0,this.color=O.color||"accent",this._noopAnimations="NoopAnimations"===T,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++a,this.hideIcon=O.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(w=>{"keyboard"===w||"program"===w?(this._focused=!0,this._changeDetectorRef.markForCheck()):w||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(w){w.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(w){this.checked=!!w}registerOnChange(w){this._onChange=w}registerOnTouched(w){this._onTouched=w}validate(w){return this.required&&!0!==w.value?{required:!0}:null}registerOnValidatorChange(w){this._validatorOnChange=w}setDisabledState(w){this.disabled=w,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new l(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(k){return new(k||y)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(C.Kk),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275injectAttribute("tabindex"),t.\u0275\u0275directiveInject(f),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:y,selectors:[["mat-slide-toggle"]],viewQuery:function(k,D){if(1&k&&t.\u0275\u0275viewQuery(c,5),2&k){let I;t.\u0275\u0275queryRefresh(I=t.\u0275\u0275loadQuery())&&(D._switchElement=I.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(k,D){2&k&&(t.\u0275\u0275hostProperty("id",D.id),t.\u0275\u0275attribute("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),t.\u0275\u0275classMap(D.color?"mat-"+D.color:""),t.\u0275\u0275classProp("mat-mdc-slide-toggle-focused",D._focused)("mat-mdc-slide-toggle-checked",D.checked)("_mat-animation-noopable",D._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[t.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[t.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[t.\u0275\u0275InputFlags.None,"aria-describedby","ariaDescribedby"],required:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"required","required",t.booleanAttribute],color:"color",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute],tabIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",w=>null==w?0:(0,t.numberAttribute)(w)],checked:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"checked","checked",t.booleanAttribute],hideIcon:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"hideIcon","hideIcon",t.booleanAttribute]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([d,{provide:v.NG_VALIDATORS,useExisting:y,multi:!0}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:s,decls:13,vars:24,consts:[["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],["class","mdc-switch__icons"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(k,D){if(1&k&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"div",0)(1,"button",1,2),t.\u0275\u0275listener("click",function(){return D._handleClick()}),t.\u0275\u0275element(3,"div",3),t.\u0275\u0275elementStart(4,"div",4)(5,"div",5)(6,"div",6),t.\u0275\u0275element(7,"div",7),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(8,"div",8),t.\u0275\u0275element(9,"div",9),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(10,b,5,0,"div",10),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275elementStart(11,"label",11),t.\u0275\u0275listener("click",function(O){return O.stopPropagation()}),t.\u0275\u0275projection(12),t.\u0275\u0275elementEnd()()),2&k){const I=t.\u0275\u0275reference(2);t.\u0275\u0275property("labelPosition",D.labelPosition),t.\u0275\u0275advance(),t.\u0275\u0275classProp("mdc-switch--selected",D.checked)("mdc-switch--unselected",!D.checked)("mdc-switch--checked",D.checked)("mdc-switch--disabled",D.disabled),t.\u0275\u0275property("tabIndex",D.disabled?-1:D.tabIndex)("disabled",D.disabled),t.\u0275\u0275attribute("id",D.buttonId)("name",D.name)("aria-label",D.ariaLabel)("aria-labelledby",D._getAriaLabelledBy())("aria-describedby",D.ariaDescribedby)("aria-required",D.required||null)("aria-checked",D.checked),t.\u0275\u0275advance(8),t.\u0275\u0275property("matRippleTrigger",I)("matRippleDisabled",D.disableRipple||D.disabled)("matRippleCentered",!0),t.\u0275\u0275advance(),t.\u0275\u0275conditional(10,D.hideIcon?-1:10),t.\u0275\u0275advance(),t.\u0275\u0275property("for",D.buttonId),t.\u0275\u0275attribute("id",D._labelId)}},dependencies:[E.MatRipple,E._MatInternalFormField],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0})}return y})();const u={provide:v.NG_VALIDATORS,useExisting:(0,t.forwardRef)(()=>h),multi:!0};let h=(()=>{class y extends v.CheckboxRequiredValidator{static#e=this.\u0275fac=(()=>{let w;return function(D){return(w||(w=t.\u0275\u0275getInheritedFactory(y)))(D||y)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:y,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([u]),t.\u0275\u0275InheritDefinitionFeature]})}return y})(),p=(()=>{class y{static#e=this.\u0275fac=function(k){return new(k||y)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:y});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return y})(),_=(()=>{class y{static#e=this.\u0275fac=function(k){return new(k||y)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:y});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[r,E.MatCommonModule,E.MatCommonModule]})}return y})()},7300:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MatSlider:()=>T,MatSliderChange:()=>I,MatSliderModule:()=>K,MatSliderRangeThumb:()=>U,MatSliderThumb:()=>A,MatSliderVisualThumb:()=>O});var t=g(1900),v=g(5792),C=g(4496),E=g(3576),c=g(6504),b=g(5657);const s=["knob"],f=["valueIndicatorContainer"];function d(ee,ne){if(1&ee&&(C.\u0275\u0275elementStart(0,"div",4,5)(2,"div",6)(3,"span",7),C.\u0275\u0275text(4),C.\u0275\u0275elementEnd()()()),2&ee){const B=C.\u0275\u0275nextContext();C.\u0275\u0275advance(4),C.\u0275\u0275textInterpolate(B.valueIndicatorText)}}const l=["trackActive"];function a(ee,ne){if(1&ee&&C.\u0275\u0275element(0,"div"),2&ee){const B=ne.$implicit,H=ne.$index,z=C.\u0275\u0275nextContext(3);C.\u0275\u0275classMap(0===B?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),C.\u0275\u0275styleProp("transform",z._calcTickMarkTransform(H))}}function r(ee,ne){if(1&ee&&C.\u0275\u0275repeaterCreate(0,a,1,4,"div",9,C.\u0275\u0275repeaterTrackByIdentity),2&ee){const B=C.\u0275\u0275nextContext(2);C.\u0275\u0275repeater(B._tickMarks)}}function u(ee,ne){if(1&ee&&(C.\u0275\u0275elementStart(0,"div",7,8),C.\u0275\u0275template(2,r,2,0),C.\u0275\u0275elementEnd()),2&ee){const B=C.\u0275\u0275nextContext();C.\u0275\u0275advance(2),C.\u0275\u0275conditional(2,B._cachedWidth?2:-1)}}function h(ee,ne){if(1&ee&&C.\u0275\u0275element(0,"mat-slider-visual-thumb",6),2&ee){const B=C.\u0275\u0275nextContext();C.\u0275\u0275property("discrete",B.discrete)("thumbPosition",1)("valueIndicatorText",B.startValueIndicatorText)}}const p=["*"];var _=function(ee){return ee[ee.START=1]="START",ee[ee.END=2]="END",ee}(_||{}),y=function(ee){return ee[ee.ACTIVE=0]="ACTIVE",ee[ee.INACTIVE=1]="INACTIVE",ee}(y||{});const M=new C.InjectionToken("_MatSlider"),w=new C.InjectionToken("_MatSliderThumb"),k=new C.InjectionToken("_MatSliderRangeThumb"),D=new C.InjectionToken("_MatSliderVisualThumb");class I{}let O=(()=>{class ee{constructor(B,H,z,X){this._cdr=B,this._ngZone=H,this._slider=X,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._platform=(0,C.inject)(v.WU),this._onPointerMove=G=>{if(this._sliderInput._isFocused)return;const j=this._hostElement.getBoundingClientRect(),le=this._slider._isCursorOnSliderThumb(G,j);this._isHovered=le,le?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=G=>{0===G.button&&(this._isActive=!0,this._showActiveRipple())},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef),this._platform.SAFARI&&this._showHoverRipple()},this._hostElement=z.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const B=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{B.addEventListener("pointermove",this._onPointerMove),B.addEventListener("pointerdown",this._onDragStart),B.addEventListener("pointerup",this._onDragEnd),B.addEventListener("pointerleave",this._onMouseLeave),B.addEventListener("focus",this._onFocus),B.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const B=this._sliderInputEl;B&&(B.removeEventListener("pointermove",this._onPointerMove),B.removeEventListener("pointerdown",this._onDragStart),B.removeEventListener("pointerup",this._onDragEnd),B.removeEventListener("pointerleave",this._onMouseLeave),B.removeEventListener("focus",this._onFocus),B.removeEventListener("blur",this._onBlur))}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(B){return B?.state===E.RippleState.FADING_IN||B?.state===E.RippleState.VISIBLE}_showRipple(B,H){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(this.thumbPosition===_.START?_.END:_.START)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||H))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:B,centered:!0,persistent:!0})}_hideRipple(B){if(B?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const H=this._getSibling();H._isShowingAnyRipple()||(this._hideValueIndicator(),H._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(this.thumbPosition===_.START?_.END:_.START)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static#e=this.\u0275fac=function(H){return new(H||ee)(C.\u0275\u0275directiveInject(C.ChangeDetectorRef),C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(M))};static#t=this.\u0275cmp=C.\u0275\u0275defineComponent({type:ee,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(H,z){if(1&H&&(C.\u0275\u0275viewQuery(E.MatRipple,5),C.\u0275\u0275viewQuery(s,5),C.\u0275\u0275viewQuery(f,5)),2&H){let X;C.\u0275\u0275queryRefresh(X=C.\u0275\u0275loadQuery())&&(z._ripple=X.first),C.\u0275\u0275queryRefresh(X=C.\u0275\u0275loadQuery())&&(z._knob=X.first),C.\u0275\u0275queryRefresh(X=C.\u0275\u0275loadQuery())&&(z._valueIndicatorContainer=X.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},standalone:!0,features:[C.\u0275\u0275ProvidersFeature([{provide:D,useExisting:ee}]),C.\u0275\u0275StandaloneFeature],decls:4,vars:2,consts:[["class","mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["knob",""],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator-container"],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(H,z){1&H&&(C.\u0275\u0275template(0,d,5,1,"div",0),C.\u0275\u0275element(1,"div",1,2)(3,"div",3)),2&H&&(C.\u0275\u0275conditional(0,z.discrete?0:-1),C.\u0275\u0275advance(3),C.\u0275\u0275property("matRippleDisabled",!0))},dependencies:[E.MatRipple],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0})}return ee})(),T=(()=>{class ee{get disabled(){return this._disabled}set disabled(B){this._disabled=B;const H=this._getInput(_.END),z=this._getInput(_.START);H&&(H.disabled=this._disabled),z&&(z.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(B){this._discrete=B,this._updateValueIndicatorUIs()}get min(){return this._min}set min(B){const H=isNaN(B)?this._min:B;this._min!==H&&this._updateMin(H)}_updateMin(B){const H=this._min;this._min=B,this._isRange?this._updateMinRange({old:H,new:B}):this._updateMinNonRange(B),this._onMinMaxOrStepChange()}_updateMinRange(B){const H=this._getInput(_.END),z=this._getInput(_.START),X=H.value,G=z.value;z.min=B.new,H.min=Math.max(B.new,z.value),z.max=Math.min(H.max,H.value),z._updateWidthInactive(),H._updateWidthInactive(),B.newB.old?this._onTranslateXChangeBySideEffect(z,H):this._onTranslateXChangeBySideEffect(H,z),X!==H.value&&this._onValueChange(H),G!==z.value&&this._onValueChange(z)}_updateMaxNonRange(B){const H=this._getInput(_.END);if(H){const z=H.value;H.max=B,H._updateThumbUIByValue(),this._updateTrackUI(H),z!==H.value&&this._onValueChange(H)}}get step(){return this._step}set step(B){const H=isNaN(B)?this._step:B;this._step!==H&&this._updateStep(H)}_updateStep(B){this._step=B,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const B=this._getInput(_.END),H=this._getInput(_.START),z=B.value,X=H.value,G=H.value;B.min=this._min,H.max=this._max,B.step=this._step,H.step=this._step,this._platform.SAFARI&&(B.value=B.value,H.value=H.value),B.min=Math.max(this._min,H.value),H.max=Math.min(this._max,B.value),H._updateWidthInactive(),B._updateWidthInactive(),B.value`${le}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._platform=(0,C.inject)(v.WU),this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===j,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const B=this._getInput(_.END),H=this._getInput(_.START);this._isRange=!!B&&!!H,this._cdr.detectChanges();const z=this._getThumb(_.END);this._rippleRadius=z._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._isRange?this._initUIRange(B,H):this._initUINonRange(B),this._updateTrackUI(B),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(B){B.initProps(),B.initUI(),this._updateValueIndicatorUI(B),this._hasViewInitialized=!0,B._updateThumbUIByValue()}_initUIRange(B,H){B.initProps(),B.initUI(),H.initProps(),H.initUI(),B._updateMinMax(),H._updateMinMax(),B._updateStaticStyles(),H._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,B._updateThumbUIByValue(),H._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const B=this._getInput(_.END),H=this._getInput(_.START);B._setIsLeftThumb(),H._setIsLeftThumb(),B.translateX=B._calcTranslateXByValue(),H.translateX=H._calcTranslateXByValue(),B._updateStaticStyles(),H._updateStaticStyles(),B._updateWidthInactive(),H._updateWidthInactive(),B._updateThumbUIByValue(),H._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(_.END)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(_.START)._isActive||this._getThumb(_.END)._isActive}_getValue(B=_.END){const H=this._getInput(B);return H?H.value:this.min}_skipUpdate(){return!(!this._getInput(_.START)?._skipUIUpdate&&!this._getInput(_.END)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(B){const H=this._trackActive.nativeElement.style;H.left=B.left,H.right=B.right,H.transformOrigin=B.transformOrigin,H.transform=B.transform}_calcTickMarkTransform(B){return`translateX(${B*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(B){this._hasViewInitialized&&(this._updateThumbUI(B),this._updateTrackUI(B),this._updateOverlappingThumbUI(B))}_onTranslateXChangeBySideEffect(B,H){this._hasViewInitialized&&(B._updateThumbUIByValue(),H._updateThumbUIByValue())}_onValueChange(B){this._hasViewInitialized&&(this._updateValueIndicatorUI(B),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const B=this._getInput(_.END),H=this._getInput(_.START);B._updateThumbUIByValue(),H._updateThumbUIByValue(),B._updateStaticStyles(),H._updateStaticStyles(),B._updateMinMax(),H._updateMinMax(),B._updateWidthInactive(),H._updateWidthInactive()}else{const B=this._getInput(_.END);B&&B._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const B=this._getInput(_.START),H=this._getInput(_.END);return!(!B||!H)&&H.translateX-B.translateX<20}_updateOverlappingThumbClassNames(B){const H=B.getSibling(),z=this._getThumb(B.thumbPosition);this._getThumb(H.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),z._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(B){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(B))}_updateThumbUI(B){this._skipUpdate()||(this._getThumb(B.thumbPosition===_.END?_.END:_.START)._hostElement.style.transform=`translateX(${B.translateX}px)`)}_updateValueIndicatorUI(B){if(this._skipUpdate())return;const H=this.displayWith(B.value);if(this._hasViewInitialized?B._valuetext=H:B._hostElement.setAttribute("aria-valuetext",H),this.discrete){B.thumbPosition===_.START?this.startValueIndicatorText=H:this.endValueIndicatorText=H;const z=this._getThumb(B.thumbPosition);H.length<3?z._hostElement.classList.add("mdc-slider__thumb--short-value"):z._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const B=this._getInput(_.END),H=this._getInput(_.START);B&&this._updateValueIndicatorUI(B),H&&this._updateValueIndicatorUI(H)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const B=this._step&&this._step>0?this._step:1,z=(Math.floor(this.max/B)*B-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*z-6}_updateTrackUI(B){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(B):this._updateTrackUINonRange(B))}_updateTrackUIRange(B){const H=B.getSibling();if(!H||!this._cachedWidth)return;const z=Math.abs(H.translateX-B.translateX)/this._cachedWidth;this._setTrackActiveStyles(B._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-H.translateX+"px",transformOrigin:"right",transform:`scaleX(${z})`}:{left:`${H.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${z})`})}_updateTrackUINonRange(B){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-B.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${B.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const B=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(B):this._updateTickMarkUINonRange(B),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(B){const H=this._getValue();let z=Math.max(Math.floor((H-this.min)/B),0),X=Math.max(Math.floor((this.max-H)/B),0);this._isRtl?z++:X++,this._tickMarks=Array(z).fill(y.ACTIVE).concat(Array(X).fill(y.INACTIVE))}_updateTickMarkUIRange(B){const H=this._getValue(),z=this._getValue(_.START),X=Math.max(Math.floor((z-this.min)/B),0),G=Math.max(Math.floor((H-z)/B)+1,0),j=Math.max(Math.floor((this.max-H)/B),0);this._tickMarks=Array(X).fill(y.INACTIVE).concat(Array(G).fill(y.ACTIVE),Array(j).fill(y.INACTIVE))}_getInput(B){return B===_.END&&this._input?this._input:this._inputs?.length?B===_.START?this._inputs.first:this._inputs.last:void 0}_getThumb(B){return B===_.END?this._thumbs?.last:this._thumbs?.first}_setTransition(B){this._hasAnimation=!this._platform.IOS&&B&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(B,H){const z=H.width/2,le=B.clientY-(H.y+z);return Math.pow(B.clientX-(H.x+z),2)+Math.pow(le,2)A),multi:!0},L={provide:c.NG_VALUE_ACCESSOR,useExisting:(0,C.forwardRef)(()=>U),multi:!0};let A=(()=>{class ee{get value(){return(0,C.numberAttribute)(this._hostElement.value,0)}set value(B){const H=(B=isNaN(B)?0:B)+"";this._hasSetInitialValue?this._isActive||this._setValue(H):this._initialValue=H}_setValue(B){this._hostElement.value=B,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=this._tickMarkOffset,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(B){this._translateX=B}get min(){return(0,C.numberAttribute)(this._hostElement.min,0)}set min(B){this._hostElement.min=B+"",this._cdr.detectChanges()}get max(){return(0,C.numberAttribute)(this._hostElement.max,0)}set max(B){this._hostElement.max=B+"",this._cdr.detectChanges()}get step(){return(0,C.numberAttribute)(this._hostElement.step,0)}set step(B){this._hostElement.step=B+"",this._cdr.detectChanges()}get disabled(){return(0,C.booleanAttribute)(this._hostElement.disabled)}set disabled(B){this._hostElement.disabled=B,this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(B){this._isFocused=B}constructor(B,H,z,X){this._ngZone=B,this._elementRef=H,this._cdr=z,this._slider=X,this.valueChange=new C.EventEmitter,this.dragStart=new C.EventEmitter,this.dragEnd=new C.EventEmitter,this.thumbPosition=_.END,this._knobRadius=8,this._tickMarkOffset=3,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new b.E,this._skipUIUpdate=!1,this._onTouchedFn=()=>{},this._isControlInitialized=!1,this._platform=(0,C.inject)(v.WU),this._hostElement=H.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(B){if(!this.disabled&&0===B.button){if(this._platform.IOS){const H=this._slider._isCursorOnSliderThumb(B,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());return this._isActive=H,this._updateWidthActive(),void this._slider._updateDimensions()}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(B,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(B),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(B){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(B)},0)}_fixValue(B){const H=B.clientX-this._slider._cachedLeft,z=this._slider._cachedWidth,X=0===this._slider.step?1:this._slider.step,G=Math.floor((this._slider.max-this._slider.min)/X),ue=Math.round((this._slider._isRtl?1-H/z:H/z)*G)/G*(this._slider.max-this._slider.min)+this._slider.min,ve=Math.round(ue/X)*X;if(ve===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(B,{withAnimation:this._slider._hasAnimation}));this.value=ve,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(B,{withAnimation:this._slider._hasAnimation})}_onPointerMove(B){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(B)}_onPointerUp(){this._isActive&&(this._isActive=!1,this._platform.SAFARI&&this._setIsFocused(!1),this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(B){const H=this._tickMarkOffset;return Math.max(Math.min(B,this._slider._cachedWidth-this._tickMarkOffset),H)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*(this._slider._cachedWidth-2*this._tickMarkOffset)+this._tickMarkOffset:this.percentage*(this._slider._cachedWidth-2*this._tickMarkOffset)+this._tickMarkOffset}_calcTranslateXByPointerEvent(B){return B.clientX-this._slider._cachedLeft}_updateWidthActive(){}_updateWidthInactive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding-2*this._tickMarkOffset}px)`,this._hostElement.style.left=`-${this._slider._rippleRadius-this._tickMarkOffset}px`}_updateThumbUIByValue(B){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(B)}_updateThumbUIByPointerEvent(B,H){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(B)),this._updateThumbUI(H)}_updateThumbUI(B){this._slider._setTransition(!!B?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(B){(this._isControlInitialized||null!==B)&&(this.value=B)}registerOnChange(B){this._onChangeFn=B,this._isControlInitialized=!0}registerOnTouched(B){this._onTouchedFn=B}setDisabledState(B){this.disabled=B}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static#e=this.\u0275fac=function(H){return new(H||ee)(C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(C.ChangeDetectorRef),C.\u0275\u0275directiveInject(M))};static#t=this.\u0275dir=C.\u0275\u0275defineDirective({type:ee,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(H,z){1&H&&C.\u0275\u0275listener("change",function(){return z._onChange()})("input",function(){return z._onInput()})("blur",function(){return z._onBlur()})("focus",function(){return z._onFocus()}),2&H&&C.\u0275\u0275attribute("aria-valuetext",z._valuetext)},inputs:{value:[C.\u0275\u0275InputFlags.HasDecoratorInputTransform,"value","value",C.numberAttribute]},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],standalone:!0,features:[C.\u0275\u0275ProvidersFeature([F,{provide:w,useExisting:ee}]),C.\u0275\u0275InputTransformsFeature]})}return ee})(),U=(()=>{class ee extends A{getSibling(){return this._sibling||(this._sibling=this._slider._getInput(this._isEndThumb?_.START:_.END)),this._sibling}getMinPos(){const B=this.getSibling();return!this._isLeftThumb&&B?B.translateX:this._tickMarkOffset}getMaxPos(){const B=this.getSibling();return this._isLeftThumb&&B?B.translateX:this._slider._cachedWidth-this._tickMarkOffset}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}constructor(B,H,z,X){super(B,z,X,H),this._cdr=X,this._isEndThumb=this._hostElement.hasAttribute("matSliderEndThumb"),this._setIsLeftThumb(),this.thumbPosition=this._isEndThumb?_.END:_.START}_getDefaultValue(){return this._isEndThumb&&this._slider._isRange?this.max:this.min}_onInput(){super._onInput(),this._updateSibling(),this._isActive||this._updateWidthInactive()}_onNgControlValueChange(){super._onNgControlValueChange(),this.getSibling()?._updateMinMax()}_onPointerDown(B){this.disabled||0!==B.button||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown(B))}_onPointerUp(){super._onPointerUp(),this._sibling&&setTimeout(()=>{this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events")})}_onPointerMove(B){super._onPointerMove(B),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue(B){super._fixValue(B),this._sibling?._updateMinMax()}_clamp(B){return Math.max(Math.min(B,this.getMaxPos()),this.getMinPos())}_updateMinMax(){const B=this.getSibling();B&&(this._isEndThumb?(this.min=Math.max(this._slider.min,B.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,B.value)))}_updateWidthActive(){const B=2*this._slider._rippleRadius-2*this._slider._inputPadding;this._hostElement.style.width=`${(this._slider._cachedWidth+this._slider._inputPadding-B-2*this._tickMarkOffset)*(this._slider.min{class ee{static#e=this.\u0275fac=function(H){return new(H||ee)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:ee});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({imports:[E.MatCommonModule,E.MatRippleModule]})}return ee})()},8818:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MatCell:()=>ft,MatCellDef:()=>dt,MatColumnDef:()=>Fe,MatFooterCell:()=>Ye,MatFooterCellDef:()=>qe,MatFooterRow:()=>fi,MatFooterRowDef:()=>fn,MatHeaderCell:()=>et,MatHeaderCellDef:()=>xt,MatHeaderRow:()=>An,MatHeaderRowDef:()=>qt,MatNoDataRow:()=>Fi,MatRecycleRows:()=>Ge,MatRow:()=>Si,MatRowDef:()=>ln,MatTable:()=>kt,MatTableDataSource:()=>rr,MatTableModule:()=>mi,MatTextColumn:()=>si});var t=g(4496),v=g(1900),C=g(1032),E=g(5792),c=g(1904),b=g(1368),s=g(5657),f=g(9900),d=g(6700),l=g(1116),a=g(2700),r=g(3616),u=g(3992),h=g(7712);function p(se,at){1&se&&t.\u0275\u0275projection(0,2)}function _(se,at){1&se&&(t.\u0275\u0275elementStart(0,"thead",0),t.\u0275\u0275elementContainer(1,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(2,"tbody",0),t.\u0275\u0275elementContainer(3,2)(4,3),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(5,"tfoot",0),t.\u0275\u0275elementContainer(6,4),t.\u0275\u0275elementEnd())}function y(se,at){1&se&&t.\u0275\u0275elementContainer(0,1)(1,2)(2,3)(3,4)}const M=[[["caption"]],[["colgroup"],["col"]],"*"],w=["caption","colgroup, col","*"];function k(se,at){if(1&se&&(t.\u0275\u0275elementStart(0,"th",3),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&se){const ae=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("text-align",ae.justify),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",ae.headerText," ")}}function D(se,at){if(1&se&&(t.\u0275\u0275elementStart(0,"td",4),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&se){const ae=at.$implicit,me=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("text-align",me.justify),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",me.dataAccessor(ae,me.name)," ")}}function I(se){return class extends se{get sticky(){return this._sticky}set sticky(at){const ae=this._sticky;this._sticky=(0,h.W6)(at),this._hasStickyChanged=ae!==this._sticky}hasStickyChanged(){const at=this._hasStickyChanged;return this._hasStickyChanged=!1,at}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...at){super(...at),this._sticky=!1,this._hasStickyChanged=!1}}}const O=new t.InjectionToken("CDK_TABLE"),T=new t.InjectionToken("text-column-options");let N=(()=>{class se{constructor(ae){this.template=ae}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkCellDef",""]],standalone:!0})}return se})(),S=(()=>{class se{constructor(ae){this.template=ae}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}return se})(),F=(()=>{class se{constructor(ae){this.template=ae}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}return se})();class L{}const A=I(L);let U=(()=>{class se extends A{get name(){return this._name}set name(ae){this._setNameInput(ae)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ae){ae!==this._stickyEnd&&(this._stickyEnd=ae,this._hasStickyChanged=!0)}constructor(ae){super(),this._table=ae,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ae){ae&&(this._name=ae,this.cssClassFriendlyName=ae.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(O,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkColumnDef",""]],contentQueries:function(me,Ae,_e){if(1&me&&(t.\u0275\u0275contentQuery(_e,N,5),t.\u0275\u0275contentQuery(_e,S,5),t.\u0275\u0275contentQuery(_e,F,5)),2&me){let mt;t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae.cell=mt.first),t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae.headerCell=mt.first),t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae.footerCell=mt.first)}},inputs:{sticky:"sticky",name:[t.\u0275\u0275InputFlags.None,"cdkColumnDef","name"],stickyEnd:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"stickyEnd","stickyEnd",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:se}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature]})}return se})();class K{constructor(at,ae){ae.nativeElement.classList.add(...at._columnCssClassName)}}let ee=(()=>{class se extends K{constructor(ae,me){super(ae,me)}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(U),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})(),ne=(()=>{class se extends K{constructor(ae,me){super(ae,me);const Ae=ae._table?._getCellRole();Ae&&me.nativeElement.setAttribute("role",Ae)}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(U),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})(),B=(()=>{class se extends K{constructor(ae,me){super(ae,me);const Ae=ae._table?._getCellRole();Ae&&me.nativeElement.setAttribute("role",Ae)}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(U),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})();class H{constructor(){this.tasks=[],this.endTasks=[]}}const z=new t.InjectionToken("_COALESCED_STYLE_SCHEDULER");let X=(()=>{class se{constructor(ae){this._ngZone=ae,this._currentSchedule=null,this._destroyed=new s.E}schedule(ae){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ae)}scheduleEnd(ae){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ae)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new H,this._getScheduleObservable().pipe((0,r.a)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ae=this._currentSchedule;this._currentSchedule=new H;for(const me of ae.tasks)me();for(const me of ae.endTasks)me()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,f.Q)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,u.U)(1))}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275inject(t.NgZone))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:se,factory:se.\u0275fac})}return se})(),j=(()=>{class se{constructor(ae,me){this.template=ae,this._differs=me}ngOnChanges(ae){if(!this._columnsDiffer){const me=ae.columns&&ae.columns.currentValue||[];this._columnsDiffer=this._differs.find(me).create(),this._columnsDiffer.diff(me)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ae){return this instanceof ve?ae.headerCell.template:this instanceof ct?ae.footerCell.template:ae.cell.template}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,features:[t.\u0275\u0275NgOnChangesFeature]})}return se})();class le extends j{}const ue=I(le);let ve=(()=>{class se extends ue{constructor(ae,me,Ae){super(ae,me),this._table=Ae}ngOnChanges(ae){super.ngOnChanges(ae)}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275directiveInject(O,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"cdkHeaderRowDef","columns"],sticky:[t.\u0275\u0275InputFlags.None,"cdkHeaderRowDefSticky","sticky"]},standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return se})();class Je extends j{}const _t=I(Je);let ct=(()=>{class se extends _t{constructor(ae,me,Ae){super(ae,me),this._table=Ae}ngOnChanges(ae){super.ngOnChanges(ae)}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275directiveInject(O,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"cdkFooterRowDef","columns"],sticky:[t.\u0275\u0275InputFlags.None,"cdkFooterRowDefSticky","sticky"]},standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return se})(),Ct=(()=>{class se extends j{constructor(ae,me,Ae){super(ae,me),this._table=Ae}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275directiveInject(O,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"cdkRowDefColumns","columns"],when:[t.\u0275\u0275InputFlags.None,"cdkRowDefWhen","when"]},standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})(),Re=(()=>{class se{static#e=this.mostRecentCellOutlet=null;constructor(ae){this._viewContainer=ae,se.mostRecentCellOutlet=this}ngOnDestroy(){se.mostRecentCellOutlet===this&&(se.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.ViewContainerRef))};static#n=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","cdkCellOutlet",""]],standalone:!0})}return se})(),ke=(()=>{class se{static#e=this.\u0275fac=function(me){return new(me||se)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(me,Ae){1&me&&t.\u0275\u0275elementContainer(0,0)},dependencies:[Re],encapsulation:2})}return se})(),fe=(()=>{class se{static#e=this.\u0275fac=function(me){return new(me||se)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(me,Ae){1&me&&t.\u0275\u0275elementContainer(0,0)},dependencies:[Re],encapsulation:2})}return se})(),Ke=(()=>{class se{static#e=this.\u0275fac=function(me){return new(me||se)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(me,Ae){1&me&&t.\u0275\u0275elementContainer(0,0)},dependencies:[Re],encapsulation:2})}return se})(),Be=(()=>{class se{constructor(ae){this.templateRef=ae,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}return se})();const Ie=["top","bottom","left","right"];class je{constructor(at,ae,me,Ae,_e=!0,mt=!0,V){this._isNativeHtmlTable=at,this._stickCellCss=ae,this.direction=me,this._coalescedStyleScheduler=Ae,this._isBrowser=_e,this._needsPositionStickyOnElement=mt,this._positionListener=V,this._cachedCellWidths=[],this._borderCellCss={top:`${ae}-border-elem-top`,bottom:`${ae}-border-elem-bottom`,left:`${ae}-border-elem-left`,right:`${ae}-border-elem-right`}}clearStickyPositioning(at,ae){const me=[];for(const Ae of at)if(Ae.nodeType===Ae.ELEMENT_NODE){me.push(Ae);for(let _e=0;_e{for(const Ae of me)this._removeStickyStyle(Ae,ae)})}updateStickyColumns(at,ae,me,Ae=!0){at.length&&this._isBrowser&&(ae.some(_e=>_e)||me.some(_e=>_e))?this._coalescedStyleScheduler.schedule(()=>{const _e=at[0],mt=_e.children.length,V=this._getCellWidths(_e,Ae),he=this._getStickyStartColumnPositions(V,ae),de=this._getStickyEndColumnPositions(V,me),We=ae.lastIndexOf(!0),wt=me.indexOf(!0),Yt="rtl"===this.direction,Kn=Yt?"right":"left",Pn=Yt?"left":"right";for(const Tn of at)for(let vn=0;vnae[vn]?Tn:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===wt?[]:V.slice(wt).map((Tn,vn)=>me[vn+wt]?Tn:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(at,ae,me){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const Ae="bottom"===me?at.slice().reverse():at,_e="bottom"===me?ae.slice().reverse():ae,mt=[],V=[],he=[];for(let We=0,wt=0;We{const me=at.querySelector("tfoot");me&&(ae.some(Ae=>!Ae)?this._removeStickyStyle(me,["bottom"]):this._addStickyStyle(me,"bottom",0,!1))})}_removeStickyStyle(at,ae){for(const Ae of ae)at.style[Ae]="",at.classList.remove(this._borderCellCss[Ae]);Ie.some(Ae=>-1===ae.indexOf(Ae)&&at.style[Ae])?at.style.zIndex=this._getCalculatedZIndex(at):(at.style.zIndex="",this._needsPositionStickyOnElement&&(at.style.position=""),at.classList.remove(this._stickCellCss))}_addStickyStyle(at,ae,me,Ae){at.classList.add(this._stickCellCss),Ae&&at.classList.add(this._borderCellCss[ae]),at.style[ae]=`${me}px`,at.style.zIndex=this._getCalculatedZIndex(at),this._needsPositionStickyOnElement&&(at.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(at){const ae={top:100,bottom:10,left:1,right:1};let me=0;for(const Ae of Ie)at.style[Ae]&&(me+=ae[Ae]);return me?`${me}`:""}_getCellWidths(at,ae=!0){if(!ae&&this._cachedCellWidths.length)return this._cachedCellWidths;const me=[],Ae=at.children;for(let _e=0;_e0;_e--)ae[_e]&&(me[_e]=Ae,Ae+=at[_e]);return me}}const pt=new t.InjectionToken("CDK_SPL");let Gt=(()=>{class se{constructor(ae,me){this.viewContainer=ae,this.elementRef=me;const Ae=(0,t.inject)(O);Ae._rowOutlet=this,Ae._outletAssigned()}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","rowOutlet",""]],standalone:!0})}return se})(),rn=(()=>{class se{constructor(ae,me){this.viewContainer=ae,this.elementRef=me;const Ae=(0,t.inject)(O);Ae._headerRowOutlet=this,Ae._outletAssigned()}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","headerRowOutlet",""]],standalone:!0})}return se})(),on=(()=>{class se{constructor(ae,me){this.viewContainer=ae,this.elementRef=me;const Ae=(0,t.inject)(O);Ae._footerRowOutlet=this,Ae._outletAssigned()}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","footerRowOutlet",""]],standalone:!0})}return se})(),tn=(()=>{class se{constructor(ae,me){this.viewContainer=ae,this.elementRef=me;const Ae=(0,t.inject)(O);Ae._noDataRowOutlet=this,Ae._outletAssigned()}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","noDataRowOutlet",""]],standalone:!0})}return se})(),an=(()=>{class se{_getCellRole(){if(void 0===this._cellRoleInternal){const ae=this._elementRef.nativeElement.getAttribute("role"),me="grid"===ae||"treegrid"===ae?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===me?null:me}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(ae){this._trackByFn=ae}get dataSource(){return this._dataSource}set dataSource(ae){this._dataSource!==ae&&this._switchDataSource(ae)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ae){this._multiTemplateDataRows=ae,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ae){this._fixedLayout=ae,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(ae,me,Ae,_e,mt,V,he,de,We,wt,Yt,Kn){this._differs=ae,this._changeDetectorRef=me,this._elementRef=Ae,this._dir=mt,this._platform=he,this._viewRepeater=de,this._coalescedStyleScheduler=We,this._viewportRuler=wt,this._stickyPositioningListener=Yt,this._ngZone=Kn,this._onDestroy=new s.E,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._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new t.EventEmitter,this.viewChange=new d.g({start:0,end:Number.MAX_VALUE}),_e||Ae.nativeElement.setAttribute("role","table"),this._document=V,this._isServer=!he.isBrowser,this._isNativeHtmlTable="TABLE"===Ae.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((ae,me)=>this.trackBy?this.trackBy(me.dataIndex,me.data):me),this._viewportRuler.change().pipe((0,r.a)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(ae=>{ae?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,C.cz)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ae=this._dataDiffer.diff(this._renderRows);if(!ae)return this._updateNoDataRow(),void this.contentChanged.next();const me=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ae,me,(Ae,_e,mt)=>this._getEmbeddedViewArgs(Ae.item,mt),Ae=>Ae.item.data,Ae=>{Ae.operation===C.mj.INSERTED&&Ae.context&&this._renderCellTemplateForItem(Ae.record.item.rowDef,Ae.context)}),this._updateRowIndexContext(),ae.forEachIdentityChange(Ae=>{me.get(Ae.currentIndex).context.$implicit=Ae.item.data}),this._updateNoDataRow(),this._ngZone&&t.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,u.U)(1),(0,r.a)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ae){this._customColumnDefs.add(ae)}removeColumnDef(ae){this._customColumnDefs.delete(ae)}addRowDef(ae){this._customRowDefs.add(ae)}removeRowDef(ae){this._customRowDefs.delete(ae)}addHeaderRowDef(ae){this._customHeaderRowDefs.add(ae),this._headerRowDefChanged=!0}removeHeaderRowDef(ae){this._customHeaderRowDefs.delete(ae),this._headerRowDefChanged=!0}addFooterRowDef(ae){this._customFooterRowDefs.add(ae),this._footerRowDefChanged=!0}removeFooterRowDef(ae){this._customFooterRowDefs.delete(ae),this._footerRowDefChanged=!0}setNoDataRow(ae){this._customNoDataRow=ae}updateStickyHeaderRowStyles(){const ae=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const Ae=Ut(this._headerRowOutlet,"thead");Ae&&(Ae.style.display=ae.length?"":"none")}const me=this._headerRowDefs.map(Ae=>Ae.sticky);this._stickyStyler.clearStickyPositioning(ae,["top"]),this._stickyStyler.stickRows(ae,me,"top"),this._headerRowDefs.forEach(Ae=>Ae.resetStickyChanged())}updateStickyFooterRowStyles(){const ae=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const Ae=Ut(this._footerRowOutlet,"tfoot");Ae&&(Ae.style.display=ae.length?"":"none")}const me=this._footerRowDefs.map(Ae=>Ae.sticky);this._stickyStyler.clearStickyPositioning(ae,["bottom"]),this._stickyStyler.stickRows(ae,me,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,me),this._footerRowDefs.forEach(Ae=>Ae.resetStickyChanged())}updateStickyColumnStyles(){const ae=this._getRenderedRows(this._headerRowOutlet),me=this._getRenderedRows(this._rowOutlet),Ae=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ae,...me,...Ae],["left","right"]),this._stickyColumnStylesNeedReset=!1),ae.forEach((_e,mt)=>{this._addStickyColumnStyles([_e],this._headerRowDefs[mt])}),this._rowDefs.forEach(_e=>{const mt=[];for(let V=0;V{this._addStickyColumnStyles([_e],this._footerRowDefs[mt])}),Array.from(this._columnDefsByName.values()).forEach(_e=>_e.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const me=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||me,this._forceRecalculateCellWidths=me,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const ae=[],me=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ae=0;Ae{const V=Ae&&Ae.has(mt)?Ae.get(mt):[];if(V.length){const he=V.shift();return he.dataIndex=me,he}return{data:ae,rowDef:mt,dataIndex:me}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ot(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(me=>{this._columnDefsByName.has(me.name),this._columnDefsByName.set(me.name,me)})}_cacheRowDefs(){this._headerRowDefs=Ot(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ot(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ot(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ae=this._rowDefs.filter(me=>!me.when);this._defaultRowDef=ae[0]}_renderUpdatedColumns(){const ae=(mt,V)=>mt||!!V.getColumnsDiff(),me=this._rowDefs.reduce(ae,!1);me&&this._forceRenderDataRows();const Ae=this._headerRowDefs.reduce(ae,!1);Ae&&this._forceRenderHeaderRows();const _e=this._footerRowDefs.reduce(ae,!1);return _e&&this._forceRenderFooterRows(),me||Ae||_e}_switchDataSource(ae){this._data=[],(0,C.cz)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ae||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=ae}_observeRenderChanges(){if(!this.dataSource)return;let ae;(0,C.cz)(this.dataSource)?ae=this.dataSource.connect(this):(0,l.X)(this.dataSource)?ae=this.dataSource:Array.isArray(this.dataSource)&&(ae=(0,a.of)(this.dataSource)),this._renderChangeSubscription=ae.pipe((0,r.a)(this._onDestroy)).subscribe(me=>{this._data=me||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ae,me)=>this._renderRow(this._headerRowOutlet,ae,me)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ae,me)=>this._renderRow(this._footerRowOutlet,ae,me)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ae,me){const Ae=Array.from(me.columns||[]).map(V=>this._columnDefsByName.get(V)),_e=Ae.map(V=>V.sticky),mt=Ae.map(V=>V.stickyEnd);this._stickyStyler.updateStickyColumns(ae,_e,mt,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ae){const me=[];for(let Ae=0;Ae!_e.when||_e.when(me,ae));else{let _e=this._rowDefs.find(mt=>mt.when&&mt.when(me,ae))||this._defaultRowDef;_e&&Ae.push(_e)}return Ae}_getEmbeddedViewArgs(ae,me){return{templateRef:ae.rowDef.template,context:{$implicit:ae.data},index:me}}_renderRow(ae,me,Ae,_e={}){const mt=ae.viewContainer.createEmbeddedView(me.template,_e,Ae);return this._renderCellTemplateForItem(me,_e),mt}_renderCellTemplateForItem(ae,me){for(let Ae of this._getCellTemplates(ae))Re.mostRecentCellOutlet&&Re.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ae,me);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ae=this._rowOutlet.viewContainer;for(let me=0,Ae=ae.length;me{const Ae=this._columnDefsByName.get(me);return ae.extractCellTemplate(Ae)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ae=(me,Ae)=>me||Ae.hasStickyChanged();this._headerRowDefs.reduce(ae,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ae,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ae,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new je(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,a.of)()).pipe((0,r.a)(this._onDestroy)).subscribe(me=>{this._stickyStyler.direction=me,this.updateStickyColumnStyles()})}_getOwnDefs(ae){return ae.filter(me=>!me._table||me._table===this)}_updateNoDataRow(){const ae=this._customNoDataRow||this._noDataRow;if(!ae)return;const me=0===this._rowOutlet.viewContainer.length;if(me===this._isShowingNoDataRow)return;const Ae=this._noDataRowOutlet.viewContainer;if(me){const _e=Ae.createEmbeddedView(ae.templateRef),mt=_e.rootNodes[0];1===_e.rootNodes.length&&mt?.nodeType===this._document.ELEMENT_NODE&&(mt.setAttribute("role","row"),mt.classList.add(ae._contentClassName))}else Ae.clear();this._isShowingNoDataRow=me,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275injectAttribute("role"),t.\u0275\u0275directiveInject(v.yG,8),t.\u0275\u0275directiveInject(b.DOCUMENT),t.\u0275\u0275directiveInject(E.WU),t.\u0275\u0275directiveInject(C.ys),t.\u0275\u0275directiveInject(z),t.\u0275\u0275directiveInject(c.S8),t.\u0275\u0275directiveInject(pt,12),t.\u0275\u0275directiveInject(t.NgZone,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(me,Ae,_e){if(1&me&&(t.\u0275\u0275contentQuery(_e,Be,5),t.\u0275\u0275contentQuery(_e,U,5),t.\u0275\u0275contentQuery(_e,Ct,5),t.\u0275\u0275contentQuery(_e,ve,5),t.\u0275\u0275contentQuery(_e,ct,5)),2&me){let mt;t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae._noDataRow=mt.first),t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae._contentColumnDefs=mt),t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae._contentRowDefs=mt),t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae._contentHeaderRowDefs=mt),t.\u0275\u0275queryRefresh(mt=t.\u0275\u0275loadQuery())&&(Ae._contentFooterRowDefs=mt)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(me,Ae){2&me&&t.\u0275\u0275classProp("cdk-table-fixed-layout",Ae.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",t.booleanAttribute],fixedLayout:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fixedLayout","fixedLayout",t.booleanAttribute]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:O,useExisting:se},{provide:C.ys,useClass:C.eo},{provide:z,useClass:X},{provide:pt,useValue:null}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:w,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(me,Ae){1&me&&(t.\u0275\u0275projectionDef(M),t.\u0275\u0275projection(0),t.\u0275\u0275projection(1,1),t.\u0275\u0275template(2,p,1,0)(3,_,7,0)(4,y,4,0)),2&me&&(t.\u0275\u0275advance(2),t.\u0275\u0275conditional(2,Ae._isServer?2:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(3,Ae._isNativeHtmlTable?3:4))},dependencies:[rn,Gt,tn,on],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return se})();function Ot(se,at){return se.concat(Array.from(at))}function Ut(se,at){const ae=at.toUpperCase();let me=se.viewContainer.element.nativeElement;for(;me;){const Ae=1===me.nodeType?me.nodeName:null;if(Ae===ae)return me;if("TABLE"===Ae)break;me=me.parentNode}return null}let xe=(()=>{class se{get name(){return this._name}set name(ae){this._name=ae,this._syncColumnDefName()}constructor(ae,me){this._table=ae,this._options=me,this.justify="start",this._options=me||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((ae,me)=>ae[me])),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 ae=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(ae):ae[0].toUpperCase()+ae.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}static#e=this.\u0275fac=function(me){return new(me||se)(t.\u0275\u0275directiveInject(an,8),t.\u0275\u0275directiveInject(T,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["cdk-text-column"]],viewQuery:function(me,Ae){if(1&me&&(t.\u0275\u0275viewQuery(U,7),t.\u0275\u0275viewQuery(N,7),t.\u0275\u0275viewQuery(S,7)),2&me){let _e;t.\u0275\u0275queryRefresh(_e=t.\u0275\u0275loadQuery())&&(Ae.columnDef=_e.first),t.\u0275\u0275queryRefresh(_e=t.\u0275\u0275loadQuery())&&(Ae.cell=_e.first),t.\u0275\u0275queryRefresh(_e=t.\u0275\u0275loadQuery())&&(Ae.headerCell=_e.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],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(me,Ae){1&me&&(t.\u0275\u0275elementContainerStart(0,0),t.\u0275\u0275template(1,k,2,3,"th",1)(2,D,2,3,"td",2),t.\u0275\u0275elementContainerEnd())},dependencies:[U,S,ee,N,B],encapsulation:2})}return se})(),lt=(()=>{class se{static#e=this.\u0275fac=function(me){return new(me||se)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:se});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[c.c$]})}return se})();var At=g(3576),nt=g(3412),vt=g(6040),Le=g(4704);function He(se,at){1&se&&t.\u0275\u0275projection(0,2)}function st(se,at){1&se&&(t.\u0275\u0275elementStart(0,"thead",0),t.\u0275\u0275elementContainer(1,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(2,"tbody",2),t.\u0275\u0275elementContainer(3,3)(4,4),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(5,"tfoot",0),t.\u0275\u0275elementContainer(6,5),t.\u0275\u0275elementEnd())}function Te(se,at){1&se&&t.\u0275\u0275elementContainer(0,1)(1,3)(2,4)(3,5)}const Pe=[[["caption"]],[["colgroup"],["col"]],"*"],bt=["caption","colgroup, col","*"];function Me(se,at){if(1&se&&(t.\u0275\u0275elementStart(0,"th",3),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&se){const ae=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("text-align",ae.justify),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",ae.headerText," ")}}function $e(se,at){if(1&se&&(t.\u0275\u0275elementStart(0,"td",4),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&se){const ae=at.$implicit,me=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("text-align",me.justify),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",me.dataAccessor(ae,me.name)," ")}}let Ge=(()=>{class se{static#e=this.\u0275fac=function(me){return new(me||se)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:C.ys,useClass:C.Yx}])]})}return se})(),kt=(()=>{class se extends an{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(me,Ae){2&me&&t.\u0275\u0275classProp("mdc-table-fixed-layout",Ae.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:an,useExisting:se},{provide:O,useExisting:se},{provide:z,useClass:X},{provide:C.ys,useClass:C.eo},{provide:pt,useValue:null}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:bt,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(me,Ae){1&me&&(t.\u0275\u0275projectionDef(Pe),t.\u0275\u0275projection(0),t.\u0275\u0275projection(1,1),t.\u0275\u0275template(2,He,1,0)(3,st,7,0)(4,Te,4,0)),2&me&&(t.\u0275\u0275advance(2),t.\u0275\u0275conditional(2,Ae._isServer?2:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(3,Ae._isNativeHtmlTable?3:4))},dependencies:[rn,Gt,tn,on],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}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}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return se})(),dt=(()=>{class se extends N{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matCellDef",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:N,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),xt=(()=>{class se extends S{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:S,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),qe=(()=>{class se extends F{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:F,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),Fe=(()=>{class se extends U{get name(){return this._name}set name(ae){this._setNameInput(ae)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:[t.\u0275\u0275InputFlags.None,"matColumnDef","name"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:U,useExisting:se},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),et=(()=>{class se extends ee{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})(),Ye=(()=>{class se extends ne{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})(),ft=(()=>{class se extends B{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return se})(),qt=(()=>{class se extends ve{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"matHeaderRowDef","columns"],sticky:[t.\u0275\u0275InputFlags.None,"matHeaderRowDefSticky","sticky"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:ve,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),fn=(()=>{class se extends ct{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matFooterRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"matFooterRowDef","columns"],sticky:[t.\u0275\u0275InputFlags.None,"matFooterRowDefSticky","sticky"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:ct,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),ln=(()=>{class se extends Ct{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["","matRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"matRowDefColumns","columns"],when:[t.\u0275\u0275InputFlags.None,"matRowDefWhen","when"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ct,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),An=(()=>{class se extends ke{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:ke,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(me,Ae){1&me&&t.\u0275\u0275elementContainer(0,0)},dependencies:[Re],encapsulation:2})}return se})(),fi=(()=>{class se extends fe{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:fe,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(me,Ae){1&me&&t.\u0275\u0275elementContainer(0,0)},dependencies:[Re],encapsulation:2})}return se})(),Si=(()=>{class se extends Ke{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ke,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(me,Ae){1&me&&t.\u0275\u0275elementContainer(0,0)},dependencies:[Re],encapsulation:2})}return se})(),Fi=(()=>{class se extends Be{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:se,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:se}]),t.\u0275\u0275InheritDefinitionFeature]})}return se})(),si=(()=>{class se extends xe{static#e=this.\u0275fac=(()=>{let ae;return function(Ae){return(ae||(ae=t.\u0275\u0275getInheritedFactory(se)))(Ae||se)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:se,selectors:[["mat-text-column"]],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],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(me,Ae){1&me&&(t.\u0275\u0275elementContainerStart(0,0),t.\u0275\u0275template(1,Me,2,3,"th",1)(2,$e,2,3,"td",2),t.\u0275\u0275elementContainerEnd())},dependencies:[Fe,xt,et,dt,ft],encapsulation:2})}return se})(),mi=(()=>{class se{static#e=this.\u0275fac=function(me){return new(me||se)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:se});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[At.MatCommonModule,lt,At.MatCommonModule]})}return se})();class rr extends C.Cc{get data(){return this._data.value}set data(at){at=Array.isArray(at)?at:[],this._data.next(at),this._renderChangesSubscription||this._filterData(at)}get filter(){return this._filter.value}set filter(at){this._filter.next(at),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(at){this._sort=at,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(at){this._paginator=at,this._updateChangeSubscription()}constructor(at=[]){super(),this._renderData=new d.g([]),this._filter=new d.g(""),this._internalPageChanges=new s.E,this._renderChangesSubscription=null,this.sortingDataAccessor=(ae,me)=>{const Ae=ae[me];if((0,h.s3)(Ae)){const _e=Number(Ae);return _e<9007199254740991?_e:Ae}return Ae},this.sortData=(ae,me)=>{const Ae=me.active,_e=me.direction;return Ae&&""!=_e?ae.sort((mt,V)=>{let he=this.sortingDataAccessor(mt,Ae),de=this.sortingDataAccessor(V,Ae);const We=typeof he,wt=typeof de;We!==wt&&("number"===We&&(he+=""),"number"===wt&&(de+=""));let Yt=0;return null!=he&&null!=de?he>de?Yt=1:he{const Ae=Object.keys(ae).reduce((mt,V)=>mt+ae[V]+"\u25ec","").toLowerCase(),_e=me.trim().toLowerCase();return-1!=Ae.indexOf(_e)},this._data=new d.g(at),this._updateChangeSubscription()}_updateChangeSubscription(){const at=this._sort?(0,nt.U)(this._sort.sortChange,this._sort.initialized):(0,a.of)(null),ae=this._paginator?(0,nt.U)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,a.of)(null),Ae=(0,vt.E)([this._data,this._filter]).pipe((0,Le.k)(([V])=>this._filterData(V))),_e=(0,vt.E)([Ae,at]).pipe((0,Le.k)(([V])=>this._orderData(V))),mt=(0,vt.E)([_e,ae]).pipe((0,Le.k)(([V])=>this._pageData(V)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=mt.subscribe(V=>this._renderData.next(V))}_filterData(at){return this.filteredData=null==this.filter||""===this.filter?at:at.filter(ae=>this.filterPredicate(ae,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(at){return this.sort?this.sortData(at.slice(),this.sort):at}_pageData(at){if(!this.paginator)return at;const ae=this.paginator.pageIndex*this.paginator.pageSize;return at.slice(ae,ae+this.paginator.pageSize)}_updatePaginator(at){Promise.resolve().then(()=>{const ae=this.paginator;if(ae&&(ae.length=at,ae.pageIndex>0)){const me=Math.ceil(ae.length/ae.pageSize)-1||0,Ae=Math.min(ae.pageIndex,me);Ae!==ae.pageIndex&&(ae.pageIndex=Ae,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},180:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_TAB:()=>Ie,MAT_TABS_CONFIG:()=>Jt,MAT_TAB_CONTENT:()=>fe,MAT_TAB_GROUP:()=>q,MAT_TAB_LABEL:()=>Be,MatInkBar:()=>ge,MatPaginatedTabHeader:()=>tn,MatTab:()=>be,MatTabBody:()=>Ut,MatTabBodyPortal:()=>Ot,MatTabChangeEvent:()=>At,MatTabContent:()=>Ke,MatTabGroup:()=>lt,MatTabHeader:()=>gn,MatTabLabel:()=>je,MatTabLabelWrapper:()=>Pt,MatTabLink:()=>He,MatTabNav:()=>vt,MatTabNavPanel:()=>st,MatTabsModule:()=>Te,_MAT_INK_BAR_POSITIONER:()=>ze,_MAT_INK_BAR_POSITIONER_FACTORY:()=>ot,matTabsAnimations:()=>an});var t=g(4496),v=g(3576),C=g(2488),E=g(5657),c=g(800),b=g(2700),s=g(3412),f=g(8960),d=g(3252),l=g(3120),a=g(6928),r=g(6700),u=g(1904),h=g(5792),p=g(1900),_=g(7712),y=g(1336),M=g(5420),w=g(3616),k=g(3992),D=g(5568),I=g(7368),O=g(2644),T=g(6684),N=g(4e3),S=g(6640),F=g(1368),L=g(9684);function A(Pe,bt){1&Pe&&t.\u0275\u0275projection(0)}const U=["*"],K=["tabListContainer"],ee=["tabList"],ne=["tabListInner"],B=["nextPaginator"],H=["previousPaginator"];function z(Pe,bt){}const X=Pe=>({animationDuration:Pe}),G=(Pe,bt)=>({value:Pe,params:bt}),j=["tabBodyWrapper"],le=["tabHeader"];function ue(Pe,bt){}function ve(Pe,bt){if(1&Pe&&t.\u0275\u0275template(0,ue,0,0,"ng-template",10),2&Pe){const Me=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275property("cdkPortalOutlet",Me.templateLabel)}}function Je(Pe,bt){if(1&Pe&&t.\u0275\u0275text(0),2&Pe){const Me=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275textInterpolate(Me.textLabel)}}function _t(Pe,bt){if(1&Pe){const Me=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",4,5),t.\u0275\u0275listener("click",function(){const Ge=t.\u0275\u0275restoreView(Me),kt=Ge.$implicit,dt=Ge.$index,xt=t.\u0275\u0275nextContext(),qe=t.\u0275\u0275reference(1);return t.\u0275\u0275resetView(xt._handleClick(kt,qe,dt))})("cdkFocusChange",function(Ge){const dt=t.\u0275\u0275restoreView(Me).$index,xt=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(xt._tabFocusChanged(Ge,dt))}),t.\u0275\u0275element(2,"span",6)(3,"div",7),t.\u0275\u0275elementStart(4,"span",8)(5,"span",9),t.\u0275\u0275template(6,ve,1,1,null,10)(7,Je,1,1),t.\u0275\u0275elementEnd()()()}if(2&Pe){const Me=bt.$implicit,$e=bt.$index,Ge=t.\u0275\u0275reference(1),kt=t.\u0275\u0275nextContext();t.\u0275\u0275classProp("mdc-tab--active",kt.selectedIndex===$e),t.\u0275\u0275property("id",kt._getTabLabelId($e))("ngClass",Me.labelClass)("disabled",Me.disabled)("fitInkBarToContent",kt.fitInkBarToContent),t.\u0275\u0275attribute("tabIndex",kt._getTabIndex($e))("aria-posinset",$e+1)("aria-setsize",kt._tabs.length)("aria-controls",kt._getTabContentId($e))("aria-selected",kt.selectedIndex===$e)("aria-label",Me.ariaLabel||null)("aria-labelledby",!Me.ariaLabel&&Me.ariaLabelledby?Me.ariaLabelledby:null),t.\u0275\u0275advance(3),t.\u0275\u0275property("matRippleTrigger",Ge)("matRippleDisabled",Me.disabled||kt.disableRipple),t.\u0275\u0275advance(3),t.\u0275\u0275conditional(6,Me.templateLabel?6:7)}}function ct(Pe,bt){1&Pe&&t.\u0275\u0275projection(0)}function Ct(Pe,bt){if(1&Pe){const Me=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"mat-tab-body",11),t.\u0275\u0275listener("_onCentered",function(){t.\u0275\u0275restoreView(Me);const Ge=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(Ge._removeTabBodyWrapperHeight())})("_onCentering",function(Ge){t.\u0275\u0275restoreView(Me);const kt=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(kt._setTabBodyWrapperHeight(Ge))}),t.\u0275\u0275elementEnd()}if(2&Pe){const Me=bt.$implicit,$e=bt.$index,Ge=t.\u0275\u0275nextContext();t.\u0275\u0275classProp("mat-mdc-tab-body-active",Ge.selectedIndex===$e),t.\u0275\u0275property("id",Ge._getTabContentId($e))("ngClass",Me.bodyClass)("content",Me.content)("position",Me.position)("origin",Me.origin)("animationDuration",Ge.animationDuration)("preserveContent",Ge.preserveContent),t.\u0275\u0275attribute("tabindex",null!=Ge.contentTabIndex&&Ge.selectedIndex===$e?Ge.contentTabIndex:null)("aria-labelledby",Ge._getTabLabelId($e))("aria-hidden",Ge.selectedIndex!==$e)}}const Re=["mat-tab-nav-bar",""],ke=["mat-tab-link",""],fe=new t.InjectionToken("MatTabContent");let Ke=(()=>{class Pe{constructor(Me){this.template=Me}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabContent",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:fe,useExisting:Pe}])]})}return Pe})();const Be=new t.InjectionToken("MatTabLabel"),Ie=new t.InjectionToken("MAT_TAB");let je=(()=>{class Pe extends C.YT{constructor(Me,$e,Ge){super(Me,$e),this._closestTab=Ge}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(Ie,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:Pe}]),t.\u0275\u0275InheritDefinitionFeature]})}return Pe})();const q=new t.InjectionToken("MAT_TAB_GROUP");let be=(()=>{class Pe{get templateLabel(){return this._templateLabel}set templateLabel(Me){this._setTemplateLabelInput(Me)}get content(){return this._contentPortal}constructor(Me,$e){this._viewContainerRef=Me,this._closestTabGroup=$e,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new E.E,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(Me){(Me.hasOwnProperty("textLabel")||Me.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new C.CC(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Me){Me&&Me._closestTab===this&&(this._templateLabel=Me)}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(q,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab"]],contentQueries:function($e,Ge,kt){if(1&$e&&(t.\u0275\u0275contentQuery(kt,je,5),t.\u0275\u0275contentQuery(kt,Ke,7,t.TemplateRef)),2&$e){let dt;t.\u0275\u0275queryRefresh(dt=t.\u0275\u0275loadQuery())&&(Ge.templateLabel=dt.first),t.\u0275\u0275queryRefresh(dt=t.\u0275\u0275loadQuery())&&(Ge._explicitContent=dt.first)}},viewQuery:function($e,Ge){if(1&$e&&t.\u0275\u0275viewQuery(t.TemplateRef,7),2&$e){let kt;t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._implicitContent=kt.first)}},hostAttrs:["hidden",""],inputs:{disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],textLabel:[t.\u0275\u0275InputFlags.None,"label","textLabel"],ariaLabel:[t.\u0275\u0275InputFlags.None,"aria-label","ariaLabel"],ariaLabelledby:[t.\u0275\u0275InputFlags.None,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ie,useExisting:Pe}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:1,vars:0,template:function($e,Ge){1&$e&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,A,1,0,"ng-template"))},encapsulation:2})}return Pe})();const Oe="mdc-tab-indicator--active",Xe="mdc-tab-indicator--no-transition";class ge{constructor(bt){this._items=bt}hide(){this._items.forEach(bt=>bt.deactivateInkBar())}alignToElement(bt){const Me=this._items.find(Ge=>Ge.elementRef.nativeElement===bt),$e=this._currentItem;if(Me!==$e&&($e?.deactivateInkBar(),Me)){const Ge=$e?.elementRef.nativeElement.getBoundingClientRect?.();Me.activateInkBar(Ge),this._currentItem=Me}}}function Ve(Pe){return class extends Pe{constructor(...bt){super(...bt),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(bt){const Me=(0,_.W6)(bt);this._fitToContent!==Me&&(this._fitToContent=Me,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(bt){const Me=this.elementRef.nativeElement;if(!bt||!Me.getBoundingClientRect||!this._inkBarContentElement)return void Me.classList.add(Oe);const $e=Me.getBoundingClientRect(),Ge=bt.width/$e.width,kt=bt.left-$e.left;Me.classList.add(Xe),this._inkBarContentElement.style.setProperty("transform",`translateX(${kt}px) scaleX(${Ge})`),Me.getBoundingClientRect(),Me.classList.remove(Xe),Me.classList.add(Oe),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Oe)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const bt=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=bt.createElement("span"),this._inkBarContentElement=bt.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}function ot(){return bt=>({left:bt?(bt.offsetLeft||0)+"px":"0",width:bt?(bt.offsetWidth||0)+"px":"0"})}const ze=new t.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:ot}),pt=Ve(class{});let Pt=(()=>{class Pe extends pt{constructor(Me){super(),this.elementRef=Me,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function($e,Ge){2&$e&&(t.\u0275\u0275attribute("aria-disabled",!!Ge.disabled),t.\u0275\u0275classProp("mat-mdc-tab-disabled",Ge.disabled))},inputs:{fitInkBarToContent:"fitInkBarToContent",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature]})}return Pe})();const Gt=(0,h.W4)({passive:!0});let tn=(()=>{class Pe{get selectedIndex(){return this._selectedIndex}set selectedIndex(Me){const $e=isNaN(Me)?0:Me;this._selectedIndex!=$e&&(this._selectedIndexChanged=!0,this._selectedIndex=$e,this._keyManager&&this._keyManager.updateActiveItem($e))}constructor(Me,$e,Ge,kt,dt,xt,qe){this._elementRef=Me,this._changeDetectorRef=$e,this._viewportRuler=Ge,this._dir=kt,this._ngZone=dt,this._platform=xt,this._animationMode=qe,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new E.E,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new E.E,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.EventEmitter,this.indexFocused=new t.EventEmitter,dt.runOutsideAngular(()=>{(0,c.w)(Me.nativeElement,"mouseleave").pipe((0,w.a)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,c.w)(this._previousPaginator.nativeElement,"touchstart",Gt).pipe((0,w.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,c.w)(this._nextPaginator.nativeElement,"touchstart",Gt).pipe((0,w.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Me=this._dir?this._dir.change:(0,b.of)("ltr"),$e=this._viewportRuler.change(150),Ge=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new y.IH(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,k.U)(1)).subscribe(Ge),(0,s.U)(Me,$e,this._items.changes,this._itemsResized()).pipe((0,w.a)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Ge()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(kt=>{this.indexFocused.emit(kt),this._setTabFocus(kt)})}_itemsResized(){return"function"!=typeof ResizeObserver?f.k:this._items.changes.pipe((0,D.W)(this._items),(0,I.G)(Me=>new d._($e=>this._ngZone.runOutsideAngular(()=>{const Ge=new ResizeObserver(kt=>$e.next(kt));return Me.forEach(kt=>Ge.observe(kt.elementRef.nativeElement)),()=>{Ge.disconnect()}}))),(0,O.s)(1),(0,T.I)(Me=>Me.some($e=>$e.contentRect.width>0&&$e.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(Me){if(!(0,M.Yp)(Me))switch(Me.keyCode){case M.wJ:case M.Gi:if(this.focusIndex!==this.selectedIndex){const $e=this._items.get(this.focusIndex);$e&&!$e.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Me))}break;default:this._keyManager.onKeydown(Me)}}_onContentChanges(){const Me=this._elementRef.nativeElement.textContent;Me!==this._currentTextContent&&(this._currentTextContent=Me||"",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(Me){!this._isValidIndex(Me)||this.focusIndex===Me||!this._keyManager||this._keyManager.setActiveItem(Me)}_isValidIndex(Me){return!this._items||!!this._items.toArray()[Me]}_setTabFocus(Me){if(this._showPaginationControls&&this._scrollToLabel(Me),this._items&&this._items.length){this._items.toArray()[Me].focus();const $e=this._tabListContainer.nativeElement;$e.scrollLeft="ltr"==this._getLayoutDirection()?0:$e.scrollWidth-$e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Me=this.scrollDistance,$e="ltr"===this._getLayoutDirection()?-Me:Me;this._tabList.nativeElement.style.transform=`translateX(${Math.round($e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Me){this._scrollTo(Me)}_scrollHeader(Me){return this._scrollTo(this._scrollDistance+("before"==Me?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Me){this._stopInterval(),this._scrollHeader(Me)}_scrollToLabel(Me){if(this.disablePagination)return;const $e=this._items?this._items.toArray()[Me]:null;if(!$e)return;const Ge=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:kt,offsetWidth:dt}=$e.elementRef.nativeElement;let xt,qe;"ltr"==this._getLayoutDirection()?(xt=kt,qe=xt+dt):(qe=this._tabListInner.nativeElement.offsetWidth-kt,xt=qe-dt);const Fe=this.scrollDistance,et=this.scrollDistance+Ge;xtet&&(this.scrollDistance+=Math.min(qe-et,xt-Fe))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Me=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Me||(this.scrollDistance=0),Me!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Me}}_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 Me=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,$e=Me?Me.elementRef.nativeElement:null;$e?this._inkBar.alignToElement($e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Me,$e){$e&&null!=$e.button&&0!==$e.button||(this._stopInterval(),(0,l.k)(650,100).pipe((0,w.a)((0,s.U)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Ge,distance:kt}=this._scrollHeader(Me);(0===kt||kt>=Ge)&&this._stopInterval()}))}_scrollTo(Me){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const $e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min($e,Me)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:$e,distance:this._scrollDistance}}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(u.S8),t.\u0275\u0275directiveInject(p.yG,8),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(h.WU),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Pe,inputs:{disablePagination:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disablePagination","disablePagination",t.booleanAttribute],selectedIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"selectedIndex","selectedIndex",t.numberAttribute]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[t.\u0275\u0275InputTransformsFeature]})}return Pe})(),gn=(()=>{class Pe extends tn{constructor(Me,$e,Ge,kt,dt,xt,qe){super(Me,$e,Ge,kt,dt,xt,qe),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new ge(this._items),super.ngAfterContentInit()}_itemSelected(Me){Me.preventDefault()}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(u.S8),t.\u0275\u0275directiveInject(p.yG,8),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(h.WU),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-header"]],contentQueries:function($e,Ge,kt){if(1&$e&&t.\u0275\u0275contentQuery(kt,Pt,4),2&$e){let dt;t.\u0275\u0275queryRefresh(dt=t.\u0275\u0275loadQuery())&&(Ge._items=dt)}},viewQuery:function($e,Ge){if(1&$e&&(t.\u0275\u0275viewQuery(K,7),t.\u0275\u0275viewQuery(ee,7),t.\u0275\u0275viewQuery(ne,7),t.\u0275\u0275viewQuery(B,5),t.\u0275\u0275viewQuery(H,5)),2&$e){let kt;t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._tabListContainer=kt.first),t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._tabList=kt.first),t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._tabListInner=kt.first),t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._nextPaginator=kt.first),t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._previousPaginator=kt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function($e,Ge){2&$e&&t.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",Ge._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Ge._getLayoutDirection())},inputs:{disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function($e,Ge){1&$e&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"button",0,1),t.\u0275\u0275listener("click",function(){return Ge._handlePaginatorClick("before")})("mousedown",function(dt){return Ge._handlePaginatorPress("before",dt)})("touchend",function(){return Ge._stopInterval()}),t.\u0275\u0275element(2,"div",2),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"div",3,4),t.\u0275\u0275listener("keydown",function(dt){return Ge._handleKeydown(dt)}),t.\u0275\u0275elementStart(5,"div",5,6),t.\u0275\u0275listener("cdkObserveContent",function(){return Ge._onContentChanges()}),t.\u0275\u0275elementStart(7,"div",7,8),t.\u0275\u0275projection(9),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275elementStart(10,"button",9,10),t.\u0275\u0275listener("mousedown",function(dt){return Ge._handlePaginatorPress("after",dt)})("click",function(){return Ge._handlePaginatorClick("after")})("touchend",function(){return Ge._stopInterval()}),t.\u0275\u0275element(12,"div",2),t.\u0275\u0275elementEnd()),2&$e&&(t.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Ge._disableScrollBefore),t.\u0275\u0275property("matRippleDisabled",Ge._disableScrollBefore||Ge.disableRipple)("disabled",Ge._disableScrollBefore||null),t.\u0275\u0275advance(3),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Ge._animationMode),t.\u0275\u0275advance(7),t.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Ge._disableScrollAfter),t.\u0275\u0275property("matRippleDisabled",Ge._disableScrollAfter||Ge.disableRipple)("disabled",Ge._disableScrollAfter||null))},dependencies:[v.MatRipple,S.Wk],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-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-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return Pe})();const Jt=new t.InjectionToken("MAT_TABS_CONFIG"),an={translateTab:(0,L.gV)("translateTab",[(0,L.K2)("center, void, left-origin-center, right-origin-center",(0,L.wb)({transform:"none"})),(0,L.K2)("left",(0,L.wb)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,L.K2)("right",(0,L.wb)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,L.aK)("* => left, * => right, left => center, right => center",(0,L.Cs)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,L.aK)("void => left-origin-center",[(0,L.wb)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,L.Cs)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,L.aK)("void => right-origin-center",[(0,L.wb)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,L.Cs)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Ot=(()=>{class Pe extends C.IP{constructor(Me,$e,Ge,kt){super(Me,$e,kt),this._host=Ge,this._centeringSub=a.wH.EMPTY,this._leavingSub=a.wH.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,D.W)(this._host._isCenterPosition(this._host._position))).subscribe(Me=>{Me&&!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()}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ComponentFactoryResolver),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject((0,t.forwardRef)(()=>Ut)),t.\u0275\u0275directiveInject(F.DOCUMENT))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return Pe})(),Ut=(()=>{class Pe{set position(Me){this._positionIndex=Me,this._computePositionAnimationState()}constructor(Me,$e,Ge){this._elementRef=Me,this._dir=$e,this._dirChangeSubscription=a.wH.EMPTY,this._translateTabComplete=new E.E,this._onCentering=new t.EventEmitter,this._beforeCentering=new t.EventEmitter,this._afterLeavingCenter=new t.EventEmitter,this._onCentered=new t.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,$e&&(this._dirChangeSubscription=$e.change.subscribe(kt=>{this._computePositionAnimationState(kt),Ge.markForCheck()})),this._translateTabComplete.pipe((0,N.a)((kt,dt)=>kt.fromState===dt.fromState&&kt.toState===dt.toState)).subscribe(kt=>{this._isCenterPosition(kt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(kt.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(Me){const $e=this._isCenterPosition(Me.toState);this._beforeCentering.emit($e),$e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Me){return"center"==Me||"left-origin-center"==Me||"right-origin-center"==Me}_computePositionAnimationState(Me=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Me?"left":"right":this._positionIndex>0?"ltr"==Me?"right":"left":"center"}_computePositionFromOrigin(Me){const $e=this._getLayoutDirection();return"ltr"==$e&&Me<=0||"rtl"==$e&&Me>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(p.yG,8),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-body"]],viewQuery:function($e,Ge){if(1&$e&&t.\u0275\u0275viewQuery(C.IP,5),2&$e){let kt;t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._portalHost=kt.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[t.\u0275\u0275InputFlags.None,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function($e,Ge){1&$e&&(t.\u0275\u0275elementStart(0,"div",0,1),t.\u0275\u0275listener("@translateTab.start",function(dt){return Ge._onTranslateTabStarted(dt)})("@translateTab.done",function(dt){return Ge._translateTabComplete.next(dt)}),t.\u0275\u0275template(2,z,0,0,"ng-template",2),t.\u0275\u0275elementEnd()),2&$e&&t.\u0275\u0275property("@translateTab",t.\u0275\u0275pureFunction2(3,G,Ge._position,t.\u0275\u0275pureFunction1(1,X,Ge.animationDuration)))},dependencies:[Ot,u.Ci],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:[an.translateTab]}})}return Pe})(),xe=0,lt=(()=>{class Pe{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(Me){this._fitInkBarToContent=Me,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(Me){this._indexToSelect=isNaN(Me)?null:Me}get animationDuration(){return this._animationDuration}set animationDuration(Me){const $e=Me+"";this._animationDuration=/^\d+$/.test($e)?Me+"ms":$e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Me){this._contentTabIndex=isNaN(Me)?null:Me}get backgroundColor(){return this._backgroundColor}set backgroundColor(Me){const $e=this._elementRef.nativeElement.classList;$e.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Me&&$e.add("mat-tabs-with-background",`mat-background-${Me}`),this._backgroundColor=Me}constructor(Me,$e,Ge,kt){this._elementRef=Me,this._changeDetectorRef=$e,this._animationMode=kt,this._tabs=new t.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=a.wH.EMPTY,this._tabLabelSubscription=a.wH.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new t.EventEmitter,this.focusChange=new t.EventEmitter,this.animationDone=new t.EventEmitter,this.selectedTabChange=new t.EventEmitter(!0),this._isServer=!(0,t.inject)(h.WU).isBrowser,this._groupId=xe++,this.animationDuration=Ge&&Ge.animationDuration?Ge.animationDuration:"500ms",this.disablePagination=!(!Ge||null==Ge.disablePagination)&&Ge.disablePagination,this.dynamicHeight=!(!Ge||null==Ge.dynamicHeight)&&Ge.dynamicHeight,null!=Ge?.contentTabIndex&&(this.contentTabIndex=Ge.contentTabIndex),this.preserveContent=!!Ge?.preserveContent,this.fitInkBarToContent=!(!Ge||null==Ge.fitInkBarToContent)&&Ge.fitInkBarToContent,this.stretchTabs=!Ge||null==Ge.stretchTabs||Ge.stretchTabs}ngAfterContentChecked(){const Me=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Me){const $e=null==this._selectedIndex;if(!$e){this.selectedTabChange.emit(this._createChangeEvent(Me));const Ge=this._tabBodyWrapper.nativeElement;Ge.style.minHeight=Ge.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Ge,kt)=>Ge.isActive=kt===Me),$e||(this.selectedIndexChange.emit(Me),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(($e,Ge)=>{$e.position=Ge-Me,null!=this._selectedIndex&&0==$e.position&&!$e.origin&&($e.origin=Me-this._selectedIndex)}),this._selectedIndex!==Me&&(this._selectedIndex=Me,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Me=this._clampTabIndex(this._indexToSelect);if(Me===this._selectedIndex){const $e=this._tabs.toArray();let Ge;for(let kt=0;kt<$e.length;kt++)if($e[kt].isActive){this._indexToSelect=this._selectedIndex=kt,this._lastFocusedTabIndex=null,Ge=$e[kt];break}!Ge&&$e[Me]&&Promise.resolve().then(()=>{$e[Me].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Me))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,D.W)(this._allTabs)).subscribe(Me=>{this._tabs.reset(Me.filter($e=>$e._closestTabGroup===this||!$e._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(Me){const $e=this._tabHeader;$e&&($e.focusIndex=Me)}_focusChanged(Me){this._lastFocusedTabIndex=Me,this.focusChange.emit(this._createChangeEvent(Me))}_createChangeEvent(Me){const $e=new At;return $e.index=Me,this._tabs&&this._tabs.length&&($e.tab=this._tabs.toArray()[Me]),$e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,s.U)(...this._tabs.map(Me=>Me._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Me){return Math.min(this._tabs.length-1,Math.max(Me||0,0))}_getTabLabelId(Me){return`mat-tab-label-${this._groupId}-${Me}`}_getTabContentId(Me){return`mat-tab-content-${this._groupId}-${Me}`}_setTabBodyWrapperHeight(Me){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;const $e=this._tabBodyWrapper.nativeElement;$e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&($e.style.height=Me+"px")}_removeTabBodyWrapperHeight(){const Me=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Me.clientHeight,Me.style.height="",this.animationDone.emit()}_handleClick(Me,$e,Ge){$e.focusIndex=Ge,Me.disabled||(this.selectedIndex=Ge)}_getTabIndex(Me){return Me===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Me,$e){Me&&"mouse"!==Me&&"touch"!==Me&&(this._tabHeader.focusIndex=$e)}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(Jt,8),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-group"]],contentQueries:function($e,Ge,kt){if(1&$e&&t.\u0275\u0275contentQuery(kt,be,5),2&$e){let dt;t.\u0275\u0275queryRefresh(dt=t.\u0275\u0275loadQuery())&&(Ge._allTabs=dt)}},viewQuery:function($e,Ge){if(1&$e&&(t.\u0275\u0275viewQuery(j,5),t.\u0275\u0275viewQuery(le,5)),2&$e){let kt;t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._tabBodyWrapper=kt.first),t.\u0275\u0275queryRefresh(kt=t.\u0275\u0275loadQuery())&&(Ge._tabHeader=kt.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function($e,Ge){2&$e&&(t.\u0275\u0275classMap("mat-"+(Ge.color||"primary")),t.\u0275\u0275styleProp("--mat-tab-animation-duration",Ge.animationDuration),t.\u0275\u0275classProp("mat-mdc-tab-group-dynamic-height",Ge.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Ge.headerPosition)("mat-mdc-tab-group-stretch-tabs",Ge.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",t.booleanAttribute],stretchTabs:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"mat-stretch-tabs","stretchTabs",t.booleanAttribute],dynamicHeight:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"dynamicHeight","dynamicHeight",t.booleanAttribute],selectedIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"selectedIndex","selectedIndex",t.numberAttribute],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"contentTabIndex","contentTabIndex",t.numberAttribute],disablePagination:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disablePagination","disablePagination",t.booleanAttribute],disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute],preserveContent:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"preserveContent","preserveContent",t.booleanAttribute],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:q,useExisting:Pe}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:9,vars:6,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function($e,Ge){1&$e&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"mat-tab-header",0,1),t.\u0275\u0275listener("indexFocused",function(dt){return Ge._focusChanged(dt)})("selectFocusedIndex",function(dt){return Ge.selectedIndex=dt}),t.\u0275\u0275repeaterCreate(2,_t,8,16,"div",12,t.\u0275\u0275repeaterTrackByIdentity),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,ct,1,0),t.\u0275\u0275elementStart(5,"div",2,3),t.\u0275\u0275repeaterCreate(7,Ct,1,12,"mat-tab-body",13,t.\u0275\u0275repeaterTrackByIdentity),t.\u0275\u0275elementEnd()),2&$e&&(t.\u0275\u0275property("selectedIndex",Ge.selectedIndex||0)("disableRipple",Ge.disableRipple)("disablePagination",Ge.disablePagination),t.\u0275\u0275advance(2),t.\u0275\u0275repeater(Ge._tabs),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(4,Ge._isServer?4:-1),t.\u0275\u0275advance(),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Ge._animationMode),t.\u0275\u0275advance(2),t.\u0275\u0275repeater(Ge._tabs))},dependencies:[gn,Pt,y.Si,F.NgClass,v.MatRipple,C.IP,Ut],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return Pe})();class At{}let nt=0,vt=(()=>{class Pe extends tn{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(Me){this._fitInkBarToContent.next(Me),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(Me){const $e=Me+"";this._animationDuration=/^\d+$/.test($e)?Me+"ms":$e}get backgroundColor(){return this._backgroundColor}set backgroundColor(Me){const $e=this._elementRef.nativeElement.classList;$e.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Me&&$e.add("mat-tabs-with-background",`mat-background-${Me}`),this._backgroundColor=Me}constructor(Me,$e,Ge,kt,dt,xt,qe,Fe){super(Me,kt,dt,$e,Ge,xt,qe),this._fitInkBarToContent=new r.g(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=!(!Fe||null==Fe.disablePagination)&&Fe.disablePagination,this.fitInkBarToContent=!(!Fe||null==Fe.fitInkBarToContent)&&Fe.fitInkBarToContent,this.stretchTabs=!Fe||null==Fe.stretchTabs||Fe.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new ge(this._items),this._items.changes.pipe((0,D.W)(null),(0,w.a)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const Me=this._items.toArray();for(let $e=0;$e.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return Pe})();const Le=Ve(class{});let He=(()=>{class Pe extends Le{get active(){return this._isActive}set active(Me){Me!==this._isActive&&(this._isActive=Me,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(Me,$e,Ge,kt,dt,xt){super(),this._tabNavBar=Me,this.elementRef=$e,this._focusMonitor=dt,this._destroyed=new E.E,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id="mat-tab-link-"+nt++,this.rippleConfig=Ge||{},this.tabIndex=parseInt(kt)||0,"NoopAnimations"===xt&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),Me._fitInkBarToContent.pipe((0,w.a)(this._destroyed)).subscribe(qe=>{this.fitInkBarToContent=qe})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(Me){(Me.keyCode===M.Gi||Me.keyCode===M.wJ)&&(this.disabled?Me.preventDefault():this._tabNavBar.tabPanel&&(Me.keyCode===M.Gi&&Me.preventDefault(),this.elementRef.nativeElement.click()))}_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.disabled?-1:this.tabIndex}static#e=this.\u0275fac=function($e){return new($e||Pe)(t.\u0275\u0275directiveInject(vt),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(v.MAT_RIPPLE_GLOBAL_OPTIONS,8),t.\u0275\u0275injectAttribute("tabindex"),t.\u0275\u0275directiveInject(y.Kk),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Pe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function($e,Ge){1&$e&&t.\u0275\u0275listener("focus",function(){return Ge._handleFocus()})("keydown",function(dt){return Ge._handleKeydown(dt)}),2&$e&&(t.\u0275\u0275attribute("aria-controls",Ge._getAriaControls())("aria-current",Ge._getAriaCurrent())("aria-disabled",Ge.disabled)("aria-selected",Ge._getAriaSelected())("id",Ge.id)("tabIndex",Ge._getTabIndex())("role",Ge._getRole()),t.\u0275\u0275classProp("mat-mdc-tab-disabled",Ge.disabled)("mdc-tab--active",Ge.active))},inputs:{active:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"active","active",t.booleanAttribute],disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute],tabIndex:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",Me=>null==Me?0:(0,t.numberAttribute)(Me)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],attrs:ke,ngContentSelectors:U,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function($e,Ge){1&$e&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275element(0,"span",0)(1,"div",1),t.\u0275\u0275elementStart(2,"span",2)(3,"span",3),t.\u0275\u0275projection(4),t.\u0275\u0275elementEnd()()),2&$e&&(t.\u0275\u0275advance(),t.\u0275\u0275property("matRippleTrigger",Ge.elementRef.nativeElement)("matRippleDisabled",Ge.rippleDisabled))},dependencies:[v.MatRipple],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return Pe})(),st=(()=>{class Pe{constructor(){this.id="mat-tab-nav-panel-"+nt++}static#e=this.\u0275fac=function($e){return new($e||Pe)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function($e,Ge){2&$e&&t.\u0275\u0275attribute("aria-labelledby",Ge._activeTabId)("id",Ge.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:1,vars:0,template:function($e,Ge){1&$e&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0})}return Pe})(),Te=(()=>{class Pe{static#e=this.\u0275fac=function($e){return new($e||Pe)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:Pe});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[v.MatCommonModule,v.MatCommonModule]})}return Pe})()},964:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MatToolbar:()=>f,MatToolbarModule:()=>l,MatToolbarRow:()=>s,throwToolbarMixedModesError:()=>d});var t=g(4496),v=g(3576),C=g(5792),E=g(1368);const c=["*",[["mat-toolbar-row"]]],b=["*","mat-toolbar-row"];let s=(()=>{class a{static#e=this.\u0275fac=function(h){return new(h||a)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:a,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0})}return a})(),f=(()=>{class a{constructor(u,h,p){this._elementRef=u,this._platform=h,this._document=p}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(h){return new(h||a)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(C.WU),t.\u0275\u0275directiveInject(E.DOCUMENT))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:a,selectors:[["mat-toolbar"]],contentQueries:function(h,p,_){if(1&h&&t.\u0275\u0275contentQuery(_,s,5),2&h){let y;t.\u0275\u0275queryRefresh(y=t.\u0275\u0275loadQuery())&&(p._toolbarRows=y)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(h,p){2&h&&(t.\u0275\u0275classMap(p.color?"mat-"+p.color:""),t.\u0275\u0275classProp("mat-toolbar-multiple-rows",p._toolbarRows.length>0)("mat-toolbar-single-row",0===p._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],ngContentSelectors:b,decls:2,vars:0,template:function(h,p){1&h&&(t.\u0275\u0275projectionDef(c),t.\u0275\u0275projection(0),t.\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-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.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})}return a})();function d(){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 l=(()=>{class a{static#e=this.\u0275fac=function(h){return new(h||a)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:a});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[v.MatCommonModule,v.MatCommonModule]})}return a})()},6496:(De,te,g)=>{"use strict";g.d(te,{KO:()=>H,a4:()=>ee});var t=g(3616),v=g(3992),C=g(7712),E=g(5420),c=g(4496),b=g(1368),s=g(5792),f=g(1336),d=g(1900),l=g(7556),a=g(1904),r=g(2488),u=g(5657),p=(g(9684),g(3576));const _=["tooltip"],w=new c.InjectionToken("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const z=(0,c.inject)(l.mc);return()=>z.scrollStrategies.reposition({scrollThrottle:20})}}),D={provide:w,deps:[l.mc],useFactory:function k(z){return()=>z.scrollStrategies.reposition({scrollThrottle:20})}},O=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function I(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),N="tooltip-panel",S=(0,s.W4)({passive:!0});let ee=(()=>{class z{get position(){return this._position}set position(G){G!==this._position&&(this._position=G,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(G){this._positionAtOrigin=(0,C.W6)(G),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(G){this._disabled=(0,C.W6)(G),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(G){this._showDelay=(0,C.wZ)(G)}get hideDelay(){return this._hideDelay}set hideDelay(G){this._hideDelay=(0,C.wZ)(G),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(G){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=G?String(G).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(G){this._tooltipClass=G,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(G,j,le,ue,ve,Je,_t,ct,Ct,Re,ke,fe){this._overlay=G,this._elementRef=j,this._scrollDispatcher=le,this._viewContainerRef=ue,this._ngZone=ve,this._platform=Je,this._ariaDescriber=_t,this._focusMonitor=ct,this._dir=Re,this._defaultOptions=ke,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=ne,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new u.E,this._scrollStrategy=Ct,this._document=fe,ke&&(this._showDelay=ke.showDelay,this._hideDelay=ke.hideDelay,ke.position&&(this.position=ke.position),ke.positionAtOrigin&&(this.positionAtOrigin=ke.positionAtOrigin),ke.touchGestures&&(this.touchGestures=ke.touchGestures)),Re.change.pipe((0,t.a)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,t.a)(this._destroyed)).subscribe(G=>{G?"keyboard"===G&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const G=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([j,le])=>{G.removeEventListener(j,le,S)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(G,this.message,"tooltip"),this._focusMonitor.stopMonitoring(G)}show(G=this.showDelay,j){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const le=this._createOverlay(j);this._detach(),this._portal=this._portal||new r.KC(this._tooltipComponent,this._viewContainerRef);const ue=this._tooltipInstance=le.attach(this._portal).instance;ue._triggerElement=this._elementRef.nativeElement,ue._mouseLeaveHideDelay=this._hideDelay,ue.afterHidden().pipe((0,t.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),ue.show(G)}hide(G=this.hideDelay){const j=this._tooltipInstance;j&&(j.isVisible()?j.hide(G):(j._cancelPendingAnimations(),this._detach()))}toggle(G){this._isTooltipVisible()?this.hide():this.show(void 0,G)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(G){if(this._overlayRef){const ue=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!G)&&ue._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const j=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),le=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&G||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(j);return le.positionChanges.pipe((0,t.a)(this._destroyed)).subscribe(ue=>{this._updateCurrentPositionClass(ue.connectionPair),this._tooltipInstance&&ue.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:le,panelClass:`${this._cssClassPrefix}-${N}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,t.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,t.a)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,t.a)(this._destroyed)).subscribe(ue=>{this._isTooltipVisible()&&ue.keyCode===E.UX&&!(0,E.Yp)(ue)&&(ue.preventDefault(),ue.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(G){const j=G.getConfig().positionStrategy,le=this._getOrigin(),ue=this._getOverlayPosition();j.withPositions([this._addOffset({...le.main,...ue.main}),this._addOffset({...le.fallback,...ue.fallback})])}_addOffset(G){const le=!this._dir||"ltr"==this._dir.value;return"top"===G.originY?G.offsetY=-8:"bottom"===G.originY?G.offsetY=8:"start"===G.originX?G.offsetX=le?-8:8:"end"===G.originX&&(G.offsetX=le?8:-8),G}_getOrigin(){const G=!this._dir||"ltr"==this._dir.value,j=this.position;let le;"above"==j||"below"==j?le={originX:"center",originY:"above"==j?"top":"bottom"}:"before"==j||"left"==j&&G||"right"==j&&!G?le={originX:"start",originY:"center"}:("after"==j||"right"==j&&G||"left"==j&&!G)&&(le={originX:"end",originY:"center"});const{x:ue,y:ve}=this._invertPosition(le.originX,le.originY);return{main:le,fallback:{originX:ue,originY:ve}}}_getOverlayPosition(){const G=!this._dir||"ltr"==this._dir.value,j=this.position;let le;"above"==j?le={overlayX:"center",overlayY:"bottom"}:"below"==j?le={overlayX:"center",overlayY:"top"}:"before"==j||"left"==j&&G||"right"==j&&!G?le={overlayX:"end",overlayY:"center"}:("after"==j||"right"==j&&G||"left"==j&&!G)&&(le={overlayX:"start",overlayY:"center"});const{x:ue,y:ve}=this._invertPosition(le.overlayX,le.overlayY);return{main:le,fallback:{overlayX:ue,overlayY:ve}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,v.U)(1),(0,t.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(G){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=G,this._tooltipInstance._markForCheck())}_invertPosition(G,j){return"above"===this.position||"below"===this.position?"top"===j?j="bottom":"bottom"===j&&(j="top"):"end"===G?G="start":"start"===G&&(G="end"),{x:G,y:j}}_updateCurrentPositionClass(G){const{overlayY:j,originX:le,originY:ue}=G;let ve;if(ve="center"===j?this._dir&&"rtl"===this._dir.value?"end"===le?"left":"right":"start"===le?"left":"right":"bottom"===j&&"top"===ue?"above":"below",ve!==this._currentPosition){const Je=this._overlayRef;if(Je){const _t=`${this._cssClassPrefix}-${N}-`;Je.removePanelClass(_t+this._currentPosition),Je.addPanelClass(_t+ve)}this._currentPosition=ve}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",G=>{let j;this._setupPointerExitEventsIfNeeded(),void 0!==G.x&&void 0!==G.y&&(j=G),this.show(void 0,j)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",G=>{const j=G.targetTouches?.[0],le=j?{x:j.clientX,y:j.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,le),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const G=[];if(this._platformSupportsMouseEvents())G.push(["mouseleave",j=>{const le=j.relatedTarget;(!le||!this._overlayRef?.overlayElement.contains(le))&&this.hide()}],["wheel",j=>this._wheelListener(j)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const j=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};G.push(["touchend",j],["touchcancel",j])}this._addListeners(G),this._passiveListeners.push(...G)}_addListeners(G){G.forEach(([j,le])=>{this._elementRef.nativeElement.addEventListener(j,le,S)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(G){if(this._isTooltipVisible()){const j=this._document.elementFromPoint(G.clientX,G.clientY),le=this._elementRef.nativeElement;j!==le&&!le.contains(j)&&this.hide()}}_disableNativeGesturesIfNecessary(){const G=this.touchGestures;if("off"!==G){const j=this._elementRef.nativeElement,le=j.style;("on"===G||"INPUT"!==j.nodeName&&"TEXTAREA"!==j.nodeName)&&(le.userSelect=le.msUserSelect=le.webkitUserSelect=le.MozUserSelect="none"),("on"===G||!j.draggable)&&(le.webkitUserDrag="none"),le.touchAction="none",le.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(j){return new(j||z)(c.\u0275\u0275directiveInject(l.mc),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(a.Yn),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(s.WU),c.\u0275\u0275directiveInject(f.o9),c.\u0275\u0275directiveInject(f.Kk),c.\u0275\u0275directiveInject(w),c.\u0275\u0275directiveInject(d.yG),c.\u0275\u0275directiveInject(O,8),c.\u0275\u0275directiveInject(b.DOCUMENT))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:z,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(j,le){2&j&&c.\u0275\u0275classProp("mat-mdc-tooltip-disabled",le.disabled)},inputs:{position:[c.\u0275\u0275InputFlags.None,"matTooltipPosition","position"],positionAtOrigin:[c.\u0275\u0275InputFlags.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[c.\u0275\u0275InputFlags.None,"matTooltipDisabled","disabled"],showDelay:[c.\u0275\u0275InputFlags.None,"matTooltipShowDelay","showDelay"],hideDelay:[c.\u0275\u0275InputFlags.None,"matTooltipHideDelay","hideDelay"],touchGestures:[c.\u0275\u0275InputFlags.None,"matTooltipTouchGestures","touchGestures"],message:[c.\u0275\u0275InputFlags.None,"matTooltip","message"],tooltipClass:[c.\u0275\u0275InputFlags.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}return z})(),ne=(()=>{class z{constructor(G,j,le){this._changeDetectorRef=G,this._elementRef=j,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new u.E,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===le}show(G){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},G)}hide(G){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},G)}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:G}){(!G||!this._triggerElement.contains(G))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const G=this._elementRef.nativeElement.getBoundingClientRect();return G.height>24&&G.width>=200}_handleAnimationEnd({animationName:G}){(G===this._showAnimation||G===this._hideAnimation)&&this._finalizeAnimation(G===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(G){G?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(G){const j=this._tooltip.nativeElement,le=this._showAnimation,ue=this._hideAnimation;if(j.classList.remove(G?ue:le),j.classList.add(G?le:ue),this._isVisible=G,G&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const ve=getComputedStyle(j);("0s"===ve.getPropertyValue("animation-duration")||"none"===ve.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}G&&this._onShow(),this._animationsDisabled&&(j.classList.add("_mat-animation-noopable"),this._finalizeAnimation(G))}static#e=this.\u0275fac=function(j){return new(j||z)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:z,selectors:[["mat-tooltip-component"]],viewQuery:function(j,le){if(1&j&&c.\u0275\u0275viewQuery(_,7),2&j){let ue;c.\u0275\u0275queryRefresh(ue=c.\u0275\u0275loadQuery())&&(le._tooltip=ue.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(j,le){1&j&&c.\u0275\u0275listener("mouseleave",function(ve){return le._handleMouseLeave(ve)}),2&j&&c.\u0275\u0275styleProp("zoom",le.isVisible()?1:null)},standalone:!0,features:[c.\u0275\u0275StandaloneFeature],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(j,le){1&j&&(c.\u0275\u0275elementStart(0,"div",0,1),c.\u0275\u0275listener("animationend",function(ve){return le._handleAnimationEnd(ve)}),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd()()),2&j&&(c.\u0275\u0275classProp("mdc-tooltip--multiline",le._isMultiline),c.\u0275\u0275property("ngClass",le.tooltipClass),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(le.message))},dependencies:[b.NgClass],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow: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);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return z})(),H=(()=>{class z{static#e=this.\u0275fac=function(j){return new(j||z)};static#t=this.\u0275mod=c.\u0275\u0275defineNgModule({type:z});static#n=this.\u0275inj=c.\u0275\u0275defineInjector({providers:[D],imports:[f.Ux,b.CommonModule,l.Y1,p.MatCommonModule,p.MatCommonModule,a.uU]})}return z})()},4476:(De,te,g)=>{"use strict";g.r(te),g.d(te,{BrowserModule:()=>Be,By:()=>ze,DomSanitizer:()=>Jt,EVENT_MANAGER_PLUGINS:()=>a,EventManager:()=>r,EventManagerPlugin:()=>u,HAMMER_GESTURE_CONFIG:()=>Gt,HAMMER_LOADER:()=>rn,HammerGestureConfig:()=>on,HammerModule:()=>gn,HydrationFeatureKind:()=>Ot,Meta:()=>Ie,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>I,Title:()=>q,TransferState:()=>Le,VERSION:()=>nt,bootstrapApplication:()=>j,createApplication:()=>le,disableDebugTools:()=>ot,enableDebugTools:()=>Ve,makeStateKey:()=>vt,platformBrowser:()=>Re,provideClientHydration:()=>At,provideProtractorTestingSupport:()=>ve,withHttpTransferCacheOptions:()=>rt,withNoHttpTransferCache:()=>xe,\u0275BrowserDomAdapter:()=>c,\u0275BrowserGetTestability:()=>d,\u0275DomEventsPlugin:()=>B,\u0275DomRendererFactory2:()=>S,\u0275DomSanitizerImpl:()=>an,\u0275HammerGesturesPlugin:()=>tn,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>Ct,\u0275KeyEventsPlugin:()=>G,\u0275SharedStylesHost:()=>p,\u0275getDOM:()=>v.\u0275getDOM,\u0275initDomAdapter:()=>Je});var t=g(4496),v=g(1368),C=g(7048);class E extends v.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class c extends E{static makeCurrent(){(0,v.\u0275setRootDomAdapter)(new c)}onAndCancel(st,Te,Pe){return st.addEventListener(Te,Pe),()=>{st.removeEventListener(Te,Pe)}}dispatchEvent(st,Te){st.dispatchEvent(Te)}remove(st){st.parentNode&&st.parentNode.removeChild(st)}createElement(st,Te){return(Te=Te||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,Te){return"window"===Te?window:"document"===Te?st:"body"===Te?st.body:null}getBaseHref(st){const Te=function s(){return b=b||document.querySelector("base"),b?b.getAttribute("href"):null}();return null==Te?null:function f(He){return new URL(He,document.baseURI).pathname}(Te)}resetBaseElement(){b=null}getUserAgent(){return window.navigator.userAgent}getCookie(st){return(0,v.\u0275parseCookieValue)(document.cookie,st)}}let b=null;class d{addToWindow(st){t.\u0275global.getAngularTestability=(Pe,bt=!0)=>{const Me=st.findTestabilityInTree(Pe,bt);if(null==Me)throw new t.\u0275RuntimeError(5103,!1);return Me},t.\u0275global.getAllAngularTestabilities=()=>st.getAllTestabilities(),t.\u0275global.getAllAngularRootElements=()=>st.getAllRootElements(),t.\u0275global.frameworkStabilizers||(t.\u0275global.frameworkStabilizers=[]),t.\u0275global.frameworkStabilizers.push(Pe=>{const bt=t.\u0275global.getAllAngularTestabilities();let Me=bt.length;const $e=function(){Me--,0==Me&&Pe()};bt.forEach(Ge=>{Ge.whenStable($e)})})}findTestabilityInTree(st,Te,Pe){return null==Te?null:st.getTestability(Te)??(Pe?(0,v.\u0275getDOM)().isShadowRoot(Te)?this.findTestabilityInTree(st,Te.host,!0):this.findTestabilityInTree(st,Te.parentElement,!0):null)}}let l=(()=>{class He{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Pe){return new(Pe||He)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})();const a=new t.InjectionToken("");let r=(()=>{class He{constructor(Te,Pe){this._zone=Pe,this._eventNameToPlugin=new Map,Te.forEach(bt=>{bt.manager=this}),this._plugins=Te.slice().reverse()}addEventListener(Te,Pe,bt){return this._findPluginFor(Pe).addEventListener(Te,Pe,bt)}getZone(){return this._zone}_findPluginFor(Te){let Pe=this._eventNameToPlugin.get(Te);if(Pe)return Pe;if(Pe=this._plugins.find(Me=>Me.supports(Te)),!Pe)throw new t.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(Te,Pe),Pe}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(a),t.\u0275\u0275inject(t.NgZone))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})();class u{constructor(st){this._doc=st}}const h="ng-app-id";let p=(()=>{class He{constructor(Te,Pe,bt,Me={}){this.doc=Te,this.appId=Pe,this.nonce=bt,this.platformId=Me,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,v.isPlatformServer)(Me),this.resetHostNodes()}addStyles(Te){for(const Pe of Te)1===this.changeUsageCount(Pe,1)&&this.onStyleAdded(Pe)}removeStyles(Te){for(const Pe of Te)this.changeUsageCount(Pe,-1)<=0&&this.onStyleRemoved(Pe)}ngOnDestroy(){const Te=this.styleNodesInDOM;Te&&(Te.forEach(Pe=>Pe.remove()),Te.clear());for(const Pe of this.getAllStyles())this.onStyleRemoved(Pe);this.resetHostNodes()}addHost(Te){this.hostNodes.add(Te);for(const Pe of this.getAllStyles())this.addStyleToHost(Te,Pe)}removeHost(Te){this.hostNodes.delete(Te)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Te){for(const Pe of this.hostNodes)this.addStyleToHost(Pe,Te)}onStyleRemoved(Te){const Pe=this.styleRef;Pe.get(Te)?.elements?.forEach(bt=>bt.remove()),Pe.delete(Te)}collectServerRenderedStyles(){const Te=this.doc.head?.querySelectorAll(`style[${h}="${this.appId}"]`);if(Te?.length){const Pe=new Map;return Te.forEach(bt=>{null!=bt.textContent&&Pe.set(bt.textContent,bt)}),Pe}return null}changeUsageCount(Te,Pe){const bt=this.styleRef;if(bt.has(Te)){const Me=bt.get(Te);return Me.usage+=Pe,Me.usage}return bt.set(Te,{usage:Pe,elements:[]}),Pe}getStyleElement(Te,Pe){const bt=this.styleNodesInDOM,Me=bt?.get(Pe);if(Me?.parentNode===Te)return bt.delete(Pe),Me.removeAttribute(h),Me;{const $e=this.doc.createElement("style");return this.nonce&&$e.setAttribute("nonce",this.nonce),$e.textContent=Pe,this.platformIsServer&&$e.setAttribute(h,this.appId),Te.appendChild($e),$e}}addStyleToHost(Te,Pe){const bt=this.getStyleElement(Te,Pe),Me=this.styleRef,$e=Me.get(Pe)?.elements;$e?$e.push(bt):Me.set(Pe,{elements:[bt],usage:1})}resetHostNodes(){const Te=this.hostNodes;Te.clear(),Te.add(this.doc.head)}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT),t.\u0275\u0275inject(t.APP_ID),t.\u0275\u0275inject(t.CSP_NONCE,8),t.\u0275\u0275inject(t.PLATFORM_ID))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})();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/",math:"http://www.w3.org/1998/MathML/"},y=/%COMP%/g,M="%COMP%",w=`_nghost-${M}`,k=`_ngcontent-${M}`,I=new t.InjectionToken("",{providedIn:"root",factory:()=>!0});function N(He,st){return st.map(Te=>Te.replace(y,He))}let S=(()=>{class He{constructor(Te,Pe,bt,Me,$e,Ge,kt,dt=null){this.eventManager=Te,this.sharedStylesHost=Pe,this.appId=bt,this.removeStylesOnCompDestroy=Me,this.doc=$e,this.platformId=Ge,this.ngZone=kt,this.nonce=dt,this.rendererByCompId=new Map,this.platformIsServer=(0,v.isPlatformServer)(Ge),this.defaultRenderer=new F(Te,$e,kt,this.platformIsServer)}createRenderer(Te,Pe){if(!Te||!Pe)return this.defaultRenderer;this.platformIsServer&&Pe.encapsulation===t.ViewEncapsulation.ShadowDom&&(Pe={...Pe,encapsulation:t.ViewEncapsulation.Emulated});const bt=this.getOrCreateRenderer(Te,Pe);return bt instanceof ne?bt.applyToHost(Te):bt instanceof ee&&bt.applyStyles(),bt}getOrCreateRenderer(Te,Pe){const bt=this.rendererByCompId;let Me=bt.get(Pe.id);if(!Me){const $e=this.doc,Ge=this.ngZone,kt=this.eventManager,dt=this.sharedStylesHost,xt=this.removeStylesOnCompDestroy,qe=this.platformIsServer;switch(Pe.encapsulation){case t.ViewEncapsulation.Emulated:Me=new ne(kt,dt,Pe,this.appId,xt,$e,Ge,qe);break;case t.ViewEncapsulation.ShadowDom:return new K(kt,dt,Te,Pe,$e,Ge,this.nonce,qe);default:Me=new ee(kt,dt,Pe,xt,$e,Ge,qe)}bt.set(Pe.id,Me)}return Me}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(r),t.\u0275\u0275inject(p),t.\u0275\u0275inject(t.APP_ID),t.\u0275\u0275inject(I),t.\u0275\u0275inject(v.DOCUMENT),t.\u0275\u0275inject(t.PLATFORM_ID),t.\u0275\u0275inject(t.NgZone),t.\u0275\u0275inject(t.CSP_NONCE))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})();class F{constructor(st,Te,Pe,bt){this.eventManager=st,this.doc=Te,this.ngZone=Pe,this.platformIsServer=bt,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(st,Te){return Te?this.doc.createElementNS(_[Te]||Te,st):this.doc.createElement(st)}createComment(st){return this.doc.createComment(st)}createText(st){return this.doc.createTextNode(st)}appendChild(st,Te){(U(st)?st.content:st).appendChild(Te)}insertBefore(st,Te,Pe){st&&(U(st)?st.content:st).insertBefore(Te,Pe)}removeChild(st,Te){st&&st.removeChild(Te)}selectRootElement(st,Te){let Pe="string"==typeof st?this.doc.querySelector(st):st;if(!Pe)throw new t.\u0275RuntimeError(-5104,!1);return Te||(Pe.textContent=""),Pe}parentNode(st){return st.parentNode}nextSibling(st){return st.nextSibling}setAttribute(st,Te,Pe,bt){if(bt){Te=bt+":"+Te;const Me=_[bt];Me?st.setAttributeNS(Me,Te,Pe):st.setAttribute(Te,Pe)}else st.setAttribute(Te,Pe)}removeAttribute(st,Te,Pe){if(Pe){const bt=_[Pe];bt?st.removeAttributeNS(bt,Te):st.removeAttribute(`${Pe}:${Te}`)}else st.removeAttribute(Te)}addClass(st,Te){st.classList.add(Te)}removeClass(st,Te){st.classList.remove(Te)}setStyle(st,Te,Pe,bt){bt&(t.RendererStyleFlags2.DashCase|t.RendererStyleFlags2.Important)?st.style.setProperty(Te,Pe,bt&t.RendererStyleFlags2.Important?"important":""):st.style[Te]=Pe}removeStyle(st,Te,Pe){Pe&t.RendererStyleFlags2.DashCase?st.style.removeProperty(Te):st.style[Te]=""}setProperty(st,Te,Pe){null!=st&&(st[Te]=Pe)}setValue(st,Te){st.nodeValue=Te}listen(st,Te,Pe){if("string"==typeof st&&!(st=(0,v.\u0275getDOM)().getGlobalEventTarget(this.doc,st)))throw new Error(`Unsupported event target ${st} for event ${Te}`);return this.eventManager.addEventListener(st,Te,this.decoratePreventDefault(Pe))}decoratePreventDefault(st){return Te=>{if("__ngUnwrap__"===Te)return st;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>st(Te)):st(Te))&&Te.preventDefault()}}}function U(He){return"TEMPLATE"===He.tagName&&void 0!==He.content}class K extends F{constructor(st,Te,Pe,bt,Me,$e,Ge,kt){super(st,Me,$e,kt),this.sharedStylesHost=Te,this.hostEl=Pe,this.shadowRoot=Pe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const dt=N(bt.id,bt.styles);for(const xt of dt){const qe=document.createElement("style");Ge&&qe.setAttribute("nonce",Ge),qe.textContent=xt,this.shadowRoot.appendChild(qe)}}nodeOrShadowRoot(st){return st===this.hostEl?this.shadowRoot:st}appendChild(st,Te){return super.appendChild(this.nodeOrShadowRoot(st),Te)}insertBefore(st,Te,Pe){return super.insertBefore(this.nodeOrShadowRoot(st),Te,Pe)}removeChild(st,Te){return super.removeChild(this.nodeOrShadowRoot(st),Te)}parentNode(st){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(st)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ee extends F{constructor(st,Te,Pe,bt,Me,$e,Ge,kt){super(st,Me,$e,Ge),this.sharedStylesHost=Te,this.removeStylesOnCompDestroy=bt,this.styles=kt?N(kt,Pe.styles):Pe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ne extends ee{constructor(st,Te,Pe,bt,Me,$e,Ge,kt){const dt=bt+"-"+Pe.id;super(st,Te,Pe,Me,$e,Ge,kt,dt),this.contentAttr=function O(He){return k.replace(y,He)}(dt),this.hostAttr=function T(He){return w.replace(y,He)}(dt)}applyToHost(st){this.applyStyles(),this.setAttribute(st,this.hostAttr,"")}createElement(st,Te){const Pe=super.createElement(st,Te);return super.setAttribute(Pe,this.contentAttr,""),Pe}}let B=(()=>{class He extends u{constructor(Te){super(Te)}supports(Te){return!0}addEventListener(Te,Pe,bt){return Te.addEventListener(Pe,bt,!1),()=>this.removeEventListener(Te,Pe,bt)}removeEventListener(Te,Pe,bt){return Te.removeEventListener(Pe,bt)}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})();const H=["alt","control","meta","shift"],z={"\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"},X={alt:He=>He.altKey,control:He=>He.ctrlKey,meta:He=>He.metaKey,shift:He=>He.shiftKey};let G=(()=>{class He extends u{constructor(Te){super(Te)}supports(Te){return null!=He.parseEventName(Te)}addEventListener(Te,Pe,bt){const Me=He.parseEventName(Pe),$e=He.eventCallback(Me.fullKey,bt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,v.\u0275getDOM)().onAndCancel(Te,Me.domEventName,$e))}static parseEventName(Te){const Pe=Te.toLowerCase().split("."),bt=Pe.shift();if(0===Pe.length||"keydown"!==bt&&"keyup"!==bt)return null;const Me=He._normalizeKey(Pe.pop());let $e="",Ge=Pe.indexOf("code");if(Ge>-1&&(Pe.splice(Ge,1),$e="code."),H.forEach(dt=>{const xt=Pe.indexOf(dt);xt>-1&&(Pe.splice(xt,1),$e+=dt+".")}),$e+=Me,0!=Pe.length||0===Me.length)return null;const kt={};return kt.domEventName=bt,kt.fullKey=$e,kt}static matchEventFullKeyCode(Te,Pe){let bt=z[Te.key]||Te.key,Me="";return Pe.indexOf("code.")>-1&&(bt=Te.code,Me="code."),!(null==bt||!bt)&&(bt=bt.toLowerCase()," "===bt?bt="space":"."===bt&&(bt="dot"),H.forEach($e=>{$e!==bt&&(0,X[$e])(Te)&&(Me+=$e+".")}),Me+=bt,Me===Pe)}static eventCallback(Te,Pe,bt){return Me=>{He.matchEventFullKeyCode(Me,Te)&&bt.runGuarded(()=>Pe(Me))}}static _normalizeKey(Te){return"esc"===Te?"escape":Te}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})();function j(He,st){return(0,t.\u0275internalCreateApplication)({rootComponent:He,...ue(st)})}function le(He){return(0,t.\u0275internalCreateApplication)(ue(He))}function ue(He){return{appProviders:[...Ke,...He?.providers??[]],platformProviders:Ct}}function ve(){return[...fe]}function Je(){c.makeCurrent()}const Ct=[{provide:t.PLATFORM_ID,useValue:v.\u0275PLATFORM_BROWSER_ID},{provide:t.PLATFORM_INITIALIZER,useValue:Je,multi:!0},{provide:v.DOCUMENT,useFactory:function ct(){return(0,t.\u0275setDocument)(document),document},deps:[]}],Re=(0,t.createPlatformFactory)(t.platformCore,"browser",Ct),ke=new t.InjectionToken(""),fe=[{provide:t.\u0275TESTABILITY_GETTER,useClass:d,deps:[]},{provide:t.\u0275TESTABILITY,useClass:t.Testability,deps:[t.NgZone,t.TestabilityRegistry,t.\u0275TESTABILITY_GETTER]},{provide:t.Testability,useClass:t.Testability,deps:[t.NgZone,t.TestabilityRegistry,t.\u0275TESTABILITY_GETTER]}],Ke=[{provide:t.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:t.ErrorHandler,useFactory:function _t(){return new t.ErrorHandler},deps:[]},{provide:a,useClass:B,multi:!0,deps:[v.DOCUMENT,t.NgZone,t.PLATFORM_ID]},{provide:a,useClass:G,multi:!0,deps:[v.DOCUMENT]},S,p,r,{provide:t.RendererFactory2,useExisting:S},{provide:v.XhrFactory,useClass:l,deps:[]},[]];let Be=(()=>{class He{constructor(Te){}static withServerTransition(Te){return{ngModule:He,providers:[{provide:t.APP_ID,useValue:Te.appId}]}}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(ke,12))};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:He});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[...Ke,...fe],imports:[v.CommonModule,t.ApplicationModule]})}return He})(),Ie=(()=>{class He{constructor(Te){this._doc=Te,this._dom=(0,v.\u0275getDOM)()}addTag(Te,Pe=!1){return Te?this._getOrCreateElement(Te,Pe):null}addTags(Te,Pe=!1){return Te?Te.reduce((bt,Me)=>(Me&&bt.push(this._getOrCreateElement(Me,Pe)),bt),[]):[]}getTag(Te){return Te&&this._doc.querySelector(`meta[${Te}]`)||null}getTags(Te){if(!Te)return[];const Pe=this._doc.querySelectorAll(`meta[${Te}]`);return Pe?[].slice.call(Pe):[]}updateTag(Te,Pe){if(!Te)return null;Pe=Pe||this._parseSelector(Te);const bt=this.getTag(Pe);return bt?this._setMetaElementAttributes(Te,bt):this._getOrCreateElement(Te,!0)}removeTag(Te){this.removeTagElement(this.getTag(Te))}removeTagElement(Te){Te&&this._dom.remove(Te)}_getOrCreateElement(Te,Pe=!1){if(!Pe){const $e=this._parseSelector(Te),Ge=this.getTags($e).filter(kt=>this._containsAttributes(Te,kt))[0];if(void 0!==Ge)return Ge}const bt=this._dom.createElement("meta");return this._setMetaElementAttributes(Te,bt),this._doc.getElementsByTagName("head")[0].appendChild(bt),bt}_setMetaElementAttributes(Te,Pe){return Object.keys(Te).forEach(bt=>Pe.setAttribute(this._getMetaKeyMap(bt),Te[bt])),Pe}_parseSelector(Te){const Pe=Te.name?"name":"property";return`${Pe}="${Te[Pe]}"`}_containsAttributes(Te,Pe){return Object.keys(Te).every(bt=>Pe.getAttribute(this._getMetaKeyMap(bt))===Te[bt])}_getMetaKeyMap(Te){return je[Te]||Te}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})();const je={httpEquiv:"http-equiv"};let q=(()=>{class He{constructor(Te){this._doc=Te}getTitle(){return this._doc.title}setTitle(Te){this._doc.title=Te||""}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})();function be(He,st){(typeof COMPILED>"u"||!COMPILED)&&((t.\u0275global.ng=t.\u0275global.ng||{})[He]=st)}class Oe{constructor(st,Te){this.msPerTick=st,this.numTicks=Te}}class Xe{constructor(st){this.appRef=st.injector.get(t.ApplicationRef)}timeChangeDetection(st){const Te=st&&st.record,Pe="Change Detection";Te&&"profile"in console&&"function"==typeof console.profile&&console.profile(Pe);const bt=performance.now();let Me=0;for(;Me<5||performance.now()-bt<500;)this.appRef.tick(),Me++;const $e=performance.now();Te&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(Pe);const Ge=($e-bt)/Me;return console.log(`ran ${Me} change detection cycles`),console.log(`${Ge.toFixed(2)} ms per check`),new Oe(Ge,Me)}}const ge="profiler";function Ve(He){return be(ge,new Xe(He)),He}function ot(){be(ge,null)}class ze{static all(){return()=>!0}static css(st){return Te=>null!=Te.nativeElement&&function pt(He,st){return!!(0,v.\u0275getDOM)().isElementNode(He)&&(He.matches&&He.matches(st)||He.msMatchesSelector&&He.msMatchesSelector(st)||He.webkitMatchesSelector&&He.webkitMatchesSelector(st))}(Te.nativeElement,st)}static directive(st){return Te=>-1!==Te.providerTokens.indexOf(st)}}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},Gt=new t.InjectionToken("HammerGestureConfig"),rn=new t.InjectionToken("HammerLoader");let on=(()=>{class He{constructor(){this.events=[],this.overrides={}}buildHammer(Te){const Pe=new Hammer(Te,this.options);Pe.get("pinch").set({enable:!0}),Pe.get("rotate").set({enable:!0});for(const bt in this.overrides)Pe.get(bt).set(this.overrides[bt]);return Pe}static#e=this.\u0275fac=function(Pe){return new(Pe||He)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})(),tn=(()=>{class He extends u{constructor(Te,Pe,bt,Me){super(Te),this._config=Pe,this.console=bt,this.loader=Me,this._loaderPromise=null}supports(Te){return!(!Pt.hasOwnProperty(Te.toLowerCase())&&!this.isCustomEvent(Te)||!window.Hammer&&!this.loader)}addEventListener(Te,Pe,bt){const Me=this.manager.getZone();if(Pe=Pe.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Me.runOutsideAngular(()=>this.loader());let $e=!1,Ge=()=>{$e=!0};return Me.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?$e||(Ge=this.addEventListener(Te,Pe,bt)):Ge=()=>{}}).catch(()=>{Ge=()=>{}})),()=>{Ge()}}return Me.runOutsideAngular(()=>{const $e=this._config.buildHammer(Te),Ge=function(kt){Me.runGuarded(function(){bt(kt)})};return $e.on(Pe,Ge),()=>{$e.off(Pe,Ge),"function"==typeof $e.destroy&&$e.destroy()}})}isCustomEvent(Te){return this._config.events.indexOf(Te)>-1}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT),t.\u0275\u0275inject(Gt),t.\u0275\u0275inject(t.\u0275Console),t.\u0275\u0275inject(rn,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac})}return He})(),gn=(()=>{class He{static#e=this.\u0275fac=function(Pe){return new(Pe||He)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:He});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[{provide:a,useClass:tn,multi:!0,deps:[v.DOCUMENT,Gt,t.\u0275Console,[new t.Optional,rn]]},{provide:Gt,useClass:on,deps:[]}]})}return He})(),Jt=(()=>{class He{static#e=this.\u0275fac=function(Pe){return new(Pe||He)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:function(Pe){let bt=null;return bt=Pe?new(Pe||He):t.\u0275\u0275inject(an),bt},providedIn:"root"})}return He})(),an=(()=>{class He extends Jt{constructor(Te){super(),this._doc=Te}sanitize(Te,Pe){if(null==Pe)return null;switch(Te){case t.SecurityContext.NONE:return Pe;case t.SecurityContext.HTML:return(0,t.\u0275allowSanitizationBypassAndThrow)(Pe,"HTML")?(0,t.\u0275unwrapSafeValue)(Pe):(0,t.\u0275_sanitizeHtml)(this._doc,String(Pe)).toString();case t.SecurityContext.STYLE:return(0,t.\u0275allowSanitizationBypassAndThrow)(Pe,"Style")?(0,t.\u0275unwrapSafeValue)(Pe):Pe;case t.SecurityContext.SCRIPT:if((0,t.\u0275allowSanitizationBypassAndThrow)(Pe,"Script"))return(0,t.\u0275unwrapSafeValue)(Pe);throw new t.\u0275RuntimeError(5200,!1);case t.SecurityContext.URL:return(0,t.\u0275allowSanitizationBypassAndThrow)(Pe,"URL")?(0,t.\u0275unwrapSafeValue)(Pe):(0,t.\u0275_sanitizeUrl)(String(Pe));case t.SecurityContext.RESOURCE_URL:if((0,t.\u0275allowSanitizationBypassAndThrow)(Pe,"ResourceURL"))return(0,t.\u0275unwrapSafeValue)(Pe);throw new t.\u0275RuntimeError(5201,!1);default:throw new t.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(Te){return(0,t.\u0275bypassSanitizationTrustHtml)(Te)}bypassSecurityTrustStyle(Te){return(0,t.\u0275bypassSanitizationTrustStyle)(Te)}bypassSecurityTrustScript(Te){return(0,t.\u0275bypassSanitizationTrustScript)(Te)}bypassSecurityTrustUrl(Te){return(0,t.\u0275bypassSanitizationTrustUrl)(Te)}bypassSecurityTrustResourceUrl(Te){return(0,t.\u0275bypassSanitizationTrustResourceUrl)(Te)}static#e=this.\u0275fac=function(Pe){return new(Pe||He)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:He,factory:He.\u0275fac,providedIn:"root"})}return He})();var Ot=function(He){return He[He.NoHttpTransferCache=0]="NoHttpTransferCache",He[He.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",He}(Ot||{});function Ut(He,st=[],Te={}){return{\u0275kind:He,\u0275providers:st}}function xe(){return Ut(Ot.NoHttpTransferCache)}function rt(He){return Ut(Ot.HttpTransferCacheOptions,(0,C.\u0275withHttpTransferCache)(He))}function At(...He){const st=[],Te=new Set,Pe=Te.has(Ot.HttpTransferCacheOptions);for(const{\u0275providers:bt,\u0275kind:Me}of He)Te.add(Me),bt.length&&st.push(bt);return(0,t.makeEnvironmentProviders)([[],(0,t.\u0275withDomHydration)(),Te.has(Ot.NoHttpTransferCache)||Pe?[]:(0,C.\u0275withHttpTransferCache)({}),st])}const nt=new t.Version("17.2.1"),vt=t.makeStateKey,Le=t.TransferState},4192:(De,te,g)=>{"use strict";g.r(te),g.d(te,{ActivatedRoute:()=>Fn,ActivatedRouteSnapshot:()=>Ki,ActivationEnd:()=>Wi,ActivationStart:()=>sr,BaseRouteReuseStrategy:()=>Q,ChildActivationEnd:()=>pi,ChildActivationStart:()=>tr,ChildrenOutletContexts:()=>Yn,DefaultTitleStrategy:()=>Xt,DefaultUrlSerializer:()=>Gt,EventType:()=>ae,GuardsCheckEnd:()=>Kn,GuardsCheckStart:()=>Yt,NavigationCancel:()=>he,NavigationCancellationCode:()=>mt,NavigationEnd:()=>_e,NavigationError:()=>We,NavigationSkipped:()=>de,NavigationSkippedCode:()=>V,NavigationStart:()=>Ae,NoPreloading:()=>es,OutletContext:()=>ki,PRIMARY_OUTLET:()=>X,PreloadAllModules:()=>Nr,PreloadingStrategy:()=>Pr,ROUTER_CONFIGURATION:()=>Hn,ROUTER_INITIALIZER:()=>Hs,ROUTES:()=>Lr,ResolveEnd:()=>Tn,ResolveStart:()=>Pn,RouteConfigLoadEnd:()=>oi,RouteConfigLoadStart:()=>vn,RouteReuseStrategy:()=>ro,Router:()=>Jn,RouterEvent:()=>me,RouterLink:()=>Ci,RouterLinkActive:()=>wi,RouterLinkWithHref:()=>Ci,RouterModule:()=>Fr,RouterOutlet:()=>Ui,RouterPreloader:()=>Gr,RouterState:()=>cn,RouterStateSnapshot:()=>nr,RoutesRecognized:()=>wt,Scroll:()=>Ai,TitleStrategy:()=>Fs,UrlHandlingStrategy:()=>wr,UrlSegment:()=>Ve,UrlSegmentGroup:()=>ge,UrlSerializer:()=>Pt,UrlTree:()=>Xe,VERSION:()=>zo,convertToParamMap:()=>le,createUrlTreeFromSnapshot:()=>xt,defaultUrlMatcher:()=>ue,mapToCanActivate:()=>pa,mapToCanActivateChild:()=>ga,mapToCanDeactivate:()=>Do,mapToCanMatch:()=>ml,mapToResolve:()=>To,provideRouter:()=>_i,provideRoutes:()=>ua,withComponentInputBinding:()=>Vs,withDebugTracing:()=>ha,withDisabledInitialNavigation:()=>xs,withEnabledBlockingInitialNavigation:()=>Es,withHashLocation:()=>xo,withInMemoryScrolling:()=>da,withNavigationErrorHandler:()=>Mo,withPreloading:()=>ur,withRouterConfig:()=>hs,withViewTransitions:()=>Io,\u0275EmptyOutletComponent:()=>yt,\u0275ROUTER_PROVIDERS:()=>hl,\u0275afterNextNavigation:()=>$t,\u0275loadChildren:()=>yi});var t=g(4496),v=g(1116),C=g(9900),E=g(2700),c=g(6700),b=g(6040),s=g(7696),f=g(8344),d=g(1424),l=g(3928),a=g(3800),r=g(8960),u=g(2376),h=g(5657),p=g(6928),_=g(1368),y=g(4704),M=g(7368),w=g(3992),k=g(5568),D=g(6684),I=g(8152),O=g(5084),T=g(6020),N=g(9212),S=g(9144),F=g(1112),L=g(2156),A=g(6764),U=g(3492),K=g(320),ee=g(8824),ne=g(8084),B=g(3616),H=g(267),z=g(4476);const X="primary",G=Symbol("RouteTitle");class j{constructor(ie){this.params=ie||{}}has(ie){return Object.prototype.hasOwnProperty.call(this.params,ie)}get(ie){if(this.has(ie)){const Z=this.params[ie];return Array.isArray(Z)?Z[0]:Z}return null}getAll(ie){if(this.has(ie)){const Z=this.params[ie];return Array.isArray(Z)?Z:[Z]}return[]}get keys(){return Object.keys(this.params)}}function le(W){return new j(W)}function ue(W,ie,Z){const re=Z.path.split("/");if(re.length>W.length||"full"===Z.pathMatch&&(ie.hasChildren()||re.lengthre[Qe]===Ee)}return W===ie}function Ct(W){return W.length>0?W[W.length-1]:null}function Re(W){return(0,v.X)(W)?W:(0,t.\u0275isPromise)(W)?(0,C.Q)(Promise.resolve(W)):(0,E.of)(W)}const ke={exact:function Ie(W,ie,Z){if(!ze(W.segments,ie.segments)||!Oe(W.segments,ie.segments,Z)||W.numberOfChildren!==ie.numberOfChildren)return!1;for(const re in ie.children)if(!W.children[re]||!Ie(W.children[re],ie.children[re],Z))return!1;return!0},subset:q},fe={exact:function Be(W,ie){return Je(W,ie)},subset:function je(W,ie){return Object.keys(ie).length<=Object.keys(W).length&&Object.keys(ie).every(Z=>ct(W[Z],ie[Z]))},ignored:()=>!0};function Ke(W,ie,Z){return ke[Z.paths](W.root,ie.root,Z.matrixParams)&&fe[Z.queryParams](W.queryParams,ie.queryParams)&&!("exact"===Z.fragment&&W.fragment!==ie.fragment)}function q(W,ie,Z){return be(W,ie,ie.segments,Z)}function be(W,ie,Z,re){if(W.segments.length>Z.length){const Ee=W.segments.slice(0,Z.length);return!(!ze(Ee,Z)||ie.hasChildren()||!Oe(Ee,Z,re))}if(W.segments.length===Z.length){if(!ze(W.segments,Z)||!Oe(W.segments,Z,re))return!1;for(const Ee in ie.children)if(!W.children[Ee]||!q(W.children[Ee],ie.children[Ee],re))return!1;return!0}{const Ee=Z.slice(0,W.segments.length),Qe=Z.slice(W.segments.length);return!!(ze(W.segments,Ee)&&Oe(W.segments,Ee,re)&&W.children[X])&&be(W.children[X],ie,Qe,re)}}function Oe(W,ie,Z){return ie.every((re,Ee)=>fe[Z](W[Ee].parameters,re.parameters))}class Xe{constructor(ie=new ge([],{}),Z={},re=null){this.root=ie,this.queryParams=Z,this.fragment=re}get queryParamMap(){return this._queryParamMap??=le(this.queryParams),this._queryParamMap}toString(){return rn.serialize(this)}}class ge{constructor(ie,Z){this.segments=ie,this.children=Z,this.parent=null,Object.values(Z).forEach(re=>re.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return on(this)}}class Ve{constructor(ie,Z){this.path=ie,this.parameters=Z}get parameterMap(){return this._parameterMap??=le(this.parameters),this._parameterMap}toString(){return rt(this)}}function ze(W,ie){return W.length===ie.length&&W.every((Z,re)=>Z.path===ie[re].path)}let Pt=(()=>{class W{static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:()=>new Gt,providedIn:"root"})}return W})();class Gt{parse(ie){const Z=new Me(ie);return new Xe(Z.parseRootSegment(),Z.parseQueryParams(),Z.parseFragment())}serialize(ie){const Z=`/${tn(ie.root,!0)}`,re=function At(W){const ie=Object.entries(W).map(([Z,re])=>Array.isArray(re)?re.map(Ee=>`${Jt(Z)}=${Jt(Ee)}`).join("&"):`${Jt(Z)}=${Jt(re)}`).filter(Z=>Z);return ie.length?`?${ie.join("&")}`:""}(ie.queryParams);return`${Z}${re}${"string"==typeof ie.fragment?`#${function an(W){return encodeURI(W)}(ie.fragment)}`:""}`}}const rn=new Gt;function on(W){return W.segments.map(ie=>rt(ie)).join("/")}function tn(W,ie){if(!W.hasChildren())return on(W);if(ie){const Z=W.children[X]?tn(W.children[X],!1):"",re=[];return Object.entries(W.children).forEach(([Ee,Qe])=>{Ee!==X&&re.push(`${Ee}:${tn(Qe,!1)}`)}),re.length>0?`${Z}(${re.join("//")})`:Z}{const Z=function pt(W,ie){let Z=[];return Object.entries(W.children).forEach(([re,Ee])=>{re===X&&(Z=Z.concat(ie(Ee,re)))}),Object.entries(W.children).forEach(([re,Ee])=>{re!==X&&(Z=Z.concat(ie(Ee,re)))}),Z}(W,(re,Ee)=>Ee===X?[tn(W.children[X],!1)]:[`${Ee}:${tn(re,!1)}`]);return 1===Object.keys(W.children).length&&null!=W.children[X]?`${on(W)}/${Z[0]}`:`${on(W)}/(${Z.join("//")})`}}function gn(W){return encodeURIComponent(W).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Jt(W){return gn(W).replace(/%3B/gi,";")}function Ot(W){return gn(W).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ut(W){return decodeURIComponent(W)}function xe(W){return Ut(W.replace(/\+/g,"%20"))}function rt(W){return`${Ot(W.path)}${function lt(W){return Object.entries(W).map(([ie,Z])=>`;${Ot(ie)}=${Ot(Z)}`).join("")}(W.parameters)}`}const nt=/^[^\/()?;#]+/;function vt(W){const ie=W.match(nt);return ie?ie[0]:""}const Le=/^[^\/()?;=#]+/,st=/^[^=?&#]+/,Pe=/^[^&#]+/;class Me{constructor(ie){this.url=ie,this.remaining=ie}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ge([],{}):new ge([],this.parseChildren())}parseQueryParams(){const ie={};if(this.consumeOptional("?"))do{this.parseQueryParam(ie)}while(this.consumeOptional("&"));return ie}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const ie=[];for(this.peekStartsWith("(")||ie.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ie.push(this.parseSegment());let Z={};this.peekStartsWith("/(")&&(this.capture("/"),Z=this.parseParens(!0));let re={};return this.peekStartsWith("(")&&(re=this.parseParens(!1)),(ie.length>0||Object.keys(Z).length>0)&&(re[X]=new ge(ie,Z)),re}parseSegment(){const ie=vt(this.remaining);if(""===ie&&this.peekStartsWith(";"))throw new t.\u0275RuntimeError(4009,!1);return this.capture(ie),new Ve(Ut(ie),this.parseMatrixParams())}parseMatrixParams(){const ie={};for(;this.consumeOptional(";");)this.parseParam(ie);return ie}parseParam(ie){const Z=function He(W){const ie=W.match(Le);return ie?ie[0]:""}(this.remaining);if(!Z)return;this.capture(Z);let re="";if(this.consumeOptional("=")){const Ee=vt(this.remaining);Ee&&(re=Ee,this.capture(re))}ie[Ut(Z)]=Ut(re)}parseQueryParam(ie){const Z=function Te(W){const ie=W.match(st);return ie?ie[0]:""}(this.remaining);if(!Z)return;this.capture(Z);let re="";if(this.consumeOptional("=")){const Et=function bt(W){const ie=W.match(Pe);return ie?ie[0]:""}(this.remaining);Et&&(re=Et,this.capture(re))}const Ee=xe(Z),Qe=xe(re);if(ie.hasOwnProperty(Ee)){let Et=ie[Ee];Array.isArray(Et)||(Et=[Et],ie[Ee]=Et),Et.push(Qe)}else ie[Ee]=Qe}parseParens(ie){const Z={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const re=vt(this.remaining),Ee=this.remaining[re.length];if("/"!==Ee&&")"!==Ee&&";"!==Ee)throw new t.\u0275RuntimeError(4010,!1);let Qe;re.indexOf(":")>-1?(Qe=re.slice(0,re.indexOf(":")),this.capture(Qe),this.capture(":")):ie&&(Qe=X);const Et=this.parseChildren();Z[Qe]=1===Object.keys(Et).length?Et[X]:new ge([],Et),this.consumeOptional("//")}return Z}peekStartsWith(ie){return this.remaining.startsWith(ie)}consumeOptional(ie){return!!this.peekStartsWith(ie)&&(this.remaining=this.remaining.substring(ie.length),!0)}capture(ie){if(!this.consumeOptional(ie))throw new t.\u0275RuntimeError(4011,!1)}}function $e(W){return W.segments.length>0?new ge([],{[X]:W}):W}function Ge(W){const ie={};for(const[re,Ee]of Object.entries(W.children)){const Qe=Ge(Ee);if(re===X&&0===Qe.segments.length&&Qe.hasChildren())for(const[Et,Ht]of Object.entries(Qe.children))ie[Et]=Ht;else(Qe.segments.length>0||Qe.hasChildren())&&(ie[re]=Qe)}return function kt(W){if(1===W.numberOfChildren&&W.children[X]){const ie=W.children[X];return new ge(W.segments.concat(ie.segments),ie.children)}return W}(new ge(W.segments,ie))}function dt(W){return W instanceof Xe}function xt(W,ie,Z=null,re=null){return Fe(qe(W),ie,Z,re)}function qe(W){let ie;const Ee=$e(function Z(Qe){const Et={};for(const Vt of Qe.children){const yn=Z(Vt);Et[Vt.outlet]=yn}const Ht=new ge(Qe.url,Et);return Qe===W&&(ie=Ht),Ht}(W.root));return ie??Ee}function Fe(W,ie,Z,re){let Ee=W;for(;Ee.parent;)Ee=Ee.parent;if(0===ie.length)return ft(Ee,Ee,Ee,Z,re);const Qe=function fn(W){if("string"==typeof W[0]&&1===W.length&&"/"===W[0])return new qt(!0,0,W);let ie=0,Z=!1;const re=W.reduce((Ee,Qe,Et)=>{if("object"==typeof Qe&&null!=Qe){if(Qe.outlets){const Ht={};return Object.entries(Qe.outlets).forEach(([Vt,yn])=>{Ht[Vt]="string"==typeof yn?yn.split("/"):yn}),[...Ee,{outlets:Ht}]}if(Qe.segmentPath)return[...Ee,Qe.segmentPath]}return"string"!=typeof Qe?[...Ee,Qe]:0===Et?(Qe.split("/").forEach((Ht,Vt)=>{0==Vt&&"."===Ht||(0==Vt&&""===Ht?Z=!0:".."===Ht?ie++:""!=Ht&&Ee.push(Ht))}),Ee):[...Ee,Qe]},[]);return new qt(Z,ie,re)}(ie);if(Qe.toRoot())return ft(Ee,Ee,new ge([],{}),Z,re);const Et=function An(W,ie,Z){if(W.isAbsolute)return new ln(ie,!0,0);if(!Z)return new ln(ie,!1,NaN);if(null===Z.parent)return new ln(Z,!0,0);const re=et(W.commands[0])?0:1;return function fi(W,ie,Z){let re=W,Ee=ie,Qe=Z;for(;Qe>Ee;){if(Qe-=Ee,re=re.parent,!re)throw new t.\u0275RuntimeError(4005,!1);Ee=re.segments.length}return new ln(re,!1,Ee-Qe)}(Z,Z.segments.length-1+re,W.numberOfDoubleDots)}(Qe,Ee,W),Ht=Et.processChildren?si(Et.segmentGroup,Et.index,Qe.commands):Fi(Et.segmentGroup,Et.index,Qe.commands);return ft(Ee,Et.segmentGroup,Ht,Z,re)}function et(W){return"object"==typeof W&&null!=W&&!W.outlets&&!W.segmentPath}function Ye(W){return"object"==typeof W&&null!=W&&W.outlets}function ft(W,ie,Z,re,Ee){let Et,Qe={};re&&Object.entries(re).forEach(([Vt,yn])=>{Qe[Vt]=Array.isArray(yn)?yn.map(R=>`${R}`):`${yn}`}),Et=W===ie?Z:Bt(W,ie,Z);const Ht=$e(Ge(Et));return new Xe(Ht,Qe,Ee)}function Bt(W,ie,Z){const re={};return Object.entries(W.children).forEach(([Ee,Qe])=>{re[Ee]=Qe===ie?Z:Bt(Qe,ie,Z)}),new ge(W.segments,re)}class qt{constructor(ie,Z,re){if(this.isAbsolute=ie,this.numberOfDoubleDots=Z,this.commands=re,ie&&re.length>0&&et(re[0]))throw new t.\u0275RuntimeError(4003,!1);const Ee=re.find(Ye);if(Ee&&Ee!==Ct(re))throw new t.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ln{constructor(ie,Z,re){this.segmentGroup=ie,this.processChildren=Z,this.index=re}}function Fi(W,ie,Z){if(W??=new ge([],{}),0===W.segments.length&&W.hasChildren())return si(W,ie,Z);const re=function Ji(W,ie,Z){let re=0,Ee=ie;const Qe={match:!1,pathIndex:0,commandIndex:0};for(;Ee=Z.length)return Qe;const Et=W.segments[Ee],Ht=Z[re];if(Ye(Ht))break;const Vt=`${Ht}`,yn=re0&&void 0===Vt)break;if(Vt&&yn&&"object"==typeof yn&&void 0===yn.outlets){if(!se(Vt,yn,Et))return Qe;re+=2}else{if(!se(Vt,{},Et))return Qe;re++}Ee++}return{match:!0,pathIndex:Ee,commandIndex:re}}(W,ie,Z),Ee=Z.slice(re.commandIndex);if(re.match&&re.pathIndexQe!==X)&&W.children[X]&&1===W.numberOfChildren&&0===W.children[X].segments.length){const Qe=si(W.children[X],ie,Z);return new ge(W.segments,Qe.children)}return Object.entries(re).forEach(([Qe,Et])=>{"string"==typeof Et&&(Et=[Et]),null!==Et&&(Ee[Qe]=Fi(W.children[Qe],ie,Et))}),Object.entries(W.children).forEach(([Qe,Et])=>{void 0===re[Qe]&&(Ee[Qe]=Et)}),new ge(W.segments,Ee)}}function mi(W,ie,Z){const re=W.segments.slice(0,ie);let Ee=0;for(;Ee{"string"==typeof re&&(re=[re]),null!==re&&(ie[Z]=mi(new ge([],{}),0,re))}),ie}function rr(W){const ie={};return Object.entries(W).forEach(([Z,re])=>ie[Z]=`${re}`),ie}function se(W,ie,Z){return W==Z.path&&Je(ie,Z.parameters)}const at="imperative";var ae=function(W){return W[W.NavigationStart=0]="NavigationStart",W[W.NavigationEnd=1]="NavigationEnd",W[W.NavigationCancel=2]="NavigationCancel",W[W.NavigationError=3]="NavigationError",W[W.RoutesRecognized=4]="RoutesRecognized",W[W.ResolveStart=5]="ResolveStart",W[W.ResolveEnd=6]="ResolveEnd",W[W.GuardsCheckStart=7]="GuardsCheckStart",W[W.GuardsCheckEnd=8]="GuardsCheckEnd",W[W.RouteConfigLoadStart=9]="RouteConfigLoadStart",W[W.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",W[W.ChildActivationStart=11]="ChildActivationStart",W[W.ChildActivationEnd=12]="ChildActivationEnd",W[W.ActivationStart=13]="ActivationStart",W[W.ActivationEnd=14]="ActivationEnd",W[W.Scroll=15]="Scroll",W[W.NavigationSkipped=16]="NavigationSkipped",W}(ae||{});class me{constructor(ie,Z){this.id=ie,this.url=Z}}class Ae extends me{constructor(ie,Z,re="imperative",Ee=null){super(ie,Z),this.type=ae.NavigationStart,this.navigationTrigger=re,this.restoredState=Ee}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class _e extends me{constructor(ie,Z,re){super(ie,Z),this.urlAfterRedirects=re,this.type=ae.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var mt=function(W){return W[W.Redirect=0]="Redirect",W[W.SupersededByNewNavigation=1]="SupersededByNewNavigation",W[W.NoDataFromResolver=2]="NoDataFromResolver",W[W.GuardRejected=3]="GuardRejected",W}(mt||{}),V=function(W){return W[W.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",W[W.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",W}(V||{});class he extends me{constructor(ie,Z,re,Ee){super(ie,Z),this.reason=re,this.code=Ee,this.type=ae.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class de extends me{constructor(ie,Z,re,Ee){super(ie,Z),this.reason=re,this.code=Ee,this.type=ae.NavigationSkipped}}class We extends me{constructor(ie,Z,re,Ee){super(ie,Z),this.error=re,this.target=Ee,this.type=ae.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class wt extends me{constructor(ie,Z,re,Ee){super(ie,Z),this.urlAfterRedirects=re,this.state=Ee,this.type=ae.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yt extends me{constructor(ie,Z,re,Ee){super(ie,Z),this.urlAfterRedirects=re,this.state=Ee,this.type=ae.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kn extends me{constructor(ie,Z,re,Ee,Qe){super(ie,Z),this.urlAfterRedirects=re,this.state=Ee,this.shouldActivate=Qe,this.type=ae.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Pn extends me{constructor(ie,Z,re,Ee){super(ie,Z),this.urlAfterRedirects=re,this.state=Ee,this.type=ae.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tn extends me{constructor(ie,Z,re,Ee){super(ie,Z),this.urlAfterRedirects=re,this.state=Ee,this.type=ae.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vn{constructor(ie){this.route=ie,this.type=ae.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oi{constructor(ie){this.route=ie,this.type=ae.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class tr{constructor(ie){this.snapshot=ie,this.type=ae.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pi{constructor(ie){this.snapshot=ie,this.type=ae.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sr{constructor(ie){this.snapshot=ie,this.type=ae.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wi{constructor(ie){this.snapshot=ie,this.type=ae.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ai{constructor(ie,Z,re){this.routerEvent=ie,this.position=Z,this.anchor=re,this.type=ae.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Gi{}class or{constructor(ie){this.url=ie}}class ki{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Yn,this.attachRef=null}}let Yn=(()=>{class W{constructor(){this.contexts=new Map}onChildOutletCreated(Z,re){const Ee=this.getOrCreateContext(Z);Ee.outlet=re,this.contexts.set(Z,Ee)}onChildOutletDestroyed(Z){const re=this.getContext(Z);re&&(re.outlet=null,re.attachRef=null)}onOutletDeactivated(){const Z=this.contexts;return this.contexts=new Map,Z}onOutletReAttached(Z){this.contexts=Z}getOrCreateContext(Z){let re=this.getContext(Z);return re||(re=new ki,this.contexts.set(Z,re)),re}getContext(Z){return this.contexts.get(Z)||null}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();class Wn{constructor(ie){this._root=ie}get root(){return this._root.value}parent(ie){const Z=this.pathFromRoot(ie);return Z.length>1?Z[Z.length-2]:null}children(ie){const Z=Zn(ie,this._root);return Z?Z.children.map(re=>re.value):[]}firstChild(ie){const Z=Zn(ie,this._root);return Z&&Z.children.length>0?Z.children[0].value:null}siblings(ie){const Z=Dn(ie,this._root);return Z.length<2?[]:Z[Z.length-2].children.map(Ee=>Ee.value).filter(Ee=>Ee!==ie)}pathFromRoot(ie){return Dn(ie,this._root).map(Z=>Z.value)}}function Zn(W,ie){if(W===ie.value)return ie;for(const Z of ie.children){const re=Zn(W,Z);if(re)return re}return null}function Dn(W,ie){if(W===ie.value)return[ie];for(const Z of ie.children){const re=Dn(W,Z);if(re.length)return re.unshift(ie),re}return[]}class Qn{constructor(ie,Z){this.value=ie,this.children=Z}toString(){return`TreeNode(${this.value})`}}function ui(W){const ie={};return W&&W.children.forEach(Z=>ie[Z.value.outlet]=Z),ie}class cn extends Wn{constructor(ie,Z){super(ie),this.snapshot=Z,ni(this,ie)}toString(){return this.snapshot.toString()}}function pn(W){const ie=function Nn(W){const Qe=new Ki([],{},{},"",{},X,W,null,{});return new nr("",new Qn(Qe,[]))}(W),Z=new c.g([new Ve("",{})]),re=new c.g({}),Ee=new c.g({}),Qe=new c.g({}),Et=new c.g(""),Ht=new Fn(Z,re,Qe,Et,Ee,X,W,ie.root);return Ht.snapshot=ie.root,new cn(new Qn(Ht,[]),ie)}class Fn{constructor(ie,Z,re,Ee,Qe,Et,Ht,Vt){this.urlSubject=ie,this.paramsSubject=Z,this.queryParamsSubject=re,this.fragmentSubject=Ee,this.dataSubject=Qe,this.outlet=Et,this.component=Ht,this._futureSnapshot=Vt,this.title=this.dataSubject?.pipe((0,y.k)(yn=>yn[G]))??(0,E.of)(void 0),this.url=ie,this.params=Z,this.queryParams=re,this.fragment=Ee,this.data=Qe}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,y.k)(ie=>le(ie))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,y.k)(ie=>le(ie))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Oi(W,ie,Z="emptyOnly"){let re;const{routeConfig:Ee}=W;return re=null===ie||"always"!==Z&&""!==Ee?.path&&(ie.component||ie.routeConfig?.loadComponent)?{params:{...W.params},data:{...W.data},resolve:{...W.data,...W._resolvedData??{}}}:{params:{...ie.params,...W.params},data:{...ie.data,...W.data},resolve:{...W.data,...ie.data,...Ee?.data,...W._resolvedData}},Ee&&ar(Ee)&&(re.resolve[G]=Ee.title),re}class Ki{get title(){return this.data?.[G]}constructor(ie,Z,re,Ee,Qe,Et,Ht,Vt,yn){this.url=ie,this.params=Z,this.queryParams=re,this.fragment=Ee,this.data=Qe,this.outlet=Et,this.component=Ht,this.routeConfig=Vt,this._resolve=yn}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??=le(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=le(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(re=>re.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class nr extends Wn{constructor(ie,Z){super(Z),this.url=ie,ni(this,Z)}toString(){return un(this._root)}}function ni(W,ie){ie.value._routerState=W,ie.children.forEach(Z=>ni(W,Z))}function un(W){const ie=W.children.length>0?` { ${W.children.map(un).join(", ")} } `:"";return`${W.value}${ie}`}function En(W){if(W.snapshot){const ie=W.snapshot,Z=W._futureSnapshot;W.snapshot=Z,Je(ie.queryParams,Z.queryParams)||W.queryParamsSubject.next(Z.queryParams),ie.fragment!==Z.fragment&&W.fragmentSubject.next(Z.fragment),Je(ie.params,Z.params)||W.paramsSubject.next(Z.params),function ve(W,ie){if(W.length!==ie.length)return!1;for(let Z=0;ZJe(Z.parameters,ie[re].parameters))}(W.url,ie.url);return Z&&!(!W.parent!=!ie.parent)&&(!W.parent||ci(W.parent,ie.parent))}function ar(W){return"string"==typeof W.title||null===W.title}let Ui=(()=>{class W{constructor(){this.activated=null,this._activatedRoute=null,this.name=X,this.activateEvents=new t.EventEmitter,this.deactivateEvents=new t.EventEmitter,this.attachEvents=new t.EventEmitter,this.detachEvents=new t.EventEmitter,this.parentContexts=(0,t.inject)(Yn),this.location=(0,t.inject)(t.ViewContainerRef),this.changeDetector=(0,t.inject)(t.ChangeDetectorRef),this.environmentInjector=(0,t.inject)(t.EnvironmentInjector),this.inputBinder=(0,t.inject)(hr,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Z){if(Z.name){const{firstChange:re,previousValue:Ee}=Z.name;if(re)return;this.isTrackedInParentContexts(Ee)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ee)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Z){return this.parentContexts.getContext(Z)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Z=this.parentContexts.getContext(this.name);Z?.route&&(Z.attachRef?this.attach(Z.attachRef,Z.route):this.activateWith(Z.route,Z.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.\u0275RuntimeError(4012,!1);this.location.detach();const Z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Z.instance),Z}attach(Z,re){this.activated=Z,this._activatedRoute=re,this.location.insert(Z.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Z.instance)}deactivate(){if(this.activated){const Z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Z)}}activateWith(Z,re){if(this.isActivated)throw new t.\u0275RuntimeError(4013,!1);this._activatedRoute=Z;const Ee=this.location,Et=Z.snapshot.component,Ht=this.parentContexts.getOrCreateContext(this.name).children,Vt=new dr(Z,Ht,Ee.injector);this.activated=Ee.createComponent(Et,{index:Ee.length,injector:Vt,environmentInjector:re??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:W,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return W})();class dr{constructor(ie,Z,re){this.route=ie,this.childContexts=Z,this.parent=re}get(ie,Z){return ie===Fn?this.route:ie===Yn?this.childContexts:this.parent.get(ie,Z)}}const hr=new t.InjectionToken("");let di=(()=>{class W{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Z){this.unsubscribeFromRouteData(Z),this.subscribeToRouteData(Z)}unsubscribeFromRouteData(Z){this.outletDataSubscriptions.get(Z)?.unsubscribe(),this.outletDataSubscriptions.delete(Z)}subscribeToRouteData(Z){const{activatedRoute:re}=Z,Ee=(0,b.E)([re.queryParams,re.params,re.data]).pipe((0,M.G)(([Qe,Et,Ht],Vt)=>(Ht={...Qe,...Et,...Ht},0===Vt?(0,E.of)(Ht):Promise.resolve(Ht)))).subscribe(Qe=>{if(!Z.isActivated||!Z.activatedComponentRef||Z.activatedRoute!==re||null===re.component)return void this.unsubscribeFromRouteData(Z);const Et=(0,t.reflectComponentType)(re.component);if(Et)for(const{templateName:Ht}of Et.inputs)Z.activatedComponentRef.setInput(Ht,Qe[Ht]);else this.unsubscribeFromRouteData(Z)});this.outletDataSubscriptions.set(Z,Ee)}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac})}return W})();function qi(W,ie,Z){if(Z&&W.shouldReuseRoute(ie.value,Z.value.snapshot)){const re=Z.value;re._futureSnapshot=ie.value;const Ee=function Rn(W,ie,Z){return ie.children.map(re=>{for(const Ee of Z.children)if(W.shouldReuseRoute(re.value,Ee.value.snapshot))return qi(W,re,Ee);return qi(W,re)})}(W,ie,Z);return new Qn(re,Ee)}{if(W.shouldAttach(ie.value)){const Qe=W.retrieve(ie.value);if(null!==Qe){const Et=Qe.route;return Et.value._futureSnapshot=ie.value,Et.children=ie.children.map(Ht=>qi(W,Ht)),Et}}const re=function Sr(W){return new Fn(new c.g(W.url),new c.g(W.params),new c.g(W.queryParams),new c.g(W.fragment),new c.g(W.data),W.outlet,W.component,W)}(ie.value),Ee=ie.children.map(Qe=>qi(W,Qe));return new Qn(re,Ee)}}const rs="ngNavigationCancelingError";function Ar(W,ie){const{redirectTo:Z,navigationBehaviorOptions:re}=dt(ie)?{redirectTo:ie,navigationBehaviorOptions:void 0}:ie,Ee=hi(!1,mt.Redirect);return Ee.url=Z,Ee.navigationBehaviorOptions=re,Ee}function hi(W,ie){const Z=new Error(`NavigationCancelingError: ${W||""}`);return Z[rs]=!0,Z.cancellationCode=ie,Z}function Mt(W){return!!W&&W[rs]}let yt=(()=>{class W{static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:W,selectors:[["ng-component"]],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(re,Ee){1&re&&t.\u0275\u0275element(0,"router-outlet")},dependencies:[Ui],encapsulation:2})}return W})();function gi(W){const ie=W.children&&W.children.map(gi),Z=ie?{...W,children:ie}:{...W};return!Z.component&&!Z.loadComponent&&(ie||Z.loadChildren)&&Z.outlet&&Z.outlet!==X&&(Z.component=yt),Z}function jn(W){return W.outlet||X}function Bn(W){if(!W)return null;if(W.routeConfig?._injector)return W.routeConfig._injector;for(let ie=W.parent;ie;ie=ie.parent){const Z=ie.routeConfig;if(Z?._loadedInjector)return Z._loadedInjector;if(Z?._injector)return Z._injector}return null}class ir{constructor(ie,Z,re,Ee,Qe){this.routeReuseStrategy=ie,this.futureState=Z,this.currState=re,this.forwardEvent=Ee,this.inputBindingEnabled=Qe}activate(ie){const Z=this.futureState._root,re=this.currState?this.currState._root:null;this.deactivateChildRoutes(Z,re,ie),En(this.futureState.root),this.activateChildRoutes(Z,re,ie)}deactivateChildRoutes(ie,Z,re){const Ee=ui(Z);ie.children.forEach(Qe=>{const Et=Qe.value.outlet;this.deactivateRoutes(Qe,Ee[Et],re),delete Ee[Et]}),Object.values(Ee).forEach(Qe=>{this.deactivateRouteAndItsChildren(Qe,re)})}deactivateRoutes(ie,Z,re){const Ee=ie.value,Qe=Z?Z.value:null;if(Ee===Qe)if(Ee.component){const Et=re.getContext(Ee.outlet);Et&&this.deactivateChildRoutes(ie,Z,Et.children)}else this.deactivateChildRoutes(ie,Z,re);else Qe&&this.deactivateRouteAndItsChildren(Z,re)}deactivateRouteAndItsChildren(ie,Z){ie.value.component&&this.routeReuseStrategy.shouldDetach(ie.value.snapshot)?this.detachAndStoreRouteSubtree(ie,Z):this.deactivateRouteAndOutlet(ie,Z)}detachAndStoreRouteSubtree(ie,Z){const re=Z.getContext(ie.value.outlet),Ee=re&&ie.value.component?re.children:Z,Qe=ui(ie);for(const Et of Object.values(Qe))this.deactivateRouteAndItsChildren(Et,Ee);if(re&&re.outlet){const Et=re.outlet.detach(),Ht=re.children.onOutletDeactivated();this.routeReuseStrategy.store(ie.value.snapshot,{componentRef:Et,route:ie,contexts:Ht})}}deactivateRouteAndOutlet(ie,Z){const re=Z.getContext(ie.value.outlet),Ee=re&&ie.value.component?re.children:Z,Qe=ui(ie);for(const Et of Object.values(Qe))this.deactivateRouteAndItsChildren(Et,Ee);re&&(re.outlet&&(re.outlet.deactivate(),re.children.onOutletDeactivated()),re.attachRef=null,re.route=null)}activateChildRoutes(ie,Z,re){const Ee=ui(Z);ie.children.forEach(Qe=>{this.activateRoutes(Qe,Ee[Qe.value.outlet],re),this.forwardEvent(new Wi(Qe.value.snapshot))}),ie.children.length&&this.forwardEvent(new pi(ie.value.snapshot))}activateRoutes(ie,Z,re){const Ee=ie.value,Qe=Z?Z.value:null;if(En(Ee),Ee===Qe)if(Ee.component){const Et=re.getOrCreateContext(Ee.outlet);this.activateChildRoutes(ie,Z,Et.children)}else this.activateChildRoutes(ie,Z,re);else if(Ee.component){const Et=re.getOrCreateContext(Ee.outlet);if(this.routeReuseStrategy.shouldAttach(Ee.snapshot)){const Ht=this.routeReuseStrategy.retrieve(Ee.snapshot);this.routeReuseStrategy.store(Ee.snapshot,null),Et.children.onOutletReAttached(Ht.contexts),Et.attachRef=Ht.componentRef,Et.route=Ht.route.value,Et.outlet&&Et.outlet.attach(Ht.componentRef,Ht.route.value),En(Ht.route.value),this.activateChildRoutes(ie,null,Et.children)}else{const Ht=Bn(Ee.snapshot);Et.attachRef=null,Et.route=Ee,Et.injector=Ht,Et.outlet&&Et.outlet.activateWith(Ee,Et.injector),this.activateChildRoutes(ie,null,Et.children)}}else this.activateChildRoutes(ie,null,re)}}class $i{constructor(ie){this.path=ie,this.route=this.path[this.path.length-1]}}class Or{constructor(ie,Z){this.component=ie,this.route=Z}}function fr(W,ie,Z){const re=W._root;return Cr(re,ie?ie._root:null,Z,[re.value])}function Br(W,ie){const Z=Symbol(),re=ie.get(W,Z);return re===Z?"function"!=typeof W||(0,t.\u0275isInjectable)(W)?ie.get(W):W:re}function Cr(W,ie,Z,re,Ee={canDeactivateChecks:[],canActivateChecks:[]}){const Qe=ui(ie);return W.children.forEach(Et=>{(function _s(W,ie,Z,re,Ee={canDeactivateChecks:[],canActivateChecks:[]}){const Qe=W.value,Et=ie?ie.value:null,Ht=Z?Z.getContext(W.value.outlet):null;if(Et&&Qe.routeConfig===Et.routeConfig){const Vt=function Ss(W,ie,Z){if("function"==typeof Z)return Z(W,ie);switch(Z){case"pathParamsChange":return!ze(W.url,ie.url);case"pathParamsOrQueryParamsChange":return!ze(W.url,ie.url)||!Je(W.queryParams,ie.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ci(W,ie)||!Je(W.queryParams,ie.queryParams);default:return!ci(W,ie)}}(Et,Qe,Qe.routeConfig.runGuardsAndResolvers);Vt?Ee.canActivateChecks.push(new $i(re)):(Qe.data=Et.data,Qe._resolvedData=Et._resolvedData),Cr(W,ie,Qe.component?Ht?Ht.children:null:Z,re,Ee),Vt&&Ht&&Ht.outlet&&Ht.outlet.isActivated&&Ee.canDeactivateChecks.push(new Or(Ht.outlet.component,Et))}else Et&&Qr(ie,Ht,Ee),Ee.canActivateChecks.push(new $i(re)),Cr(W,null,Qe.component?Ht?Ht.children:null:Z,re,Ee)})(Et,Qe[Et.value.outlet],Z,re.concat([Et.value]),Ee),delete Qe[Et.value.outlet]}),Object.entries(Qe).forEach(([Et,Ht])=>Qr(Ht,Z.getContext(Et),Ee)),Ee}function Qr(W,ie,Z){const re=ui(W),Ee=W.value;Object.entries(re).forEach(([Qe,Et])=>{Qr(Et,Ee.component?ie?ie.children.getContext(Qe):null:ie,Z)}),Z.canDeactivateChecks.push(new Or(Ee.component&&ie&&ie.outlet&&ie.outlet.isActivated?ie.outlet.component:null,Ee))}function Rr(W){return"function"==typeof W}function Se(W){return W instanceof s.G||"EmptyError"===W?.name}const ce=Symbol("INITIAL_VALUE");function Ze(){return(0,M.G)(W=>(0,b.E)(W.map(ie=>ie.pipe((0,w.U)(1),(0,k.W)(ce)))).pipe((0,y.k)(ie=>{for(const Z of ie)if(!0!==Z){if(Z===ce)return ce;if(!1===Z||Z instanceof Xe)return Z}return!0}),(0,D.I)(ie=>ie!==ce),(0,w.U)(1)))}function bi(W){return(0,l.W)((0,N.y)(ie=>{if(dt(ie))throw Ar(0,ie)}),(0,y.k)(ie=>!0===ie))}class Xs{constructor(ie){this.segmentGroup=ie||null}}class ks extends Error{constructor(ie){super(),this.urlTree=ie}}function as(W){return(0,a.c)(new Xs(W))}class lr{constructor(ie,Z){this.urlSerializer=ie,this.urlTree=Z}lineralizeSegments(ie,Z){let re=[],Ee=Z.root;for(;;){if(re=re.concat(Ee.segments),0===Ee.numberOfChildren)return(0,E.of)(re);if(Ee.numberOfChildren>1||!Ee.children[X])return(0,a.c)(new t.\u0275RuntimeError(4e3,!1));Ee=Ee.children[X]}}applyRedirectCommands(ie,Z,re){const Ee=this.applyRedirectCreateUrlTree(Z,this.urlSerializer.parse(Z),ie,re);if(Z.startsWith("/"))throw new ks(Ee);return Ee}applyRedirectCreateUrlTree(ie,Z,re,Ee){const Qe=this.createSegmentGroup(ie,Z.root,re,Ee);return new Xe(Qe,this.createQueryParams(Z.queryParams,this.urlTree.queryParams),Z.fragment)}createQueryParams(ie,Z){const re={};return Object.entries(ie).forEach(([Ee,Qe])=>{if("string"==typeof Qe&&Qe.startsWith(":")){const Ht=Qe.substring(1);re[Ee]=Z[Ht]}else re[Ee]=Qe}),re}createSegmentGroup(ie,Z,re,Ee){const Qe=this.createSegments(ie,Z.segments,re,Ee);let Et={};return Object.entries(Z.children).forEach(([Ht,Vt])=>{Et[Ht]=this.createSegmentGroup(ie,Vt,re,Ee)}),new ge(Qe,Et)}createSegments(ie,Z,re,Ee){return Z.map(Qe=>Qe.path.startsWith(":")?this.findPosParam(ie,Qe,Ee):this.findOrReturn(Qe,re))}findPosParam(ie,Z,re){const Ee=re[Z.path.substring(1)];if(!Ee)throw new t.\u0275RuntimeError(4001,!1);return Ee}findOrReturn(ie,Z){let re=0;for(const Ee of Z){if(Ee.path===ie.path)return Z.splice(re),Ee;re++}return ie}}const Js={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ls(W,ie,Z,re,Ee){const Qe=Jr(W,ie,Z);return Qe.matched?(re=function It(W,ie){return W.providers&&!W._injector&&(W._injector=(0,t.createEnvironmentInjector)(W.providers,ie,`Route: ${W.path}`)),W._injector??ie}(ie,re),function Qs(W,ie,Z,re){const Ee=ie.canMatch;if(!Ee||0===Ee.length)return(0,E.of)(!0);const Qe=Ee.map(Et=>{const Ht=Br(Et,W);return Re(function we(W){return W&&Rr(W.canMatch)}(Ht)?Ht.canMatch(ie,Z):(0,t.runInInjectionContext)(W,()=>Ht(ie,Z)))});return(0,E.of)(Qe).pipe(Ze(),bi())}(re,ie,Z).pipe((0,y.k)(Et=>!0===Et?Qe:{...Js}))):(0,E.of)(Qe)}function Jr(W,ie,Z){if("**"===ie.path)return function cr(W){return{matched:!0,parameters:W.length>0?Ct(W).parameters:{},consumedSegments:W,remainingSegments:[],positionalParamSegments:{}}}(Z);if(""===ie.path)return"full"===ie.pathMatch&&(W.hasChildren()||Z.length>0)?{...Js}:{matched:!0,consumedSegments:[],remainingSegments:Z,parameters:{},positionalParamSegments:{}};const Ee=(ie.matcher||ue)(Z,W,ie);if(!Ee)return{...Js};const Qe={};Object.entries(Ee.posParams??{}).forEach(([Ht,Vt])=>{Qe[Ht]=Vt.path});const Et=Ee.consumed.length>0?{...Qe,...Ee.consumed[Ee.consumed.length-1].parameters}:Qe;return{matched:!0,consumedSegments:Ee.consumed,remainingSegments:Z.slice(Ee.consumed.length),parameters:Et,positionalParamSegments:Ee.posParams??{}}}function jr(W,ie,Z,re){return Z.length>0&&function Vi(W,ie,Z){return Z.some(re=>bs(W,ie,re)&&jn(re)!==X)}(W,Z,re)?{segmentGroup:new ge(ie,eo(re,new ge(Z,W.children))),slicedSegments:[]}:0===Z.length&&function to(W,ie,Z){return Z.some(re=>bs(W,ie,re))}(W,Z,re)?{segmentGroup:new ge(W.segments,qs(W,Z,re,W.children)),slicedSegments:Z}:{segmentGroup:new ge(W.segments,W.children),slicedSegments:Z}}function qs(W,ie,Z,re){const Ee={};for(const Qe of Z)if(bs(W,ie,Qe)&&!re[jn(Qe)]){const Et=new ge([],{});Ee[jn(Qe)]=Et}return{...re,...Ee}}function eo(W,ie){const Z={};Z[X]=ie;for(const re of W)if(""===re.path&&jn(re)!==X){const Ee=new ge([],{});Z[jn(re)]=Ee}return Z}function bs(W,ie,Z){return(!(W.hasChildren()||ie.length>0)||"full"!==Z.pathMatch)&&""===Z.path}class cs{}class Cs{constructor(ie,Z,re,Ee,Qe,Et,Ht){this.injector=ie,this.configLoader=Z,this.rootComponentType=re,this.config=Ee,this.urlTree=Qe,this.paramsInheritanceStrategy=Et,this.urlSerializer=Ht,this.applyRedirects=new lr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(ie){return new t.\u0275RuntimeError(4002,`'${ie.segmentGroup}'`)}recognize(){const ie=jr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(ie).pipe((0,y.k)(Z=>{const re=new Ki([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},X,this.rootComponentType,null,{}),Ee=new Qn(re,Z),Qe=new nr("",Ee),Et=xt(re,[],this.urlTree.queryParams,this.urlTree.fragment);return Et.queryParams=this.urlTree.queryParams,Qe.url=this.urlSerializer.serialize(Et),this.inheritParamsAndData(Qe._root,null),{state:Qe,tree:Et}}))}match(ie){return this.processSegmentGroup(this.injector,this.config,ie,X).pipe((0,S.a)(re=>{if(re instanceof ks)return this.urlTree=re.urlTree,this.match(re.urlTree.root);throw re instanceof Xs?this.noMatchError(re):re}))}inheritParamsAndData(ie,Z){const re=ie.value,Ee=Oi(re,Z,this.paramsInheritanceStrategy);re.params=Object.freeze(Ee.params),re.data=Object.freeze(Ee.data),ie.children.forEach(Qe=>this.inheritParamsAndData(Qe,re))}processSegmentGroup(ie,Z,re,Ee){return 0===re.segments.length&&re.hasChildren()?this.processChildren(ie,Z,re):this.processSegment(ie,Z,re,re.segments,Ee,!0).pipe((0,y.k)(Qe=>Qe instanceof Qn?[Qe]:[]))}processChildren(ie,Z,re){const Ee=[];for(const Qe of Object.keys(re.children))"primary"===Qe?Ee.unshift(Qe):Ee.push(Qe);return(0,C.Q)(Ee).pipe((0,T.m)(Qe=>{const Et=re.children[Qe],Ht=function Gn(W,ie){const Z=W.filter(re=>jn(re)===ie);return Z.push(...W.filter(re=>jn(re)!==ie)),Z}(Z,Qe);return this.processSegmentGroup(ie,Ht,Et,Qe)}),(0,F.K)((Qe,Et)=>(Qe.push(...Et),Qe)),(0,L.G)(null),(0,A.G)(),(0,I.O)(Qe=>{if(null===Qe)return as(re);const Et=Ls(Qe);return function Hr(W){W.sort((ie,Z)=>ie.value.outlet===X?-1:Z.value.outlet===X?1:ie.value.outlet.localeCompare(Z.value.outlet))}(Et),(0,E.of)(Et)}))}processSegment(ie,Z,re,Ee,Qe,Et){return(0,C.Q)(Z).pipe((0,T.m)(Ht=>this.processSegmentAgainstRoute(Ht._injector??ie,Z,Ht,re,Ee,Qe,Et).pipe((0,S.a)(Vt=>{if(Vt instanceof Xs)return(0,E.of)(null);throw Vt}))),(0,O.K)(Ht=>!!Ht),(0,S.a)(Ht=>{if(Se(Ht))return function ys(W,ie,Z){return 0===ie.length&&!W.children[Z]}(re,Ee,Qe)?(0,E.of)(new cs):as(re);throw Ht}))}processSegmentAgainstRoute(ie,Z,re,Ee,Qe,Et,Ht){return function no(W,ie,Z,re){return!!(jn(W)===re||re!==X&&bs(ie,Z,W))&&Jr(ie,W,Z).matched}(re,Ee,Qe,Et)?void 0===re.redirectTo?this.matchSegmentAgainstRoute(ie,Ee,re,Qe,Et):this.allowRedirects&&Ht?this.expandSegmentAgainstRouteUsingRedirect(ie,Ee,Z,re,Qe,Et):as(Ee):as(Ee)}expandSegmentAgainstRouteUsingRedirect(ie,Z,re,Ee,Qe,Et){const{matched:Ht,consumedSegments:Vt,positionalParamSegments:yn,remainingSegments:R}=Jr(Z,Ee,Qe);if(!Ht)return as(Z);Ee.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ce=this.applyRedirects.applyRedirectCommands(Vt,Ee.redirectTo,yn);return this.applyRedirects.lineralizeSegments(Ee,Ce).pipe((0,I.O)(Y=>this.processSegment(ie,re,Z,Y.concat(R),Et,!1)))}matchSegmentAgainstRoute(ie,Z,re,Ee,Qe){const Et=ls(Z,re,Ee,ie);return"**"===re.path&&(Z.children={}),Et.pipe((0,M.G)(Ht=>Ht.matched?this.getChildConfig(ie=re._injector??ie,re,Ee).pipe((0,M.G)(({routes:Vt})=>{const yn=re._loadedInjector??ie,{consumedSegments:R,remainingSegments:Ce,parameters:Y}=Ht,tt=new Ki(R,Y,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Bo(W){return W.data||{}}(re),jn(re),re.component??re._loadedComponent??null,re,function $o(W){return W.resolve||{}}(re)),{segmentGroup:ht,slicedSegments:gt}=jr(Z,R,Ce,Vt);if(0===gt.length&&ht.hasChildren())return this.processChildren(yn,Vt,ht).pipe((0,y.k)(Nt=>null===Nt?null:new Qn(tt,Nt)));if(0===Vt.length&&0===gt.length)return(0,E.of)(new Qn(tt,[]));const zt=jn(re)===Qe;return this.processSegment(yn,Vt,ht,gt,zt?X:Qe,!0).pipe((0,y.k)(Nt=>new Qn(tt,Nt instanceof Qn?[Nt]:[])))})):as(Z)))}getChildConfig(ie,Z,re){return Z.children?(0,E.of)({routes:Z.children,injector:ie}):Z.loadChildren?void 0!==Z._loadedRoutes?(0,E.of)({routes:Z._loadedRoutes,injector:Z._loadedInjector}):function vo(W,ie,Z,re){const Ee=ie.canLoad;if(void 0===Ee||0===Ee.length)return(0,E.of)(!0);const Qe=Ee.map(Et=>{const Ht=Br(Et,W);return Re(function As(W){return W&&Rr(W.canLoad)}(Ht)?Ht.canLoad(ie,Z):(0,t.runInInjectionContext)(W,()=>Ht(ie,Z)))});return(0,E.of)(Qe).pipe(Ze(),bi())}(ie,Z,re).pipe((0,I.O)(Ee=>Ee?this.configLoader.loadChildren(ie,Z).pipe((0,N.y)(Qe=>{Z._loadedRoutes=Qe.routes,Z._loadedInjector=Qe.injector})):function Os(W){return(0,a.c)(hi(!1,mt.GuardRejected))}())):(0,E.of)({routes:[],injector:ie})}}function Un(W){const ie=W.value.routeConfig;return ie&&""===ie.path}function Ls(W){const ie=[],Z=new Set;for(const re of W){if(!Un(re)){ie.push(re);continue}const Ee=ie.find(Qe=>re.value.routeConfig===Qe.value.routeConfig);void 0!==Ee?(Ee.children.push(...re.children),Z.add(Ee)):ie.push(re)}for(const re of Z){const Ee=Ls(re.children);ie.push(new Qn(re.value,Ee))}return ie.filter(re=>!Z.has(re))}function qr(W){const ie=W.children.map(Z=>qr(Z)).flat();return[W,...ie]}function Ns(W){return(0,M.G)(ie=>{const Z=W(ie);return Z?(0,C.Q)(Z).pipe((0,y.k)(()=>ie)):(0,E.of)(ie)})}let Fs=(()=>{class W{buildTitle(Z){let re,Ee=Z.root;for(;void 0!==Ee;)re=this.getResolvedTitleForRoute(Ee)??re,Ee=Ee.children.find(Qe=>Qe.outlet===X);return re}getResolvedTitleForRoute(Z){return Z.data[G]}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:()=>(0,t.inject)(Xt),providedIn:"root"})}return W})(),Xt=(()=>{class W extends Fs{constructor(Z){super(),this.title=Z}updateTitle(Z){const re=this.buildTitle(Z);void 0!==re&&this.title.setTitle(re)}static#e=this.\u0275fac=function(re){return new(re||W)(t.\u0275\u0275inject(z.Title))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const Hn=new t.InjectionToken("",{providedIn:"root",factory:()=>({})}),Lr=new t.InjectionToken("");let Us=(()=>{class W{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,t.inject)(t.Compiler)}loadComponent(Z){if(this.componentLoaders.get(Z))return this.componentLoaders.get(Z);if(Z._loadedComponent)return(0,E.of)(Z._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Z);const re=Re(Z.loadComponent()).pipe((0,y.k)(ds),(0,N.y)(Qe=>{this.onLoadEndListener&&this.onLoadEndListener(Z),Z._loadedComponent=Qe}),(0,ee.U)(()=>{this.componentLoaders.delete(Z)})),Ee=new u.C(re,()=>new h.E).pipe((0,ne.O)());return this.componentLoaders.set(Z,Ee),Ee}loadChildren(Z,re){if(this.childrenLoaders.get(re))return this.childrenLoaders.get(re);if(re._loadedRoutes)return(0,E.of)({routes:re._loadedRoutes,injector:re._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(re);const Qe=yi(re,this.compiler,Z,this.onLoadEndListener).pipe((0,ee.U)(()=>{this.childrenLoaders.delete(re)})),Et=new u.C(Qe,()=>new h.E).pipe((0,ne.O)());return this.childrenLoaders.set(re,Et),Et}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function yi(W,ie,Z,re){return Re(W.loadChildren()).pipe((0,y.k)(ds),(0,I.O)(Ee=>Ee instanceof t.NgModuleFactory||Array.isArray(Ee)?(0,E.of)(Ee):(0,C.Q)(ie.compileModuleAsync(Ee))),(0,y.k)(Ee=>{re&&re(W);let Qe,Et;return Array.isArray(Ee)?Et=Ee:(Qe=Ee.create(Z).injector,Et=Qe.get(Lr,[],{optional:!0,self:!0}).flat()),{routes:Et.map(gi),injector:Qe}}))}function ds(W){return function Co(W){return W&&"object"==typeof W&&"default"in W}(W)?W.default:W}let wr=(()=>{class W{static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:()=>(0,t.inject)(Bs),providedIn:"root"})}return W})(),Bs=(()=>{class W{shouldProcessUrl(Z){return!0}extract(Z){return Z}merge(Z,re){return Z}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const $s=new t.InjectionToken(""),wo=new t.InjectionToken("");function Yi(W,ie,Z){const re=W.get(wo),Ee=W.get(_.DOCUMENT);return W.get(t.NgZone).runOutsideAngular(()=>{if(!Ee.startViewTransition||re.skipNextTransition)return re.skipNextTransition=!1,Promise.resolve();let Qe;const Et=new Promise(yn=>{Qe=yn}),Ht=Ee.startViewTransition(()=>(Qe(),function Eo(W){return new Promise(ie=>{(0,t.afterNextRender)(ie,{injector:W})})}(W))),{onViewTransitionCreated:Vt}=re;return Vt&&(0,t.runInInjectionContext)(W,()=>Vt({transition:Ht,from:ie,to:Z})),Et})}let Zi=(()=>{class W{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new h.E,this.transitionAbortSubject=new h.E,this.configLoader=(0,t.inject)(Us),this.environmentInjector=(0,t.inject)(t.EnvironmentInjector),this.urlSerializer=(0,t.inject)(Pt),this.rootContexts=(0,t.inject)(Yn),this.location=(0,t.inject)(_.Location),this.inputBindingEnabled=null!==(0,t.inject)(hr,{optional:!0}),this.titleStrategy=(0,t.inject)(Fs),this.options=(0,t.inject)(Hn,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,t.inject)(wr),this.createViewTransition=(0,t.inject)($s,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,E.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Ee=>this.events.next(new oi(Ee)),this.configLoader.onLoadStartListener=Ee=>this.events.next(new vn(Ee))}complete(){this.transitions?.complete()}handleNavigationRequest(Z){const re=++this.navigationId;this.transitions?.next({...this.transitions.value,...Z,id:re})}setupNavigations(Z,re,Ee){return this.transitions=new c.g({id:0,currentUrlTree:re,currentRawUrl:re,extractedUrl:this.urlHandlingStrategy.extract(re),urlAfterRedirects:this.urlHandlingStrategy.extract(re),rawUrl:re,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:at,restoredState:null,currentSnapshot:Ee.snapshot,targetSnapshot:null,currentRouterState:Ee,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,D.I)(Qe=>0!==Qe.id),(0,y.k)(Qe=>({...Qe,extractedUrl:this.urlHandlingStrategy.extract(Qe.rawUrl)})),(0,M.G)(Qe=>{this.currentTransition=Qe;let Et=!1,Ht=!1;return(0,E.of)(Qe).pipe((0,N.y)(Vt=>{this.currentNavigation={id:Vt.id,initialUrl:Vt.rawUrl,extractedUrl:Vt.extractedUrl,trigger:Vt.source,extras:Vt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,M.G)(Vt=>{const yn=!Z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!yn&&"reload"!==(Vt.extras.onSameUrlNavigation??Z.onSameUrlNavigation)){const Ce="";return this.events.next(new de(Vt.id,this.urlSerializer.serialize(Vt.rawUrl),Ce,V.IgnoredSameUrlNavigation)),Vt.resolve(null),r.k}if(this.urlHandlingStrategy.shouldProcessUrl(Vt.rawUrl))return(0,E.of)(Vt).pipe((0,M.G)(Ce=>{const Y=this.transitions?.getValue();return this.events.next(new Ae(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),Ce.source,Ce.restoredState)),Y!==this.transitions?.getValue()?r.k:Promise.resolve(Ce)}),function io(W,ie,Z,re,Ee,Qe){return(0,I.O)(Et=>function us(W,ie,Z,re,Ee,Qe,Et="emptyOnly"){return new Cs(W,ie,Z,re,Ee,Et,Qe).recognize()}(W,ie,Z,re,Et.extractedUrl,Ee,Qe).pipe((0,y.k)(({state:Ht,tree:Vt})=>({...Et,targetSnapshot:Ht,urlAfterRedirects:Vt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Z.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,N.y)(Ce=>{Qe.targetSnapshot=Ce.targetSnapshot,Qe.urlAfterRedirects=Ce.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Ce.urlAfterRedirects};const Y=new wt(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),this.urlSerializer.serialize(Ce.urlAfterRedirects),Ce.targetSnapshot);this.events.next(Y)}));if(yn&&this.urlHandlingStrategy.shouldProcessUrl(Vt.currentRawUrl)){const{id:Ce,extractedUrl:Y,source:tt,restoredState:ht,extras:gt}=Vt,zt=new Ae(Ce,this.urlSerializer.serialize(Y),tt,ht);this.events.next(zt);const Nt=pn(this.rootComponentType).snapshot;return this.currentTransition=Qe={...Vt,targetSnapshot:Nt,urlAfterRedirects:Y,extras:{...gt,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Y,(0,E.of)(Qe)}{const Ce="";return this.events.next(new de(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),Ce,V.IgnoredByUrlHandlingStrategy)),Vt.resolve(null),r.k}}),(0,N.y)(Vt=>{const yn=new Yt(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects),Vt.targetSnapshot);this.events.next(yn)}),(0,y.k)(Vt=>(this.currentTransition=Qe={...Vt,guards:fr(Vt.targetSnapshot,Vt.currentSnapshot,this.rootContexts)},Qe)),function Tt(W,ie){return(0,I.O)(Z=>{const{targetSnapshot:re,currentSnapshot:Ee,guards:{canActivateChecks:Qe,canDeactivateChecks:Et}}=Z;return 0===Et.length&&0===Qe.length?(0,E.of)({...Z,guardsResult:!0}):function wn(W,ie,Z,re){return(0,C.Q)(W).pipe((0,I.O)(Ee=>function _o(W,ie,Z,re,Ee){const Qe=ie&&ie.routeConfig?ie.routeConfig.canDeactivate:null;if(!Qe||0===Qe.length)return(0,E.of)(!0);const Et=Qe.map(Ht=>{const Vt=Bn(ie)??Ee,yn=Br(Ht,Vt);return Re(function go(W){return W&&Rr(W.canDeactivate)}(yn)?yn.canDeactivate(W,ie,Z,re):(0,t.runInInjectionContext)(Vt,()=>yn(W,ie,Z,re))).pipe((0,O.K)())});return(0,E.of)(Et).pipe(Ze())}(Ee.component,Ee.route,Z,ie,re)),(0,O.K)(Ee=>!0!==Ee,!0))}(Et,re,Ee,W).pipe((0,I.O)(Ht=>Ht&&function os(W){return"boolean"==typeof W}(Ht)?function ei(W,ie,Z,re){return(0,C.Q)(ie).pipe((0,T.m)(Ee=>(0,f.W)(function Tr(W,ie){return null!==W&&ie&&ie(new tr(W)),(0,E.of)(!0)}(Ee.route.parent,re),function Dr(W,ie){return null!==W&&ie&&ie(new sr(W)),(0,E.of)(!0)}(Ee.route,re),function Uo(W,ie,Z){const re=ie[ie.length-1],Qe=ie.slice(0,ie.length-1).reverse().map(Et=>function Ts(W){const ie=W.routeConfig?W.routeConfig.canActivateChild:null;return ie&&0!==ie.length?{node:W,guards:ie}:null}(Et)).filter(Et=>null!==Et).map(Et=>(0,d.Q)(()=>{const Ht=Et.guards.map(Vt=>{const yn=Bn(Et.node)??Z,R=Br(Vt,yn);return Re(function po(W){return W&&Rr(W.canActivateChild)}(R)?R.canActivateChild(re,W):(0,t.runInInjectionContext)(yn,()=>R(re,W))).pipe((0,O.K)())});return(0,E.of)(Ht).pipe(Ze())}));return(0,E.of)(Qe).pipe(Ze())}(W,Ee.path,Z),function vs(W,ie,Z){const re=ie.routeConfig?ie.routeConfig.canActivate:null;if(!re||0===re.length)return(0,E.of)(!0);const Ee=re.map(Qe=>(0,d.Q)(()=>{const Et=Bn(ie)??Z,Ht=Br(Qe,Et);return Re(function mo(W){return W&&Rr(W.canActivate)}(Ht)?Ht.canActivate(ie,W):(0,t.runInInjectionContext)(Et,()=>Ht(ie,W))).pipe((0,O.K)())}));return(0,E.of)(Ee).pipe(Ze())}(W,Ee.route,Z))),(0,O.K)(Ee=>!0!==Ee,!0))}(re,Qe,W,ie):(0,E.of)(Ht)),(0,y.k)(Ht=>({...Z,guardsResult:Ht})))})}(this.environmentInjector,Vt=>this.events.next(Vt)),(0,N.y)(Vt=>{if(Qe.guardsResult=Vt.guardsResult,dt(Vt.guardsResult))throw Ar(0,Vt.guardsResult);const yn=new Kn(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects),Vt.targetSnapshot,!!Vt.guardsResult);this.events.next(yn)}),(0,D.I)(Vt=>!!Vt.guardsResult||(this.cancelNavigationTransition(Vt,"",mt.GuardRejected),!1)),Ns(Vt=>{if(Vt.guards.canActivateChecks.length)return(0,E.of)(Vt).pipe((0,N.y)(yn=>{const R=new Pn(yn.id,this.urlSerializer.serialize(yn.extractedUrl),this.urlSerializer.serialize(yn.urlAfterRedirects),yn.targetSnapshot);this.events.next(R)}),(0,M.G)(yn=>{let R=!1;return(0,E.of)(yn).pipe(function zr(W,ie){return(0,I.O)(Z=>{const{targetSnapshot:re,guards:{canActivateChecks:Ee}}=Z;if(!Ee.length)return(0,E.of)(Z);const Qe=new Set(Ee.map(Vt=>Vt.route)),Et=new Set;for(const Vt of Qe)if(!Et.has(Vt))for(const yn of qr(Vt))Et.add(yn);let Ht=0;return(0,C.Q)(Et).pipe((0,T.m)(Vt=>Qe.has(Vt)?function bo(W,ie,Z,re){const Ee=W.routeConfig,Qe=W._resolve;return void 0!==Ee?.title&&!ar(Ee)&&(Qe[G]=Ee.title),function Ps(W,ie,Z,re){const Ee=_t(W);if(0===Ee.length)return(0,E.of)({});const Qe={};return(0,C.Q)(Ee).pipe((0,I.O)(Et=>function yo(W,ie,Z,re){const Ee=Bn(ie)??re,Qe=Br(W,Ee);return Re(Qe.resolve?Qe.resolve(ie,Z):(0,t.runInInjectionContext)(Ee,()=>Qe(ie,Z)))}(W[Et],ie,Z,re).pipe((0,O.K)(),(0,N.y)(Ht=>{Qe[Et]=Ht}))),(0,U.s)(1),(0,K.e)(Qe),(0,S.a)(Et=>Se(Et)?r.k:(0,a.c)(Et)))}(Qe,W,ie,re).pipe((0,y.k)(Et=>(W._resolvedData=Et,W.data=Oi(W,W.parent,Z).resolve,null)))}(Vt,re,W,ie):(Vt.data=Oi(Vt,Vt.parent,W).resolve,(0,E.of)(void 0))),(0,N.y)(()=>Ht++),(0,U.s)(1),(0,I.O)(Vt=>Ht===Et.size?(0,E.of)(Z):r.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,N.y)({next:()=>R=!0,complete:()=>{R||this.cancelNavigationTransition(yn,"",mt.NoDataFromResolver)}}))}),(0,N.y)(yn=>{const R=new Tn(yn.id,this.urlSerializer.serialize(yn.extractedUrl),this.urlSerializer.serialize(yn.urlAfterRedirects),yn.targetSnapshot);this.events.next(R)}))}),Ns(Vt=>{const yn=R=>{const Ce=[];R.routeConfig?.loadComponent&&!R.routeConfig._loadedComponent&&Ce.push(this.configLoader.loadComponent(R.routeConfig).pipe((0,N.y)(Y=>{R.component=Y}),(0,y.k)(()=>{})));for(const Y of R.children)Ce.push(...yn(Y));return Ce};return(0,b.E)(yn(Vt.targetSnapshot.root)).pipe((0,L.G)(null),(0,w.U)(1))}),Ns(()=>this.afterPreactivation()),(0,M.G)(()=>{const{currentSnapshot:Vt,targetSnapshot:yn}=Qe,R=this.createViewTransition?.(this.environmentInjector,Vt.root,yn.root);return R?(0,C.Q)(R).pipe((0,y.k)(()=>Qe)):(0,E.of)(Qe)}),(0,y.k)(Vt=>{const yn=function Hi(W,ie,Z){const re=qi(W,ie._root,Z?Z._root:void 0);return new cn(re,ie)}(Z.routeReuseStrategy,Vt.targetSnapshot,Vt.currentRouterState);return this.currentTransition=Qe={...Vt,targetRouterState:yn},this.currentNavigation.targetRouterState=yn,Qe}),(0,N.y)(()=>{this.events.next(new Gi)}),((W,ie,Z,re)=>(0,y.k)(Ee=>(new ir(ie,Ee.targetRouterState,Ee.currentRouterState,Z,re).activate(W),Ee)))(this.rootContexts,Z.routeReuseStrategy,Vt=>this.events.next(Vt),this.inputBindingEnabled),(0,w.U)(1),(0,N.y)({next:Vt=>{Et=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new _e(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Vt.targetRouterState.snapshot),Vt.resolve(!0)},complete:()=>{Et=!0}}),(0,B.a)(this.transitionAbortSubject.pipe((0,N.y)(Vt=>{throw Vt}))),(0,ee.U)(()=>{!Et&&!Ht&&this.cancelNavigationTransition(Qe,"",mt.SupersededByNewNavigation),this.currentNavigation?.id===Qe.id&&(this.currentNavigation=null)}),(0,S.a)(Vt=>{if(Ht=!0,Mt(Vt))this.events.next(new he(Qe.id,this.urlSerializer.serialize(Qe.extractedUrl),Vt.message,Vt.cancellationCode)),function kr(W){return Mt(W)&&dt(W.url)}(Vt)?this.events.next(new or(Vt.url)):Qe.resolve(!1);else{this.events.next(new We(Qe.id,this.urlSerializer.serialize(Qe.extractedUrl),Vt,Qe.targetSnapshot??void 0));try{Qe.resolve(Z.errorHandler(Vt))}catch(yn){this.options.resolveNavigationPromiseOnError?Qe.resolve(!1):Qe.reject(yn)}}return r.k}))}))}cancelNavigationTransition(Z,re,Ee){const Qe=new he(Z.id,this.urlSerializer.serialize(Z.extractedUrl),re,Ee);this.events.next(Qe),Z.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function Wr(W){return W!==at}let ro=(()=>{class W{static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:()=>(0,t.inject)(Ue),providedIn:"root"})}return W})();class Q{shouldDetach(ie){return!1}store(ie,Z){}shouldAttach(ie){return!1}retrieve(ie){return null}shouldReuseRoute(ie,Z){return ie.routeConfig===Z.routeConfig}}let Ue=(()=>{class W extends Q{static#e=this.\u0275fac=(()=>{let Z;return function(Ee){return(Z||(Z=t.\u0275\u0275getInheritedFactory(W)))(Ee||W)}})();static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),oe=(()=>{class W{static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:()=>(0,t.inject)(ye),providedIn:"root"})}return W})(),ye=(()=>{class W extends oe{constructor(){super(...arguments),this.location=(0,t.inject)(_.Location),this.urlSerializer=(0,t.inject)(Pt),this.options=(0,t.inject)(Hn,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,t.inject)(wr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Xe,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=pn(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(Z){return this.location.subscribe(re=>{"popstate"===re.type&&Z(re.url,re.state)})}handleRouterEvent(Z,re){if(Z instanceof Ae)this.stateMemento=this.createStateMemento();else if(Z instanceof de)this.rawUrlTree=re.initialUrl;else if(Z instanceof wt){if("eager"===this.urlUpdateStrategy&&!re.extras.skipLocationChange){const Ee=this.urlHandlingStrategy.merge(re.finalUrl,re.initialUrl);this.setBrowserUrl(Ee,re)}}else Z instanceof Gi?(this.currentUrlTree=re.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(re.finalUrl,re.initialUrl),this.routerState=re.targetRouterState,"deferred"===this.urlUpdateStrategy&&(re.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,re))):Z instanceof he&&(Z.code===mt.GuardRejected||Z.code===mt.NoDataFromResolver)?this.restoreHistory(re):Z instanceof We?this.restoreHistory(re,!0):Z instanceof _e&&(this.lastSuccessfulId=Z.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Z,re){const Ee=this.urlSerializer.serialize(Z);if(this.location.isCurrentPathEqualTo(Ee)||re.extras.replaceUrl){const Et={...re.extras.state,...this.generateNgRouterState(re.id,this.browserPageId)};this.location.replaceState(Ee,"",Et)}else{const Qe={...re.extras.state,...this.generateNgRouterState(re.id,this.browserPageId+1)};this.location.go(Ee,"",Qe)}}restoreHistory(Z,re=!1){if("computed"===this.canceledNavigationResolution){const Qe=this.currentPageId-this.browserPageId;0!==Qe?this.location.historyGo(Qe):this.currentUrlTree===Z.finalUrl&&0===Qe&&(this.resetState(Z),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(re&&this.resetState(Z),this.resetUrlToCurrentUrlTree())}resetState(Z){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Z.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Z,re){return"computed"===this.canceledNavigationResolution?{navigationId:Z,\u0275routerPageId:re}:{navigationId:Z}}static#e=this.\u0275fac=(()=>{let Z;return function(Ee){return(Z||(Z=t.\u0275\u0275getInheritedFactory(W)))(Ee||W)}})();static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();var ut=function(W){return W[W.COMPLETE=0]="COMPLETE",W[W.FAILED=1]="FAILED",W[W.REDIRECTING=2]="REDIRECTING",W}(ut||{});function $t(W,ie){W.events.pipe((0,D.I)(Z=>Z instanceof _e||Z instanceof he||Z instanceof We||Z instanceof de),(0,y.k)(Z=>Z instanceof _e||Z instanceof de?ut.COMPLETE:Z instanceof he&&(Z.code===mt.Redirect||Z.code===mt.SupersededByNewNavigation)?ut.REDIRECTING:ut.FAILED),(0,D.I)(Z=>Z!==ut.REDIRECTING),(0,w.U)(1)).subscribe(()=>{ie()})}function Qt(W){throw W}const bn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ri={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Jn=(()=>{class W{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,t.inject)(t.\u0275Console),this.stateManager=(0,t.inject)(oe),this.options=(0,t.inject)(Hn,{optional:!0})||{},this.pendingTasks=(0,t.inject)(t.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,t.inject)(Zi),this.urlSerializer=(0,t.inject)(Pt),this.location=(0,t.inject)(_.Location),this.urlHandlingStrategy=(0,t.inject)(wr),this._events=new h.E,this.errorHandler=this.options.errorHandler||Qt,this.navigated=!1,this.routeReuseStrategy=(0,t.inject)(ro),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,t.inject)(Lr,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,t.inject)(hr,{optional:!0}),this.eventsSubscription=new p.wH,this.isNgZoneEnabled=(0,t.inject)(t.NgZone)instanceof t.NgZone&&t.NgZone.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:Z=>{this.console.warn(Z)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Z=this.navigationTransitions.events.subscribe(re=>{try{const Ee=this.navigationTransitions.currentTransition,Qe=this.navigationTransitions.currentNavigation;if(null!==Ee&&null!==Qe)if(this.stateManager.handleRouterEvent(re,Qe),re instanceof he&&re.code!==mt.Redirect&&re.code!==mt.SupersededByNewNavigation)this.navigated=!0;else if(re instanceof _e)this.navigated=!0;else if(re instanceof or){const Et=this.urlHandlingStrategy.merge(re.url,Ee.currentRawUrl),Ht={info:Ee.extras.info,skipLocationChange:Ee.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Wr(Ee.source)};this.scheduleNavigation(Et,at,null,Ht,{resolve:Ee.resolve,reject:Ee.reject,promise:Ee.promise})}(function qn(W){return!(W instanceof Gi||W instanceof or)})(re)&&this._events.next(re)}catch(Ee){this.navigationTransitions.transitionAbortSubject.next(Ee)}});this.eventsSubscription.add(Z)}resetRootComponentType(Z){this.routerState.root.component=Z,this.navigationTransitions.rootComponentType=Z}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),at,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((Z,re)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(Z,"popstate",re)},0)})}navigateToSyncWithBrowser(Z,re,Ee){const Qe={replaceUrl:!0},Et=Ee?.navigationId?Ee:null;if(Ee){const Vt={...Ee};delete Vt.navigationId,delete Vt.\u0275routerPageId,0!==Object.keys(Vt).length&&(Qe.state=Vt)}const Ht=this.parseUrl(Z);this.scheduleNavigation(Ht,re,Et,Qe)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Z){this.config=Z.map(gi),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Z,re={}){const{relativeTo:Ee,queryParams:Qe,fragment:Et,queryParamsHandling:Ht,preserveFragment:Vt}=re,yn=Vt?this.currentUrlTree.fragment:Et;let Ce,R=null;switch(Ht){case"merge":R={...this.currentUrlTree.queryParams,...Qe};break;case"preserve":R=this.currentUrlTree.queryParams;break;default:R=Qe||null}null!==R&&(R=this.removeEmptyProps(R));try{Ce=qe(Ee?Ee.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Z[0]||!Z[0].startsWith("/"))&&(Z=[]),Ce=this.currentUrlTree.root}return Fe(Ce,Z,R,yn??null)}navigateByUrl(Z,re={skipLocationChange:!1}){const Ee=dt(Z)?Z:this.parseUrl(Z),Qe=this.urlHandlingStrategy.merge(Ee,this.rawUrlTree);return this.scheduleNavigation(Qe,at,null,re)}navigate(Z,re={skipLocationChange:!1}){return function Li(W){for(let ie=0;ie(null!=Qe&&(re[Ee]=Qe),re),{})}scheduleNavigation(Z,re,Ee,Qe,Et){if(this.disposed)return Promise.resolve(!1);let Ht,Vt,yn;Et?(Ht=Et.resolve,Vt=Et.reject,yn=Et.promise):yn=new Promise((Ce,Y)=>{Ht=Ce,Vt=Y});const R=this.pendingTasks.add();return $t(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(R))}),this.navigationTransitions.handleNavigationRequest({source:re,restoredState:Ee,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Z,extras:Qe,resolve:Ht,reject:Vt,promise:yn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),yn.catch(Ce=>Promise.reject(Ce))}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),Ci=(()=>{class W{constructor(Z,re,Ee,Qe,Et,Ht){this.router=Z,this.route=re,this.tabIndexAttribute=Ee,this.renderer=Qe,this.el=Et,this.locationStrategy=Ht,this.href=null,this.commands=null,this.onChanges=new h.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Vt=Et.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Vt||"area"===Vt,this.isAnchorElement?this.subscription=Z.events.subscribe(yn=>{yn instanceof _e&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Z){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Z)}ngOnChanges(Z){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Z){null!=Z?(this.commands=Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Z,re,Ee,Qe,Et){const Ht=this.urlTree;return!!(null===Ht||this.isAnchorElement&&(0!==Z||re||Ee||Qe||Et||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Ht,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Z=this.urlTree;this.href=null!==Z&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Z)):null;const re=null===this.href?null:(0,t.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",re)}applyAttributeValue(Z,re){const Ee=this.renderer,Qe=this.el.nativeElement;null!==re?Ee.setAttribute(Qe,Z,re):Ee.removeAttribute(Qe,Z)}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})}static#e=this.\u0275fac=function(re){return new(re||W)(t.\u0275\u0275directiveInject(Jn),t.\u0275\u0275directiveInject(Fn),t.\u0275\u0275injectAttribute("tabindex"),t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(_.LocationStrategy))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:W,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(re,Ee){1&re&&t.\u0275\u0275listener("click",function(Et){return Ee.onClick(Et.button,Et.ctrlKey,Et.shiftKey,Et.altKey,Et.metaKey)}),2&re&&t.\u0275\u0275attribute("target",Ee.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"preserveFragment","preserveFragment",t.booleanAttribute],skipLocationChange:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",t.booleanAttribute],replaceUrl:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"replaceUrl","replaceUrl",t.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature]})}return W})(),wi=(()=>{class W{get isActive(){return this._isActive}constructor(Z,re,Ee,Qe,Et){this.router=Z,this.element=re,this.renderer=Ee,this.cdr=Qe,this.link=Et,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new t.EventEmitter,this.routerEventsSubscription=Z.events.subscribe(Ht=>{Ht instanceof _e&&this.update()})}ngAfterContentInit(){(0,E.of)(this.links.changes,(0,E.of)(null)).pipe((0,H.u)()).subscribe(Z=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Z=[...this.links.toArray(),this.link].filter(re=>!!re).map(re=>re.onChanges);this.linkInputChangesSubscription=(0,C.Q)(Z).pipe((0,H.u)()).subscribe(re=>{this._isActive!==this.isLinkActive(this.router)(re)&&this.update()})}set routerLinkActive(Z){const re=Array.isArray(Z)?Z:Z.split(" ");this.classes=re.filter(Ee=>!!Ee)}ngOnChanges(Z){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const Z=this.hasActiveLinks();this._isActive!==Z&&(this._isActive=Z,this.cdr.markForCheck(),this.classes.forEach(re=>{Z?this.renderer.addClass(this.element.nativeElement,re):this.renderer.removeClass(this.element.nativeElement,re)}),Z&&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(Z))})}isLinkActive(Z){const re=function er(W){return!!W.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Ee=>{const Qe=Ee.urlTree;return!!Qe&&Z.isActive(Qe,re)}}hasActiveLinks(){const Z=this.isLinkActive(this.router);return this.link&&Z(this.link)||this.links.some(Z)}static#e=this.\u0275fac=function(re){return new(re||W)(t.\u0275\u0275directiveInject(Jn),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(Ci,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:W,selectors:[["","routerLinkActive",""]],contentQueries:function(re,Ee,Qe){if(1&re&&t.\u0275\u0275contentQuery(Qe,Ci,5),2&re){let Et;t.\u0275\u0275queryRefresh(Et=t.\u0275\u0275loadQuery())&&(Ee.links=Et)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return W})();class Pr{}let Nr=(()=>{class W{preload(Z,re){return re().pipe((0,S.a)(()=>(0,E.of)(null)))}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),es=(()=>{class W{preload(Z,re){return(0,E.of)(null)}static#e=this.\u0275fac=function(re){return new(re||W)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),Gr=(()=>{class W{constructor(Z,re,Ee,Qe,Et){this.router=Z,this.injector=Ee,this.preloadingStrategy=Qe,this.loader=Et}setUpPreloading(){this.subscription=this.router.events.pipe((0,D.I)(Z=>Z instanceof _e),(0,T.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Z,re){const Ee=[];for(const Qe of re){Qe.providers&&!Qe._injector&&(Qe._injector=(0,t.createEnvironmentInjector)(Qe.providers,Z,`Route: ${Qe.path}`));const Et=Qe._injector??Z,Ht=Qe._loadedInjector??Et;(Qe.loadChildren&&!Qe._loadedRoutes&&void 0===Qe.canLoad||Qe.loadComponent&&!Qe._loadedComponent)&&Ee.push(this.preloadConfig(Et,Qe)),(Qe.children||Qe._loadedRoutes)&&Ee.push(this.processRoutes(Ht,Qe.children??Qe._loadedRoutes))}return(0,C.Q)(Ee).pipe((0,H.u)())}preloadConfig(Z,re){return this.preloadingStrategy.preload(re,()=>{let Ee;Ee=re.loadChildren&&void 0===re.canLoad?this.loader.loadChildren(Z,re):(0,E.of)(null);const Qe=Ee.pipe((0,I.O)(Et=>null===Et?(0,E.of)(void 0):(re._loadedRoutes=Et.routes,re._loadedInjector=Et.injector,this.processRoutes(Et.injector??Z,Et.routes))));if(re.loadComponent&&!re._loadedComponent){const Et=this.loader.loadComponent(re);return(0,C.Q)([Qe,Et]).pipe((0,H.u)())}return Qe})}static#e=this.\u0275fac=function(re){return new(re||W)(t.\u0275\u0275inject(Jn),t.\u0275\u0275inject(t.Compiler),t.\u0275\u0275inject(t.EnvironmentInjector),t.\u0275\u0275inject(Pr),t.\u0275\u0275inject(Us))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const zi=new t.InjectionToken("");let mr=(()=>{class W{constructor(Z,re,Ee,Qe,Et={}){this.urlSerializer=Z,this.transitions=re,this.viewportScroller=Ee,this.zone=Qe,this.options=Et,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Et.scrollPositionRestoration||="disabled",Et.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(Z=>{Z instanceof Ae?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Z.navigationTrigger,this.restoredId=Z.restoredState?Z.restoredState.navigationId:0):Z instanceof _e?(this.lastId=Z.id,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.urlAfterRedirects).fragment)):Z instanceof de&&Z.code===V.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof Ai&&(Z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Z.position):Z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Z,re){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ai(Z,"popstate"===this.lastSource?this.store[this.restoredId]:null,re))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(re){t.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac})}return W})();function _i(W,...ie){return(0,t.makeEnvironmentProviders)([{provide:Lr,multi:!0,useValue:W},[],{provide:Fn,useFactory:ws,deps:[Jn]},{provide:t.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:so},ie.map(Z=>Z.\u0275providers)])}function ws(W){return W.routerState.root}function Kr(W,ie){return{\u0275kind:W,\u0275providers:ie}}function ua(W){return[{provide:Lr,multi:!0,useValue:W},[]]}function da(W={}){return Kr(4,[{provide:zi,useFactory:()=>{const Z=(0,t.inject)(_.ViewportScroller),re=(0,t.inject)(t.NgZone),Ee=(0,t.inject)(Zi),Qe=(0,t.inject)(Pt);return new mr(Qe,Ee,Z,re,W)}}])}function so(){const W=(0,t.inject)(t.Injector);return ie=>{const Z=W.get(t.ApplicationRef);if(ie!==Z.components[0])return;const re=W.get(Jn),Ee=W.get(pr);1===W.get(Vo)&&re.initialNavigation(),W.get(fa,null,t.InjectFlags.Optional)?.setUpPreloading(),W.get(zi,null,t.InjectFlags.Optional)?.init(),re.resetRootComponentType(Z.componentTypes[0]),Ee.closed||(Ee.next(),Ee.complete(),Ee.unsubscribe())}}const pr=new t.InjectionToken("",{factory:()=>new h.E}),Vo=new t.InjectionToken("",{providedIn:"root",factory:()=>1});function Es(){return Kr(2,[{provide:Vo,useValue:0},{provide:t.APP_INITIALIZER,multi:!0,deps:[t.Injector],useFactory:ie=>{const Z=ie.get(_.LOCATION_INITIALIZED,Promise.resolve());return()=>Z.then(()=>new Promise(re=>{const Ee=ie.get(Jn),Qe=ie.get(pr);$t(Ee,()=>{re(!0)}),ie.get(Zi).afterPreactivation=()=>(re(!0),Qe.closed?(0,E.of)(void 0):Qe),Ee.initialNavigation()}))}}])}function xs(){return Kr(3,[{provide:t.APP_INITIALIZER,multi:!0,useFactory:()=>{const ie=(0,t.inject)(Jn);return()=>{ie.setUpLocationChangeListener()}}},{provide:Vo,useValue:2}])}function ha(){let W=[];return W=[],Kr(1,W)}const fa=new t.InjectionToken("");function ur(W){return Kr(0,[{provide:fa,useExisting:Gr},{provide:Pr,useExisting:W}])}function hs(W){return Kr(5,[{provide:Hn,useValue:W}])}function xo(){return Kr(6,[{provide:_.LocationStrategy,useClass:_.HashLocationStrategy}])}function Mo(W){return Kr(7,[{provide:t.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const Z=(0,t.inject)(t.EnvironmentInjector);(0,t.inject)(Jn).events.subscribe(re=>{re instanceof We&&(0,t.runInInjectionContext)(Z,()=>W(re))})}}])}function Vs(){return Kr(8,[di,{provide:hr,useExisting:di}])}function Io(W){return Kr(9,[{provide:$s,useValue:Yi},{provide:wo,useValue:{skipNextTransition:!!W?.skipInitialTransition,...W}}])}const oo=new t.InjectionToken("ROUTER_FORROOT_GUARD"),hl=[_.Location,{provide:Pt,useClass:Gt},Jn,Yn,{provide:Fn,useFactory:ws,deps:[Jn]},Us,[]];let Fr=(()=>{class W{constructor(Z){}static forRoot(Z,re){return{ngModule:W,providers:[hl,[],{provide:Lr,multi:!0,useValue:Z},{provide:oo,useFactory:ma,deps:[[Jn,new t.Optional,new t.SkipSelf]]},{provide:Hn,useValue:re||{}},re?.useHash?{provide:_.LocationStrategy,useClass:_.HashLocationStrategy}:{provide:_.LocationStrategy,useClass:_.PathLocationStrategy},{provide:zi,useFactory:()=>{const W=(0,t.inject)(_.ViewportScroller),ie=(0,t.inject)(t.NgZone),Z=(0,t.inject)(Hn),re=(0,t.inject)(Zi),Ee=(0,t.inject)(Pt);return Z.scrollOffset&&W.setOffset(Z.scrollOffset),new mr(Ee,re,W,ie,Z)}},re?.preloadingStrategy?ur(re.preloadingStrategy).\u0275providers:[],re?.initialNavigation?fl(re):[],re?.bindToComponentInputs?Vs().\u0275providers:[],re?.enableViewTransitions?Io().\u0275providers:[],[{provide:Hs,useFactory:so},{provide:t.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Hs}]]}}static forChild(Z){return{ngModule:W,providers:[{provide:Lr,multi:!0,useValue:Z}]}}static#e=this.\u0275fac=function(re){return new(re||W)(t.\u0275\u0275inject(oo,8))};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:W});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return W})();function ma(W){return"guarded"}function fl(W){return["disabled"===W.initialNavigation?xs().\u0275providers:[],"enabledBlocking"===W.initialNavigation?Es().\u0275providers:[]]}const Hs=new t.InjectionToken("");function ml(W){return W.map(ie=>(...Z)=>(0,t.inject)(ie).canMatch(...Z))}function pa(W){return W.map(ie=>(...Z)=>(0,t.inject)(ie).canActivate(...Z))}function ga(W){return W.map(ie=>(...Z)=>(0,t.inject)(ie).canActivateChild(...Z))}function Do(W){return W.map(ie=>(...Z)=>(0,t.inject)(ie).canDeactivate(...Z))}function To(W){return(...ie)=>(0,t.inject)(W).resolve(...ie)}const zo=new t.Version("17.2.1")},2064:(De,te,g)=>{"use strict";g.r(te),g.d(te,{DEFAULT_LANGUAGE:()=>F,FakeMissingTranslationHandler:()=>p,MissingTranslationHandler:()=>h,TranslateCompiler:()=>I,TranslateDefaultParser:()=>D,TranslateDirective:()=>U,TranslateFakeCompiler:()=>O,TranslateFakeLoader:()=>u,TranslateLoader:()=>r,TranslateModule:()=>ee,TranslateParser:()=>k,TranslatePipe:()=>K,TranslateService:()=>A,TranslateStore:()=>T,USE_DEFAULT_LANG:()=>S,USE_EXTEND:()=>L,USE_STORE:()=>N});var t=g(4496),v=g(2700),C=g(1116),E=g(9336),c=g(8344),b=g(1424),s=g(3992),f=g(8716),d=g(4704),l=g(6020),a=g(7368);class r{}let u=(()=>{class ne extends r{getTranslation(H){return(0,v.of)({})}static \u0275fac=(()=>{let H;return function(X){return(H||(H=t.\u0275\u0275getInheritedFactory(ne)))(X||ne)}})();static \u0275prov=t.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}return ne})();class h{}let p=(()=>{class ne{handle(H){return H.key}static \u0275fac=function(z){return new(z||ne)};static \u0275prov=t.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}return ne})();function _(ne,B){if(ne===B)return!0;if(null===ne||null===B)return!1;if(ne!=ne&&B!=B)return!0;let X,G,j,H=typeof ne;if(H==typeof B&&"object"==H){if(!Array.isArray(ne)){if(Array.isArray(B))return!1;for(G in j=Object.create(null),ne){if(!_(ne[G],B[G]))return!1;j[G]=!0}for(G in B)if(!(G in j)&&typeof B[G]<"u")return!1;return!0}if(!Array.isArray(B))return!1;if((X=ne.length)==B.length){for(G=0;G{M(B[z])?z in ne?H[z]=w(ne[z],B[z]):Object.assign(H,{[z]:B[z]}):Object.assign(H,{[z]:B[z]})}),H}class k{}let D=(()=>{class ne extends k{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(H,z){let X;return X="string"==typeof H?this.interpolateString(H,z):"function"==typeof H?this.interpolateFunction(H,z):H,X}getValue(H,z){let X="string"==typeof z?z.split("."):[z];z="";do{z+=X.shift(),!y(H)||!y(H[z])||"object"!=typeof H[z]&&X.length?X.length?z+=".":H=void 0:(H=H[z],z="")}while(X.length);return H}interpolateFunction(H,z){return H(z)}interpolateString(H,z){return z?H.replace(this.templateMatcher,(X,G)=>{let j=this.getValue(z,G);return y(j)?j:X}):H}static \u0275fac=(()=>{let H;return function(X){return(H||(H=t.\u0275\u0275getInheritedFactory(ne)))(X||ne)}})();static \u0275prov=t.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}return ne})();class I{}let O=(()=>{class ne extends I{compile(H,z){return H}compileTranslations(H,z){return H}static \u0275fac=(()=>{let H;return function(X){return(H||(H=t.\u0275\u0275getInheritedFactory(ne)))(X||ne)}})();static \u0275prov=t.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}return ne})();class T{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new t.EventEmitter;onLangChange=new t.EventEmitter;onDefaultLangChange=new t.EventEmitter}const N=new t.InjectionToken("USE_STORE"),S=new t.InjectionToken("USE_DEFAULT_LANG"),F=new t.InjectionToken("DEFAULT_LANGUAGE"),L=new t.InjectionToken("USE_EXTEND");let A=(()=>{class ne{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new t.EventEmitter;_onLangChange=new t.EventEmitter;_onDefaultLangChange=new t.EventEmitter;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(H){this.isolate?this._defaultLang=H:this.store.defaultLang=H}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(H){this.isolate?this._currentLang=H:this.store.currentLang=H}get langs(){return this.isolate?this._langs:this.store.langs}set langs(H){this.isolate?this._langs=H:this.store.langs=H}get translations(){return this.isolate?this._translations:this.store.translations}set translations(H){this.isolate?this._translations=H:this.store.translations=H}constructor(H,z,X,G,j,le=!0,ue=!1,ve=!1,Je){this.store=H,this.currentLoader=z,this.compiler=X,this.parser=G,this.missingTranslationHandler=j,this.useDefaultLang=le,this.isolate=ue,this.extend=ve,Je&&this.setDefaultLang(Je)}setDefaultLang(H){if(H===this.defaultLang)return;let z=this.retrieveTranslations(H);typeof z<"u"?(null==this.defaultLang&&(this.defaultLang=H),z.pipe((0,s.U)(1)).subscribe(X=>{this.changeDefaultLang(H)})):this.changeDefaultLang(H)}getDefaultLang(){return this.defaultLang}use(H){if(H===this.currentLang)return(0,v.of)(this.translations[H]);let z=this.retrieveTranslations(H);return typeof z<"u"?(this.currentLang||(this.currentLang=H),z.pipe((0,s.U)(1)).subscribe(X=>{this.changeLang(H)}),z):(this.changeLang(H),(0,v.of)(this.translations[H]))}retrieveTranslations(H){let z;return(typeof this.translations[H]>"u"||this.extend)&&(this._translationRequests[H]=this._translationRequests[H]||this.getTranslation(H),z=this._translationRequests[H]),z}getTranslation(H){this.pending=!0;const z=this.currentLoader.getTranslation(H).pipe((0,f.C)(1),(0,s.U)(1));return this.loadingTranslations=z.pipe((0,d.k)(X=>this.compiler.compileTranslations(X,H)),(0,f.C)(1),(0,s.U)(1)),this.loadingTranslations.subscribe({next:X=>{this.translations[H]=this.extend&&this.translations[H]?{...X,...this.translations[H]}:X,this.updateLangs(),this.pending=!1},error:X=>{this.pending=!1}}),z}setTranslation(H,z,X=!1){z=this.compiler.compileTranslations(z,H),this.translations[H]=(X||this.extend)&&this.translations[H]?w(this.translations[H],z):z,this.updateLangs(),this.onTranslationChange.emit({lang:H,translations:this.translations[H]})}getLangs(){return this.langs}addLangs(H){H.forEach(z=>{-1===this.langs.indexOf(z)&&this.langs.push(z)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(H,z,X){let G;if(z instanceof Array){let j={},le=!1;for(let ue of z)j[ue]=this.getParsedResult(H,ue,X),(0,C.X)(j[ue])&&(le=!0);if(le){const ue=z.map(ve=>(0,C.X)(j[ve])?j[ve]:(0,v.of)(j[ve]));return(0,E.y)(ue).pipe((0,d.k)(ve=>{let Je={};return ve.forEach((_t,ct)=>{Je[z[ct]]=_t}),Je}))}return j}if(H&&(G=this.parser.interpolate(this.parser.getValue(H,z),X)),typeof G>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(G=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],z),X)),typeof G>"u"){let j={key:z,translateService:this};typeof X<"u"&&(j.interpolateParams=X),G=this.missingTranslationHandler.handle(j)}return typeof G<"u"?G:z}get(H,z){if(!y(H)||!H.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,l.m)(X=>(X=this.getParsedResult(X,H,z),(0,C.X)(X)?X:(0,v.of)(X))));{let X=this.getParsedResult(this.translations[this.currentLang],H,z);return(0,C.X)(X)?X:(0,v.of)(X)}}getStreamOnTranslationChange(H,z){if(!y(H)||!H.length)throw new Error('Parameter "key" required');return(0,c.W)((0,b.Q)(()=>this.get(H,z)),this.onTranslationChange.pipe((0,a.G)(X=>{const G=this.getParsedResult(X.translations,H,z);return"function"==typeof G.subscribe?G:(0,v.of)(G)})))}stream(H,z){if(!y(H)||!H.length)throw new Error('Parameter "key" required');return(0,c.W)((0,b.Q)(()=>this.get(H,z)),this.onLangChange.pipe((0,a.G)(X=>{const G=this.getParsedResult(X.translations,H,z);return(0,C.X)(G)?G:(0,v.of)(G)})))}instant(H,z){if(!y(H)||!H.length)throw new Error('Parameter "key" required');let X=this.getParsedResult(this.translations[this.currentLang],H,z);if((0,C.X)(X)){if(H instanceof Array){let G={};return H.forEach((j,le)=>{G[H[le]]=H[le]}),G}return H}return X}set(H,z,X=this.currentLang){this.translations[X][H]=this.compiler.compile(z,X),this.updateLangs(),this.onTranslationChange.emit({lang:X,translations:this.translations[X]})}changeLang(H){this.currentLang=H,this.onLangChange.emit({lang:H,translations:this.translations[H]}),null==this.defaultLang&&this.changeDefaultLang(H)}changeDefaultLang(H){this.defaultLang=H,this.onDefaultLangChange.emit({lang:H,translations:this.translations[H]})}reloadLang(H){return this.resetLang(H),this.getTranslation(H)}resetLang(H){this._translationRequests[H]=void 0,this.translations[H]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let H=window.navigator.languages?window.navigator.languages[0]:null;return H=H||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof H>"u"?void 0:(-1!==H.indexOf("-")&&(H=H.split("-")[0]),-1!==H.indexOf("_")&&(H=H.split("_")[0]),H)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let H=window.navigator.languages?window.navigator.languages[0]:null;return H=H||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,H}static \u0275fac=function(z){return new(z||ne)(t.\u0275\u0275inject(T),t.\u0275\u0275inject(r),t.\u0275\u0275inject(I),t.\u0275\u0275inject(k),t.\u0275\u0275inject(h),t.\u0275\u0275inject(S),t.\u0275\u0275inject(N),t.\u0275\u0275inject(L),t.\u0275\u0275inject(F))};static \u0275prov=t.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}return ne})(),U=(()=>{class ne{translateService;element;_ref;key;lastParams;currentParams;onLangChangeSub;onDefaultLangChangeSub;onTranslationChangeSub;set translate(H){H&&(this.key=H,this.checkNodes())}set translateParams(H){_(this.currentParams,H)||(this.currentParams=H,this.checkNodes(!0))}constructor(H,z,X){this.translateService=H,this.element=z,this._ref=X,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(G=>{G.lang===this.translateService.currentLang&&this.checkNodes(!0,G.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(G=>{this.checkNodes(!0,G.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(G=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(H=!1,z){let X=this.element.nativeElement.childNodes;X.length||(this.setContent(this.element.nativeElement,this.key),X=this.element.nativeElement.childNodes);for(let G=0;G{j!==H&&(z.lastKey=H),z.originalContent||(z.originalContent=this.getContent(z)),z.currentValue=y(j)?j:z.originalContent||H,this.setContent(z,this.key?z.currentValue:z.originalContent.replace(H,z.currentValue)),this._ref.markForCheck()};if(y(X)){let j=this.translateService.getParsedResult(X,H,this.currentParams);(0,C.X)(j)?j.subscribe({next:G}):G(j)}else this.translateService.get(H,this.currentParams).subscribe(G)}}getContent(H){return y(H.textContent)?H.textContent:H.data}setContent(H,z){y(H.textContent)?H.textContent=z:H.data=z}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}static \u0275fac=function(z){return new(z||ne)(t.\u0275\u0275directiveInject(A),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static \u0275dir=t.\u0275\u0275defineDirective({type:ne,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}})}return ne})(),K=(()=>{class ne{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(H,z){this.translate=H,this._ref=z}updateValue(H,z,X){let G=j=>{this.value=void 0!==j?j:H,this.lastKey=H,this._ref.markForCheck()};if(X){let j=this.translate.getParsedResult(X,H,z);(0,C.X)(j.subscribe)?j.subscribe(G):G(j)}this.translate.get(H,z).subscribe(G)}transform(H,...z){if(!H||!H.length)return H;if(_(H,this.lastKey)&&_(z,this.lastParams))return this.value;let X;if(y(z[0])&&z.length)if("string"==typeof z[0]&&z[0].length){let G=z[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{X=JSON.parse(G)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${z[0]}`)}}else"object"==typeof z[0]&&!Array.isArray(z[0])&&(X=z[0]);return this.lastKey=H,this.lastParams=z,this.updateValue(H,X),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(G=>{this.lastKey&&G.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(H,X,G.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(G=>{this.lastKey&&(this.lastKey=null,this.updateValue(H,X,G.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(H,X))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(z){return new(z||ne)(t.\u0275\u0275directiveInject(A,16),t.\u0275\u0275directiveInject(t.ChangeDetectorRef,16))};static \u0275pipe=t.\u0275\u0275definePipe({name:"translate",type:ne,pure:!1});static \u0275prov=t.\u0275\u0275defineInjectable({token:ne,factory:ne.\u0275fac})}return ne})(),ee=(()=>{class ne{static forRoot(H={}){return{ngModule:ne,providers:[H.loader||{provide:r,useClass:u},H.compiler||{provide:I,useClass:O},H.parser||{provide:k,useClass:D},H.missingTranslationHandler||{provide:h,useClass:p},T,{provide:N,useValue:H.isolate},{provide:S,useValue:H.useDefaultLang},{provide:L,useValue:H.extend},{provide:F,useValue:H.defaultLanguage},A]}}static forChild(H={}){return{ngModule:ne,providers:[H.loader||{provide:r,useClass:u},H.compiler||{provide:I,useClass:O},H.parser||{provide:k,useClass:D},H.missingTranslationHandler||{provide:h,useClass:p},{provide:N,useValue:H.isolate},{provide:S,useValue:H.useDefaultLang},{provide:L,useValue:H.extend},{provide:F,useValue:H.defaultLanguage},A]}}static \u0275fac=function(z){return new(z||ne)};static \u0275mod=t.\u0275\u0275defineNgModule({type:ne});static \u0275inj=t.\u0275\u0275defineInjector({})}return ne})()},2628:(De,te,g)=>{"use strict";g.r(te),g.d(te,{TranslateHttpLoader:()=>t});class t{http;prefix;suffix;constructor(C,E="/assets/i18n/",c=".json"){this.http=C,this.prefix=E,this.suffix=c}getTranslation(C){return this.http.get(`${this.prefix}${C}${this.suffix}`)}}},869:(De,te,g)=>{"use strict";g.r(te),g.d(te,{AUTH_CONFIG:()=>an,AbstractValidationHandler:()=>ve,AuthConfig:()=>j,DateTimeProvider:()=>S,DefaultHashHandler:()=>Ve,DefaultOAuthInterceptor:()=>Pt,HashHandler:()=>Oe,JwksValidationHandler:()=>Jt,LoginOptions:()=>L,MemoryStorage:()=>K,NullValidationHandler:()=>O,OAuthErrorEvent:()=>z,OAuthEvent:()=>ne,OAuthInfoEvent:()=>H,OAuthLogger:()=>A,OAuthModule:()=>tn,OAuthModuleConfig:()=>T,OAuthNoopResourceServerErrorHandler:()=>pt,OAuthResourceServerConfig:()=>N,OAuthResourceServerErrorHandler:()=>ze,OAuthService:()=>ot,OAuthStorage:()=>U,OAuthSuccessEvent:()=>B,ReceivedTokens:()=>ee,SystemDateTimeProvider:()=>F,UrlHelperService:()=>Je,ValidationHandler:()=>ue,provideOAuthClient:()=>on});var t=g(1528),v=g(4496),C=g(1368),E=g(7048),c=g(5657),b=g(2700),s=g(9900),f=g(7536),d=g(3800),l=g(6040),a=g(3412),r=g(6684),u=g(9212),h=g(4680),p=g(1224),_=g(7368),y=g(4704),M=g(5084),w=g(9144),k=g(2820),D=g(3992),I=g(8152);class O{validateSignature(Ut){return Promise.resolve(null)}validateAtHash(Ut){return Promise.resolve(!0)}}class T{}class N{}class S{}let F=(()=>{class Ot extends S{now(){return Date.now()}new(){return new Date}static#e=this.\u0275fac=(()=>{let xe;return function(lt){return(xe||(xe=v.\u0275\u0275getInheritedFactory(Ot)))(lt||Ot)}})();static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ot,factory:Ot.\u0275fac})}return Ot})();class L{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class A{}class U{}let K=(()=>{class Ot{constructor(){this.data=new Map}getItem(xe){return this.data.get(xe)}removeItem(xe){this.data.delete(xe)}setItem(xe,rt){this.data.set(xe,rt)}static#e=this.\u0275fac=function(rt){return new(rt||Ot)};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ot,factory:Ot.\u0275fac})}return Ot})();class ee{}class ne{constructor(Ut){this.type=Ut}}class B extends ne{constructor(Ut,xe=null){super(Ut),this.info=xe}}class H extends ne{constructor(Ut,xe=null){super(Ut),this.info=xe}}class z extends ne{constructor(Ut,xe,rt=null){super(Ut),this.reason=xe,this.params=rt}}function X(Ot){const Ut=Ot.replace(/-/g,"+").replace(/_/g,"/");return decodeURIComponent(atob(Ut).split("").map(function(xe){return"%"+("00"+xe.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function G(Ot){return btoa(Ot).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class j{constructor(Ut){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=xe=>{location.href=xe},Ut&&Object.assign(this,Ut)}}class le{encodeKey(Ut){return encodeURIComponent(Ut)}encodeValue(Ut){return encodeURIComponent(Ut)}decodeKey(Ut){return decodeURIComponent(Ut)}decodeValue(Ut){return decodeURIComponent(Ut)}}class ue{}class ve{validateAtHash(Ut){var xe=this;return(0,t.c)(function*(){const rt=xe.inferHashAlgorithm(Ut.idTokenHeader),lt=yield xe.calcHash(Ut.accessToken,rt),nt=G(lt.substr(0,lt.length/2)),vt=Ut.idTokenClaims.at_hash.replace(/=/g,"");return nt!==vt&&(console.error("exptected at_hash: "+nt),console.error("actual at_hash: "+vt)),nt===vt})()}inferHashAlgorithm(Ut){const xe=Ut.alg;if(!xe.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+xe);return"sha-"+xe.substr(2)}}let Je=(()=>{class Ot{getHashFragmentParams(xe){let rt=xe||window.location.hash;if(rt=decodeURIComponent(rt),0!==rt.indexOf("#"))return{};const lt=rt.indexOf("?");return rt=rt.substr(lt>-1?lt+1:1),this.parseQueryString(rt)}parseQueryString(xe){const rt={};let lt,At,nt,vt,Le,He;if(null===xe)return rt;const st=xe.split("&");for(let Te=0;Te=64;){for(At=Ut[0],nt=Ut[1],vt=Ut[2],Le=Ut[3],He=Ut[4],st=Ut[5],Te=Ut[6],Pe=Ut[7],Me=0;Me<16;Me++)$e=rt+4*Me,Ot[Me]=(255&xe[$e])<<24|(255&xe[$e+1])<<16|(255&xe[$e+2])<<8|255&xe[$e+3];for(Me=16;Me<64;Me++)bt=Ot[Me-2],Ge=(bt>>>17|bt<<15)^(bt>>>19|bt<<13)^bt>>>10,bt=Ot[Me-15],kt=(bt>>>7|bt<<25)^(bt>>>18|bt<<14)^bt>>>3,Ot[Me]=(Ge+Ot[Me-7]|0)+(kt+Ot[Me-16]|0);for(Me=0;Me<64;Me++)Ge=(((He>>>6|He<<26)^(He>>>11|He<<21)^(He>>>25|He<<7))+(He&st^~He&Te)|0)+(Pe+(Ct[Me]+Ot[Me]|0)|0)|0,kt=((At>>>2|At<<30)^(At>>>13|At<<19)^(At>>>22|At<<10))+(At&nt^At&vt^nt&vt)|0,Pe=Te,Te=st,st=He,He=Le+Ge|0,Le=vt,vt=nt,nt=At,At=Ge+kt|0;Ut[0]+=At,Ut[1]+=nt,Ut[2]+=vt,Ut[3]+=Le,Ut[4]+=He,Ut[5]+=st,Ut[6]+=Te,Ut[7]+=Pe,rt+=64,lt-=64}return rt}class ke{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 Ut=0;Ut0){for(;this.bufferLength<64&&xe>0;)this.buffer[this.bufferLength++]=Ut[rt++],xe--;64===this.bufferLength&&(Re(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(xe>=64&&(rt=Re(this.temp,this.state,Ut,rt,xe),xe%=64);xe>0;)this.buffer[this.bufferLength++]=Ut[rt++],xe--;return this}finish(Ut){if(!this.finished){const xe=this.bytesHashed,rt=this.bufferLength,lt=xe/536870912|0,At=xe<<3,nt=xe%64<56?64:128;this.buffer[rt]=128;for(let vt=rt+1;vt>>24&255,this.buffer[nt-7]=lt>>>16&255,this.buffer[nt-6]=lt>>>8&255,this.buffer[nt-5]=lt>>>0&255,this.buffer[nt-4]=At>>>24&255,this.buffer[nt-3]=At>>>16&255,this.buffer[nt-2]=At>>>8&255,this.buffer[nt-1]=At>>>0&255,Re(this.temp,this.state,this.buffer,0,nt),this.finished=!0}for(let xe=0;xe<8;xe++)Ut[4*xe+0]=this.state[xe]>>>24&255,Ut[4*xe+1]=this.state[xe]>>>16&255,Ut[4*xe+2]=this.state[xe]>>>8&255,Ut[4*xe+3]=this.state[xe]>>>0&255;return this}digest(){const Ut=new Uint8Array(this.digestLength);return this.finish(Ut),Ut}_saveState(Ut){for(let xe=0;xe{class Ot{calcHash(xe,rt){return(0,t.c)(function*(){return function ge(Ot){const Ut=[];for(let xe=0;xe{class Ot extends j{constructor(xe,rt,lt,At,nt,vt,Le,He,st,Te){super(),this.ngZone=xe,this.http=rt,this.config=nt,this.urlHelper=vt,this.logger=Le,this.crypto=He,this.dateTimeService=Te,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new c.E,this.discoveryDocumentLoadedSubject=new c.E,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=st,nt||(nt={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),At&&(this.tokenValidationHandler=At),nt&&this.configure(nt);try{lt?this.setStorage(lt):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(Pe){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",Pe)}if(this.checkLocalStorageAccessable()){const Pe=window?.navigator?.userAgent;(Pe?.includes("MSIE ")||Pe?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const xe="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(xe,xe),localStorage.removeItem(xe),0))}catch{return!1}}configure(xe){Object.assign(this,new j,xe),this.config=Object.assign({},new j,xe),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,r.I)(xe=>"token_received"===xe.type)).subscribe(()=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(xe={},rt,lt=!0){let At=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,u.y)(nt=>{"token_received"===nt.type?At=!0:"logout"===nt.type&&(At=!1)}),(0,r.I)(nt=>"token_expires"===nt.type&&(null==rt||"any"===rt||nt.info===rt)),(0,h.o)(1e3)).subscribe(()=>{At&&this.refreshInternal(xe,lt).catch(()=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(xe,rt){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(xe,rt):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(xe=null){return this.loadDiscoveryDocument().then(()=>this.tryLogin(xe))}loadDiscoveryDocumentAndLogin(xe=null){return this.loadDiscoveryDocumentAndTryLogin(xe=xe||{}).then(()=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof xe.state?xe.state:""),!1))}debug(...xe){this.showDebugInformation&&this.logger.debug(...xe)}validateUrlFromDiscoveryDocument(xe){const rt=[],lt=this.validateUrlForHttps(xe),At=this.validateUrlAgainstIssuer(xe);return lt||rt.push("https for all urls required. Also for urls received by discovery."),At||rt.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),rt}validateUrlForHttps(xe){if(!xe)return!0;const rt=xe.toLowerCase();return!(!1!==this.requireHttps&&(!rt.match(/^http:\/\/localhost($|[:/])/)&&!rt.match(/^http:\/\/localhost($|[:/])/)||"remoteOnly"!==this.requireHttps))||rt.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(xe,rt){if(!xe)throw new Error(`'${rt}' should not be null`);if(!this.validateUrlForHttps(xe))throw new Error(`'${rt}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(xe){return!this.strictDiscoveryDocumentValidation||!xe||xe.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,r.I)(xe=>"token_received"===xe.type)).subscribe(()=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const xe=this.getAccessTokenExpiration(),rt=this.getAccessTokenStoredAt(),lt=this.calcTimeout(rt,xe);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,b.of)(new H("token_expires","access_token")).pipe((0,p.o)(lt)).subscribe(At=>{this.ngZone.run(()=>{this.eventsSubject.next(At)})})})}setupIdTokenTimer(){const xe=this.getIdTokenExpiration(),rt=this.getIdTokenStoredAt(),lt=this.calcTimeout(rt,xe);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,b.of)(new H("token_expires","id_token")).pipe((0,p.o)(lt)).subscribe(At=>{this.ngZone.run(()=>{this.eventsSubject.next(At)})})})}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(xe,rt){const lt=this.dateTimeService.now(),nt=Math.max(0,(rt-xe)*this.timeoutFactor-(lt-xe)),vt=2147483647;return nt>vt?vt:nt}setStorage(xe){this._storage=xe,this.configChanged()}loadDiscoveryDocument(xe=null){return new Promise((rt,lt)=>{xe||((xe=this.issuer||"").endsWith("/")||(xe+="/"),xe+=".well-known/openid-configuration"),this.validateUrlForHttps(xe)?this.http.get(xe).subscribe(At=>{if(!this.validateDiscoveryDocument(At))return this.eventsSubject.next(new z("discovery_document_validation_error",null)),void lt("discovery_document_validation_error");this.loginUrl=At.authorization_endpoint,this.logoutUrl=At.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=At.grant_types_supported,this.issuer=At.issuer,this.tokenEndpoint=At.token_endpoint,this.userinfoEndpoint=At.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=At.jwks_uri,this.sessionCheckIFrameUrl=At.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(At),this.revocationEndpoint=At.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(nt=>{const Le=new B("discovery_document_loaded",{discoveryDocument:At,jwks:nt});this.eventsSubject.next(Le),rt(Le)}).catch(nt=>{this.eventsSubject.next(new z("discovery_document_load_error",nt)),lt(nt)})},At=>{this.logger.error("error loading discovery document",At),this.eventsSubject.next(new z("discovery_document_load_error",At)),lt(At)}):lt("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).")})}loadJwks(){return new Promise((xe,rt)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(lt=>{this.jwks=lt,xe(lt)},lt=>{this.logger.error("error loading jwks",lt),this.eventsSubject.next(new z("jwks_load_error",lt)),rt(lt)}):xe(null)})}validateDiscoveryDocument(xe){let rt;return this.skipIssuerCheck||xe.issuer===this.issuer?(rt=this.validateUrlFromDiscoveryDocument(xe.authorization_endpoint),rt.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",rt),!1):(rt=this.validateUrlFromDiscoveryDocument(xe.end_session_endpoint),rt.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",rt),!1):(rt=this.validateUrlFromDiscoveryDocument(xe.token_endpoint),rt.length>0&&this.logger.error("error validating token_endpoint in discovery document",rt),rt=this.validateUrlFromDiscoveryDocument(xe.revocation_endpoint),rt.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",rt),rt=this.validateUrlFromDiscoveryDocument(xe.userinfo_endpoint),rt.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",rt),!1):(rt=this.validateUrlFromDiscoveryDocument(xe.jwks_uri),rt.length>0?(this.logger.error("error validating jwks_uri in discovery document",rt),!1):(this.sessionChecksEnabled&&!xe.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: "+xe.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(xe,rt,lt=new E.HttpHeaders){return this.fetchTokenUsingPasswordFlow(xe,rt,lt).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((xe,rt)=>{const lt=(new E.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:lt,observe:"response",responseType:"text"}).subscribe(At=>{if(this.debug("userinfo received",JSON.stringify(At)),At.headers.get("content-type").startsWith("application/json")){let nt=JSON.parse(At.body);const vt=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!vt.sub||nt.sub!==vt.sub))return void rt("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");nt=Object.assign({},vt,nt),this._storage.setItem("id_token_claims_obj",JSON.stringify(nt)),this.eventsSubject.next(new B("user_profile_loaded")),xe({info:nt})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new B("user_profile_loaded")),xe(JSON.parse(At.body))},At=>{this.logger.error("error loading user info",At),this.eventsSubject.next(new z("user_profile_load_error",At)),rt(At)})})}fetchTokenUsingPasswordFlow(xe,rt,lt=new E.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:xe,password:rt},lt)}fetchTokenUsingGrant(xe,rt,lt=new E.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let At=new E.HttpParams({encoder:new le}).set("grant_type",xe).set("scope",this.scope);if(this.useHttpBasicAuth){const nt=btoa(`${this.clientId}:${this.dummyClientSecret}`);lt=lt.set("Authorization","Basic "+nt)}if(this.useHttpBasicAuth||(At=At.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(At=At.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const nt of Object.getOwnPropertyNames(this.customQueryParams))At=At.set(nt,this.customQueryParams[nt]);for(const nt of Object.keys(rt))At=At.set(nt,rt[nt]);return lt=lt.set("Content-Type","application/x-www-form-urlencoded"),new Promise((nt,vt)=>{this.http.post(this.tokenEndpoint,At,{headers:lt}).subscribe(Le=>{this.debug("tokenResponse",Le),this.storeAccessTokenResponse(Le.access_token,Le.refresh_token,Le.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Le.scope,this.extractRecognizedCustomParameters(Le)),this.oidc&&Le.id_token&&this.processIdToken(Le.id_token,Le.access_token).then(He=>{this.storeIdToken(He),nt(Le)}),this.eventsSubject.next(new B("token_received")),nt(Le)},Le=>{this.logger.error("Error performing ${grantType} flow",Le),this.eventsSubject.next(new z("token_error",Le)),vt(Le)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((xe,rt)=>{let lt=new E.HttpParams({encoder:new le}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),At=(new E.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const nt=btoa(`${this.clientId}:${this.dummyClientSecret}`);At=At.set("Authorization","Basic "+nt)}if(this.useHttpBasicAuth||(lt=lt.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(lt=lt.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const nt of Object.getOwnPropertyNames(this.customQueryParams))lt=lt.set(nt,this.customQueryParams[nt]);this.http.post(this.tokenEndpoint,lt,{headers:At}).pipe((0,_.G)(nt=>this.oidc&&nt.id_token?(0,s.Q)(this.processIdToken(nt.id_token,nt.access_token,!0)).pipe((0,u.y)(vt=>this.storeIdToken(vt)),(0,y.k)(()=>nt)):(0,b.of)(nt))).subscribe(nt=>{this.debug("refresh tokenResponse",nt),this.storeAccessTokenResponse(nt.access_token,nt.refresh_token,nt.expires_in||this.fallbackAccessTokenExpirationTimeInSec,nt.scope,this.extractRecognizedCustomParameters(nt)),this.eventsSubject.next(new B("token_received")),this.eventsSubject.next(new B("token_refreshed")),xe(nt)},nt=>{this.logger.error("Error refreshing token",nt),this.eventsSubject.next(new z("token_refresh_error",nt)),rt(nt)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=xe=>{const rt=this.processMessageEventMessage(xe);this.checkOrigin&&xe.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:rt,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(lt=>this.debug("tryLogin during silent refresh failed",lt))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(xe={},rt=!0){const lt=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(xe.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 At=this.document.getElementById(this.silentRefreshIFrameName);At&&this.document.body.removeChild(At),this.silentRefreshSubject=lt.sub;const nt=this.document.createElement("iframe");nt.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,rt,xe).then(Te=>{nt.setAttribute("src",Te),this.silentRefreshShowIFrame||(nt.style.display="none"),this.document.body.appendChild(nt)});const Le=this.events.pipe((0,r.I)(Te=>Te instanceof z),(0,M.K)()),He=this.events.pipe((0,r.I)(Te=>"token_received"===Te.type),(0,M.K)()),st=(0,b.of)(new z("silent_refresh_timeout",null)).pipe((0,p.o)(this.silentRefreshTimeout));return(0,f.u)([Le,He,st]).pipe((0,y.k)(Te=>{if(Te instanceof z)throw"silent_refresh_timeout"===Te.type||(Te=new z("silent_refresh_error",Te)),this.eventsSubject.next(Te),Te;return"token_received"===Te.type&&(Te=new B("silently_refreshed"),this.eventsSubject.next(Te)),Te})).toPromise()}initImplicitFlowInPopup(xe){return this.initLoginFlowInPopup(xe)}initLoginFlowInPopup(xe){return xe=xe||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(rt=>new Promise((lt,At)=>{let Le,vt=null;xe.windowRef?xe.windowRef&&!xe.windowRef.closed&&(vt=xe.windowRef,vt.location.href=rt):vt=window.open(rt,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(xe));const He=Me=>{this.tryLogin({customHashFragment:Me,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{Te(),lt(!0)},$e=>{Te(),At($e)})};vt?Le=window.setInterval(()=>{(!vt||vt.closed)&&(Te(),At(new z("popup_closed",{})))},500):At(new z("popup_blocked",{}));const Te=()=>{window.clearInterval(Le),window.removeEventListener("storage",bt),window.removeEventListener("message",Pe),null!==vt&&vt.close(),vt=null},Pe=Me=>{const $e=this.processMessageEventMessage(Me);$e&&null!==$e?(window.removeEventListener("storage",bt),He($e)):console.log("false event firing")},bt=Me=>{"auth_hash"===Me.key&&(window.removeEventListener("message",Pe),He(Me.newValue))};window.addEventListener("message",Pe),window.addEventListener("storage",bt)}))}calculatePopupFeatures(xe){const rt=xe.height||470,lt=xe.width||500,At=window.screenLeft+(window.outerWidth-lt)/2;return`location=no,toolbar=no,width=${lt},height=${rt},top=${window.screenTop+(window.outerHeight-rt)/2},left=${At}`}processMessageEventMessage(xe){let rt="#";if(this.silentRefreshMessagePrefix&&(rt+=this.silentRefreshMessagePrefix),!xe||!xe.data||"string"!=typeof xe.data)return;const lt=xe.data;return lt.startsWith(rt)?"#"+lt.substr(rt.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=xe=>{const rt=xe.origin.toLowerCase(),lt=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),lt.startsWith(rt)){switch(xe.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",xe)}else this.debug("sessionCheckEventListener","wrong origin",rt,"expected",lt,"event",xe)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new H("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new H("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(()=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new H("session_terminated")),this.logOut(!0)):this.refreshToken().then(()=>{this.debug("token refresh after session change worked")}).catch(()=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new H("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,r.I)(xe=>"silently_refreshed"===xe.type||"silent_refresh_timeout"===xe.type||"silent_refresh_error"===xe.type),(0,M.K)()).subscribe(xe=>{"silently_refreshed"!==xe.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new H("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new H("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const xe=this.document.getElementById(this.sessionCheckIFrameName);xe&&this.document.body.removeChild(xe);const rt=this.document.createElement("iframe");rt.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),rt.setAttribute("src",this.sessionCheckIFrameUrl),rt.style.display="none",this.document.body.appendChild(rt),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 xe=this.document.getElementById(this.sessionCheckIFrameName);xe||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const rt=this.getSessionState();rt||this.stopSessionCheckTimer(),xe.contentWindow.postMessage(this.clientId+" "+rt,this.issuer)}createLoginUrl(xe="",rt="",lt="",At=!1,nt={}){var vt=this;return(0,t.c)(function*(){const Le=vt;let He;He=lt||vt.redirectUri;const st=yield vt.createAndSaveNonce();if(xe=xe?st+vt.config.nonceStateSeparator+encodeURIComponent(xe):st,!vt.requestAccessToken&&!vt.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");vt.responseType=vt.config.responseType?vt.config.responseType:vt.oidc&&vt.requestAccessToken?"id_token token":vt.oidc&&!vt.requestAccessToken?"id_token":"token";const Te=Le.loginUrl.indexOf("?")>-1?"&":"?";let Pe=Le.scope;vt.oidc&&!Pe.match(/(^|\s)openid($|\s)/)&&(Pe="openid "+Pe);let bt=Le.loginUrl+Te+"response_type="+encodeURIComponent(Le.responseType)+"&client_id="+encodeURIComponent(Le.clientId)+"&state="+encodeURIComponent(xe)+"&redirect_uri="+encodeURIComponent(He)+"&scope="+encodeURIComponent(Pe);if(vt.responseType.includes("code")&&!vt.disablePKCE){const[Me,$e]=yield vt.createChallangeVerifierPairForPKCE();vt.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",$e):vt._storage.setItem("PKCE_verifier",$e),bt+="&code_challenge="+Me,bt+="&code_challenge_method=S256"}rt&&(bt+="&login_hint="+encodeURIComponent(rt)),Le.resource&&(bt+="&resource="+encodeURIComponent(Le.resource)),Le.oidc&&(bt+="&nonce="+encodeURIComponent(st)),At&&(bt+="&prompt=none");for(const Me of Object.keys(nt))bt+="&"+encodeURIComponent(Me)+"="+encodeURIComponent(nt[Me]);if(vt.customQueryParams)for(const Me of Object.getOwnPropertyNames(vt.customQueryParams))bt+="&"+Me+"="+encodeURIComponent(vt.customQueryParams[Me]);return bt})()}initImplicitFlowInternal(xe="",rt=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let lt={},At=null;"string"==typeof rt?At=rt:"object"==typeof rt&&(lt=rt),this.createLoginUrl(xe,At,null,!1,lt).then(this.config.openUri).catch(nt=>{console.error("Error in initImplicitFlow",nt),this.inImplicitFlow=!1})}initImplicitFlow(xe="",rt=""){""!==this.loginUrl?this.initImplicitFlowInternal(xe,rt):this.events.pipe((0,r.I)(lt=>"discovery_document_loaded"===lt.type)).subscribe(()=>this.initImplicitFlowInternal(xe,rt))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(xe){const rt=this;if(xe.onTokenReceived){const lt={idClaims:rt.getIdentityClaims(),idToken:rt.getIdToken(),accessToken:rt.getAccessToken(),state:rt.state};xe.onTokenReceived(lt)}}storeAccessTokenResponse(xe,rt,lt,At,nt){if(this._storage.setItem("access_token",xe),At&&!Array.isArray(At)?this._storage.setItem("granted_scopes",JSON.stringify(At.split(" "))):At&&Array.isArray(At)&&this._storage.setItem("granted_scopes",JSON.stringify(At)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),lt){const vt=1e3*lt,He=this.dateTimeService.new().getTime()+vt;this._storage.setItem("expires_at",""+He)}rt&&this._storage.setItem("refresh_token",rt),nt&&nt.forEach((vt,Le)=>{this._storage.setItem(Le,vt)})}tryLogin(xe=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(xe).then(()=>!0):this.tryLoginImplicitFlow(xe)}parseQueryString(xe){return xe&&0!==xe.length?("?"===xe.charAt(0)&&(xe=xe.substr(1)),this.urlHelper.parseQueryString(xe)):{}}tryLoginCodeFlow(xe=null){var rt=this;return(0,t.c)(function*(){const lt=(xe=xe||{}).customHashFragment?xe.customHashFragment.substring(1):window.location.search,At=rt.getCodePartsFromUrl(lt),nt=At.code,vt=At.state,Le=At.session_state;if(!xe.preventClearHashAfterLogin){const Te=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,Te)}const[He,st]=rt.parseState(vt);if(rt.state=st,At.error){rt.debug("error trying to login"),rt.handleLoginError(xe,At);const Te=new z("code_error",{},At);return rt.eventsSubject.next(Te),Promise.reject(Te)}if(!xe.disableNonceCheck){if(!He)return rt.saveRequestedRoute(),Promise.resolve();if(!xe.disableOAuth2StateCheck&&!rt.validateNonce(He)){const Pe=new z("invalid_nonce_in_state",null);return rt.eventsSubject.next(Pe),Promise.reject(Pe)}}return rt.storeSessionState(Le),nt&&(yield rt.getTokenFromCode(nt,xe),rt.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const xe=this._storage.getItem("requested_route");xe&&history.replaceState(null,"",window.location.origin+xe)}getCodePartsFromUrl(xe){return xe&&0!==xe.length?("?"===xe.charAt(0)&&(xe=xe.substr(1)),this.urlHelper.parseQueryString(xe)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(xe,rt){let lt=new E.HttpParams({encoder:new le}).set("grant_type","authorization_code").set("code",xe).set("redirect_uri",rt.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let At;At=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),At?lt=lt.set("code_verifier",At):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(lt,rt)}fetchAndProcessToken(xe,rt){rt=rt||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let lt=(new E.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const At=btoa(`${this.clientId}:${this.dummyClientSecret}`);lt=lt.set("Authorization","Basic "+At)}return this.useHttpBasicAuth||(xe=xe.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(xe=xe.set("client_secret",this.dummyClientSecret)),new Promise((At,nt)=>{if(this.customQueryParams)for(const vt of Object.getOwnPropertyNames(this.customQueryParams))xe=xe.set(vt,this.customQueryParams[vt]);this.http.post(this.tokenEndpoint,xe,{headers:lt}).subscribe(vt=>{this.debug("refresh tokenResponse",vt),this.storeAccessTokenResponse(vt.access_token,vt.refresh_token,vt.expires_in||this.fallbackAccessTokenExpirationTimeInSec,vt.scope,this.extractRecognizedCustomParameters(vt)),this.oidc&&vt.id_token?this.processIdToken(vt.id_token,vt.access_token,rt.disableNonceCheck).then(Le=>{this.storeIdToken(Le),this.eventsSubject.next(new B("token_received")),this.eventsSubject.next(new B("token_refreshed")),At(vt)}).catch(Le=>{this.eventsSubject.next(new z("token_validation_error",Le)),console.error("Error validating tokens"),console.error(Le),nt(Le)}):(this.eventsSubject.next(new B("token_received")),this.eventsSubject.next(new B("token_refreshed")),At(vt))},vt=>{console.error("Error getting token",vt),this.eventsSubject.next(new z("token_refresh_error",vt)),nt(vt)})})}tryLoginImplicitFlow(xe=null){let rt;rt=(xe=xe||{}).customHashFragment?this.urlHelper.getHashFragmentParams(xe.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",rt);const lt=rt.state,[At,nt]=this.parseState(lt);if(this.state=nt,rt.error){this.debug("error trying to login"),this.handleLoginError(xe,rt);const Te=new z("token_error",{},rt);return this.eventsSubject.next(Te),Promise.reject(Te)}const vt=rt.access_token,Le=rt.id_token,He=rt.session_state,st=rt.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!vt||this.requestAccessToken&&!xe.disableOAuth2StateCheck&&!lt||this.oidc&&!Le)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!He&&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&&!xe.disableNonceCheck&&!this.validateNonce(At)){const Pe=new z("invalid_nonce_in_state",null);return this.eventsSubject.next(Pe),Promise.reject(Pe)}return this.requestAccessToken&&this.storeAccessTokenResponse(vt,null,rt.expires_in||this.fallbackAccessTokenExpirationTimeInSec,st),this.oidc?this.processIdToken(Le,vt,xe.disableNonceCheck).then(Te=>xe.validationHandler?xe.validationHandler({accessToken:vt,idClaims:Te.idTokenClaims,idToken:Te.idToken,state:lt}).then(()=>Te):Te).then(Te=>(this.storeIdToken(Te),this.storeSessionState(He),this.clearHashAfterLogin&&!xe.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new B("token_received")),this.callOnTokenReceivedIfExists(xe),this.inImplicitFlow=!1,!0)).catch(Te=>(this.eventsSubject.next(new z("token_validation_error",Te)),this.logger.error("Error validating tokens"),this.logger.error(Te),Promise.reject(Te))):(this.eventsSubject.next(new B("token_received")),this.clearHashAfterLogin&&!xe.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(xe),Promise.resolve(!0))}parseState(xe){let rt=xe,lt="";if(xe){const At=xe.indexOf(this.config.nonceStateSeparator);At>-1&&(rt=xe.substr(0,At),lt=xe.substr(At+this.config.nonceStateSeparator.length))}return[rt,lt]}validateNonce(xe){let rt;return rt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),rt===xe||(console.error("Validating access_token failed, wrong state/nonce.",rt,xe),!1)}storeIdToken(xe){this._storage.setItem("id_token",xe.idToken),this._storage.setItem("id_token_claims_obj",xe.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+xe.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(xe){this._storage.setItem("session_state",xe)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(xe,rt){xe.onLoginError&&xe.onLoginError(rt),this.clearHashAfterLogin&&!xe.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(xe=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:xe}processIdToken(xe,rt,lt=!1){const At=xe.split("."),vt=X(this.padBase64(At[0])),Le=JSON.parse(vt),st=X(this.padBase64(At[1])),Te=JSON.parse(st);let Pe;if(Pe=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(Te.aud)){if(Te.aud.every(dt=>dt!==this.clientId)){const dt="Wrong audience: "+Te.aud.join(",");return this.logger.warn(dt),Promise.reject(dt)}}else if(Te.aud!==this.clientId){const dt="Wrong audience: "+Te.aud;return this.logger.warn(dt),Promise.reject(dt)}if(!Te.sub){const dt="No sub claim in id_token";return this.logger.warn(dt),Promise.reject(dt)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==Te.sub){const dt=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${Te.sub}`;return this.logger.warn(dt),Promise.reject(dt)}if(!Te.iat){const dt="No iat claim in id_token";return this.logger.warn(dt),Promise.reject(dt)}if(!this.skipIssuerCheck&&Te.iss!==this.issuer){const dt="Wrong issuer: "+Te.iss;return this.logger.warn(dt),Promise.reject(dt)}if(!lt&&Te.nonce!==Pe){const dt="Wrong nonce: "+Te.nonce;return this.logger.warn(dt),Promise.reject(dt)}if(Object.prototype.hasOwnProperty.call(this,"responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!Te.at_hash){const dt="An at_hash is needed!";return this.logger.warn(dt),Promise.reject(dt)}const bt=this.dateTimeService.now(),Me=1e3*Te.iat,$e=1e3*Te.exp,Ge=this.getClockSkewInMsec();if(Me-Ge>=bt||$e+Ge-this.decreaseExpirationBySec<=bt){const dt="Token has expired";return console.error(dt),console.error({now:bt,issuedAtMSec:Me,expiresAtMSec:$e}),Promise.reject(dt)}const kt={accessToken:rt,idToken:xe,jwks:this.jwks,idTokenClaims:Te,idTokenHeader:Le,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(kt).then(()=>({idToken:xe,idTokenClaims:Te,idTokenClaimsJson:st,idTokenHeader:Le,idTokenHeaderJson:vt,idTokenExpiresAt:$e})):this.checkAtHash(kt).then(dt=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!dt){const xt="Wrong at_hash";return this.logger.warn(xt),Promise.reject(xt)}return this.checkSignature(kt).then(()=>{const qe={idToken:xe,idTokenClaims:Te,idTokenClaimsJson:st,idTokenHeader:Le,idTokenHeaderJson:vt,idTokenExpiresAt:$e};return this.disableAtHashCheck?qe:this.checkAtHash(kt).then(Fe=>{if(this.requestAccessToken&&!Fe){const et="Wrong at_hash";return this.logger.warn(et),Promise.reject(et)}return qe})})})}getIdentityClaims(){const xe=this._storage.getItem("id_token_claims_obj");return xe?JSON.parse(xe):null}getGrantedScopes(){const xe=this._storage.getItem("granted_scopes");return xe?JSON.parse(xe):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(xe){for(;xe.length%4!=0;)xe+="=";return xe}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 xe=this._storage.getItem("expires_at"),rt=this.dateTimeService.new();return!(xe&&parseInt(xe,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(xe)?JSON.parse(this._storage.getItem(xe)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(xe={},rt=""){let lt=!1;"boolean"==typeof xe&&(lt=xe,xe={});const At=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(vt=>this._storage.removeItem(vt)),this.silentRefreshSubject=null,this.eventsSubject.next(new H("logout")),!this.logoutUrl||lt)return;let nt;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)nt=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(At)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let vt=new E.HttpParams({encoder:new le});At&&(vt=vt.set("id_token_hint",At));const Le=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";Le&&(vt=vt.set("post_logout_redirect_uri",Le),rt&&(vt=vt.set("state",rt)));for(const He in xe)vt=vt.set(He,xe[He]);nt=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+vt.toString()}this.config.openUri(nt)}createAndSaveNonce(){const xe=this;return this.createNonce().then(function(rt){return xe.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",rt):xe._storage.setItem("nonce",rt),rt})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const xe=this.document.getElementById(this.silentRefreshIFrameName);xe&&xe.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const rt=this.document.getElementById(this.sessionCheckIFrameName);rt&&rt.remove()}createNonce(){return new Promise(xe=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const rt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let lt=45,At="";const nt=typeof self>"u"?null:self.crypto||self.msCrypto;if(nt){let vt=new Uint8Array(lt);nt.getRandomValues(vt),vt.map||(vt.map=Array.prototype.map),vt=vt.map(Le=>rt.charCodeAt(Le%66)),At=String.fromCharCode.apply(null,vt)}else for(;0"discovery_document_loaded"===lt.type)).subscribe(()=>this.initCodeFlowInternal(xe,rt))}initCodeFlowInternal(xe="",rt={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let lt={},At=null;"string"==typeof rt?At=rt:"object"==typeof rt&&(lt=rt),this.createLoginUrl(xe,At,null,!1,lt).then(this.config.openUri).catch(nt=>{console.error("Error in initAuthorizationCodeFlow"),console.error(nt)})}createChallangeVerifierPairForPKCE(){var xe=this;return(0,t.c)(function*(){if(!xe.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const rt=yield xe.createNonce();return[G(yield xe.crypto.calcHash(rt,"sha-256")),rt]})()}extractRecognizedCustomParameters(xe){const rt=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(lt=>{xe[lt]&&rt.set(lt,JSON.stringify(xe[lt]))}),rt}revokeTokenAndLogout(xe={},rt=!1){const lt=this.revocationEndpoint,At=this.getAccessToken(),nt=this.getRefreshToken();if(!At)return Promise.resolve();let vt=new E.HttpParams({encoder:new le}),Le=(new E.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const He=btoa(`${this.clientId}:${this.dummyClientSecret}`);Le=Le.set("Authorization","Basic "+He)}if(this.useHttpBasicAuth||(vt=vt.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(vt=vt.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const He of Object.getOwnPropertyNames(this.customQueryParams))vt=vt.set(He,this.customQueryParams[He]);return new Promise((He,st)=>{let Te,Pe;if(At){const bt=vt.set("token",At).set("token_type_hint","access_token");Te=this.http.post(lt,bt,{headers:Le})}else Te=(0,b.of)(null);if(nt){const bt=vt.set("token",nt).set("token_type_hint","refresh_token");Pe=this.http.post(lt,bt,{headers:Le})}else Pe=(0,b.of)(null);rt&&(Te=Te.pipe((0,w.a)(bt=>0===bt.status?(0,b.of)(null):(0,d.c)(bt))),Pe=Pe.pipe((0,w.a)(bt=>0===bt.status?(0,b.of)(null):(0,d.c)(bt)))),(0,l.E)([Te,Pe]).subscribe(bt=>{this.logOut(xe),He(bt),this.logger.info("Token successfully revoked")},bt=>{this.logger.error("Error revoking token",bt),this.eventsSubject.next(new z("token_revoke_error",bt)),st(bt)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}static#e=this.\u0275fac=function(rt){return new(rt||Ot)(v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(E.HttpClient),v.\u0275\u0275inject(U,8),v.\u0275\u0275inject(ue,8),v.\u0275\u0275inject(j,8),v.\u0275\u0275inject(Je),v.\u0275\u0275inject(A),v.\u0275\u0275inject(Oe,8),v.\u0275\u0275inject(C.DOCUMENT),v.\u0275\u0275inject(S))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ot,factory:Ot.\u0275fac})}return Ot})();class ze{}class pt{handleError(Ut){return(0,d.c)(Ut)}}let Pt=(()=>{class Ot{constructor(xe,rt,lt){this.oAuthService=xe,this.errorHandler=rt,this.moduleConfig=lt}checkUrl(xe){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(xe):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(rt=>xe.toLowerCase().startsWith(rt.toLowerCase()))}intercept(xe,rt){const lt=xe.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(lt)?this.moduleConfig.resourceServer.sendAccessToken?(0,a.U)((0,b.of)(this.oAuthService.getAccessToken()).pipe((0,r.I)(nt=>!!nt)),this.oAuthService.events.pipe((0,r.I)(nt=>"token_received"===nt.type),(0,k.m)(this.oAuthService.waitForTokenInMsec||0),(0,w.a)(()=>(0,b.of)(null)),(0,y.k)(()=>this.oAuthService.getAccessToken()))).pipe((0,D.U)(1),(0,I.O)(nt=>{if(nt){const Le=xe.headers.set("Authorization","Bearer "+nt);xe=xe.clone({headers:Le})}return rt.handle(xe).pipe((0,w.a)(vt=>this.errorHandler.handleError(vt)))})):rt.handle(xe).pipe((0,w.a)(nt=>this.errorHandler.handleError(nt))):rt.handle(xe)}static#e=this.\u0275fac=function(rt){return new(rt||Ot)(v.\u0275\u0275inject(ot),v.\u0275\u0275inject(ze),v.\u0275\u0275inject(T,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ot,factory:Ot.\u0275fac})}return Ot})();function Gt(){return console}function rn(){return typeof sessionStorage<"u"?sessionStorage:new K}function on(Ot=null,Ut=O){return(0,v.makeEnvironmentProviders)([ot,Je,{provide:A,useFactory:Gt},{provide:U,useFactory:rn},{provide:ue,useClass:Ut},{provide:Oe,useClass:Ve},{provide:ze,useClass:pt},{provide:T,useValue:Ot},{provide:E.HTTP_INTERCEPTORS,useClass:Pt,multi:!0},{provide:S,useClass:F}])}let tn=(()=>{class Ot{static forRoot(xe=null,rt=O){return{ngModule:Ot,providers:[on(xe,rt)]}}static#e=this.\u0275fac=function(rt){return new(rt||Ot)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:Ot});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({imports:[C.CommonModule]})}return Ot})();class Jt extends O{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 an=new v.InjectionToken("AUTH_CONFIG")},540:(De,te,g)=>{"use strict";g.r(te),g.d(te,{HIGHLIGHT_OPTIONS:()=>_,Highlight:()=>O,HighlightJS:()=>I,HighlightLoader:()=>k,HighlightModule:()=>T});var t=g(4496),v=g(1368),C=g(6700),E=g(6684),c=g(3992),b=g(7368),s=g(9212),f=g(8960),d=g(9144),l=g(3800),a=g(736),r=g(4704),u=g(9900),h=g(4096),p=g(4476);const _=new t.InjectionToken("HIGHLIGHT_OPTIONS");let y;let k=(()=>{class N{constructor(F,L,A){this.doc=F,this.platformId=L,this._options=A,this._ready=new C.g(null),this.ready=this._ready.asObservable().pipe((0,E.I)(U=>!!U),(0,c.U)(1)),(0,v.isPlatformBrowser)(L)&&(F.defaultView.hljs?this._ready.next(F.defaultView.hljs):(this._loadLibrary().pipe((0,b.G)(U=>this._options&&this._options.lineNumbersLoader?(F.defaultView.hljs=U,this.loadLineNumbers().pipe((0,s.y)(K=>{K.activateLineNumbers(),this._ready.next(U)}))):(this._ready.next(U),f.k)),(0,d.a)(U=>(console.error("[HLJS] ",U),f.k))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,l.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,l.c)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,l.c)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,l.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,b.G)(F=>this._loadLanguages(F)))}return(0,l.c)(()=>"Highlight.js library was not imported!")}_loadLanguages(F){const L=Object.entries(this._options.languages).map(([A,U])=>D(U()).pipe((0,s.y)(K=>F.registerLanguage(A,K))));return(0,a.E)(...L).pipe((0,r.k)(()=>F))}loadCoreLibrary(){return D(this._options.coreLibraryLoader())}loadFullLibrary(){return D(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,u.Q)(this._options.lineNumbersLoader())}setTheme(F){(0,v.isPlatformBrowser)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=F:this.loadTheme(F))}loadTheme(F){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=F,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}static#e=this.\u0275fac=function(L){return new(L||N)(t.\u0275\u0275inject(v.DOCUMENT),t.\u0275\u0275inject(t.PLATFORM_ID),t.\u0275\u0275inject(_,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})();const D=N=>(0,u.Q)(N).pipe((0,E.I)(S=>!!S?.default),(0,r.k)(S=>S.default));let I=(()=>{class N{get hljs(){return this._hljs}constructor(F,L){this._loader=F,this._hljs=null,F.ready.subscribe(A=>{this._hljs=A,L&&L.config&&(A.configure(L.config),A.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(F,{language:L,ignoreIllegals:A}){return this._loader.ready.pipe((0,r.k)(U=>U.highlight(F,{language:L,ignoreIllegals:A})))}highlightAuto(F,L){return this._loader.ready.pipe((0,r.k)(A=>A.highlightAuto(F,L)))}highlightElement(F){return this._loader.ready.pipe((0,r.k)(L=>L.highlightElement(F)))}highlightAll(){return this._loader.ready.pipe((0,r.k)(F=>F.highlightAll()))}configure(F){return this._loader.ready.pipe((0,r.k)(L=>L.configure(F)))}registerLanguage(F,L){return this._loader.ready.pipe((0,s.y)(A=>A.registerLanguage(F,L)))}unregisterLanguage(F){return this._loader.ready.pipe((0,s.y)(L=>L.unregisterLanguage(F)))}registerAliases(F,{languageName:L}){return this._loader.ready.pipe((0,s.y)(A=>A.registerAliases(F,{languageName:L})))}listLanguages(){return this._loader.ready.pipe((0,r.k)(F=>F.listLanguages()))}getLanguage(F){return this._loader.ready.pipe((0,r.k)(L=>L.getLanguage(F)))}safeMode(){return this._loader.ready.pipe((0,r.k)(F=>F.safeMode()))}debugMode(){return this._loader.ready.pipe((0,r.k)(F=>F.debugMode()))}lineNumbersBlock(F){return this._loader.ready.pipe((0,E.I)(L=>!!L.lineNumbersBlock),(0,s.y)(L=>L.lineNumbersBlock(F)))}static#e=this.\u0275fac=function(L){return new(L||N)(t.\u0275\u0275inject(k),t.\u0275\u0275inject(_,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})(),O=(()=>{class N{constructor(F,L,A,U,K){this._hljs=L,this._sanitizer=A,this.platformId=U,this._options=K,this.highlighted=new t.EventEmitter,this._nativeElement=F.nativeElement}ngOnChanges(F){(0,v.isPlatformBrowser)(this.platformId)&&null!==F?.code?.currentValue&&F.code.currentValue!==F.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(F,L){this.setTextContent(F),this._hljs.highlightAuto(F,L).subscribe(A=>{this.setInnerHTML(A?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(A)})}addLineNumbers(){this.destroyLineNumbersObserver(),h.A.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(F){h.A.schedule(()=>this._nativeElement.textContent=F)}setInnerHTML(F){h.A.schedule(()=>this._nativeElement.innerHTML=function w(N){return function M(){if(!y)try{y=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:N=>N})}catch{}return y}()?.createHTML(N)||N}(this._sanitizer.sanitize(t.SecurityContext.HTML,F)||""))}static#e=this.\u0275fac=function(L){return new(L||N)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(I),t.\u0275\u0275directiveInject(p.DomSanitizer),t.\u0275\u0275directiveInject(t.PLATFORM_ID),t.\u0275\u0275directiveInject(_,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:N,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(L,A){2&L&&t.\u0275\u0275classProp("hljs",!0)},inputs:{code:[t.\u0275\u0275InputFlags.None,"highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return N})(),T=(()=>{class N{static#e=this.\u0275fac=function(L){return new(L||N)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:N});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return N})()},6319:(De,te,g)=>{"use strict";g.r(te),g.d(te,{MAT_SELECTSEARCH_DEFAULT_OPTIONS:()=>ve,MatSelectNoEntriesFoundDirective:()=>Je,MatSelectSearchClearDirective:()=>le,MatSelectSearchComponent:()=>_t,MatSelectSearchVersion:()=>ct,NgxMatSelectSearchModule:()=>Ct,configurableDefaultOptions:()=>ue});var t=g(5420),v=g(4496),C=g(6504),E=g(3576),c=g(4060),b=g(9716),s=g(6700),f=g(2700),d=g(6040),l=g(5657),a=g(7368),r=g(4704),u=g(5568),h=g(1224),p=g(3616),_=g(3992),y=g(9212),M=g(6684),w=g(1904),k=g(1368),D=g(7816),I=g(3840),O=g(1560),T=g(7488),N=g(6496),S=g(3584);const F=["searchSelectInput"],L=["innerSelectSearch"];function A(Re,ke){if(1&Re){const fe=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementStart(0,"mat-checkbox",10),v.\u0275\u0275listener("change",function(Be){v.\u0275\u0275restoreView(fe);const Ie=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(Ie._emitSelectAllBooleanToParent(Be.checked))}),v.\u0275\u0275elementEnd()}if(2&Re){const fe=v.\u0275\u0275nextContext();v.\u0275\u0275property("color",null==fe.matFormField?null:fe.matFormField.color)("checked",fe.toggleAllCheckboxChecked)("indeterminate",fe.toggleAllCheckboxIndeterminate)("matTooltip",fe.toggleAllCheckboxTooltipMessage)("matTooltipPosition",fe.toggleAllCheckboxTooltipPosition)}}function U(Re,ke){1&Re&&v.\u0275\u0275element(0,"mat-spinner",11)}function K(Re,ke){1&Re&&v.\u0275\u0275projection(0,1,["*ngIf","clearIcon; else defaultIcon"])}function ee(Re,ke){if(1&Re&&(v.\u0275\u0275elementStart(0,"mat-icon",15),v.\u0275\u0275text(1),v.\u0275\u0275elementEnd()),2&Re){const fe=v.\u0275\u0275nextContext(2);v.\u0275\u0275property("svgIcon",fe.closeSvgIcon),v.\u0275\u0275advance(),v.\u0275\u0275textInterpolate1(" ",fe.closeSvgIcon?null:fe.closeIcon," ")}}function ne(Re,ke){if(1&Re){const fe=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementStart(0,"button",12),v.\u0275\u0275listener("click",function(){v.\u0275\u0275restoreView(fe);const Be=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(Be._reset(!0))}),v.\u0275\u0275template(1,K,1,0,"ng-content",13)(2,ee,2,2,"ng-template",null,14,v.\u0275\u0275templateRefExtractor),v.\u0275\u0275elementEnd()}if(2&Re){const fe=v.\u0275\u0275reference(3),Ke=v.\u0275\u0275nextContext();v.\u0275\u0275advance(),v.\u0275\u0275property("ngIf",Ke.clearIcon)("ngIfElse",fe)}}function B(Re,ke){1&Re&&v.\u0275\u0275projection(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function H(Re,ke){if(1&Re&&v.\u0275\u0275text(0),2&Re){const fe=v.\u0275\u0275nextContext(2);v.\u0275\u0275textInterpolate(fe.noEntriesFoundLabel)}}function z(Re,ke){if(1&Re&&(v.\u0275\u0275elementStart(0,"div",16),v.\u0275\u0275template(1,B,1,0,"ng-content",13)(2,H,1,1,"ng-template",null,17,v.\u0275\u0275templateRefExtractor),v.\u0275\u0275elementEnd()),2&Re){const fe=v.\u0275\u0275reference(3),Ke=v.\u0275\u0275nextContext();v.\u0275\u0275advance(),v.\u0275\u0275property("ngIf",Ke.noEntriesFound)("ngIfElse",fe)}}const X=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],G=(Re,ke)=>({"mat-select-search-inner-multiple":Re,"mat-select-search-inner-toggle-all":ke}),j=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];let le=(()=>{class Re{}return Re.\u0275fac=function(fe){return new(fe||Re)},Re.\u0275dir=v.\u0275\u0275defineDirective({type:Re,selectors:[["","ngxMatSelectSearchClear",""]]}),Re})();const ue=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],ve=new v.InjectionToken("mat-selectsearch-default-options");let Je=(()=>{class Re{}return Re.\u0275fac=function(fe){return new(fe||Re)},Re.\u0275dir=v.\u0275\u0275defineDirective({type:Re,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),Re})(),_t=(()=>{class Re{constructor(fe,Ke,Be,Ie=null,je=null,q){this.matSelect=fe,this.changeDetectorRef=Ke,this._viewportRuler=Be,this.matOption=Ie,this.matFormField=je,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new v.EventEmitter,this.onTouched=be=>{},this._options$=new s.g(null),this.optionsList$=this._options$.pipe((0,a.G)(be=>be?be.changes.pipe((0,r.k)(Oe=>Oe.toArray()),(0,u.W)(be.toArray())):(0,f.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,r.k)(be=>be?be.length:0)),this._formControl=new C.FormControl(""),this._showNoEntriesFound$=(0,d.E)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,r.k)(([be,Oe])=>this.noEntriesFoundLabel&&be&&Oe===this.getOptionsLengthOffset())),this._onDestroy=new l.E,this.applyDefaultOptions(q)}get value(){return this._formControl.value}set _options(fe){this._options$.next(fe)}get _options(){return this._options$.getValue()}applyDefaultOptions(fe){if(fe)for(const Ke of ue)fe.hasOwnProperty(Ke)&&(this[Ke]=fe[Ke])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("aria-hidden","true")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe((0,h.o)(1),(0,p.a)(this._onDestroy)).subscribe(fe=>{fe?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,_.U)(1),(0,a.G)(fe=>{this._options=this.matSelect.options;let Ke=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe((0,y.y)(()=>{setTimeout(()=>{const Be=this._options.toArray(),Ie=Be[this.getOptionsLengthOffset()],je=this.matSelect._keyManager;je&&this.matSelect.panelOpen&&Ie&&((!Ke||!this.matSelect.compareWith(Ke.value,Ie.value)||!je.activeItem||!Be.find(be=>this.matSelect.compareWith(be.value,je.activeItem.value)))&&je.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),Ke=Ie})}))})).pipe((0,p.a)(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe((0,p.a)(this._onDestroy)).subscribe(fe=>{this.matOption&&(fe?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,p.a)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,p.a)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(fe){this.toggleAll.emit(fe)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(fe){(fe.key&&1===fe.key.length||fe.keyCode>=t.A&&fe.keyCode<=t.Z||fe.keyCode>=t._I&&fe.keyCode<=t.SQ||fe.keyCode===t.Gi||this.preventHomeEndKeyPropagation&&(fe.keyCode===t.qU||fe.keyCode===t.Mp))&&fe.stopPropagation(),this.matSelect.multiple&&fe.key&&fe.keyCode===t.wJ&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&fe.keyCode===t.UX&&this.value&&(this._reset(!0),fe.stopPropagation())}_handleKeyup(fe){if(fe.keyCode===t.qI||fe.keyCode===t.Oq){const Ke=this.matSelect._getAriaActiveDescendant(),Be=this._options.toArray().findIndex(Ie=>Ie.id===Ke);-1!==Be&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[Be]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",Ke))}}writeValue(fe){this._lastExternalInputValue=fe,this._formControl.setValue(fe),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(fe){this._formControl.valueChanges.pipe((0,M.I)(Ke=>Ke!==this._lastExternalInputValue),(0,y.y)(()=>this._lastExternalInputValue=void 0),(0,p.a)(this._onDestroy)).subscribe(fe)}registerOnTouched(fe){this.onTouched=fe}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const fe=this.matSelect.panel.nativeElement,Ke=fe.scrollTop;this.searchSelectInput.nativeElement.focus(),fe.scrollTop=Ke}_reset(fe){this._formControl.setValue(""),fe&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,p.a)(this._onDestroy)).subscribe(fe=>{let Ke=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!fe||!Array.isArray(fe))&&(fe=[]);const Be=this.matSelect.options.map(Ie=>Ie.value);this.previousSelectedValues.forEach(Ie=>{!fe.some(je=>this.matSelect.compareWith(je,Ie))&&!Be.some(je=>this.matSelect.compareWith(je,Ie))&&(fe.push(Ie),Ke=!0)})}this.previousSelectedValues=fe,Ke&&this.matSelect._onChange(fe)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let Ke,fe=this.innerSelectSearch.nativeElement;for(;fe=fe.parentElement;)if(fe.classList.contains("mat-select-panel")){Ke=fe;break}Ke&&(this.innerSelectSearch.nativeElement.style.width=Ke.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return Re.\u0275fac=function(fe){return new(fe||Re)(v.\u0275\u0275directiveInject(b.MatSelect),v.\u0275\u0275directiveInject(v.ChangeDetectorRef),v.\u0275\u0275directiveInject(w.S8),v.\u0275\u0275directiveInject(E.MatOption,8),v.\u0275\u0275directiveInject(c.MatFormField,8),v.\u0275\u0275directiveInject(ve,8))},Re.\u0275cmp=v.\u0275\u0275defineComponent({type:Re,selectors:[["ngx-mat-select-search"]],contentQueries:function(fe,Ke,Be){if(1&fe&&(v.\u0275\u0275contentQuery(Be,le,5),v.\u0275\u0275contentQuery(Be,Je,5)),2&fe){let Ie;v.\u0275\u0275queryRefresh(Ie=v.\u0275\u0275loadQuery())&&(Ke.clearIcon=Ie.first),v.\u0275\u0275queryRefresh(Ie=v.\u0275\u0275loadQuery())&&(Ke.noEntriesFound=Ie.first)}},viewQuery:function(fe,Ke){if(1&fe&&(v.\u0275\u0275viewQuery(F,7,v.ElementRef),v.\u0275\u0275viewQuery(L,7,v.ElementRef)),2&fe){let Be;v.\u0275\u0275queryRefresh(Be=v.\u0275\u0275loadQuery())&&(Ke.searchSelectInput=Be.first),v.\u0275\u0275queryRefresh(Be=v.\u0275\u0275loadQuery())&&(Ke.innerSelectSearch=Be.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[v.\u0275\u0275ProvidersFeature([{provide:C.NG_VALUE_ACCESSOR,useExisting:(0,v.forwardRef)(()=>Re),multi:!0}])],ngContentSelectors:j,decls:13,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"],["defaultNoEntriesFound",""]],template:function(fe,Ke){1&fe&&(v.\u0275\u0275projectionDef(X),v.\u0275\u0275element(0,"input",0),v.\u0275\u0275elementStart(1,"div",1,2)(3,"div",3),v.\u0275\u0275template(4,A,1,5,"mat-checkbox",4),v.\u0275\u0275elementStart(5,"input",5,6),v.\u0275\u0275listener("keydown",function(Ie){return Ke._handleKeydown(Ie)})("keyup",function(Ie){return Ke._handleKeyup(Ie)})("blur",function(){return Ke.onBlur()}),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(7,U,1,0,"mat-spinner",7)(8,ne,4,2,"button",8),v.\u0275\u0275projection(9),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(10,"mat-divider"),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(11,z,4,2,"div",9),v.\u0275\u0275pipe(12,"async")),2&fe&&(v.\u0275\u0275advance(),v.\u0275\u0275property("ngClass",v.\u0275\u0275pureFunction2(11,G,Ke.matSelect.multiple,Ke._isToggleAllCheckboxVisible())),v.\u0275\u0275advance(3),v.\u0275\u0275property("ngIf",Ke._isToggleAllCheckboxVisible()),v.\u0275\u0275advance(),v.\u0275\u0275property("type",Ke.type)("formControl",Ke._formControl)("placeholder",Ke.placeholderLabel),v.\u0275\u0275attribute("aria-label",Ke.ariaLabel),v.\u0275\u0275advance(2),v.\u0275\u0275property("ngIf",Ke.searching),v.\u0275\u0275advance(),v.\u0275\u0275property("ngIf",!Ke.hideClearSearchButton&&Ke.value&&!Ke.searching),v.\u0275\u0275advance(3),v.\u0275\u0275property("ngIf",v.\u0275\u0275pipeBind1(12,9,Ke._showNoEntriesFound$)))},dependencies:[k.NgClass,k.NgIf,C.DefaultValueAccessor,C.NgControlStatus,C.FormControlDirective,D.MatIconButton,I.MatCheckbox,O.MatIcon,T.MatProgressSpinner,N.a4,S.MatDivider,k.AsyncPipe],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),Re})();const ct="7.0.5";let Ct=(()=>{class Re{}return Re.\u0275fac=function(fe){return new(fe||Re)},Re.\u0275mod=v.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=v.\u0275\u0275defineInjector({imports:[k.CommonModule,C.ReactiveFormsModule,D.MatButtonModule,I.MatCheckboxModule,O.MatIconModule,T.MatProgressSpinnerModule,N.KO,S.MatDividerModule]}),Re})()},5116:(De,te,g)=>{"use strict";function c(R){let Ce=R.length;for(;--Ce>=0;)R[Ce]=0}g.r(te),g.d(te,{Deflate:()=>W,Inflate:()=>Ee,constants:()=>Vt,default:()=>yn,deflate:()=>ie,deflateRaw:()=>Z,gzip:()=>re,inflate:()=>Qe,inflateRaw:()=>Et,ungzip:()=>Ht});const T=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),N=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),S=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),F=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),A=new Array(576);c(A);const U=new Array(60);c(U);const K=new Array(512);c(K);const ee=new Array(256);c(ee);const ne=new Array(29);c(ne);const B=new Array(30);function H(R,Ce,Y,tt,ht){this.static_tree=R,this.extra_bits=Ce,this.extra_base=Y,this.elems=tt,this.max_length=ht,this.has_stree=R&&R.length}let z,X,G;function j(R,Ce){this.dyn_tree=R,this.max_code=0,this.stat_desc=Ce}c(B);const le=R=>R<256?K[R]:K[256+(R>>>7)],ue=(R,Ce)=>{R.pending_buf[R.pending++]=255&Ce,R.pending_buf[R.pending++]=Ce>>>8&255},ve=(R,Ce,Y)=>{R.bi_valid>16-Y?(R.bi_buf|=Ce<>16-R.bi_valid,R.bi_valid+=Y-16):(R.bi_buf|=Ce<{ve(R,Y[2*Ce],Y[2*Ce+1])},_t=(R,Ce)=>{let Y=0;do{Y|=1&R,R>>>=1,Y<<=1}while(--Ce>0);return Y>>>1},Re=(R,Ce,Y)=>{const tt=new Array(16);let gt,zt,ht=0;for(gt=1;gt<=15;gt++)ht=ht+Y[gt-1]<<1,tt[gt]=ht;for(zt=0;zt<=Ce;zt++){let Nt=R[2*zt+1];0!==Nt&&(R[2*zt]=_t(tt[Nt]++,Nt))}},fe=R=>{let Ce;for(Ce=0;Ce<286;Ce++)R.dyn_ltree[2*Ce]=0;for(Ce=0;Ce<30;Ce++)R.dyn_dtree[2*Ce]=0;for(Ce=0;Ce<19;Ce++)R.bl_tree[2*Ce]=0;R.dyn_ltree[512]=1,R.opt_len=R.static_len=0,R.sym_next=R.matches=0},Ke=R=>{R.bi_valid>8?ue(R,R.bi_buf):R.bi_valid>0&&(R.pending_buf[R.pending++]=R.bi_buf),R.bi_buf=0,R.bi_valid=0},Be=(R,Ce,Y,tt)=>{const ht=2*Ce,gt=2*Y;return R[ht]{const tt=R.heap[Y];let ht=Y<<1;for(;ht<=R.heap_len&&(ht{let tt,ht,zt,Nt,gt=0;if(0!==R.sym_next)do{tt=255&R.pending_buf[R.sym_buf+gt++],tt+=(255&R.pending_buf[R.sym_buf+gt++])<<8,ht=R.pending_buf[R.sym_buf+gt++],0===tt?Je(R,ht,Ce):(zt=ee[ht],Je(R,zt+256+1,Ce),Nt=T[zt],0!==Nt&&(ht-=ne[zt],ve(R,ht,Nt)),tt--,zt=le(tt),Je(R,zt,Y),Nt=N[zt],0!==Nt&&(tt-=B[zt],ve(R,tt,Nt)))}while(gt{const Y=Ce.dyn_tree,tt=Ce.stat_desc.static_tree,ht=Ce.stat_desc.has_stree,gt=Ce.stat_desc.elems;let zt,Nt,Lt,In=-1;for(R.heap_len=0,R.heap_max=573,zt=0;zt>1;zt>=1;zt--)Ie(R,Y,zt);Lt=gt;do{zt=R.heap[1],R.heap[1]=R.heap[R.heap_len--],Ie(R,Y,1),Nt=R.heap[1],R.heap[--R.heap_max]=zt,R.heap[--R.heap_max]=Nt,Y[2*Lt]=Y[2*zt]+Y[2*Nt],R.depth[Lt]=(R.depth[zt]>=R.depth[Nt]?R.depth[zt]:R.depth[Nt])+1,Y[2*zt+1]=Y[2*Nt+1]=Lt,R.heap[1]=Lt++,Ie(R,Y,1)}while(R.heap_len>=2);R.heap[--R.heap_max]=R.heap[1],((R,Ce)=>{const Y=Ce.dyn_tree,tt=Ce.max_code,ht=Ce.stat_desc.static_tree,gt=Ce.stat_desc.has_stree,zt=Ce.stat_desc.extra_bits,Nt=Ce.stat_desc.extra_base,In=Ce.stat_desc.max_length;let Lt,Kt,Pi,xn,dn,zn,Qi=0;for(xn=0;xn<=15;xn++)R.bl_count[xn]=0;for(Y[2*R.heap[R.heap_max]+1]=0,Lt=R.heap_max+1;Lt<573;Lt++)Kt=R.heap[Lt],xn=Y[2*Y[2*Kt+1]+1]+1,xn>In&&(xn=In,Qi++),Y[2*Kt+1]=xn,!(Kt>tt)&&(R.bl_count[xn]++,dn=0,Kt>=Nt&&(dn=zt[Kt-Nt]),zn=Y[2*Kt],R.opt_len+=zn*(xn+dn),gt&&(R.static_len+=zn*(ht[2*Kt+1]+dn)));if(0!==Qi){do{for(xn=In-1;0===R.bl_count[xn];)xn--;R.bl_count[xn]--,R.bl_count[xn+1]+=2,R.bl_count[In]--,Qi-=2}while(Qi>0);for(xn=In;0!==xn;xn--)for(Kt=R.bl_count[xn];0!==Kt;)Pi=R.heap[--Lt],!(Pi>tt)&&(Y[2*Pi+1]!==xn&&(R.opt_len+=(xn-Y[2*Pi+1])*Y[2*Pi],Y[2*Pi+1]=xn),Kt--)}})(R,Ce),Re(Y,In,R.bl_count)},be=(R,Ce,Y)=>{let tt,gt,ht=-1,zt=Ce[1],Nt=0,In=7,Lt=4;for(0===zt&&(In=138,Lt=3),Ce[2*(Y+1)+1]=65535,tt=0;tt<=Y;tt++)gt=zt,zt=Ce[2*(tt+1)+1],!(++Nt{let tt,gt,ht=-1,zt=Ce[1],Nt=0,In=7,Lt=4;for(0===zt&&(In=138,Lt=3),tt=0;tt<=Y;tt++)if(gt=zt,zt=Ce[2*(tt+1)+1],!(++Nt{ve(R,0+(tt?1:0),3),Ke(R),ue(R,Y),ue(R,~Y),Y&&R.pending_buf.set(R.window.subarray(Ce,Ce+Y),R.pending),R.pending+=Y};var Ot={_tr_init:R=>{ot||((()=>{let R,Ce,Y,tt,ht;const gt=new Array(16);for(Y=0,tt=0;tt<28;tt++)for(ne[tt]=Y,R=0;R<1<>=7;tt<30;tt++)for(B[tt]=ht<<7,R=0;R<1<{let ht,gt,zt=0;R.level>0?(2===R.strm.data_type&&(R.strm.data_type=(R=>{let Y,Ce=4093624447;for(Y=0;Y<=31;Y++,Ce>>>=1)if(1&Ce&&0!==R.dyn_ltree[2*Y])return 0;if(0!==R.dyn_ltree[18]||0!==R.dyn_ltree[20]||0!==R.dyn_ltree[26])return 1;for(Y=32;Y<256;Y++)if(0!==R.dyn_ltree[2*Y])return 1;return 0})(R)),q(R,R.l_desc),q(R,R.d_desc),zt=(R=>{let Ce;for(be(R,R.dyn_ltree,R.l_desc.max_code),be(R,R.dyn_dtree,R.d_desc.max_code),q(R,R.bl_desc),Ce=18;Ce>=3&&0===R.bl_tree[2*F[Ce]+1];Ce--);return R.opt_len+=3*(Ce+1)+5+5+4,Ce})(R),ht=R.opt_len+3+7>>>3,gt=R.static_len+3+7>>>3,gt<=ht&&(ht=gt)):ht=gt=Y+5,Y+4<=ht&&-1!==Ce?pt(R,Ce,Y,tt):4===R.strategy||gt===ht?(ve(R,2+(tt?1:0),3),je(R,A,U)):(ve(R,4+(tt?1:0),3),((R,Ce,Y,tt)=>{let ht;for(ve(R,Ce-257,5),ve(R,Y-1,5),ve(R,tt-4,4),ht=0;ht(R.pending_buf[R.sym_buf+R.sym_next++]=Ce,R.pending_buf[R.sym_buf+R.sym_next++]=Ce>>8,R.pending_buf[R.sym_buf+R.sym_next++]=Y,0===Ce?R.dyn_ltree[2*Y]++:(R.matches++,Ce--,R.dyn_ltree[2*(ee[Y]+256+1)]++,R.dyn_dtree[2*le(Ce)]++),R.sym_next===R.sym_end),_tr_align:R=>{ve(R,2,3),Je(R,256,A),(R=>{16===R.bi_valid?(ue(R,R.bi_buf),R.bi_buf=0,R.bi_valid=0):R.bi_valid>=8&&(R.pending_buf[R.pending++]=255&R.bi_buf,R.bi_buf>>=8,R.bi_valid-=8)})(R)}},xe=(R,Ce,Y,tt)=>{let ht=65535&R|0,gt=R>>>16&65535|0,zt=0;for(;0!==Y;){zt=Y>2e3?2e3:Y,Y-=zt;do{ht=ht+Ce[tt++]|0,gt=gt+ht|0}while(--zt);ht%=65521,gt%=65521}return ht|gt<<16|0};const lt=new Uint32Array((()=>{let R,Ce=[];for(var Y=0;Y<256;Y++){R=Y;for(var tt=0;tt<8;tt++)R=1&R?3988292384^R>>>1:R>>>1;Ce[Y]=R}return Ce})());var nt=(R,Ce,Y,tt)=>{const ht=lt,gt=tt+Y;R^=-1;for(let zt=tt;zt>>8^ht[255&(R^Ce[zt])];return-1^R},vt={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Le={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:He,_tr_stored_block:st,_tr_flush_block:Te,_tr_tally:Pe,_tr_align:bt}=Ot,{Z_NO_FLUSH:Me,Z_PARTIAL_FLUSH:$e,Z_FULL_FLUSH:Ge,Z_FINISH:kt,Z_BLOCK:dt,Z_OK:xt,Z_STREAM_END:qe,Z_STREAM_ERROR:Fe,Z_DATA_ERROR:et,Z_BUF_ERROR:Ye,Z_DEFAULT_COMPRESSION:ft,Z_FILTERED:Bt,Z_HUFFMAN_ONLY:qt,Z_RLE:fn,Z_FIXED:ln,Z_DEFAULT_STRATEGY:An,Z_UNKNOWN:fi,Z_DEFLATED:Si}=Le,mt=262,Wi=(R,Ce)=>(R.msg=vt[Ce],Ce),Ai=R=>2*R-(R>4?9:0),Gi=R=>{let Ce=R.length;for(;--Ce>=0;)R[Ce]=0},or=R=>{let Ce,Y,tt,ht=R.w_size;Ce=R.hash_size,tt=Ce;do{Y=R.head[--tt],R.head[tt]=Y>=ht?Y-ht:0}while(--Ce);Ce=ht,tt=Ce;do{Y=R.prev[--tt],R.prev[tt]=Y>=ht?Y-ht:0}while(--Ce)};let ki=(R,Ce,Y)=>(Ce<{const Ce=R.state;let Y=Ce.pending;Y>R.avail_out&&(Y=R.avail_out),0!==Y&&(R.output.set(Ce.pending_buf.subarray(Ce.pending_out,Ce.pending_out+Y),R.next_out),R.next_out+=Y,Ce.pending_out+=Y,R.total_out+=Y,R.avail_out-=Y,Ce.pending-=Y,0===Ce.pending&&(Ce.pending_out=0))},Wn=(R,Ce)=>{Te(R,R.block_start>=0?R.block_start:-1,R.strstart-R.block_start,Ce),R.block_start=R.strstart,Yn(R.strm)},Zn=(R,Ce)=>{R.pending_buf[R.pending++]=Ce},Dn=(R,Ce)=>{R.pending_buf[R.pending++]=Ce>>>8&255,R.pending_buf[R.pending++]=255&Ce},Qn=(R,Ce,Y,tt)=>{let ht=R.avail_in;return ht>tt&&(ht=tt),0===ht?0:(R.avail_in-=ht,Ce.set(R.input.subarray(R.next_in,R.next_in+ht),Y),1===R.state.wrap?R.adler=xe(R.adler,Ce,ht,Y):2===R.state.wrap&&(R.adler=nt(R.adler,Ce,ht,Y)),R.next_in+=ht,R.total_in+=ht,ht)},ui=(R,Ce)=>{let ht,gt,Y=R.max_chain_length,tt=R.strstart,zt=R.prev_length,Nt=R.nice_match;const In=R.strstart>R.w_size-mt?R.strstart-(R.w_size-mt):0,Lt=R.window,Kt=R.w_mask,Pi=R.prev,xn=R.strstart+258;let dn=Lt[tt+zt-1],zn=Lt[tt+zt];R.prev_length>=R.good_match&&(Y>>=2),Nt>R.lookahead&&(Nt=R.lookahead);do{if(ht=Ce,Lt[ht+zt]===zn&&Lt[ht+zt-1]===dn&&Lt[ht]===Lt[tt]&&Lt[++ht]===Lt[tt+1]){tt+=2,ht++;do{}while(Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&Lt[++tt]===Lt[++ht]&&ttzt){if(R.match_start=Ce,zt=gt,gt>=Nt)break;dn=Lt[tt+zt-1],zn=Lt[tt+zt]}}}while((Ce=Pi[Ce&Kt])>In&&0!=--Y);return zt<=R.lookahead?zt:R.lookahead},cn=R=>{const Ce=R.w_size;let Y,tt,ht;do{if(tt=R.window_size-R.lookahead-R.strstart,R.strstart>=Ce+(Ce-mt)&&(R.window.set(R.window.subarray(Ce,Ce+Ce-tt),0),R.match_start-=Ce,R.strstart-=Ce,R.block_start-=Ce,R.insert>R.strstart&&(R.insert=R.strstart),or(R),tt+=Ce),0===R.strm.avail_in)break;if(Y=Qn(R.strm,R.window,R.strstart+R.lookahead,tt),R.lookahead+=Y,R.lookahead+R.insert>=3)for(ht=R.strstart-R.insert,R.ins_h=R.window[ht],R.ins_h=ki(R,R.ins_h,R.window[ht+1]);R.insert&&(R.ins_h=ki(R,R.ins_h,R.window[ht+3-1]),R.prev[ht&R.w_mask]=R.head[R.ins_h],R.head[R.ins_h]=ht,ht++,R.insert--,!(R.lookahead+R.insert<3)););}while(R.lookahead{let tt,ht,gt,Y=R.pending_buf_size-5>R.w_size?R.w_size:R.pending_buf_size-5,zt=0,Nt=R.strm.avail_in;do{if(tt=65535,gt=R.bi_valid+42>>3,R.strm.avail_outht+R.strm.avail_in&&(tt=ht+R.strm.avail_in),tt>gt&&(tt=gt),tt>8,R.pending_buf[R.pending-2]=~tt,R.pending_buf[R.pending-1]=~tt>>8,Yn(R.strm),ht&&(ht>tt&&(ht=tt),R.strm.output.set(R.window.subarray(R.block_start,R.block_start+ht),R.strm.next_out),R.strm.next_out+=ht,R.strm.avail_out-=ht,R.strm.total_out+=ht,R.block_start+=ht,tt-=ht),tt&&(Qn(R.strm,R.strm.output,R.strm.next_out,tt),R.strm.next_out+=tt,R.strm.avail_out-=tt,R.strm.total_out+=tt)}while(0===zt);return Nt-=R.strm.avail_in,Nt&&(Nt>=R.w_size?(R.matches=2,R.window.set(R.strm.input.subarray(R.strm.next_in-R.w_size,R.strm.next_in),0),R.strstart=R.w_size,R.insert=R.strstart):(R.window_size-R.strstart<=Nt&&(R.strstart-=R.w_size,R.window.set(R.window.subarray(R.w_size,R.w_size+R.strstart),0),R.matches<2&&R.matches++,R.insert>R.strstart&&(R.insert=R.strstart)),R.window.set(R.strm.input.subarray(R.strm.next_in-Nt,R.strm.next_in),R.strstart),R.strstart+=Nt,R.insert+=Nt>R.w_size-R.insert?R.w_size-R.insert:Nt),R.block_start=R.strstart),R.high_watergt&&R.block_start>=R.w_size&&(R.block_start-=R.w_size,R.strstart-=R.w_size,R.window.set(R.window.subarray(R.w_size,R.w_size+R.strstart),0),R.matches<2&&R.matches++,gt+=R.w_size,R.insert>R.strstart&&(R.insert=R.strstart)),gt>R.strm.avail_in&&(gt=R.strm.avail_in),gt&&(Qn(R.strm,R.window,R.strstart,gt),R.strstart+=gt,R.insert+=gt>R.w_size-R.insert?R.w_size-R.insert:gt),R.high_water>3,gt=R.pending_buf_size-gt>65535?65535:R.pending_buf_size-gt,Y=gt>R.w_size?R.w_size:gt,ht=R.strstart-R.block_start,(ht>=Y||(ht||Ce===kt)&&Ce!==Me&&0===R.strm.avail_in&&ht<=gt)&&(tt=ht>gt?gt:ht,zt=Ce===kt&&0===R.strm.avail_in&&tt===ht?1:0,st(R,R.block_start,tt,zt),R.block_start+=tt,Yn(R.strm)),zt?3:1)},Nn=(R,Ce)=>{let Y,tt;for(;;){if(R.lookahead=3&&(R.ins_h=ki(R,R.ins_h,R.window[R.strstart+3-1]),Y=R.prev[R.strstart&R.w_mask]=R.head[R.ins_h],R.head[R.ins_h]=R.strstart),0!==Y&&R.strstart-Y<=R.w_size-mt&&(R.match_length=ui(R,Y)),R.match_length>=3)if(tt=Pe(R,R.strstart-R.match_start,R.match_length-3),R.lookahead-=R.match_length,R.match_length<=R.max_lazy_match&&R.lookahead>=3){R.match_length--;do{R.strstart++,R.ins_h=ki(R,R.ins_h,R.window[R.strstart+3-1]),Y=R.prev[R.strstart&R.w_mask]=R.head[R.ins_h],R.head[R.ins_h]=R.strstart}while(0!=--R.match_length);R.strstart++}else R.strstart+=R.match_length,R.match_length=0,R.ins_h=R.window[R.strstart],R.ins_h=ki(R,R.ins_h,R.window[R.strstart+1]);else tt=Pe(R,0,R.window[R.strstart]),R.lookahead--,R.strstart++;if(tt&&(Wn(R,!1),0===R.strm.avail_out))return 1}return R.insert=R.strstart<2?R.strstart:2,Ce===kt?(Wn(R,!0),0===R.strm.avail_out?3:4):R.sym_next&&(Wn(R,!1),0===R.strm.avail_out)?1:2},Fn=(R,Ce)=>{let Y,tt,ht;for(;;){if(R.lookahead=3&&(R.ins_h=ki(R,R.ins_h,R.window[R.strstart+3-1]),Y=R.prev[R.strstart&R.w_mask]=R.head[R.ins_h],R.head[R.ins_h]=R.strstart),R.prev_length=R.match_length,R.prev_match=R.match_start,R.match_length=2,0!==Y&&R.prev_length4096)&&(R.match_length=2)),R.prev_length>=3&&R.match_length<=R.prev_length){ht=R.strstart+R.lookahead-3,tt=Pe(R,R.strstart-1-R.prev_match,R.prev_length-3),R.lookahead-=R.prev_length-1,R.prev_length-=2;do{++R.strstart<=ht&&(R.ins_h=ki(R,R.ins_h,R.window[R.strstart+3-1]),Y=R.prev[R.strstart&R.w_mask]=R.head[R.ins_h],R.head[R.ins_h]=R.strstart)}while(0!=--R.prev_length);if(R.match_available=0,R.match_length=2,R.strstart++,tt&&(Wn(R,!1),0===R.strm.avail_out))return 1}else if(R.match_available){if(tt=Pe(R,0,R.window[R.strstart-1]),tt&&Wn(R,!1),R.strstart++,R.lookahead--,0===R.strm.avail_out)return 1}else R.match_available=1,R.strstart++,R.lookahead--}return R.match_available&&(tt=Pe(R,0,R.window[R.strstart-1]),R.match_available=0),R.insert=R.strstart<2?R.strstart:2,Ce===kt?(Wn(R,!0),0===R.strm.avail_out?3:4):R.sym_next&&(Wn(R,!1),0===R.strm.avail_out)?1:2};function nr(R,Ce,Y,tt,ht){this.good_length=R,this.max_lazy=Ce,this.nice_length=Y,this.max_chain=tt,this.func=ht}const ni=[new nr(0,0,0,0,pn),new nr(4,4,8,4,Nn),new nr(4,5,16,8,Nn),new nr(4,6,32,32,Nn),new nr(4,4,16,16,Fn),new nr(8,16,32,32,Fn),new nr(8,16,128,128,Fn),new nr(8,32,128,256,Fn),new nr(32,128,258,1024,Fn),new nr(32,258,258,4096,Fn)];function En(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Si,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Gi(this.dyn_ltree),Gi(this.dyn_dtree),Gi(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Gi(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Gi(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const ci=R=>{if(!R)return 1;const Ce=R.state;return!Ce||Ce.strm!==R||42!==Ce.status&&57!==Ce.status&&69!==Ce.status&&73!==Ce.status&&91!==Ce.status&&103!==Ce.status&&113!==Ce.status&&666!==Ce.status?1:0},ar=R=>{if(ci(R))return Wi(R,Fe);R.total_in=R.total_out=0,R.data_type=fi;const Ce=R.state;return Ce.pending=0,Ce.pending_out=0,Ce.wrap<0&&(Ce.wrap=-Ce.wrap),Ce.status=2===Ce.wrap?57:Ce.wrap?42:113,R.adler=2===Ce.wrap?0:1,Ce.last_flush=-2,He(Ce),xt},Ui=R=>{const Ce=ar(R);return Ce===xt&&(R=>{R.window_size=2*R.w_size,Gi(R.head),R.max_lazy_match=ni[R.level].max_lazy,R.good_match=ni[R.level].good_length,R.nice_match=ni[R.level].nice_length,R.max_chain_length=ni[R.level].max_chain,R.strstart=0,R.block_start=0,R.lookahead=0,R.insert=0,R.match_length=R.prev_length=2,R.match_available=0,R.ins_h=0})(R.state),Ce},hr=(R,Ce,Y,tt,ht,gt)=>{if(!R)return Fe;let zt=1;if(Ce===ft&&(Ce=6),tt<0?(zt=0,tt=-tt):tt>15&&(zt=2,tt-=16),ht<1||ht>9||Y!==Si||tt<8||tt>15||Ce<0||Ce>9||gt<0||gt>ln||8===tt&&1!==zt)return Wi(R,Fe);8===tt&&(tt=9);const Nt=new En;return R.state=Nt,Nt.strm=R,Nt.status=42,Nt.wrap=zt,Nt.gzhead=null,Nt.w_bits=tt,Nt.w_size=1<hr(R,Ce,Si,15,8,An),deflateInit2:hr,deflateReset:Ui,deflateResetKeep:ar,deflateSetHeader:(R,Ce)=>ci(R)||2!==R.state.wrap?Fe:(R.state.gzhead=Ce,xt),deflate:(R,Ce)=>{if(ci(R)||Ce>dt||Ce<0)return R?Wi(R,Fe):Fe;const Y=R.state;if(!R.output||0!==R.avail_in&&!R.input||666===Y.status&&Ce!==kt)return Wi(R,0===R.avail_out?Ye:Fe);const tt=Y.last_flush;if(Y.last_flush=Ce,0!==Y.pending){if(Yn(R),0===R.avail_out)return Y.last_flush=-1,xt}else if(0===R.avail_in&&Ai(Ce)<=Ai(tt)&&Ce!==kt)return Wi(R,Ye);if(666===Y.status&&0!==R.avail_in)return Wi(R,Ye);if(42===Y.status&&0===Y.wrap&&(Y.status=113),42===Y.status){let ht=Si+(Y.w_bits-8<<4)<<8,gt=-1;if(gt=Y.strategy>=qt||Y.level<2?0:Y.level<6?1:6===Y.level?2:3,ht|=gt<<6,0!==Y.strstart&&(ht|=32),ht+=31-ht%31,Dn(Y,ht),0!==Y.strstart&&(Dn(Y,R.adler>>>16),Dn(Y,65535&R.adler)),R.adler=1,Y.status=113,Yn(R),0!==Y.pending)return Y.last_flush=-1,xt}if(57===Y.status)if(R.adler=0,Zn(Y,31),Zn(Y,139),Zn(Y,8),Y.gzhead)Zn(Y,(Y.gzhead.text?1:0)+(Y.gzhead.hcrc?2:0)+(Y.gzhead.extra?4:0)+(Y.gzhead.name?8:0)+(Y.gzhead.comment?16:0)),Zn(Y,255&Y.gzhead.time),Zn(Y,Y.gzhead.time>>8&255),Zn(Y,Y.gzhead.time>>16&255),Zn(Y,Y.gzhead.time>>24&255),Zn(Y,9===Y.level?2:Y.strategy>=qt||Y.level<2?4:0),Zn(Y,255&Y.gzhead.os),Y.gzhead.extra&&Y.gzhead.extra.length&&(Zn(Y,255&Y.gzhead.extra.length),Zn(Y,Y.gzhead.extra.length>>8&255)),Y.gzhead.hcrc&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending,0)),Y.gzindex=0,Y.status=69;else if(Zn(Y,0),Zn(Y,0),Zn(Y,0),Zn(Y,0),Zn(Y,0),Zn(Y,9===Y.level?2:Y.strategy>=qt||Y.level<2?4:0),Zn(Y,3),Y.status=113,Yn(R),0!==Y.pending)return Y.last_flush=-1,xt;if(69===Y.status){if(Y.gzhead.extra){let ht=Y.pending,gt=(65535&Y.gzhead.extra.length)-Y.gzindex;for(;Y.pending+gt>Y.pending_buf_size;){let Nt=Y.pending_buf_size-Y.pending;if(Y.pending_buf.set(Y.gzhead.extra.subarray(Y.gzindex,Y.gzindex+Nt),Y.pending),Y.pending=Y.pending_buf_size,Y.gzhead.hcrc&&Y.pending>ht&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending-ht,ht)),Y.gzindex+=Nt,Yn(R),0!==Y.pending)return Y.last_flush=-1,xt;ht=0,gt-=Nt}let zt=new Uint8Array(Y.gzhead.extra);Y.pending_buf.set(zt.subarray(Y.gzindex,Y.gzindex+gt),Y.pending),Y.pending+=gt,Y.gzhead.hcrc&&Y.pending>ht&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending-ht,ht)),Y.gzindex=0}Y.status=73}if(73===Y.status){if(Y.gzhead.name){let gt,ht=Y.pending;do{if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>ht&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending-ht,ht)),Yn(R),0!==Y.pending)return Y.last_flush=-1,xt;ht=0}gt=Y.gzindexht&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending-ht,ht)),Y.gzindex=0}Y.status=91}if(91===Y.status){if(Y.gzhead.comment){let gt,ht=Y.pending;do{if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>ht&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending-ht,ht)),Yn(R),0!==Y.pending)return Y.last_flush=-1,xt;ht=0}gt=Y.gzindexht&&(R.adler=nt(R.adler,Y.pending_buf,Y.pending-ht,ht))}Y.status=103}if(103===Y.status){if(Y.gzhead.hcrc){if(Y.pending+2>Y.pending_buf_size&&(Yn(R),0!==Y.pending))return Y.last_flush=-1,xt;Zn(Y,255&R.adler),Zn(Y,R.adler>>8&255),R.adler=0}if(Y.status=113,Yn(R),0!==Y.pending)return Y.last_flush=-1,xt}if(0!==R.avail_in||0!==Y.lookahead||Ce!==Me&&666!==Y.status){let ht=0===Y.level?pn(Y,Ce):Y.strategy===qt?((R,Ce)=>{let Y;for(;;){if(0===R.lookahead&&(cn(R),0===R.lookahead)){if(Ce===Me)return 1;break}if(R.match_length=0,Y=Pe(R,0,R.window[R.strstart]),R.lookahead--,R.strstart++,Y&&(Wn(R,!1),0===R.strm.avail_out))return 1}return R.insert=0,Ce===kt?(Wn(R,!0),0===R.strm.avail_out?3:4):R.sym_next&&(Wn(R,!1),0===R.strm.avail_out)?1:2})(Y,Ce):Y.strategy===fn?((R,Ce)=>{let Y,tt,ht,gt;const zt=R.window;for(;;){if(R.lookahead<=258){if(cn(R),R.lookahead<=258&&Ce===Me)return 1;if(0===R.lookahead)break}if(R.match_length=0,R.lookahead>=3&&R.strstart>0&&(ht=R.strstart-1,tt=zt[ht],tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht])){gt=R.strstart+258;do{}while(tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht]&&tt===zt[++ht]&&htR.lookahead&&(R.match_length=R.lookahead)}if(R.match_length>=3?(Y=Pe(R,1,R.match_length-3),R.lookahead-=R.match_length,R.strstart+=R.match_length,R.match_length=0):(Y=Pe(R,0,R.window[R.strstart]),R.lookahead--,R.strstart++),Y&&(Wn(R,!1),0===R.strm.avail_out))return 1}return R.insert=0,Ce===kt?(Wn(R,!0),0===R.strm.avail_out?3:4):R.sym_next&&(Wn(R,!1),0===R.strm.avail_out)?1:2})(Y,Ce):ni[Y.level].func(Y,Ce);if((3===ht||4===ht)&&(Y.status=666),1===ht||3===ht)return 0===R.avail_out&&(Y.last_flush=-1),xt;if(2===ht&&(Ce===$e?bt(Y):Ce!==dt&&(st(Y,0,0,!1),Ce===Ge&&(Gi(Y.head),0===Y.lookahead&&(Y.strstart=0,Y.block_start=0,Y.insert=0))),Yn(R),0===R.avail_out))return Y.last_flush=-1,xt}return Ce!==kt?xt:Y.wrap<=0?qe:(2===Y.wrap?(Zn(Y,255&R.adler),Zn(Y,R.adler>>8&255),Zn(Y,R.adler>>16&255),Zn(Y,R.adler>>24&255),Zn(Y,255&R.total_in),Zn(Y,R.total_in>>8&255),Zn(Y,R.total_in>>16&255),Zn(Y,R.total_in>>24&255)):(Dn(Y,R.adler>>>16),Dn(Y,65535&R.adler)),Yn(R),Y.wrap>0&&(Y.wrap=-Y.wrap),0!==Y.pending?xt:qe)},deflateEnd:R=>{if(ci(R))return Fe;const Ce=R.state.status;return R.state=null,113===Ce?Wi(R,et):xt},deflateSetDictionary:(R,Ce)=>{let Y=Ce.length;if(ci(R))return Fe;const tt=R.state,ht=tt.wrap;if(2===ht||1===ht&&42!==tt.status||tt.lookahead)return Fe;if(1===ht&&(R.adler=xe(R.adler,Ce,Y,0)),tt.wrap=0,Y>=tt.w_size){0===ht&&(Gi(tt.head),tt.strstart=0,tt.block_start=0,tt.insert=0);let In=new Uint8Array(tt.w_size);In.set(Ce.subarray(Y-tt.w_size,Y),0),Ce=In,Y=tt.w_size}const gt=R.avail_in,zt=R.next_in,Nt=R.input;for(R.avail_in=Y,R.next_in=0,R.input=Ce,cn(tt);tt.lookahead>=3;){let In=tt.strstart,Lt=tt.lookahead-2;do{tt.ins_h=ki(tt,tt.ins_h,tt.window[In+3-1]),tt.prev[In&tt.w_mask]=tt.head[tt.ins_h],tt.head[tt.ins_h]=In,In++}while(--Lt);tt.strstart=In,tt.lookahead=2,cn(tt)}return tt.strstart+=tt.lookahead,tt.block_start=tt.strstart,tt.insert=tt.lookahead,tt.lookahead=0,tt.match_length=tt.prev_length=2,tt.match_available=0,R.next_in=zt,R.input=Nt,R.avail_in=gt,tt.wrap=ht,xt},deflateInfo:"pako deflate (from Nodeca project)"};const jt=(R,Ce)=>Object.prototype.hasOwnProperty.call(R,Ce);var hn={assign:function(R){const Ce=Array.prototype.slice.call(arguments,1);for(;Ce.length;){const Y=Ce.shift();if(Y){if("object"!=typeof Y)throw new TypeError(Y+"must be non-object");for(const tt in Y)jt(Y,tt)&&(R[tt]=Y[tt])}}return R},flattenChunks:R=>{let Ce=0;for(let tt=0,ht=R.length;tt=252?6:R>=248?5:R>=240?4:R>=224?3:R>=192?2:1;On[254]=On[254]=1;var kn={string2buf:R=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(R);let Ce,Y,tt,ht,gt,zt=R.length,Nt=0;for(ht=0;ht>>6,Ce[gt++]=128|63&Y):Y<65536?(Ce[gt++]=224|Y>>>12,Ce[gt++]=128|Y>>>6&63,Ce[gt++]=128|63&Y):(Ce[gt++]=240|Y>>>18,Ce[gt++]=128|Y>>>12&63,Ce[gt++]=128|Y>>>6&63,Ce[gt++]=128|63&Y);return Ce},buf2string:(R,Ce)=>{const Y=Ce||R.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(R.subarray(0,Ce));let tt,ht;const gt=new Array(2*Y);for(ht=0,tt=0;tt4)gt[ht++]=65533,tt+=Nt-1;else{for(zt&=2===Nt?31:3===Nt?15:7;Nt>1&&tt1?gt[ht++]=65533:zt<65536?gt[ht++]=zt:(zt-=65536,gt[ht++]=55296|zt>>10&1023,gt[ht++]=56320|1023&zt)}}return((R,Ce)=>{if(Ce<65534&&R.subarray&&Sn)return String.fromCharCode.apply(null,R.length===Ce?R:R.subarray(0,Ce));let Y="";for(let tt=0;tt{(Ce=Ce||R.length)>R.length&&(Ce=R.length);let Y=Ce-1;for(;Y>=0&&128==(192&R[Y]);)Y--;return Y<0||0===Y?Ce:Y+On[R[Y]]>Ce?Y:Ce}},ir=function Ln(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const $i=Object.prototype.toString,{Z_NO_FLUSH:Or,Z_SYNC_FLUSH:fr,Z_FULL_FLUSH:Ts,Z_FINISH:Br,Z_OK:Cr,Z_STREAM_END:_s,Z_DEFAULT_COMPRESSION:Ss,Z_DEFAULT_STRATEGY:Qr,Z_DEFLATED:Rr}=Le;function os(R){this.options=hn.assign({level:Ss,method:Rr,chunkSize:16384,windowBits:15,memLevel:8,strategy:Qr},R||{});let Ce=this.options;Ce.raw&&Ce.windowBits>0?Ce.windowBits=-Ce.windowBits:Ce.gzip&&Ce.windowBits>0&&Ce.windowBits<16&&(Ce.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ir,this.strm.avail_out=0;let Y=Ft.deflateInit2(this.strm,Ce.level,Ce.method,Ce.windowBits,Ce.memLevel,Ce.strategy);if(Y!==Cr)throw new Error(vt[Y]);if(Ce.header&&Ft.deflateSetHeader(this.strm,Ce.header),Ce.dictionary){let tt;if(tt="string"==typeof Ce.dictionary?kn.string2buf(Ce.dictionary):"[object ArrayBuffer]"===$i.call(Ce.dictionary)?new Uint8Array(Ce.dictionary):Ce.dictionary,Y=Ft.deflateSetDictionary(this.strm,tt),Y!==Cr)throw new Error(vt[Y]);this._dict_set=!0}}function As(R,Ce){const Y=new os(Ce);if(Y.push(R,!0),Y.err)throw Y.msg||vt[Y.err];return Y.result}os.prototype.push=function(R,Ce){const Y=this.strm,tt=this.options.chunkSize;let ht,gt;if(this.ended)return!1;for(gt=Ce===~~Ce?Ce:!0===Ce?Br:Or,Y.input="string"==typeof R?kn.string2buf(R):"[object ArrayBuffer]"===$i.call(R)?new Uint8Array(R):R,Y.next_in=0,Y.avail_in=Y.input.length;;)if(0===Y.avail_out&&(Y.output=new Uint8Array(tt),Y.next_out=0,Y.avail_out=tt),(gt===fr||gt===Ts)&&Y.avail_out<=6)this.onData(Y.output.subarray(0,Y.next_out)),Y.avail_out=0;else{if(ht=Ft.deflate(Y,gt),ht===_s)return Y.next_out>0&&this.onData(Y.output.subarray(0,Y.next_out)),ht=Ft.deflateEnd(this.strm),this.onEnd(ht),this.ended=!0,ht===Cr;if(0!==Y.avail_out){if(gt>0&&Y.next_out>0)this.onData(Y.output.subarray(0,Y.next_out)),Y.avail_out=0;else if(0===Y.avail_in)break}else this.onData(Y.output)}return!0},os.prototype.onData=function(R){this.chunks.push(R)},os.prototype.onEnd=function(R){R===Cr&&(this.result=hn.flattenChunks(this.chunks)),this.chunks=[],this.err=R,this.msg=this.strm.msg};var Tt={Deflate:os,deflate:As,deflateRaw:function mo(R,Ce){return(Ce=Ce||{}).raw=!0,As(R,Ce)},gzip:function po(R,Ce){return(Ce=Ce||{}).gzip=!0,As(R,Ce)},constants:Le};const wn=16209;var Dr=function(Ce,Y){let tt,ht,gt,zt,Nt,In,Lt,Kt,Pi,xn,dn,zn,Qi,_n,ii,Ni,li,Cn,Ii,yr,$n,Xi,Di,ai;const Ei=Ce.state;tt=Ce.next_in,Di=Ce.input,ht=tt+(Ce.avail_in-5),gt=Ce.next_out,ai=Ce.output,zt=gt-(Y-Ce.avail_out),Nt=gt+(Ce.avail_out-257),In=Ei.dmax,Lt=Ei.wsize,Kt=Ei.whave,Pi=Ei.wnext,xn=Ei.window,dn=Ei.hold,zn=Ei.bits,Qi=Ei.lencode,_n=Ei.distcode,ii=(1<>>24,dn>>>=Cn,zn-=Cn,Cn=li>>>16&255,0===Cn)ai[gt++]=65535&li;else{if(!(16&Cn)){if(64&Cn){if(32&Cn){Ei.mode=16191;break e}Ce.msg="invalid literal/length code",Ei.mode=wn;break e}li=Qi[(65535&li)+(dn&(1<>>=Cn,zn-=Cn),zn<15&&(dn+=Di[tt++]<>>24,dn>>>=Cn,zn-=Cn,Cn=li>>>16&255,16&Cn){if(yr=65535&li,Cn&=15,znIn){Ce.msg="invalid distance too far back",Ei.mode=wn;break e}if(dn>>>=Cn,zn-=Cn,Cn=gt-zt,yr>Cn){if(Cn=yr-Cn,Cn>Kt&&Ei.sane){Ce.msg="invalid distance too far back",Ei.mode=wn;break e}if($n=0,Xi=xn,0===Pi){if($n+=Lt-Cn,Cn2;)ai[gt++]=Xi[$n++],ai[gt++]=Xi[$n++],ai[gt++]=Xi[$n++],Ii-=3;Ii&&(ai[gt++]=Xi[$n++],Ii>1&&(ai[gt++]=Xi[$n++]))}else{$n=gt-yr;do{ai[gt++]=ai[$n++],ai[gt++]=ai[$n++],ai[gt++]=ai[$n++],Ii-=3}while(Ii>2);Ii&&(ai[gt++]=ai[$n++],Ii>1&&(ai[gt++]=ai[$n++]))}break}if(64&Cn){Ce.msg="invalid distance code",Ei.mode=wn;break e}li=_n[(65535&li)+(dn&(1<>3,tt-=Ii,zn-=Ii<<3,dn&=(1<{const In=Nt.bits;let li,Cn,Ii,yr,$n,Di,Lt=0,Kt=0,Pi=0,xn=0,dn=0,zn=0,Qi=0,_n=0,ii=0,Ni=0,Xi=null;const ai=new Uint16Array(16),Ei=new Uint16Array(16);let Xn,xi,pl,fs=null;for(Lt=0;Lt<=15;Lt++)ai[Lt]=0;for(Kt=0;Kt=1&&0===ai[xn];xn--);if(dn>xn&&(dn=xn),0===xn)return ht[gt++]=20971520,ht[gt++]=20971520,Nt.bits=1,0;for(Pi=1;Pi0&&(0===R||1!==xn))return-1;for(Ei[1]=0,Lt=1;Lt<15;Lt++)Ei[Lt+1]=Ei[Lt]+ai[Lt];for(Kt=0;Kt852||2===R&&ii>592)return 1;for(;;){Xn=Lt-Qi,zt[Kt]+1=Di?(xi=fs[zt[Kt]-Di],pl=Xi[zt[Kt]-Di]):(xi=96,pl=0),li=1<>Qi)+Cn]=Xn<<24|xi<<16|pl|0}while(0!==Cn);for(li=1<>=1;if(0!==li?(Ni&=li-1,Ni+=li):Ni=0,Kt++,0==--ai[Lt]){if(Lt===xn)break;Lt=Ce[Y+zt[Kt]]}if(Lt>dn&&(Ni&yr)!==Ii){for(0===Qi&&(Qi=dn),$n+=Pi,zn=Lt-Qi,_n=1<852||2===R&&ii>592)return 1;Ii=Ni&yr,ht[Ii]=dn<<24|zn<<16|$n-gt|0}}return 0!==Ni&&(ht[$n+Ni]=Lt-Qi<<24|64<<16|0),Nt.bits=dn,0};const{Z_FINISH:ls,Z_BLOCK:Jr,Z_TREES:cr,Z_OK:jr,Z_STREAM_END:qs,Z_NEED_DICT:eo,Z_STREAM_ERROR:Vi,Z_DATA_ERROR:to,Z_MEM_ERROR:bs,Z_BUF_ERROR:no,Z_DEFLATED:ys}=Le,cs=16180,io=16190,zr=16191,Hn=16199,Lr=16200,Yi=16209,oe=R=>(R>>>24&255)+(R>>>8&65280)+((65280&R)<<8)+((255&R)<<24);function ye(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ut=R=>{if(!R)return 1;const Ce=R.state;return!Ce||Ce.strm!==R||Ce.mode16211?1:0},$t=R=>{if(ut(R))return Vi;const Ce=R.state;return R.total_in=R.total_out=Ce.total=0,R.msg="",Ce.wrap&&(R.adler=1&Ce.wrap),Ce.mode=cs,Ce.last=0,Ce.havedict=0,Ce.flags=-1,Ce.dmax=32768,Ce.head=null,Ce.hold=0,Ce.bits=0,Ce.lencode=Ce.lendyn=new Int32Array(852),Ce.distcode=Ce.distdyn=new Int32Array(592),Ce.sane=1,Ce.back=-1,jr},Qt=R=>{if(ut(R))return Vi;const Ce=R.state;return Ce.wsize=0,Ce.whave=0,Ce.wnext=0,$t(R)},bn=(R,Ce)=>{let Y;if(ut(R))return Vi;const tt=R.state;return Ce<0?(Y=0,Ce=-Ce):(Y=5+(Ce>>4),Ce<48&&(Ce&=15)),Ce&&(Ce<8||Ce>15)?Vi:(null!==tt.window&&tt.wbits!==Ce&&(tt.window=null),tt.wrap=Y,tt.wbits=Ce,Qt(R))},Ri=(R,Ce)=>{if(!R)return Vi;const Y=new ye;R.state=Y,Y.strm=R,Y.window=null,Y.mode=cs;const tt=bn(R,Ce);return tt!==jr&&(R.state=null),tt};let qn,Ci,Li=!0;const wi=R=>{if(Li){qn=new Int32Array(512),Ci=new Int32Array(32);let Ce=0;for(;Ce<144;)R.lens[Ce++]=8;for(;Ce<256;)R.lens[Ce++]=9;for(;Ce<280;)R.lens[Ce++]=7;for(;Ce<288;)R.lens[Ce++]=8;for(Xr(1,R.lens,0,288,qn,0,R.work,{bits:9}),Ce=0;Ce<32;)R.lens[Ce++]=5;Xr(2,R.lens,0,32,Ci,0,R.work,{bits:5}),Li=!1}R.lencode=qn,R.lenbits=9,R.distcode=Ci,R.distbits=5},er=(R,Ce,Y,tt)=>{let ht;const gt=R.state;return null===gt.window&&(gt.wsize=1<=gt.wsize?(gt.window.set(Ce.subarray(Y-gt.wsize,Y),0),gt.wnext=0,gt.whave=gt.wsize):(ht=gt.wsize-gt.wnext,ht>tt&&(ht=tt),gt.window.set(Ce.subarray(Y-tt,Y-tt+ht),gt.wnext),(tt-=ht)?(gt.window.set(Ce.subarray(Y-tt,Y),0),gt.wnext=tt,gt.whave=gt.wsize):(gt.wnext+=ht,gt.wnext===gt.wsize&&(gt.wnext=0),gt.whaveRi(R,15),inflateInit2:Ri,inflate:(R,Ce)=>{let Y,tt,ht,gt,zt,Nt,In,Lt,Kt,Pi,xn,dn,zn,Qi,ii,Ni,li,Cn,Ii,yr,$n,Xi,_n=0;const Di=new Uint8Array(4);let ai,Ei;const fs=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ut(R)||!R.output||!R.input&&0!==R.avail_in)return Vi;Y=R.state,Y.mode===zr&&(Y.mode=16192),zt=R.next_out,ht=R.output,In=R.avail_out,gt=R.next_in,tt=R.input,Nt=R.avail_in,Lt=Y.hold,Kt=Y.bits,Pi=Nt,xn=In,Xi=jr;e:for(;;)switch(Y.mode){case cs:if(0===Y.wrap){Y.mode=16192;break}for(;Kt<16;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>8&255,Y.check=nt(Y.check,Di,2,0),Lt=0,Kt=0,Y.mode=16181;break}if(Y.head&&(Y.head.done=!1),!(1&Y.wrap)||(((255&Lt)<<8)+(Lt>>8))%31){R.msg="incorrect header check",Y.mode=Yi;break}if((15&Lt)!==ys){R.msg="unknown compression method",Y.mode=Yi;break}if(Lt>>>=4,Kt-=4,$n=8+(15&Lt),0===Y.wbits&&(Y.wbits=$n),$n>15||$n>Y.wbits){R.msg="invalid window size",Y.mode=Yi;break}Y.dmax=1<>8&1),512&Y.flags&&4&Y.wrap&&(Di[0]=255&Lt,Di[1]=Lt>>>8&255,Y.check=nt(Y.check,Di,2,0)),Lt=0,Kt=0,Y.mode=16182;case 16182:for(;Kt<32;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>8&255,Di[2]=Lt>>>16&255,Di[3]=Lt>>>24&255,Y.check=nt(Y.check,Di,4,0)),Lt=0,Kt=0,Y.mode=16183;case 16183:for(;Kt<16;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>8),512&Y.flags&&4&Y.wrap&&(Di[0]=255&Lt,Di[1]=Lt>>>8&255,Y.check=nt(Y.check,Di,2,0)),Lt=0,Kt=0,Y.mode=16184;case 16184:if(1024&Y.flags){for(;Kt<16;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>8&255,Y.check=nt(Y.check,Di,2,0)),Lt=0,Kt=0}else Y.head&&(Y.head.extra=null);Y.mode=16185;case 16185:if(1024&Y.flags&&(dn=Y.length,dn>Nt&&(dn=Nt),dn&&(Y.head&&($n=Y.head.extra_len-Y.length,Y.head.extra||(Y.head.extra=new Uint8Array(Y.head.extra_len)),Y.head.extra.set(tt.subarray(gt,gt+dn),$n)),512&Y.flags&&4&Y.wrap&&(Y.check=nt(Y.check,tt,dn,gt)),Nt-=dn,gt+=dn,Y.length-=dn),Y.length))break e;Y.length=0,Y.mode=16186;case 16186:if(2048&Y.flags){if(0===Nt)break e;dn=0;do{$n=tt[gt+dn++],Y.head&&$n&&Y.length<65536&&(Y.head.name+=String.fromCharCode($n))}while($n&&dn>9&1,Y.head.done=!0),R.adler=Y.check=0,Y.mode=zr;break;case 16189:for(;Kt<32;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>=7&Kt,Kt-=7&Kt,Y.mode=16206;break}for(;Kt<3;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>=1,Kt-=1,3&Lt){case 0:Y.mode=16193;break;case 1:if(wi(Y),Y.mode=Hn,Ce===cr){Lt>>>=2,Kt-=2;break e}break;case 2:Y.mode=16196;break;case 3:R.msg="invalid block type",Y.mode=Yi}Lt>>>=2,Kt-=2;break;case 16193:for(Lt>>>=7&Kt,Kt-=7&Kt;Kt<32;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>16^65535)){R.msg="invalid stored block lengths",Y.mode=Yi;break}if(Y.length=65535&Lt,Lt=0,Kt=0,Y.mode=16194,Ce===cr)break e;case 16194:Y.mode=16195;case 16195:if(dn=Y.length,dn){if(dn>Nt&&(dn=Nt),dn>In&&(dn=In),0===dn)break e;ht.set(tt.subarray(gt,gt+dn),zt),Nt-=dn,gt+=dn,In-=dn,zt+=dn,Y.length-=dn;break}Y.mode=zr;break;case 16196:for(;Kt<14;){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>=5,Kt-=5,Y.ndist=1+(31&Lt),Lt>>>=5,Kt-=5,Y.ncode=4+(15&Lt),Lt>>>=4,Kt-=4,Y.nlen>286||Y.ndist>30){R.msg="too many length or distance symbols",Y.mode=Yi;break}Y.have=0,Y.mode=16197;case 16197:for(;Y.have>>=3,Kt-=3}for(;Y.have<19;)Y.lens[fs[Y.have++]]=0;if(Y.lencode=Y.lendyn,Y.lenbits=7,ai={bits:Y.lenbits},Xi=Xr(0,Y.lens,0,19,Y.lencode,0,Y.work,ai),Y.lenbits=ai.bits,Xi){R.msg="invalid code lengths set",Y.mode=Yi;break}Y.have=0,Y.mode=16198;case 16198:for(;Y.have>>24,Ni=_n>>>16&255,li=65535&_n,!(ii<=Kt);){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>=ii,Kt-=ii,Y.lens[Y.have++]=li;else{if(16===li){for(Ei=ii+2;Kt>>=ii,Kt-=ii,0===Y.have){R.msg="invalid bit length repeat",Y.mode=Yi;break}$n=Y.lens[Y.have-1],dn=3+(3&Lt),Lt>>>=2,Kt-=2}else if(17===li){for(Ei=ii+3;Kt>>=ii,Kt-=ii,$n=0,dn=3+(7&Lt),Lt>>>=3,Kt-=3}else{for(Ei=ii+7;Kt>>=ii,Kt-=ii,$n=0,dn=11+(127&Lt),Lt>>>=7,Kt-=7}if(Y.have+dn>Y.nlen+Y.ndist){R.msg="invalid bit length repeat",Y.mode=Yi;break}for(;dn--;)Y.lens[Y.have++]=$n}}if(Y.mode===Yi)break;if(0===Y.lens[256]){R.msg="invalid code -- missing end-of-block",Y.mode=Yi;break}if(Y.lenbits=9,ai={bits:Y.lenbits},Xi=Xr(1,Y.lens,0,Y.nlen,Y.lencode,0,Y.work,ai),Y.lenbits=ai.bits,Xi){R.msg="invalid literal/lengths set",Y.mode=Yi;break}if(Y.distbits=6,Y.distcode=Y.distdyn,ai={bits:Y.distbits},Xi=Xr(2,Y.lens,Y.nlen,Y.ndist,Y.distcode,0,Y.work,ai),Y.distbits=ai.bits,Xi){R.msg="invalid distances set",Y.mode=Yi;break}if(Y.mode=Hn,Ce===cr)break e;case Hn:Y.mode=Lr;case Lr:if(Nt>=6&&In>=258){R.next_out=zt,R.avail_out=In,R.next_in=gt,R.avail_in=Nt,Y.hold=Lt,Y.bits=Kt,Dr(R,xn),zt=R.next_out,ht=R.output,In=R.avail_out,gt=R.next_in,tt=R.input,Nt=R.avail_in,Lt=Y.hold,Kt=Y.bits,Y.mode===zr&&(Y.back=-1);break}for(Y.back=0;_n=Y.lencode[Lt&(1<>>24,Ni=_n>>>16&255,li=65535&_n,!(ii<=Kt);){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>Cn)],ii=_n>>>24,Ni=_n>>>16&255,li=65535&_n,!(Cn+ii<=Kt);){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>=Cn,Kt-=Cn,Y.back+=Cn}if(Lt>>>=ii,Kt-=ii,Y.back+=ii,Y.length=li,0===Ni){Y.mode=16205;break}if(32&Ni){Y.back=-1,Y.mode=zr;break}if(64&Ni){R.msg="invalid literal/length code",Y.mode=Yi;break}Y.extra=15&Ni,Y.mode=16201;case 16201:if(Y.extra){for(Ei=Y.extra;Kt>>=Y.extra,Kt-=Y.extra,Y.back+=Y.extra}Y.was=Y.length,Y.mode=16202;case 16202:for(;_n=Y.distcode[Lt&(1<>>24,Ni=_n>>>16&255,li=65535&_n,!(ii<=Kt);){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>Cn)],ii=_n>>>24,Ni=_n>>>16&255,li=65535&_n,!(Cn+ii<=Kt);){if(0===Nt)break e;Nt--,Lt+=tt[gt++]<>>=Cn,Kt-=Cn,Y.back+=Cn}if(Lt>>>=ii,Kt-=ii,Y.back+=ii,64&Ni){R.msg="invalid distance code",Y.mode=Yi;break}Y.offset=li,Y.extra=15&Ni,Y.mode=16203;case 16203:if(Y.extra){for(Ei=Y.extra;Kt>>=Y.extra,Kt-=Y.extra,Y.back+=Y.extra}if(Y.offset>Y.dmax){R.msg="invalid distance too far back",Y.mode=Yi;break}Y.mode=16204;case 16204:if(0===In)break e;if(dn=xn-In,Y.offset>dn){if(dn=Y.offset-dn,dn>Y.whave&&Y.sane){R.msg="invalid distance too far back",Y.mode=Yi;break}dn>Y.wnext?(dn-=Y.wnext,zn=Y.wsize-dn):zn=Y.wnext-dn,dn>Y.length&&(dn=Y.length),Qi=Y.window}else Qi=ht,zn=zt-Y.offset,dn=Y.length;dn>In&&(dn=In),In-=dn,Y.length-=dn;do{ht[zt++]=Qi[zn++]}while(--dn);0===Y.length&&(Y.mode=Lr);break;case 16205:if(0===In)break e;ht[zt++]=Y.length,In--,Y.mode=Lr;break;case 16206:if(Y.wrap){for(;Kt<32;){if(0===Nt)break e;Nt--,Lt|=tt[gt++]<{if(ut(R))return Vi;let Ce=R.state;return Ce.window&&(Ce.window=null),R.state=null,jr},inflateGetHeader:(R,Ce)=>{if(ut(R))return Vi;const Y=R.state;return 2&Y.wrap?(Y.head=Ce,Ce.done=!1,jr):Vi},inflateSetDictionary:(R,Ce)=>{const Y=Ce.length;let tt,ht,gt;return ut(R)||(tt=R.state,0!==tt.wrap&&tt.mode!==io)?Vi:tt.mode===io&&(ht=1,ht=xe(ht,Ce,Y,0),ht!==tt.check)?to:(gt=er(R,Ce,Y,Y),gt?(tt.mode=16210,bs):(tt.havedict=1,jr))},inflateInfo:"pako inflate (from Nodeca project)"},Es=function Vo(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const xs=Object.prototype.toString,{Z_NO_FLUSH:ha,Z_FINISH:fa,Z_OK:ur,Z_STREAM_END:hs,Z_NEED_DICT:xo,Z_STREAM_ERROR:Mo,Z_DATA_ERROR:Vs,Z_MEM_ERROR:Io}=Le;function jo(R){this.options=hn.assign({chunkSize:65536,windowBits:15,to:""},R||{});const Ce=this.options;Ce.raw&&Ce.windowBits>=0&&Ce.windowBits<16&&(Ce.windowBits=-Ce.windowBits,0===Ce.windowBits&&(Ce.windowBits=-15)),Ce.windowBits>=0&&Ce.windowBits<16&&!(R&&R.windowBits)&&(Ce.windowBits+=32),Ce.windowBits>15&&Ce.windowBits<48&&(15&Ce.windowBits||(Ce.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ir,this.strm.avail_out=0;let Y=pr.inflateInit2(this.strm,Ce.windowBits);if(Y!==ur)throw new Error(vt[Y]);if(this.header=new Es,pr.inflateGetHeader(this.strm,this.header),Ce.dictionary&&("string"==typeof Ce.dictionary?Ce.dictionary=kn.string2buf(Ce.dictionary):"[object ArrayBuffer]"===xs.call(Ce.dictionary)&&(Ce.dictionary=new Uint8Array(Ce.dictionary)),Ce.raw&&(Y=pr.inflateSetDictionary(this.strm,Ce.dictionary),Y!==ur)))throw new Error(vt[Y])}function oo(R,Ce){const Y=new jo(Ce);if(Y.push(R),Y.err)throw Y.msg||vt[Y.err];return Y.result}jo.prototype.push=function(R,Ce){const Y=this.strm,tt=this.options.chunkSize,ht=this.options.dictionary;let gt,zt,Nt;if(this.ended)return!1;for(zt=Ce===~~Ce?Ce:!0===Ce?fa:ha,Y.input="[object ArrayBuffer]"===xs.call(R)?new Uint8Array(R):R,Y.next_in=0,Y.avail_in=Y.input.length;;){for(0===Y.avail_out&&(Y.output=new Uint8Array(tt),Y.next_out=0,Y.avail_out=tt),gt=pr.inflate(Y,zt),gt===xo&&ht&&(gt=pr.inflateSetDictionary(Y,ht),gt===ur?gt=pr.inflate(Y,zt):gt===Vs&&(gt=xo));Y.avail_in>0&>===hs&&Y.state.wrap>0&&0!==R[Y.next_in];)pr.inflateReset(Y),gt=pr.inflate(Y,zt);switch(gt){case Mo:case Vs:case xo:case Io:return this.onEnd(gt),this.ended=!0,!1}if(Nt=Y.avail_out,Y.next_out&&(0===Y.avail_out||gt===hs))if("string"===this.options.to){let In=kn.utf8border(Y.output,Y.next_out),Lt=Y.next_out-In,Kt=kn.buf2string(Y.output,In);Y.next_out=Lt,Y.avail_out=tt-Lt,Lt&&Y.output.set(Y.output.subarray(In,In+Lt),0),this.onData(Kt)}else this.onData(Y.output.length===Y.next_out?Y.output:Y.output.subarray(0,Y.next_out));if(gt!==ur||0!==Nt){if(gt===hs)return gt=pr.inflateEnd(this.strm),this.onEnd(gt),this.ended=!0,!0;if(0===Y.avail_in)break}}return!0},jo.prototype.onData=function(R){this.chunks.push(R)},jo.prototype.onEnd=function(R){R===ur&&(this.result="string"===this.options.to?this.chunks.join(""):hn.flattenChunks(this.chunks)),this.chunks=[],this.err=R,this.msg=this.strm.msg};var fl={Inflate:jo,inflate:oo,inflateRaw:function hl(R,Ce){return(Ce=Ce||{}).raw=!0,oo(R,Ce)},ungzip:oo,constants:Le};const{Deflate:Hs,deflate:ao,deflateRaw:ml,gzip:pa}=Tt,{Inflate:ga,inflate:Do,inflateRaw:To,ungzip:zo}=fl;var W=Hs,ie=ao,Z=ml,re=pa,Ee=ga,Qe=Do,Et=To,Ht=zo,Vt=Le,yn={Deflate:Hs,deflate:ao,deflateRaw:ml,gzip:pa,Inflate:ga,inflate:Do,inflateRaw:To,ungzip:zo,constants:Le}},1528:(De,te,g)=>{"use strict";function t(C,E,c,b,s,f,d){try{var l=C[f](d),a=l.value}catch(r){return void c(r)}l.done?E(a):Promise.resolve(a).then(b,s)}function v(C){return function(){var E=this,c=arguments;return new Promise(function(b,s){var f=C.apply(E,c);function d(a){t(f,b,s,d,l,"next",a)}function l(a){t(f,b,s,d,l,"throw",a)}d(void 0)})}}g.d(te,{c:()=>v})},8776:De=>{"use strict";De.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",1e-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 6.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, and 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.00000000000001,[-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.00009999999999999999,[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.000016387064000000006,[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.0023597372160000006,[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.0037854117840000014,[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.15898729492800007,[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.0009463529460000004,[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.0004731764730000002,[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.00011829411825000005,[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.00002957352956250001,[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.0000036966911953125014,[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.161151992187503e-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.035239070166880014,[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.004404883770860002,[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.008809767541720004,[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.0011012209427150004,[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.0005506104713575002,[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.000014786764781250006,[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.000004928921593750002,[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.0002365882365000001,[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.019999999999999997,[-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.000019999999999999998,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 firewood","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",1.0000000000000001e-28,[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",98066500,[-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)","1/(12.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]","1/[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]","1/[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]","1/[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]","1/[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","1/(10*10)","",1e-10,[0,0,0,0,0,0,0],"/1010",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","1/(10*12)","",1e-12,[0,0,0,0,0,0,0],"/1012",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","1/(10*3)","",0.001,[0,0,0,0,0,0,0],"/103",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","1/(10*6)","",0.000001,[0,0,0,0,0,0,0],"/106",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","1/(10*9)","",1e-9,[0,0,0,0,0,0,0],"/109",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","1/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}","1/100","",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}","1/100","",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}","1/100","",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}","1/100","",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","1/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]","1/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm\xa0HO2",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","1/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","1/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","1/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","1/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","1/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","1/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","1/M2","",1,[-2,0,0,0,0,0,0],"/m2",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","1/M3","",1,[-3,0,0,0,0,0,0],"/m3",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","1/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","1/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","1/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","1/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","1/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","1/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","1/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","1/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","1/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]/(2.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]/(24.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}","{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}","{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}","{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}","{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)/(24.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)","(10.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","(10.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)","((10.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","24.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],[false,"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],[false,"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],[false,"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],[false,"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.0000000000000002,[-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.000001,[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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"gram per 100 gram","g/(100.g)","G/(100.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],[false,"gram per 12 hour","g/(12.h)","G/(12.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],[false,"gram per 24 hour","g/(24.h)","G/(24.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],[false,"gram per 3 days","g/(3.d)","G/(3.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],[false,"gram per 4 hour","g/(4.h)","G/(4.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],[false,"gram per 48 hour","g/(48.h)","G/(48.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],[false,"gram per 5 hour","g/(5.h)","G/(5.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],[false,"gram per 6 hour","g/(6.h)","G/(6.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],[false,"gram per 72 hour","g/(72.h)","G/(72.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(24.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)/(24.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(24.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/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(2.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/(24.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/(8.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],[false,"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],[false,"milligram per 10 hour","mg/(10.h)","MG/(10.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],[false,"milligram per 12 hour","mg/(12.h)","MG/(12.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],[false,"milligram per 2 hour","mg/(2.h)","MG/(2.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],[false,"milligram per 24 hour","mg/(24.h)","MG/(24.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],[false,"milligram per 6 hour","mg/(6.h)","MG/(6.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],[false,"milligram per 72 hour","mg/(72.h)","MG/(72.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],[false,"milligram per 8 hour","mg/(8.h)","MG/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(10.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/(12.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/(2.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/(24.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/(4.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/(5.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/(6.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/(72.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/(8.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/(8.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)/(8.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],[false,"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],[false,"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],[false,"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],[false,"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/(12.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/(2.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/(24.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/(5.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/(6.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/(8.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)/(8.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],[false,"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],[false,"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],[false,"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],[false,"nanogram per 24 hour","ng/(24.h)","NG/(24.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],[false,"nanogram per 8 hour","ng/(8.h)","NG/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(24.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(24.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],[false,"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/(12.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/(2.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/(24.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/10","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],[false,"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],[false,"microgram per 100 gram","ug/(100.g)","UG/(100.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],[false,"microgram per 24 hour","ug/(24.h)","UG/(24.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],[false,"microgram per 8 hour","ug/(8.h)","UG/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/(8.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/(24.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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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],[false,"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/(2.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],[false,"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],[false,"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/(2.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/(24.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/(8.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],[false,"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]]}}')},8526:De=>{"use strict";De.exports=JSON.parse('{"name":"fhirpath","version":"3.10.1","description":"A FHIRPath engine","main":"src/fhirpath.js","dependencies":{"@lhncbc/ucum-lhc":"^5.0.0","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":"node --use_strict node_modules/.bin/jest && TZ=America/New_York node --use_strict node_modules/.bin/jest && TZ=Europe/Paris node --use_strict node_modules/.bin/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":"SEE LICENSE in LICENSE.md"}')},6604:De=>{"use strict";De.exports=JSON.parse('{"name":"matchbox","version":"3.7.0","license":"MIT","scripts":{"ng":"ng","start":"ng serve","build":"ng build --configuration production","build-matchbox":"ng build --configuration production --output-path ../matchbox-server/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-devkit/build-angular":"^17.2.0","@angular/animations":"^17.2.1","@angular/cdk":"^17.2.0","@angular/common":"^17.2.1","@angular/core":"^17.2.1","@angular/forms":"^17.2.1","@angular/material":"^17.2.0","@angular/platform-browser":"^17.2.1","@angular/platform-browser-dynamic":"^17.2.1","@angular/router":"^17.2.1","@ngx-translate/core":"^15.0.0","@ngx-translate/http-loader":"^8.0.0","ace-builds":"^1.32.6","angular-oauth2-oidc":"^17.0.1","browserify-zlib":"^0.2.0","debug":"^4.3.1","fhir-kit-client":"1.9.2","fhirpath":"^3.10.1","highlightjs-line-numbers.js":"^2.8.0","js-untar":"^2.0.0","ngx-highlightjs":"^10.0.0","ngx-mat-select-search":"^7.0.5","pako":"^2.1.0","rxjs":"^7.8.1","tslib":"^2.6.1","zone.js":"^0.14.4"},"devDependencies":{"@angular-eslint/builder":"^17.2.1","@angular-eslint/eslint-plugin":"^17.2.1","@angular-eslint/eslint-plugin-template":"^17.2.1","@angular-eslint/schematics":"^17.2.1","@angular-eslint/template-parser":"^17.2.1","@angular/cli":"^17.2.0","@angular/compiler":"^17.2.1","@angular/compiler-cli":"^17.2.1","@angular/language-service":"^17.2.1","@types/debug":"^4.1.12","@types/jasmine":"^5.1.4","@types/node":"^20.11.19","@types/pako":"^2.0.3","@typescript-eslint/eslint-plugin":"^7.0.2","@typescript-eslint/parser":"^7.0.2","eslint":"^8.56.0","husky":"^9.0.11","jasmine":"^5.1.0","jasmine-core":"^5.1.2","jasmine-spec-reporter":"^7.0.0","json-patch":"^0.7.0","karma":"^6.3.1","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.2.5","pretty-quick":"^4.0.0","ts-node":"^10.9.2","tslint":"~6.1.0","typescript":"^5.3.3"},"browser":{"fs":false,"os":false,"path":false,"zlib":false},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}}}')}},De=>{De(De.s=7460)}]); \ No newline at end of file diff --git a/pom.xml b/pom.xml index 7d58d6f65a1..3d0c4d9447d 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ health.matchbox matchbox - 3.6.1 + 3.7.0 pom matchbox An open-source implementation to support testing and implementation of FHIR based solutions and map or