diff --git a/docs/changelog.md b/docs/changelog.md index b60128e4513..daafb93ba4b 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,6 @@ -2024/03/xx Release 3.8.0 +2024/03/19 Release 3.8.0 +- `docker pull europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v3.8.0` - update to fhir.core.version 6.3.2 [#210](https://github.com/ahdis/matchbox/issues/210) - support for target CDA observation.value as xsi:type CS [#205](https://github.com/ahdis/matchbox/issues/205) - update to latest cda logical model 2.0.0-sd-snapshot1 (Note: breaking changes for existing CDA to FHIR maps, see details in issue) [#196](https://github.com/ahdis/matchbox/issues/196) diff --git a/docs/docker.md b/docs/docker.md index 96c207e4025..f536a287f3d 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.7.0 +docker pull europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v3.8.0 ``` ## Configurable base image: diff --git a/docs/matchbox-engine.md b/docs/matchbox-engine.md index 22e447a04ff..15f35e8a693 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.7.0 + 3.8.0 ``` diff --git a/matchbox-engine/pom.xml b/matchbox-engine/pom.xml index 2979496d116..ed0e8525744 100644 --- a/matchbox-engine/pom.xml +++ b/matchbox-engine/pom.xml @@ -6,7 +6,7 @@ matchbox health.matchbox - 3.7.0 + 3.8.0 matchbox-engine diff --git a/matchbox-frontend/package-lock.json b/matchbox-frontend/package-lock.json index cb131fddddf..866d99cc5ce 100644 --- a/matchbox-frontend/package-lock.json +++ b/matchbox-frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "matchbox", - "version": "3.7.0", + "version": "3.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "matchbox", - "version": "3.7.0", + "version": "3.8.0", "license": "MIT", "dependencies": { "@angular-devkit/build-angular": "^17.3.0", diff --git a/matchbox-frontend/package.json b/matchbox-frontend/package.json index 62e9dc4b5f3..93c98aefb81 100644 --- a/matchbox-frontend/package.json +++ b/matchbox-frontend/package.json @@ -1,6 +1,6 @@ { "name": "matchbox", - "version": "3.7.0", + "version": "3.8.0", "license": "MIT", "scripts": { "ng": "ng", diff --git a/matchbox-server/pom.xml b/matchbox-server/pom.xml index 4f526b64486..4e7477d0226 100644 --- a/matchbox-server/pom.xml +++ b/matchbox-server/pom.xml @@ -5,7 +5,7 @@ matchbox health.matchbox - 3.7.0 + 3.8.0 matchbox-server diff --git a/matchbox-server/src/main/resources/static/index.html b/matchbox-server/src/main/resources/static/index.html index 7d123a12171..0fee0eb98fd 100644 --- a/matchbox-server/src/main/resources/static/index.html +++ b/matchbox-server/src/main/resources/static/index.html @@ -8,8 +8,8 @@ - + - + diff --git a/matchbox-server/src/main/resources/static/main.3678d2b6b198315c.js b/matchbox-server/src/main/resources/static/main.3678d2b6b198315c.js new file mode 100644 index 00000000000..d71af224033 --- /dev/null +++ b/matchbox-server/src/main/resources/static/main.3678d2b6b198315c.js @@ -0,0 +1 @@ +(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[792],{2614:(De,ne)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.Ucum=void 0,ne.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"}}},434:(De,ne,g)=>{"use strict";ne.f=void 0;var v=g(2614),C=g(6971);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";ne.YH=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(ne,"__esModule",{value:!0}),ne.Prefix=void 0,g(2614),ne.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_}}},5557:(De,ne)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.PrefixTables=ne.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(ne,"__esModule",{value:!0}),ne.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]}};ne.default=t},9362:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.isNumericString=function v(c){let b=""+c;return!isNaN(b)&&!isNaN(parseFloat(b))},ne.isIntegerUnit=function C(c){return/^\d+$/.test(c)},ne.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(ne,"__esModule",{value:!0}),ne.ucumJsonDefs=ne.UcumJsonDefs=void 0;var t=g(5712),v=g(5557),C=g(4718),E=g(2043),c=g(6996).YH;class b{loadJsonDefs(){const d=g(3380);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";ne.l=void 0;var v=g(6556),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(9362));function E(){if("function"!=typeof WeakMap)return null;var l=new WeakMap;return E=function(){return l},l}var b=g(2614).Ucum,s=g(2043).UnitTables,f=g(4247).o;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 I=s.getInstance().dimVecIndexToBaseUnit_;for(let D=0,O=y.length;D0&&(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]}}ne.l=d,d.getInstance=function(){return new d}},9070:(De,ne,g)=>{"use strict";ne.lG=void 0,g(2614);var C=g(5476).l;ne.lG=C,g(2043)},4718:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.Unit=void 0;var t=function c(a){return a&&a.__esModule?a:{default:a}}(g(8573)),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(9362));function C(){if("function"!=typeof WeakMap)return null;var a=new WeakMap;return C=function(){return a},a}var f,b=g(2614).Ucum,s=g(434).f,d=g(6971);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 I=parseInt(y[k]);if(!d(I)){if(("-"===y[k]||"+"===y[k])&&k--,k{"use strict";ne.o=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(9362));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(2614).Ucum,s=g(4718).Unit,f=g(2043).UnitTables,d=g(5557).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 D=this._getParensUnit(I,u);p||(p=D[1]),p||(y[k].un=D[0])}else{let D=this._makeUnit(I,u);null===D[0]?p=!0:(y[k].un=D[0],u=D[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,I=r.indexOf("(");if(I<0){let D=r.indexOf(")");if(D>=0){let O=`Missing open parenthesis for close parenthesis at ${r.substring(0,D+M)}${this.openEmph_}${r.substr(D,1)}${this.closeEmph_}`;D0&&(h[p++]=r.substr(0,I));let O=0,T=I+1;for(;T0&&(k=r.substr(0,w-1));let I=r.lastIndexOf(this.parensFlag_),D=null;I+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(D)if(D.indexOf(this.braceFlag_)>=0){let T=this._getAnnoText(D,u);if(T[1]||T[2])throw new Error(`Text found after the parentheses (${D}) included an annotation along with other text for parenthetical unit ${_.csCode_}`);r+=T[0]}else if(v.isNumericString(D)){_=null;let T=`An exponent (${D}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.`;r.match(/\d$/)||(T+="\n "+this.vcMsgStart_+(r+=D)+this.vcMsgEnd_),this.retMsg_.push(T),h=!0}else this.suggestions_?h="succeeded"!==this._getSuggestions(k):(this.retMsg_.push(`Text ${D} 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_:N+A,ciCode_:S+A,printSymbol_:R+""+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)+"]",I=this._makeUnit(k,u);I[0]?(h=r,this.retMsg_.push(`${_} is a valid unit expression, but did you mean ${k} (${I[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(ne,"__esModule",{value:!0}),ne.UnitTables=void 0;var t=g(2614).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(ne,"__esModule",{value:!0}),ne.AppComponent=void 0;const t=g(5215),E=(g(8414),g(3955),t.__importDefault(g(8330))),c=t.__importStar(g(4438)),b=t.__importStar(g(3955)),s=t.__importStar(g(8414)),f=t.__importStar(g(9213)),d=t.__importStar(g(7901));ne.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})()},635:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.AppModule=ne.createTranslateLoader=void 0;const t=g(5215),v=g(1626),C=g(7901),E=g(3955),c=g(5635),b=g(92),s=g(4010),f=g(7824),d=g(1536),l=g(728),a=g(3887),r=g(5928),u=g(2774),h=g(2808),p=g(5442),_=g(1244),y=g(4110),M=t.__importStar(g(4438)),D=(t.__importStar(g(7901)),t.__importStar(g(3955)),t.__importStar(g(1244)),[{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(F){return new c.TranslateHttpLoader(F,"./assets/i18n/",".json")}ne.createTranslateLoader=O,ne.AppModule=(()=>{class F{static#e=this.\u0275fac=function(N){return new(N||F)};static#t=this.\u0275mod=M.\u0275\u0275defineNgModule({type:F,bootstrap:[b.AppComponent]});static#n=this.\u0275inj=M.\u0275\u0275defineInjector({providers:[{provide:u.HIGHLIGHT_OPTIONS,useValue:{coreLibraryLoader:()=>Promise.resolve().then(()=>t.__importStar(g(6653))),lineNumbersLoader:()=>Promise.resolve().then(()=>t.__importStar(g(2806))),languages:{json:()=>Promise.resolve().then(()=>t.__importStar(g(8028))),xml:()=>Promise.resolve().then(()=>t.__importStar(g(8133)))}}}],imports:[a.SharedModule,v.HttpClientModule,u.HighlightModule,C.RouterModule.forRoot(D,{useHash:!0}),E.TranslateModule.forRoot({loader:{provide:E.TranslateLoader,useFactory:O,deps:[v.HttpClient]}}),_.OAuthModule.forRoot(),y.NgxMatSelectSearchModule]})}return F})()},4010:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.CapabilityStatementComponent=void 0;const t=g(5215),C=(g(8414),t.__importDefault(g(6507)));g(740),g(9748);const E=g(6974),c=t.__importStar(g(4438)),b=t.__importStar(g(8414)),s=t.__importStar(g(177)),f=t.__importStar(g(9183)),d=t.__importStar(g(968));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)}}ne.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})()},8414:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.FhirConfigService=void 0;const t=g(5215),v=t.__importDefault(g(3833)),C=t.__importStar(g(4438));ne.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})()},7171:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.FhirPathService=void 0;const t=g(5215),v=g(7273),C=t.__importStar(g(4438));ne.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})()},7824:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.HomeComponent=void 0;const t=g(5215),v=t.__importDefault(g(8330)),C=t.__importStar(g(4438)),E=t.__importStar(g(5596)),c=t.__importStar(g(9213)),b=t.__importStar(g(9115)),s=t.__importStar(g(7901));ne.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})()},5928:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.IgsComponent=void 0;const t=g(5215),C=(g(8414),g(9417)),c=(g(7171),g(6974)),b=t.__importStar(g(4438)),s=t.__importStar(g(8414)),f=t.__importStar(g(7171)),d=t.__importStar(g(177)),l=t.__importStar(g(9417)),a=t.__importStar(g(2102)),r=t.__importStar(g(9631)),u=t.__importStar(g(9183)),h=t.__importStar(g(968));function p(D,O){if(1&D){const T=b.\u0275\u0275getCurrentView();b.\u0275\u0275elementStart(0,"tr",9),b.\u0275\u0275listener("click",function(){const S=b.\u0275\u0275restoreView(T).$implicit,R=b.\u0275\u0275nextContext();return b.\u0275\u0275resetView(R.selectRow(S))}),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&D){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 _(D,O){if(1&D){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(D,O){if(1&D){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(D,O){1&D&&(b.\u0275\u0275elementContainerStart(0),b.\u0275\u0275element(1,"mat-progress-spinner",11),b.\u0275\u0275elementContainerEnd())}function w(D,O){if(1&D&&b.\u0275\u0275element(0,"app-operation-result",14),2&D){const T=b.\u0275\u0275nextContext(2);b.\u0275\u0275property("operationResult",T.operationResult)}}function k(D,O){if(1&D&&(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&D){const T=b.\u0275\u0275nextContext();b.\u0275\u0275advance(3),b.\u0275\u0275property("ngIf",T.operationResult)}}ne.IgsComponent=(()=>{class D{constructor(T,F){this.data=T,this.fhirPathService=F,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 F=this.selection.version;F&&F.endsWith(" (last)")&&(F=F.substring(0,F.length-7)),this.addVersion.setValue(F)}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 F=this.addVersion.value.trim();this.addVersion.setValue(F),this.update=!0,this.client.create({resourceType:"ImplementationGuide",body:{resourceType:"ImplementationGuide",name:T,version:F,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(F){return new(F||D)(b.\u0275\u0275directiveInject(s.FhirConfigService),b.\u0275\u0275directiveInject(f.FhirPathService))};static#t=this.\u0275cmp=b.\u0275\u0275defineComponent({type:D,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(F,S){1&F&&(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&F&&(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 D})()},1536:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.MappingLanguageComponent=void 0;const t=g(5215),E=(g(4438),g(8414),g(9417)),c=g(2326),b=t.__importDefault(g(282)),s=t.__importStar(g(4438)),f=t.__importStar(g(8414)),d=t.__importStar(g(177)),l=t.__importStar(g(9417)),a=t.__importStar(g(5596)),r=t.__importStar(g(2102)),u=t.__importStar(g(9631));function h(k,I){if(1&k&&(s.\u0275\u0275elementStart(0,"li"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&k){const D=I.$implicit;s.\u0275\u0275advance(),s.\u0275\u0275textInterpolate1(" ",D.diagnostics," ")}}function p(k,I){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 D=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",D.operationOutcome.issue)}}function _(k,I){if(1&k&&(s.\u0275\u0275elementStart(0,"mat-hint"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&k){const D=s.\u0275\u0275nextContext();s.\u0275\u0275advance(),s.\u0275\u0275textInterpolate1("Successfully created on server: ",D.structureMap.url," ")}}function y(k,I){if(1&k&&(s.\u0275\u0275elementStart(0,"li"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&k){const D=I.$implicit;s.\u0275\u0275advance(),s.\u0275\u0275textInterpolate1(" ",D.diagnostics," ")}}function M(k,I){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 D=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("ngForOf",D.operationOutcomeTransformed.issue)}}class w{static#e=this.log=(0,b.default)("app:");constructor(I,D){this.cd=I,this.data=D,this.client=D.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 I=JSON.parse(this.source.value);null!=this.structureMap&&this.client.operation({name:"transform?source="+encodeURIComponent(this.structureMap.url),resourceType:"StructureMap",input:I}).then(D=>{this.operationOutcomeTransformed=null,this.transformed=D}).catch(D=>{this.transformed=null,this.operationOutcomeTransformed=D.response.data})}ngOnInit(){}fileSource(I){const D=new FileReader;if(I.target.files&&I.target.files.length){const[O]=I.target.files;D.readAsText(O),D.onload=()=>{this.source.setValue(D.result),this.cd.markForCheck()}}}fileChange(I){const D=new FileReader;if(I.target.files&&I.target.files.length){const[O]=I.target.files;D.readAsText(O),D.onload=()=>{this.map.setValue(D.result),this.cd.markForCheck()}}}static#t=this.\u0275fac=function(D){return new(D||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(D,O){1&D&&(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(F){return O.fileSource(F)}),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(F){return O.fileChange(F)}),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&D&&(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}"]})}ne.MappingLanguageComponent=w},968:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.OperationResultComponent=void 0;const t=g(5215),v=g(4438),c=(g(345),g(6974),t.__importStar(g(4438))),b=t.__importStar(g(345)),s=t.__importStar(g(177)),f=p=>({clickable:p});function d(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 l(p,_){if(1&p&&(c.\u0275\u0275elementStart(0,"ol"),c.\u0275\u0275template(1,d,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 a(p,_){if(1&p){const y=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"li",3),c.\u0275\u0275listener("click",function(){const w=c.\u0275\u0275restoreView(y).$implicit,k=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(k.select.emit(w))}),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,l,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)}}function r(p,_){if(1&p&&(c.\u0275\u0275elementStart(0,"ul",1),c.\u0275\u0275template(1,a,8,7,"li",2),c.\u0275\u0275elementEnd()),2&p){const y=c.\u0275\u0275nextContext();c.\u0275\u0275property("ngClass",c.\u0275\u0275pureFunction1(2,f,y.reactsToClick)),c.\u0275\u0275advance(),c.\u0275\u0275property("ngForOf",y.result.issues)}}const u=["fatal","error","warning","information"];ne.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})()},728:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.SettingsComponent=void 0;const t=g(5215),v=t.__importDefault(g(8330)),C=t.__importStar(g(4438));ne.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})()},3887:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.SharedModule=void 0;const t=g(5215),v=g(177),C=g(9417),E=g(345),c=g(850),b=g(8834),s=g(5596),f=g(2765),d=g(6600),l=g(5084),a=g(1997),r=g(2102),u=g(9213),h=g(9631),p=g(9115),_=g(6695),y=g(5951),M=g(2798),w=g(450),k=g(3881),I=g(9159),D=g(6850),O=g(5911),T=g(3955),F=g(9183),S=t.__importStar(g(4438)),R=[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,I.MatTableModule,O.MatToolbarModule,D.MatTabsModule,l.MatDatepickerModule,d.MatNativeDateModule,y.MatRadioModule,F.MatProgressSpinnerModule];ne.SharedModule=(()=>{class U{static#e=this.\u0275fac=function(ie){return new(ie||U)};static#t=this.\u0275mod=S.\u0275\u0275defineNgModule({type:U});static#n=this.\u0275inj=S.\u0275\u0275defineInjector({imports:[R,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,I.MatTableModule,O.MatToolbarModule,D.MatTabsModule,l.MatDatepickerModule,d.MatNativeDateModule,y.MatRadioModule,F.MatProgressSpinnerModule]})}return U})()},2808:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.TransformComponent=void 0;const t=g(5215),E=(g(4438),g(8414),g(9417)),c=g(2326),b=t.__importStar(g(4438)),s=t.__importStar(g(8414)),f=t.__importStar(g(177)),d=t.__importStar(g(9417)),l=t.__importStar(g(6600)),a=t.__importStar(g(5596)),r=t.__importStar(g(2102)),u=t.__importStar(g(2798)),h=t.__importStar(g(2774)),p=t.__importStar(g(1808));function _(k,I){if(1&k&&(b.\u0275\u0275elementStart(0,"mat-option",7),b.\u0275\u0275text(1),b.\u0275\u0275elementEnd()),2&k){const D=I.$implicit;b.\u0275\u0275propertyInterpolate("value",D.url),b.\u0275\u0275advance(),b.\u0275\u0275textInterpolate1("",D.name," ")}}function y(k,I){if(1&k&&(b.\u0275\u0275elementStart(0,"li"),b.\u0275\u0275text(1),b.\u0275\u0275elementEnd()),2&k){const D=I.$implicit;b.\u0275\u0275advance(),b.\u0275\u0275textInterpolate1(" ",D.diagnostics," ")}}function M(k,I){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 D=b.\u0275\u0275nextContext();b.\u0275\u0275advance(2),b.\u0275\u0275property("ngForOf",D.operationOutcomeTransformed.issue)}}ne.TransformComponent=(()=>{class k{constructor(D,O){this.data=D,this.cd=O,this.query={_summary:"true",_sort:"name"},this.panelOpenState=!1,this.client=D.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(D=>{this.operationOutcomeTransformed=null,this.transformed=D}).catch(D=>{this.transformed=null,this.operationOutcomeTransformed=D.response.data})}getSource(){return this.source}getMapped(){return JSON.stringify(this.transformed,null,2)}setMaps(D){this.structureMaps=D.entry.map(O=>O.resource)}ngOnInit(){}addFile(D){this.transformed=null,("application/json"===D.contentType||D.name.endsWith(".json"))&&(this.mimeType="application/fhir+json"),("application/xml"===D.contentType||D.name.endsWith(".xml"))&&(this.mimeType="application/fhir+xml");const O=new FileReader;O.readAsText(D.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})()},1808:(De,ne,g)=>{"use strict";var t=g(9293).default;Object.defineProperty(ne,"__esModule",{value:!0}),ne.UploadComponent=void 0;const v=g(5215),C=g(4438),E=v.__importStar(g(4438)),c=v.__importStar(g(8834)),b=v.__importStar(g(9213));ne.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})()},6974:(De,ne)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.Issue=ne.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}}ne.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}}ne.Issue=t},5442:(De,ne,g)=>{"use strict";var t=g(9293).default;Object.defineProperty(ne,"__esModule",{value:!0}),ne.ValidateComponent=void 0;const v=g(5215),c=(g(4438),g(8414),v.__importDefault(g(994))),b=v.__importDefault(g(882)),s=v.__importDefault(g(6507)),f=g(8087),d=g(2248),l=g(6974),a=g(9417),r=v.__importStar(g(4438)),u=v.__importStar(g(8414)),h=v.__importStar(g(177)),p=v.__importStar(g(9417)),_=v.__importStar(g(6600)),y=v.__importStar(g(8834)),M=v.__importStar(g(5596)),w=v.__importStar(g(2102)),k=v.__importStar(g(9213)),I=v.__importStar(g(9631)),D=v.__importStar(g(9115)),O=v.__importStar(g(2798)),T=v.__importStar(g(9183)),F=v.__importStar(g(4110)),S=v.__importStar(g(968)),R=v.__importStar(g(1808)),N=Pe=>({selected:Pe});function A(Pe,Ae){if(1&Pe&&(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&Pe){const me=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(me.currentResource.resourceType),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(me.currentResource.filename)}}function U(Pe,Ae){1&Pe&&(r.\u0275\u0275elementStart(0,"em"),r.\u0275\u0275text(1,"none"),r.\u0275\u0275elementEnd())}function Y(Pe,Ae){if(1&Pe&&(r.\u0275\u0275elementStart(0,"mat-option",23),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Pe){const me=Ae.$implicit;r.\u0275\u0275property("value",me.key),r.\u0275\u0275advance(),r.\u0275\u0275textInterpolate1(" ",me.value," ")}}function ee(Pe,Ae){1&Pe&&(r.\u0275\u0275elementStart(0,"mat-error"),r.\u0275\u0275text(1,"Please choose a profile"),r.\u0275\u0275elementEnd())}function ie(Pe,Ae){if(1&Pe&&(r.\u0275\u0275elementStart(0,"mat-option",23),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&Pe){const me=Ae.$implicit;r.\u0275\u0275property("value",me),r.\u0275\u0275advance(),r.\u0275\u0275textInterpolate1(" ",me," ")}}function $(Pe,Ae){if(1&Pe&&(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&Pe){const me=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1(" Error: ",me.errorMessage,"")}}function j(Pe,Ae){if(1&Pe){const me=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275elementStart(1,"app-upload",13),r.\u0275\u0275listener("addFiles",function(Fe){r.\u0275\u0275restoreView(me);const xe=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(xe.addFile(Fe))}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(2,"p",14),r.\u0275\u0275text(3," Current resource loaded: "),r.\u0275\u0275template(4,A,7,2,"ng-container",3)(5,U,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(Fe){r.\u0275\u0275restoreView(me);const xe=r.\u0275\u0275nextContext();return r.\u0275\u0275twoWayBindingSet(xe.selectedProfile,Fe)||(xe.selectedProfile=Fe),r.\u0275\u0275resetView(Fe)}),r.\u0275\u0275elementStart(11,"mat-option")(12,"ngx-mat-select-search",17),r.\u0275\u0275twoWayListener("ngModelChange",function(Fe){r.\u0275\u0275restoreView(me);const xe=r.\u0275\u0275nextContext();return r.\u0275\u0275twoWayBindingSet(xe.profileFilter,Fe)||(xe.profileFilter=Fe),r.\u0275\u0275resetView(Fe)}),r.\u0275\u0275listener("ngModelChange",function(){r.\u0275\u0275restoreView(me);const Fe=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Fe.updateProfileFilter())}),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(13,Y,2,2,"mat-option",18),r.\u0275\u0275pipe(14,"keyvalue"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(15,ee,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(Fe){r.\u0275\u0275restoreView(me);const xe=r.\u0275\u0275nextContext();return r.\u0275\u0275twoWayBindingSet(xe.selectedIg,Fe)||(xe.selectedIg=Fe),r.\u0275\u0275resetView(Fe)}),r.\u0275\u0275elementStart(23,"mat-option",20)(24,"em"),r.\u0275\u0275text(25,"Automatic selection"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(26,ie,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(me);const Fe=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Fe.onValidate())}),r.\u0275\u0275text(30,"Validate"),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(31,$,4,1,"p",22),r.\u0275\u0275elementContainerEnd()}if(2&Pe){const me=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275property("ngIf",me.currentResource),r.\u0275\u0275advance(),r.\u0275\u0275property("ngIf",!me.currentResource),r.\u0275\u0275advance(5),r.\u0275\u0275twoWayProperty("ngModel",me.selectedProfile),r.\u0275\u0275advance(2),r.\u0275\u0275twoWayProperty("ngModel",me.profileFilter),r.\u0275\u0275advance(),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind1(14,9,me.filteredProfiles)),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",me.profileControl.hasError("required")),r.\u0275\u0275advance(7),r.\u0275\u0275twoWayProperty("ngModel",me.selectedIg),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngForOf",me.installedIgs),r.\u0275\u0275advance(5),r.\u0275\u0275property("ngIf",me.errorMessage)}}function G(Pe,Ae){if(1&Pe&&(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&Pe){const me=Ae.$implicit;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(me.param.name),r.\u0275\u0275advance(),r.\u0275\u0275property("formControl",me.formControl)}}function V(Pe,Ae){if(1&Pe&&(r.\u0275\u0275elementContainerStart(0),r.\u0275\u0275template(1,G,5,2,"div",25),r.\u0275\u0275elementContainerEnd()),2&Pe){const me=r.\u0275\u0275nextContext();r.\u0275\u0275advance(),r.\u0275\u0275property("ngForOf",me.validatorSettings)}}function W(Pe,Ae){1&Pe&&r.\u0275\u0275element(0,"mat-spinner",33)}function K(Pe,Ae){if(1&Pe&&(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&Pe){const me=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(me.result?me.getErrors():"-"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(me.result?me.getWarnings():"-"),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate1("",me.result?me.getInfos():"-"," ")}}function le(Pe,Ae){if(1&Pe){const me=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"tr",28),r.\u0275\u0275listener("click",function(){const Fe=r.\u0275\u0275restoreView(me).$implicit,xe=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(xe.show(Fe))}),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,W,1,0,"mat-spinner",11)(14,K,12,3,"ng-container",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(15,"td",31)(16,"mat-icon",32),r.\u0275\u0275listener("click",function(){const Fe=r.\u0275\u0275restoreView(me).$implicit,xe=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(xe.removeEntryFromHistory(Fe))}),r.\u0275\u0275text(17,"delete"),r.\u0275\u0275elementEnd()()()}if(2&Pe){const me=Ae.$implicit,We=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(10,N,me===We.selectedEntry)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",me.filename,""),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate(r.\u0275\u0275pipeBind2(6,7,me.date,"HH:mm:ss")),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate1(" ",me.selectedProfile,""),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate1(" ",me.ig," "),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",me.loading),r.\u0275\u0275advance(),r.\u0275\u0275property("ngIf",!me.loading)}}function ue(Pe,Ae){if(1&Pe&&(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&Pe){const me=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(me.selectedEntry.filename),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(me.selectedEntry.selectedProfile),r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(me.selectedEntry.ig)}}function ve(Pe,Ae){if(1&Pe){const me=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"app-operation-result",37),r.\u0275\u0275listener("select",function(Fe){r.\u0275\u0275restoreView(me);const xe=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(xe.highlightIssue(Fe))}),r.\u0275\u0275elementEnd()}if(2&Pe){const me=r.\u0275\u0275nextContext();r.\u0275\u0275property("operationResult",me.selectedEntry.result)}}function Ye(Pe,Ae){1&Pe&&r.\u0275\u0275element(0,"mat-spinner",33)}ne.ValidateComponent=(()=>{class Pe{constructor(me,We){this.cd=We,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=me.getFhirClient(),this.client.capabilityStatement().then(Fe=>{this.capabilityStatement=Fe,this.client.read({resourceType:"OperationDefinition",id:"-s-validate"}).then(xe=>{xe.parameter?.forEach($e=>{"profile"==$e.name&&($e._targetProfile.forEach(q=>{let ge=this.getExtensionStringValue(q,"sd-canonical");const Oe=this.getExtensionStringValue(q,"sd-title"),vt=this.getExtensionStringValue(q,"ig-id"),it=this.getExtensionStringValue(q,"ig-version");let we="";this.getExtensionBoolValue(q,"ig-current")?we=" (last)":ge+=`|${it}`,this.supportedProfiles.set(ge,`${Oe} \u2014 ${vt}#${it}${we}`)}),this.updateProfileFilter())}),xe.parameter.filter($e=>"in"==$e.use&&"resource"!=$e.name&&"profile"!=$e.name&&"ig"!=$e.name).forEach($e=>{this.validatorSettings.push(new d.ValidationParameter($e))})})}).catch(Fe=>{this.errorMessage="Error accessing FHIR server"}),this.client.search({resourceType:"ImplementationGuide",searchParams:{_sort:"title",_count:1e3}}).then(Fe=>{Fe.entry.map(xe=>xe.resource).map(xe=>`${xe.packageId}#${xe.version}`).sort().forEach(xe=>this.installedIgs.add(xe))}).catch(Fe=>{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(me){if(me.name.endsWith(".tgz"))try{this.addPackage(me.blob)}catch(We){console.error(We)}else{let We=null;try{this.selectedProfile=null,this.selectedIg=null;const Fe=new FileReader;Fe.readAsText(me.blob),Fe.onload=()=>{this.cd.markForCheck(),We=new f.ValidationEntry(me.blob.name,Fe.result,me.contentType,null),this.currentResource=new Ct(me.name,me.contentType,Fe.result,We.resourceType),We.selectedProfile&&(this.selectedProfile=We.selectedProfile),this.validationEntries.unshift(We),this.show(We),this.validate(We)}}catch(Fe){console.error(Fe),We&&(We.result=l.OperationResult.fromMatchboxError("Error while processing the resource for validation: "+Fe.message))}}}onValidateIg(){let me="";null!=this.selectedIg&&(me=this.selectedIg.endsWith(" (last)")?this.selectedIg.substring(0,this.selectedIg.length-7):this.selectedIg,me=me.replace("#","-"),this.fetchData(this.client.baseUrl+"/ImplementationGuide/"+me))}fetchData(me){var We=this;return t(function*(){const xe=yield(yield fetch(me,{cache:"no-store",headers:{Accept:"application/gzip"}})).blob();We.addPackage(xe)})()}addPackage(me){this.selectedProfile=null,this.selectedIg=null;const We=new FileReader;We.readAsArrayBuffer(me),We.onload=()=>{if(this.package=We.result,this.cd.markForCheck(),null!=this.package){const Fe=c.default.inflate(new Uint8Array(this.package)),xe=new Array;let $e=null,q=null;const ge=this;(0,b.default)(Fe.buffer).then(function(Oe){xe.forEach(vt=>{ge.validationEntries.unshift(vt),ge.validate(vt)})},function(Oe){},function(Oe){if(Oe.name?.indexOf("package.json")>=0){let vt=new TextDecoder("utf-8"),it=JSON.parse(vt.decode(Oe.buffer));$e=it.fhirVersions[0],q=it.name+"#"+it.version}if(Oe.name?.indexOf("example")>=0&&-1==Oe.name?.indexOf(".index.json")){let vt=Oe.name;vt.startsWith("package/example/")&&(vt=vt.substring(16)),vt.startsWith("example/")&&(vt=vt.substring(8));let it=new TextDecoder("utf-8"),we=JSON.parse(it.decode(Oe.buffer)),Ge=we.meta?.profile,Me=new f.ValidationEntry(vt,JSON.stringify(we,null,2),"application/fhir+json",Ge);xe.push(Me)}})}}}onClear(){this.selectedProfile=null,this.selectedIg=null,this.show(void 0),this.validationEntries.splice(0,this.validationEntries.length)}validate(me){if(null!=this.selectedProfile&&(me.profiles.includes(this.selectedProfile)||me.profiles.push(this.selectedProfile),me.selectedProfile=this.selectedProfile),null!=this.selectedIg&&(me.ig=this.selectedIg.endsWith(" (last)")?this.selectedIg.substring(0,this.selectedIg.length-7):this.selectedIg),!me.selectedProfile)return void console.error("No profile selected, won't run validation");const We=new URLSearchParams;We.set("profile",me.selectedProfile),me.ig&&We.set("ig",me.ig);for(const Fe of this.validatorSettings)null!=Fe.formControl.value&&Fe.formControl.value.length>0&&We.set(Fe.param.name,Fe.formControl.value);me.loading=!0,this.client.operation({name:"validate?"+We.toString(),resourceType:void 0,input:me.resource,options:{headers:{accept:"application/fhir+json","content-type":me.mimetype}}}).then(Fe=>{me.loading=!1,me.setOperationOutcome(Fe),me===this.selectedEntry&&this.updateEditorIssues()}).catch(Fe=>{me.loading=!1,me.result=l.OperationResult.fromMatchboxError("Error while sending the validation request: "+Fe.message),console.error(Fe)})}show(me){if(this.errorMessage=null,this.selectedEntry=me,!me)return this.editor.setValue("",-1),void this.updateEditorIssues();this.currentResource=new Ct(me.filename,me.mimetype,me.resource,me.resourceType),this.editor.setValue(me.resource,-1),"application/fhir+json"===me.mimetype?this.editor.getSession().setMode("ace/mode/json"):"application/fhir+xml"===me.mimetype&&this.editor.getSession().setMode("ace/mode/xml"),this.updateEditorIssues()}removeEntryFromHistory(me){me===this.selectedEntry&&this.show(null);const We=this.validationEntries.indexOf(me);this.validationEntries.splice(We,1)}onValidate(){let me=new f.ValidationEntry(this.currentResource.filename,this.currentResource.content,this.currentResource.contentType,[this.selectedProfile]);me.ig=this.selectedIg,this.validationEntries.unshift(me),this.show(me),this.validate(me)}toggleSettings(){this.showSettings=!this.showSettings}updateEditorIssues(){if(this.editor.session.clearAnnotations(),!this.selectedEntry?.result)return;const me=this.selectedEntry.result.issues.filter(We=>We.line).map(We=>{let Fe;switch(We.severity){case"fatal":case"error":Fe="error";break;case"warning":Fe="warning";break;case"information":Fe="info"}return{row:We.line-1,column:We.col,text:We.text,type:Fe}});this.editor.session.setAnnotations(me)}highlightIssue(me){me.line&&(this.editor.gotoLine(me.line,me.col,!0),this.editor.scrollToLine(me.line,!1,!0,()=>{}))}updateProfileFilter(){this.filteredProfiles=new Map([...this.supportedProfiles].filter(([me,We])=>We.includes(this.profileFilter)))}getExtensionStringValue(me,We){return this.getExtension(me,We)?.valueString??""}getExtensionBoolValue(me,We){return this.getExtension(me,We)?.valueBoolean??!1}getExtension(me,We){for(let Fe=0;Fe 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 Pe})();class Ct{constructor(Ae,me,We,Fe){this.filename=Ae,this.contentType=me,this.content=We,this.resourceType=Fe}}},8087:(De,ne,g)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.ValidationEntry=void 0;const t=g(6974);ne.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(ne,"__esModule",{value:!0}),ne.ValidationParameter=void 0;const t=g(9417);ne.ValidationParameter=class v{constructor(E){this.param=E,this.formControl=new t.UntypedFormControl}isValueSet(){return null!=this.valueBoolean||null!=this.valueString}}},5312:(De,ne)=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0}),ne.environment=void 0,ne.environment={production:!0}},4429:(De,ne,g)=>{"use strict";const C=g(5215).__importStar(g(345)),E=g(4438),c=g(635);g(5312).environment.production&&(0,E.enableProdMode)(),C.platformBrowser().bootstrapModule(c.AppModule).catch(s=>console.log(s))},6507:(De,ne,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=0|arguments[1],l=d<0?Math.max(s+d,0):Math.min(d,s),a=arguments[2],r=void 0===a?s:0|a,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,I){I&&(v.$loaded[_]=I),v._emit("load.module",{name:_,module:I});var D=v.$loading[_];v.$loading[_]=null,D.forEach(function(O){O&&O(I)})})};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.7"}),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-F)>5;(!S||U)&&(O=1),S&&clearTimeout(S),S=setTimeout(function(){S=null},w[O-1]||600),1==O&&(T=A.clientX,F=A.clientY)}if(A._clicks=O,k[I]("mousedown",A),O>4)O=0;else if(O>1)return k[I](R[O],A)}Array.isArray(M)||(M=[M]),M.forEach(function(A){r(A,"mousedown",N,D)})},v.getModifierString=function(M){return E.KEY_MODS[h(M)]},v.addCommandKeyListener=function(M,w,k){var I=null;r(M,"keydown",function(D){b[D.keyCode]=(b[D.keyCode]||0)+1;var O=function p(M,w,k){var I=h(w);if(!c.isMac&&b){if(w.getModifierState&&(w.getModifierState("OS")||w.getModifierState("Win"))&&(I|=8),b.altGr){if(!(3&~I))return;b.altGr=0}if(18===k||17===k){var D=w.location;17===k&&1===D?1==b[k]&&(s=w.timeStamp):18===k&&3===I&&2===D&&w.timeStamp-s<50&&(b.altGr=!0)}}if(k in E.MODIFIER_KEYS&&(k=-1),I||13!==k||3!==w.location||(M(w,I,-k),!w.defaultPrevented)){if(c.isChromeOS&&8&I){if(M(w,I,k),w.defaultPrevented)return;I&=-9}return!!(I||k in E.FUNCTION_KEYS||k in E.PRINTABLE_KEYS)&&M(w,I,k)}}(w,D,D.keyCode);return I=D.defaultPrevented,O},k),r(M,"keypress",function(D){I&&(D.ctrlKey||D.altKey||D.shiftKey||D.metaKey)&&(v.stopEvent(D),I=null)},k),r(M,"keyup",function(D){b[D.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++,I=function(D){D.data==k&&(v.stopPropagation(D),u(w,"message",I),M())};r(w,"message",I),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,I){var D=s.createElement("textarea");D.className="ace_text-input",D.setAttribute("wrap","off"),D.setAttribute("autocorrect","off"),D.setAttribute("autocapitalize","off"),D.setAttribute("spellcheck","false"),D.style.opacity="0",k.insertBefore(D,k.firstChild);var O=!1,T=!1,F=!1,S=!1,R="";M||(D.style.fontSize="1px");var N=!1,A=!1,U="",Y=0,ee=0,ie=0,$=Number.MAX_SAFE_INTEGER,j=Number.MIN_SAFE_INTEGER,G=0;try{var V=document.activeElement===D}catch{}this.setNumberOfExtraLines=function(Me){$=Number.MAX_SAFE_INTEGER,j=Number.MIN_SAFE_INTEGER,G=Me<0?0:Me},this.setAriaOptions=function(Me){Me.activeDescendant?(D.setAttribute("aria-haspopup","true"),D.setAttribute("aria-autocomplete",Me.inline?"both":"list"),D.setAttribute("aria-activedescendant",Me.activeDescendant)):(D.setAttribute("aria-haspopup","false"),D.setAttribute("aria-autocomplete","both"),D.removeAttribute("aria-activedescendant")),Me.role&&D.setAttribute("role",Me.role),Me.setLabel&&(D.setAttribute("aria-roledescription",c("editor")),I.session)&&D.setAttribute("aria-label",c("Cursor at row $0",[I.session.selection.cursor.row+1]))},this.setAriaOptions({role:"textbox"}),E.addListener(D,"blur",function(Me){A||(I.onBlur(Me),V=!1)},I),E.addListener(D,"focus",function(Me){if(!A){if(V=!0,b.isEdge)try{if(!document.hasFocus())return}catch{}I.onFocus(Me),b.isEdge?setTimeout(K):K()}},I),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:I.renderer.enableKeyboardAccessibility}),R||r||"browser"==this.$focusScroll)return D.focus({preventScroll:!0});var Me=D.style.top;D.style.position="fixed",D.style.top="0px";try{var rt=0!=D.getBoundingClientRect().top}catch{return}var Mt=[];if(rt)for(var zt=D.parentElement;zt&&1==zt.nodeType;)Mt.push(zt),zt.setAttribute("ace_nocontext","true"),zt=!zt.parentElement&&zt.getRootNode?zt.getRootNode().host:zt.parentElement;D.focus({preventScroll:!0}),rt&&Mt.forEach(function(Xt){Xt.removeAttribute("ace_nocontext")}),setTimeout(function(){D.style.position="","0px"==D.style.top&&(D.style.top=Me)},0)},this.blur=function(){D.blur()},this.isFocused=function(){return V},I.on("beforeEndOperation",function(){var Me=I.curOp,rt=Me&&Me.command&&Me.command.name;"insertstring"!=rt&&(F&&rt&&(Me.docChanged||Me.selectionChanged)&&(U=D.value="",$e()),K())});var W=function(Me,rt){for(var Mt=rt,zt=1;zt<=Me-$&&zt<2*G+1;zt++)Mt+=I.session.getLine(Me-zt).length+1;return Mt},K=_?function(Me){if(V&&(!O||Me)&&!S){Me||(Me="");var rt="\n ab"+Me+"cde fg\n";rt!=D.value&&(D.value=U=rt);var zt=4+(Me.length||(I.selection.isEmpty()?0:1));(4!=Y||ee!=zt)&&D.setSelectionRange(4,zt),Y=4,ee=zt}}:function(){if(!F&&!S&&(V||Ye)){F=!0;var Me=0,rt=0,Mt="";if(I.session){var zt=I.selection,Xt=zt.getRange(),dn=zt.cursor.row;dn===j+1?j=($=j+1)+2*G:dn===$-1?$=(j=$-1)-2*G:(dn<$-1||dn>j+1)&&($=dn>G?dn-G:0,j=dn>G?dn+G:2*G);for(var hn=[],un=$;un<=j;un++)hn.push(I.session.getLine(un));if(Mt=hn.join("\n"),Me=W(Xt.start.row,Xt.start.column),rt=W(Xt.end.row,Xt.end.column),Xt.start.row<$){var rn=I.session.getLine($-1);Me=Xt.start.row<$-1?0:Me,rt+=rn.length+1,Mt=rn+"\n"+Mt}else if(Xt.end.row>j){var fn=I.session.getLine(j+1);rt=Xt.end.row>j+1?fn.length:Xt.end.column,rt+=Mt.length+1,Mt=Mt+"\n"+fn}else M&&dn>0&&(Mt="\n"+Mt,rt+=1,Me+=1);Mt.length>u&&(Me0&&U[fn]==Me[fn];)fn++,Xt--;for(hn=hn.slice(fn),fn=1;dn>0&&U.length-fn>Y-1&&U[U.length-fn]==Me[Me.length-fn];)fn++,dn--;un-=fn-1,rn-=fn-1;var Pt=hn.length-fn+1;if(Pt<0&&(Xt=-Pt,Pt=0),hn=hn.slice(0,Pt),!(rt||hn||un||Xt||dn||rn))return"";S=!0;var Vt=!1;return b.isAndroid&&". "==hn&&(hn=" ",Vt=!0),hn&&!Xt&&!dn&&!un&&!rn||N?I.onTextInput(hn):I.onTextInput(hn,{extendLeft:Xt,extendRight:dn,restoreStart:un,restoreEnd:rn}),S=!1,U=Me,Y=Mt,ee=zt,ie=rn,Vt?"\n":hn},ct=function(Me){if(F)return xe();if(Me&&Me.inputType){if("historyUndo"==Me.inputType)return I.execCommand("undo");if("historyRedo"==Me.inputType)return I.execCommand("redo")}var rt=D.value,Mt=mt(rt,!0);(rt.length>500||y.test(Mt)||M&&Y<1&&Y==ee)&&K()},Ct=function(Me,rt,Mt){var zt=Me.clipboardData||window.clipboardData;if(zt&&!l){var Xt=a||Mt?"Text":"text/plain";try{return rt?!1!==zt.setData(Xt,rt):zt.getData(Xt)}catch(dn){if(!Mt)return Ct(dn,rt,!0)}}},Pe=function(Me,rt){var Mt=I.getCopyText();if(!Mt)return E.preventDefault(Me);Ct(Me,Mt)?(_&&(K(Mt),O=Mt,setTimeout(function(){O=!1},10)),rt?I.onCut():I.onCopy(),E.preventDefault(Me)):(O=!0,D.value=Mt,D.select(),setTimeout(function(){O=!1,K(),rt?I.onCut():I.onCopy()}))},Ae=function(Me){Pe(Me,!0)},me=function(Me){Pe(Me,!1)},We=function(Me){var rt=Ct(Me);d.pasteCancelled()||("string"==typeof rt?(rt&&I.onPaste(rt,Me),b.isIE&&setTimeout(K),E.preventDefault(Me)):(D.value="",T=!0))};E.addCommandKeyListener(D,function(Me,rt,Mt){if(!F)return I.onCommandKey(Me,rt,Mt)},I),E.addListener(D,"select",function(Me){F||(O?O=!1:function(Me){return 0===Me.selectionStart&&Me.selectionEnd>=U.length&&Me.value===U&&U&&Me.selectionEnd!==ee}(D)?(I.selectAll(),K()):M&&D.selectionStart!=Y&&K())},I),E.addListener(D,"input",ct,I),E.addListener(D,"cut",Ae,I),E.addListener(D,"copy",me,I),E.addListener(D,"paste",We,I),(!("oncut"in D)||!("oncopy"in D)||!("onpaste"in D))&&E.addListener(k,"keydown",function(Me){if((!b.isMac||Me.metaKey)&&Me.ctrlKey)switch(Me.keyCode){case 67:me(Me);break;case 86:We(Me);break;case 88:Ae(Me)}},I);var xe=function(){if(F&&I.onCompositionUpdate&&!I.$readOnly){if(N)return q();F.useTextareaForIME?I.onCompositionUpdate(D.value):(mt(D.value),F.markerRange&&(F.context&&(F.markerRange.start.column=F.selectionStart=F.context.compositionStartOffset),F.markerRange.end.column=F.markerRange.start.column+ee-F.selectionStart+ie))}},$e=function(Me){!I.onCompositionEnd||I.$readOnly||(F=!1,I.onCompositionEnd(),I.off("mousedown",q),Me&&ct())};function q(){A=!0,D.blur(),D.focus(),A=!1}var vt,ge=f.delayedCall(xe,50).schedule.bind(null,null);function it(){clearTimeout(vt),vt=setTimeout(function(){R&&(D.style.cssText=R,R=""),I.renderer.$isMousePressed=!1,I.renderer.$keepTextAreaAtCursor&&I.renderer.$moveTextAreaToCursor()},0)}E.addListener(D,"compositionstart",function(Me){if(!F&&I.onCompositionStart&&!I.$readOnly&&(F={},!N)){Me.data&&(F.useTextareaForIME=!1),setTimeout(xe,0),I._signal("compositionStart"),I.on("mousedown",q);var rt=I.getSelectionRange();rt.end.row=rt.start.row,rt.end.column=rt.start.column,F.markerRange=rt,F.selectionStart=Y,I.onCompositionStart(F),F.useTextareaForIME?(U=D.value="",Y=0,ee=0):(D.msGetInputContext&&(F.context=D.msGetInputContext()),D.getInputContext&&(F.context=D.getInputContext()))}},I),E.addListener(D,"compositionupdate",xe,I),E.addListener(D,"keyup",function Oe(Me){27==Me.keyCode&&D.value.lengthee&&"\n"==U[rn]?fn=h.end:unee&&U.slice(0,rn).split("\n").length>2?fn=h.down:rn>ee&&" "==U[rn-1]?(fn=h.right,Pt=p.option):(rn>ee||rn==ee&&ee!=Y&&un==rn)&&(fn=h.right),un!==rn&&(Pt|=p.shift),fn){if(!rt.onCommandKey({},Pt,fn)&&rt.commands){fn=h.keyCodeToString(fn);var _e=rt.commands.findKeyCommand(Pt,fn);_e&&rt.execCommand(_e)}Y=un,ee=rn,K("")}}};document.addEventListener("selectionchange",dn),rt.on("destroy",function(){document.removeEventListener("selectionchange",dn)})}(0,I,D),this.destroy=function(){D.parentElement&&D.parentElement.removeChild(D)}},v.$setUserAgentForTests=function(k,I){M=k,_=I}}),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(N,A){return A.priority-N.priority});var k=[];try{for(var I=c(this.popups),D=I.next();!D.done;D=I.next()){var O=D.value,T=!0;try{for(var F=(M=void 0,c(k)),S=F.next();!S.done;S=F.next())if(this.doPopupsOverlap(S.value,O)){T=!1;break}}catch(N){M={error:N}}finally{try{S&&!S.done&&(w=F.return)&&w.call(F)}finally{if(M)throw M.error}}T?k.push(O):O.hide()}}catch(N){_={error:N}}finally{try{D&&!D.done&&(y=I.return)&&y.call(I)}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 I=M.renderer.pixelToScreenCoordinates(y.clientX,y.clientY),D=M.session.documentToScreenPosition(w.row,w.column);if(D.column!=I.column||D.row!=I.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 D=y.renderer;this.isOpen||(u.addPopup(this),this.$registerCloseEvents(),this.setTheme(D.theme)),this.isOpen=!0,this.addMarker(M,y.session),this.range=f.fromPoints(M.start,M.end);var O=D.textToScreenCoordinates(M.start.row,M.start.column),T=D.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(I){p.setPosition(I.x,I.y)}r.editor.setDefaultHandler("guttermousedown",function(I){if(u.isFocused()&&0==I.getButton()&&"foldWidgets"!=h.getRegion(I)){var O=I.getDocumentPosition().row,T=u.session.selection;if(I.getShiftKey())T.selectTo(O,0);else{if(2==I.domEvent.detail)return u.selectAll(),I.preventDefault();r.$clickSelection=u.selection.getLineRange(O)}return r.setState("selectByLines"),r.captureMouse(I),I.preventDefault()}}),r.editor.setDefaultHandler("guttermousemove",function(I){if(b.hasCssClass(I.domEvent.target||I.domEvent.srcElement,"ace_fold-widget"))return w();p.isOpen&&r.$tooltipFollowsMouse&&k(I),y=I,!_&&(_=setTimeout(function(){_=null,y&&!r.isMousePressed?function M(){var I=y.getDocumentPosition().row;if(I==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(I),p.isOpen)if(u.on("mousewheel",w),r.$tooltipFollowsMouse)k(y);else{var F=y.getGutterRow(),S=h.$lines.get(F);if(S){var N=S.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),A=p.getElement().style;A.left=N.right+"px",A.top=N.bottom+"px"}else k(y)}}():w()},50))}),s.addListener(u.renderer.$gutter,"mouseout",function(I){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:[]},I=h+1;I<=M.end.row;I++)if(p.$annotations[I])for(var D=0;D ").concat(y.text[I]);F[y.type[I].replace("_fold","")].push(R)}var N=[].concat(F.error,F.warning,F.info).join("
");this.setHtml(N),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 I=k.value;if(h[I].length){var D=1===h[I].length?u.annotationLabels[I].singular:u.annotationLabels[I].plural;y.push("".concat(h[I].length," ").concat(D))}}}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(W){r[W]=this[W]},this),u.on("mousedown",this.onMouseDown.bind(r));var y,M,w,k,I,D,T,F,S,R,N,_=u.container,O=0;function Y(){var W=D;(function A(W,K){var le=Date.now();R&&K&&W.row==K.row&&K&&W.column==K.column?a(N.x,N.y,M,w)>5?R=null:le-R>=200&&(u.renderer.scrollCursorIntoView(),R=null):(u.moveCursorToPosition(W),R=le,N={x:M,y:w})})(D=u.renderer.screenToTextCoordinates(M,w),W),function U(W,K){var le=Date.now(),ue=u.renderer.layerConfig.lineHeight,ve=u.renderer.layerConfig.characterWidth,Ye=u.renderer.scroller.getBoundingClientRect(),mt={x:{left:M-Ye.left,right:Ye.right-M},y:{top:w-Ye.top,bottom:Ye.bottom-w}},ct=Math.min(mt.x.left,mt.x.right),Ct=Math.min(mt.y.top,mt.y.bottom),Pe={row:W.row,column:W.column};ct/ve<=2&&(Pe.column+=mt.x.left=200&&u.renderer.scrollCursorIntoView(Pe):S=le:S=null}(D,W)}function ee(){I=u.selection.toOrientedRange(),y=u.session.addMarker(I,"ace_selection",u.getSelectionStyle()),u.clearSelection(),u.isFocused()&&u.renderer.$cursorLayer.setBlinking(!1),clearInterval(k),Y(),k=setInterval(Y,20),O=0,c.addListener(document,"mousemove",j)}function ie(){clearInterval(k),u.session.removeMarker(y),y=null,u.selection.fromOrientedRange(I),u.isFocused()&&!F&&u.$resetCursorStyle(),I=null,D=null,O=0,S=null,R=null,c.removeListener(document,"mousemove",j)}this.onDragStart=function(W){if(this.cancelDrag||!_.draggable){var K=this;return setTimeout(function(){K.startSelect(),K.captureMouse(W)},0),W.preventDefault()}I=u.getSelectionRange();var le=W.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()),F=!0,this.setState("drag")},this.onDragEnd=function(W){_.draggable=!1,F=!1,this.setState(null),u.getReadOnly()||(!T&&"move"==W.dataTransfer.dropEffect&&u.session.remove(u.getSelectionRange()),u.$resetCursorStyle()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(W){if(!u.getReadOnly()&&G(W.dataTransfer))return M=W.clientX,w=W.clientY,y||ee(),O++,W.dataTransfer.dropEffect=T=V(W),c.preventDefault(W)},this.onDragOver=function(W){if(!u.getReadOnly()&&G(W.dataTransfer))return M=W.clientX,w=W.clientY,y||(ee(),O++),null!==$&&($=null),W.dataTransfer.dropEffect=T=V(W),c.preventDefault(W)},this.onDragLeave=function(W){if(--O<=0&&y)return ie(),T=null,c.preventDefault(W)},this.onDrop=function(W){if(D){var K=W.dataTransfer;if(F)switch(T){case"move":I=I.contains(D.row,D.column)?{start:D,end:D}:u.moveText(I,D);break;case"copy":I=u.moveText(I,D,!0)}else{var le=K.getData("Text");I={start:D,end:u.session.insert(D,le)},u.focus(),T=null}return ie(),c.preventDefault(W)}},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 $=null;function j(){null==$&&($=setTimeout(function(){null!=$&&y&&ie()},20))}function G(W){var K=W.types;return!K||Array.prototype.some.call(K,function(le){return"text/plain"==le||"Text"==le})}function V(W){var K=["copy","copymove","all","uninitialized"],ue=b.isMac?W.altKey:W.ctrlKey,ve="uninitialized";try{ve=W.dataTransfer.effectAllowed.toLowerCase()}catch{}var Ye="none";return ue&&K.indexOf(ve)>=0?Ye="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(ve)>=0?Ye="move":K.indexOf(ve)>=0&&(Ye="copy"),Ye}}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,I,D,d="scroll",_=0,M=0,w=0,k=0;function T(){D||function O(){var A=window.navigator&&window.navigator.clipboard,U=!1,ee=function(ie){var $=ie.target.getAttribute("action");if("more"==$||!U)return U=!U,function(){var ie=f.getCopyText(),$=f.session.getUndoManager().hasUndo();D.replaceChild(b.buildDom(U?["span",!ie&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],ie&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],ie&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],A&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],$&&["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"]),D.firstChild)}();"paste"==$?A.readText().then(function(j){f.execCommand($,j)}):$&&(("cut"==$||"copy"==$)&&(A?A.writeText(f.getCopyText()):document.execCommand("copy")),f.execCommand($)),D.firstChild.style.display="none",U=!1,"openCommandPalette"!=$&&f.focus()};D=b.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(ie){d="menu",ie.stopPropagation(),ie.preventDefault(),f.textInput.focus()},ontouchend:function(ie){ie.stopPropagation(),ie.preventDefault(),ee(ie)},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),Y=f.renderer.textToScreenCoordinates(0,0).pageX,ee=f.renderer.scrollLeft,ie=f.container.getBoundingClientRect();D.style.top=U.pageY-ie.top-3+"px",U.pageX-ie.left1)return clearTimeout(h),h=null,r=-1,void(d="zoom");I=f.$mouseHandler.isMousePressed=!0;var Y=f.renderer.layerConfig.lineHeight,ee=f.renderer.layerConfig.lineHeight,ie=A.timeStamp;u=ie;var $=U[0],j=$.clientX,G=$.clientY;Math.abs(l-j)+Math.abs(a-G)>Y&&(r=-1),l=A.clientX=j,a=A.clientY=G,w=k=0;var V=new E(A,f);if(y=V.getDocumentPosition(),ie-r<500&&1==U.length&&!_)M++,A.preventDefault(),A.button=0,function R(){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 W=f.selection.cursor,K=f.selection.isEmpty()?W:f.selection.anchor,le=f.renderer.$cursorLayer.getPixelPosition(W,!0),ue=f.renderer.$cursorLayer.getPixelPosition(K,!0),ve=f.renderer.scroller.getBoundingClientRect(),Ye=f.renderer.layerConfig.offset,mt=f.renderer.scrollLeft,ct=function(Ae,me){return(Ae/=ee)*Ae+(me=me/Y-.75)*me};if(A.clientXPe?"cursor":"anchor"),d=Pe<3.5?"anchor":Ct<3.5?"cursor":"scroll",h=setTimeout(S,450)}r=ie},f),c.addListener(s,"touchend",function(A){I=f.$mouseHandler.isMousePressed=!1,p&&clearInterval(p),"zoom"==d?(d="",_=0):h?(f.selection.moveToPosition(y),_=0,T()):"scroll"==d?(function N(){_+=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)}(),F()):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 Y=U[0],ee=l-Y.clientX,ie=a-Y.clientY;if("wait"==d){if(!(ee*ee+ie*ie>4))return A.preventDefault();d="cursor"}l=Y.clientX,a=Y.clientY,A.clientX=Y.clientX,A.clientY=Y.clientY;var $=A.timeStamp,j=$-u;if(u=$,"scroll"==d){var G=new E(A,f);G.speed=1,G.wheelX=ee,G.wheelY=ie,10*Math.abs(ee)=mt){for(me=Ae+1;me=mt;)me++;for(We=Ae,Fe=me-1;We=ct.length||2!=(me=Ct[Pe-1])&&3!=me||2!=(We=ct[Pe+1])&&3!=We?4:(f&&(We=3),We==me?We:4);case 10:return 2==(me=Pe>0?Ct[Pe-1]:5)&&Pe+10&&2==Ct[Pe-1])return 2;if(f)return 4;for(xe=Pe+1,Fe=ct.length;xe=1425&&$e<=2303||64286==$e)&&(1==me||7==me))return 1}return Pe<1||5==(me=ct[Pe-1])?4:Ct[Pe-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 G:return 4}}function ve(mt){var ct=mt.charCodeAt(0),Ct=ct>>8;return 0==Ct?ct>191?0:V[ct]:5==Ct?/[\u0591-\u05f4]/.test(mt)?1:0:6==Ct?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(mt)?12:/[\u0660-\u0669\u066b-\u066c]/.test(mt)?3:1642==ct?A:/[\u06f0-\u06f9]/.test(mt)?2:7:32==Ct&&ct<=8287?W[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(mt,ct,Ct){if(mt.length<2)return{};var Pe=mt.split(""),Ae=new Array(Pe.length),me=new Array(Pe.length),We=[];b=Ct?1:0,function K(mt,ct,Ct,Pe){var Ae=b?p:h,me=null,We=null,Fe=null,xe=0,$e=null,ge=-1,Oe=null,vt=null,it=[];if(!Pe)for(Oe=0,Pe=[];Oe0)if(16==$e){for(Oe=ge;Oe-1){for(Oe=ge;Oe=0&&8==Pe[we];we--)ct[we]=b}}(Pe,We,Pe.length,ct);for(var Fe=0;Fe7&&ct[Fe]<13||4===ct[Fe]||ct[Fe]===G)?We[Fe]=v.ON_R:Fe>0&&"\u0644"===Pe[Fe-1]&&/\u0622|\u0623|\u0625|\u0627/.test(Pe[Fe])&&(We[Fe-1]=We[Fe]=v.R_H,Fe++);for(Pe[Pe.length-1]===v.DOT&&(We[Pe.length-1]=v.B),"\u202b"===Pe[0]&&(We[0]=v.RLE),Fe=0;Fe=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 I,D=0;D=_&&Ir+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,I){return"\\"+(parseInt(I,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-D.length);w.type==k?w.value+=T:(w.type&&_.push(w),w={type:k,value:T})}for(var F=0;Fc){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,I){var D=w.getCursorPosition(),O=k.doc.getLine(D.row);if("{"==I){u(w);var T=w.getSelectionRange(),F=k.doc.getTextRange(T);if(""!==F&&"{"!==F&&w.getWrapBehavioursEnabled())return h(T,F,"{","}");if(p.isSaneInsertion(w,k))return/[\]\}\)]/.test(O[D.column])||w.inMultiSelectMode||_.braces?(p.recordAutoInsert(w,k,"}"),{text:"{}",selection:[1,1]}):(p.recordMaybeInsert(w,k,"{"),{text:"{",selection:[1,1]})}else if("}"==I){if(u(w),"}"==O.substring(D.column,D.column+1)&&null!==k.$findOpeningBracket("}",{column:D.column+1,row:D.row})&&p.isAutoInsertedClosing(D,O,I))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==I||"\r\n"==I){u(w);var N="";if(p.isMaybeInsertedClosing(D,O)&&(N=s.stringRepeat("}",l.maybeInsertedBrackets),p.clearMaybeInsertedClosing()),"}"===O.substring(D.column,D.column+1)){var A=k.findMatchingBracket({row:D.row,column:D.column+1},"}");if(!A)return null;var U=this.$getIndent(k.getLine(A.row))}else{if(!N)return void p.clearMaybeInsertedClosing();U=this.$getIndent(O)}var Y=U+k.getTabString();return{text:"\n"+Y+"\n"+U+N,selection:[1,Y.length,1,Y.length]}}p.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(y,M,w,k,I){var D=k.doc.getTextRange(I);if(!I.isMultiLine()&&"{"==D){if(u(w),"}"==k.doc.getLine(I.start.row).substring(I.end.column,I.end.column+1))return I.end.column++,I;l.maybeInsertedBrackets--}}),this.add("parens","insertion",function(y,M,w,k,I){if("("==I){u(w);var D=w.getSelectionRange(),O=k.doc.getTextRange(D);if(""!==O&&w.getWrapBehavioursEnabled())return h(D,O,"(",")");if(p.isSaneInsertion(w,k))return p.recordAutoInsert(w,k,")"),{text:"()",selection:[1,1]}}else if(")"==I){u(w);var T=w.getCursorPosition(),F=k.doc.getLine(T.row);if(")"==F.substring(T.column,T.column+1)&&null!==k.$findOpeningBracket(")",{column:T.column+1,row:T.row})&&p.isAutoInsertedClosing(T,F,I))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("parens","deletion",function(y,M,w,k,I){var D=k.doc.getTextRange(I);if(!I.isMultiLine()&&"("==D&&(u(w),")"==k.doc.getLine(I.start.row).substring(I.start.column+1,I.start.column+2)))return I.end.column++,I}),this.add("brackets","insertion",function(y,M,w,k,I){if("["==I){u(w);var D=w.getSelectionRange(),O=k.doc.getTextRange(D);if(""!==O&&w.getWrapBehavioursEnabled())return h(D,O,"[","]");if(p.isSaneInsertion(w,k))return p.recordAutoInsert(w,k,"]"),{text:"[]",selection:[1,1]}}else if("]"==I){u(w);var T=w.getCursorPosition(),F=k.doc.getLine(T.row);if("]"==F.substring(T.column,T.column+1)&&null!==k.$findOpeningBracket("]",{column:T.column+1,row:T.row})&&p.isAutoInsertedClosing(T,F,I))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("brackets","deletion",function(y,M,w,k,I){var D=k.doc.getTextRange(I);if(!I.isMultiLine()&&"["==D&&(u(w),"]"==k.doc.getLine(I.start.row).substring(I.start.column+1,I.start.column+2)))return I.end.column++,I}),this.add("string_dquotes","insertion",function(y,M,w,k,I){var D=k.$mode.$quotes||r;if(1==I.length&&D[I]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(I))return;u(w);var O=I,T=w.getSelectionRange(),F=k.doc.getTextRange(T);if(""!==F&&(1!=F.length||!D[F])&&w.getWrapBehavioursEnabled())return h(T,F,O,O);if(!F){var S=w.getCursorPosition(),R=k.doc.getLine(S.row),N=R.substring(S.column-1,S.column),A=R.substring(S.column,S.column+1),U=k.getTokenAt(S.row,S.column),Y=k.getTokenAt(S.row,S.column+1);if("\\"==N&&U&&/escape/.test(U.type))return null;var $,ee=U&&/string|escape/.test(U.type),ie=!Y||/string|escape/.test(Y.type);if(A==O)($=ee!==ie)&&/string\.end/.test(Y.type)&&($=!1);else{if(ee&&!ie||ee&&ie)return null;var j=k.$mode.tokenRe;j.lastIndex=0;var G=j.test(N);j.lastIndex=0;var V=j.test(A),W=k.$mode.$pairQuotesAfter;if(!(W&&W[O]&&W[O].test(N))&&G||V||A&&!/[\s;,.})\]\\]/.test(A))return null;var le=R[S.column-2];if(N==O&&(le==O||j.test(le)))return null;$=!0}return{text:$?O+O:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(y,M,w,k,I){var D=k.$mode.$quotes||r,O=k.doc.getTextRange(I);if(!I.isMultiLine()&&D.hasOwnProperty(O)&&(u(w),k.doc.getLine(I.start.row).substring(I.start.column+1,I.start.column+2)==O))return I.end.column++,I}),!1!==_.closeDocComment&&this.add("doc comment end","insertion",function(y,M,w,k,I){if("doc-start"===y&&("\n"===I||"\r\n"===I)&&w.selection.isEmpty()){var D=w.getCursorPosition(),O=k.doc.getLine(D.row),T=k.doc.getLine(D.row+1),F=this.$getIndent(O);if(/\s*\*/.test(T))return/^\s*\*/.test(O)?{text:I+F+"* ",selection:[1,3+F.length,1,3+F.length]}:{text:I+F+" * ",selection:[1,3+F.length,1,3+F.length]};if(/\/\*\*/.test(O.substring(0,D.column)))return{text:I+F+" * "+I+" "+F+"*/",selection:[1,4+F.length,1,4+F.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%I!=I-1:le%I==0}}else{if(!this.blockComment)return!1;O=this.blockComment.start;var T=this.blockComment.end,S=(F=new RegExp("^(\\s*)(?:"+d.escapeRegExp(O)+")"),new RegExp("(?:"+d.escapeRegExp(T)+")\\s*$"));R=function($,j){A($,j)||(!M||/\S/.test($))&&(y.insertInLine({row:j,column:$.length},T),y.insertInLine({row:j,column:k},O))},N=function($,j){var G;(G=$.match(S))&&y.removeInLine(j,$.length-G[0].length,$.length),(G=$.match(F))&&y.removeInLine(j,G[1].length,G[0].length)},A=function($,j){if(F.test($))return!0;for(var G=h.getTokens(j),V=0;V$.length&&(ie=$.length)}),k==1/0&&(k=ie,M=!1,w=!1),D&&k%I!=0&&(k=Math.floor(k/I)*I),ee(w?N:R)},this.toggleBlockComment=function(u,h,p,_){var y=this.blockComment;if(y){!y.start&&y[0]&&(y=y[0]);var D,O,w=(M=new l(h,_.row,_.column)).getCurrentToken(),I=h.selection.toOrientedRange();if(w&&/comment/.test(w.type)){for(var T,F;w&&/comment/.test(w.type);){if(-1!=(S=w.value.indexOf(y.start))){var R=M.getCurrentTokenRow(),N=M.getCurrentTokenColumn()+S;T=new a(R,N,R,N+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))){R=M.getCurrentTokenRow(),N=M.getCurrentTokenColumn()+S,F=new a(R,N,R,N+y.end.length);break}w=M.stepForward()}F&&h.remove(F),T&&(h.remove(T),D=T.start.row,O=-y.start.length)}else O=y.start.length,D=p.start.row,h.insert(p.end,y.end),h.insert(p.start,y.start);I.start.row==D&&(I.start.column+=O),I.end.row==D&&(I.end.column+=O),h.selection.fromOrientedRange(I)}},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(I){var D,O,T;T=(D=k)[O=M[I]],D[M[I]]=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 D(){this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return D.prototype.addSession=function(O){this.$session=O},D.prototype.add=function(O,T,F){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)}},D.prototype.addSelection=function(O,T){this.selections.push({value:O,rev:T||this.$rev})},D.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},D.prototype.markIgnored=function(O,T){null==T&&(T=this.$rev+1);for(var F=this.$undoStack,S=F.length;S--;){var R=F[S][0];if(R.id<=O)break;R.id0},D.prototype.canRedo=function(){return this.$redoStack.length>0},D.prototype.bookmark=function(O){null==O&&(O=this.$rev),this.mark=O},D.prototype.isAtBookmark=function(){return this.$rev===this.mark},D.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},D.prototype.fromJSON=function(O){this.reset(),this.$undoStack=O.$undoStack,this.$redoStack=O.$redoStack},D.prototype.$prettyPrint=function(O){return O?r(O):r(this.$undoStack)+"\n---\n"+r(this.$redoStack)},D}();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(D){return{row:D.row,column:D.column}}function r(D){if(D=D||this,Array.isArray(D))return D.map(r).join("\n");var O="";return D.action?(O="insert"==D.action?"+":"-",O+="["+D.lines+"]"):D.value&&(O=Array.isArray(D.value)?D.value.map(u).join("\n"):u(D.value)),D.start&&(O+=u(D)),(D.id||D.rev)&&(O+="\t("+(D.id||D.rev)+")"),O}function u(D){return D.start.row+":"+D.start.column+"=>"+D.end.row+":"+D.end.column}function h(D,O){var T="insert"==D.action,F="insert"==O.action;if(T&&F)if(s(O.start,D.end)>=0)y(O,D,-1);else{if(!(s(O.start,D.start)<=0))return null;y(D,O,1)}else if(T&&!F)if(s(O.start,D.end)>=0)y(O,D,-1);else{if(!(s(O.end,D.start)<=0))return null;y(D,O,-1)}else if(!T&&F)if(s(O.start,D.start)>=0)y(O,D,1);else{if(!(s(O.start,D.start)<=0))return null;y(D,O,1)}else if(!T&&!F)if(s(O.start,D.start)>=0)y(O,D,1);else{if(!(s(O.end,D.start)<=0))return null;y(D,O,-1)}return[O,D]}function p(D,O){for(var T=D.length;T--;)for(var F=0;F=0?y(D,O,-1):(s(D.start,O.start)<=0||y(D,b.fromPoints(O.start,D.start),-1),y(O,D,1));else if(!T&&F)s(O.start,D.end)>=0?y(O,D,-1):(s(O.start,D.start)<=0||y(O,b.fromPoints(D.start,O.start),-1),y(D,O,1));else if(!T&&!F)if(s(O.start,D.end)>=0)y(O,D,-1);else{var S,R;if(!(s(O.end,D.start)<=0))return s(D.start,O.start)<0&&(S=D,D=w(D,O.start)),s(D.end,O.end)>0&&(R=w(D,O.end)),M(O.end,D.start,D.end,-1),R&&!S&&(D.lines=R.lines,D.start=R.start,D.end=R.end,R=D),[O,S,R].filter(Boolean);y(D,O,-1)}return[O,D]}function y(D,O,T){M(D.start,O.start,O.end,T),M(D.end,O.start,O.end,T)}function M(D,O,T,F){D.row==(1==F?O:T).row&&(D.column+=F*(T.column-O.column)),D.row+=F*(T.row-O.row)}function w(D,O){var T=D.lines,F=D.end;D.end=l(O);var S=D.end.row-D.start.row,R=T.splice(S,T.length),N=S?O.column:O.column-D.start.column;return T.push(R[0].substring(0,N)),R[0]=R[0].substr(N),{start:l(O),end:F,lines:R,action:D.action}}function k(D,O){O=function a(D){return{start:l(D.start),end:l(D.end),action:D.action,lines:D.lines.slice()}}(O);for(var T=D.length;T--;){for(var F=D[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 I=this.getFoldsInRange(h.range);I.length>0&&(this.removeFolds(I),h.collapseChildren||I.forEach(function(F){h.addSubFold(F)}));for(var D=0;D0&&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 I=0,D=d;D;){if(-1!==D.type.indexOf("tag-name")&&D.value===l){a--;break}if("<"===D.value)break;D=s.stepBackward(),I++}for(var O=0;OA&&(this.$docRowCache.splice(A,N),this.$screenRowCache.splice(A,N))},S.prototype.$getRowCacheIndex=function(R,N){for(var A=0,U=R.length-1;A<=U;){var Y=A+U>>1,ee=R[Y];if(N>ee)A=Y+1;else{if(!(N=N);ee++);return(U=A[ee])?(U.index=ee,U.start=Y-U.value.length,U):null},S.prototype.setUndoManager=function(R){if(this.$undoManager=R,this.$informUndoManager&&this.$informUndoManager.cancel(),R){var N=this;R.addSession(this),this.$syncInformUndoManager=function(){N.$informUndoManager.cancel(),N.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(R){this.setOption("useSoftTabs",R)},S.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},S.prototype.setTabSize=function(R){this.setOption("tabSize",R)},S.prototype.getTabSize=function(){return this.$tabSize},S.prototype.isTabStop=function(R){return this.$useSoftTabs&&R.column%this.$tabSize==0},S.prototype.setNavigateWithinSoftTabs=function(R){this.setOption("navigateWithinSoftTabs",R)},S.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},S.prototype.setOverwrite=function(R){this.setOption("overwrite",R)},S.prototype.getOverwrite=function(){return this.$overwrite},S.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},S.prototype.addGutterDecoration=function(R,N){this.$decorations[R]||(this.$decorations[R]=""),this.$decorations[R]+=" "+N,this._signal("changeBreakpoint",{})},S.prototype.removeGutterDecoration=function(R,N){this.$decorations[R]=(this.$decorations[R]||"").replace(" "+N,""),this._signal("changeBreakpoint",{})},S.prototype.getBreakpoints=function(){return this.$breakpoints},S.prototype.setBreakpoints=function(R){this.$breakpoints=[];for(var N=0;N0&&(U=!!A.charAt(N-1).match(this.tokenRe)),U||(U=!!A.charAt(N).match(this.tokenRe)),U)var Y=this.tokenRe;else Y=/^\s+$/.test(A.slice(N-1,N+1))?/\s/:this.nonTokenRe;var ee=N;if(ee>0){do{ee--}while(ee>=0&&A.charAt(ee).match(Y));ee++}for(var ie=N;ieR&&(R=N.screenWidth)}),this.lineWidgetWidth=R},S.prototype.$computeWidth=function(R){if(this.$modified||R){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var N=this.doc.getAllLines(),A=this.$rowLengthCache,U=0,Y=0,ee=this.$foldData[Y],ie=ee?ee.start.row:1/0,$=N.length,j=0;j<$;j++){if(j>ie){if((j=ee.end.row+1)>=$)break;ie=(ee=this.$foldData[Y++])?ee.start.row:1/0}null==A[j]&&(A[j]=this.$getStringScreenWidth(N[j])[0]),A[j]>U&&(U=A[j])}this.screenWidth=U}},S.prototype.getLine=function(R){return this.doc.getLine(R)},S.prototype.getLines=function(R,N){return this.doc.getLines(R,N)},S.prototype.getLength=function(){return this.doc.getLength()},S.prototype.getTextRange=function(R){return this.doc.getTextRange(R||this.selection.getRange())},S.prototype.insert=function(R,N){return this.doc.insert(R,N)},S.prototype.remove=function(R){return this.doc.remove(R)},S.prototype.removeFullLines=function(R,N){return this.doc.removeFullLines(R,N)},S.prototype.undoChanges=function(R,N){if(R.length){this.$fromUndo=!0;for(var A=R.length-1;-1!=A;A--){var U=R[A];"insert"==U.action||"remove"==U.action?this.doc.revertDelta(U):U.folds&&this.addFolds(U.folds)}!N&&this.$undoSelect&&(R.selectionBefore?this.selection.fromJSON(R.selectionBefore):this.selection.setRange(this.$getUndoSelection(R,!0))),this.$fromUndo=!1}},S.prototype.redoChanges=function(R,N){if(R.length){this.$fromUndo=!0;for(var A=0;AR.end.column&&(ee.start.column+=$),ee.end.row==R.end.row&&ee.end.column>R.end.column&&(ee.end.column+=$)),ie&&ee.start.row>=R.end.row&&(ee.start.row+=ie,ee.end.row+=ie)),ee.end=this.insert(ee.start,U),Y.length){var j=R.start,G=ee.start,ie=G.row-j.row,$=G.column-j.column;this.addFolds(Y.map(function(K){return(K=K.clone()).start.row==j.row&&(K.start.column+=$),K.end.row==j.row&&(K.end.column+=$),K.start.row+=ie,K.end.row+=ie,K}))}return ee},S.prototype.indentRows=function(R,N,A){A=A.replace(/\t/g,this.getTabString());for(var U=R;U<=N;U++)this.doc.insertInLine({row:U,column:0},A)},S.prototype.outdentRows=function(R){for(var N=R.collapseRows(),A=new a(0,0,0,0),U=this.getTabSize(),Y=N.start.row;Y<=N.end.row;++Y){var ee=this.getLine(Y);A.start.row=Y,A.end.row=Y;for(var ie=0;ie0){var U;if((U=this.getRowFoldEnd(N+A))>this.doc.getLength()-1)return 0;Y=U-N}else R=this.$clipRowToDocument(R),Y=(N=this.$clipRowToDocument(N))-R+1;var ee=new a(R,0,N,Number.MAX_VALUE),ie=this.getFoldsInRange(ee).map(function(j){return(j=j.clone()).start.row+=Y,j.end.row+=Y,j}),$=0==A?this.doc.getLines(R,N):this.doc.removeFullLines(R,N);return this.doc.insertFullLines(R+Y,$),ie.length&&this.addFolds(ie),Y},S.prototype.moveLinesUp=function(R,N){return this.$moveLines(R,N,-1)},S.prototype.moveLinesDown=function(R,N){return this.$moveLines(R,N,1)},S.prototype.duplicateLines=function(R,N){return this.$moveLines(R,N,0)},S.prototype.$clipRowToDocument=function(R){return Math.max(0,Math.min(R,this.doc.getLength()-1))},S.prototype.$clipColumnToRow=function(R,N){return N<0?0:Math.min(this.doc.getLine(R).length,N)},S.prototype.$clipPositionToDocument=function(R,N){if(N=Math.max(0,N),R<0)R=0,N=0;else{var A=this.doc.getLength();R>=A?(R=A-1,N=this.doc.getLine(A-1).length):N=Math.min(this.doc.getLine(R).length,N)}return{row:R,column:N}},S.prototype.$clipRangeToDocument=function(R){R.start.row<0?(R.start.row=0,R.start.column=0):R.start.column=this.$clipColumnToRow(R.start.row,R.start.column);var N=this.doc.getLength()-1;return R.end.row>N?(R.end.row=N,R.end.column=this.doc.getLine(N).length):R.end.column=this.$clipColumnToRow(R.end.row,R.end.column),R},S.prototype.setUseWrapMode=function(R){if(R!=this.$useWrapMode){if(this.$useWrapMode=R,this.$modified=!0,this.$resetRowCache(0),R){var N=this.getLength();this.$wrapData=Array(N),this.$updateWrapData(0,N-1)}this._signal("changeWrapMode")}},S.prototype.getUseWrapMode=function(){return this.$useWrapMode},S.prototype.setWrapLimitRange=function(R,N){(this.$wrapLimitRange.min!==R||this.$wrapLimitRange.max!==N)&&(this.$wrapLimitRange={min:R,max:N},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},S.prototype.adjustWrapLimit=function(R,N){var A=this.$wrapLimitRange;A.max<0&&(A={min:N,max:N});var U=this.$constrainWrapLimit(R,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(R,N,A){return N&&(R=Math.max(N,R)),A&&(R=Math.min(A,R)),R},S.prototype.getWrapLimit=function(){return this.$wrapLimit},S.prototype.setWrapLimit=function(R){this.setWrapLimitRange(R,R)},S.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},S.prototype.$updateInternalDataOnChange=function(R){var N=this.$useWrapMode,A=R.action,U=R.start,Y=R.end,ee=U.row,ie=Y.row,$=ie-ee,j=null;if(this.$updating=!0,0!=$)if("remove"===A){this[N?"$wrapData":"$rowLengthCache"].splice(ee,$);var G=this.$foldData;j=this.getFoldsInRange(R),this.removeFolds(j);var W=0;if(V=this.getFoldLine(Y.row)){V.addRemoveChars(Y.row,Y.column,U.column-Y.column),V.shiftRow(-$);var K=this.getFoldLine(ee);K&&K!==V&&(K.merge(V),V=K),W=G.indexOf(V)+1}for(;W=Y.row&&V.shiftRow(-$);ie=ee}else{var le=Array($);le.unshift(ee,0);var ue=N?this.$wrapData:this.$rowLengthCache;if(ue.splice.apply(ue,le),G=this.$foldData,W=0,V=this.getFoldLine(ee)){var ve=V.range.compareInside(U.row,U.column);0==ve?(V=V.split(U.row,U.column))&&(V.shiftRow($),V.addRemoveChars(ie,0,Y.column-U.column)):-1==ve&&(V.addRemoveChars(ee,0,Y.column-U.column),V.shiftRow($)),W=G.indexOf(V)+1}for(;W=ee&&V.shiftRow($)}}else $=Math.abs(R.start.column-R.end.column),"remove"===A&&(j=this.getFoldsInRange(R),this.removeFolds(j),$=-$),(V=this.getFoldLine(ee))&&V.addRemoveChars(ee,U.column,$);return N&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,N?this.$updateWrapData(ee,ie):this.$updateRowLengthCache(ee,ie),j},S.prototype.$updateRowLengthCache=function(R,N){this.$rowLengthCache[R]=null,this.$rowLengthCache[N]=null},S.prototype.$updateWrapData=function(R,N){var ie,$,A=this.doc.getAllLines(),U=this.getTabSize(),Y=this.$wrapData,ee=this.$wrapLimit,j=R;for(N=Math.min(N,A.length-1);j<=N;)($=this.getFoldLine(j,$))?(ie=[],$.walk(function(G,V,W,K){var le;if(null!=G){(le=this.$getDisplayTokens(G,ie.length))[0]=w;for(var ue=1;ueN-K;){var le=ee+N-K;if(R[le-1]>=D&&R[le]>=D)W(le);else if(R[le]!=w&&R[le]!=k){for(var ue=Math.max(le-(N-(N>>2)),ee-1);le>ue&&R[le]ue&&R[le]ue&&R[le]==I;)le--}else for(;le>ue&&R[le]ue?W(++le):(R[le=ee+N]==M&&le--,W(le-K))}else{for(;le!=ee-1&&R[le]!=w;le--);if(le>ee){W(le);continue}for(le=ee+N;le39&&ee<48||ee>57&&ee<64?A.push(I):ee>=4352&&F(ee)?A.push(y,M):A.push(y)}return A},S.prototype.$getStringScreenWidth=function(R,N,A){if(0==N)return[0,0];var U,Y;for(null==N&&(N=1/0),A=A||0,Y=0;Y=4352&&F(U)?A+=2:A+=1,!(A>N));Y++);return[A,Y]},S.prototype.getRowLength=function(R){var N=1;return this.lineWidgets&&(N+=this.lineWidgets[R]&&this.lineWidgets[R].rowCount||0),this.$useWrapMode&&this.$wrapData[R]?this.$wrapData[R].length+N:N},S.prototype.getRowLineCount=function(R){return this.$useWrapMode&&this.$wrapData[R]?this.$wrapData[R].length+1:1},S.prototype.getRowWrapIndent=function(R){if(this.$useWrapMode){var N=this.screenToDocumentPosition(R,Number.MAX_VALUE),A=this.$wrapData[N.row];return A.length&&A[0]=0){$=G[V],Y=this.$docRowCache[V];var K=R>G[W-1]}else K=!W;for(var le=this.getLength()-1,ue=this.getNextFoldLine(Y),ve=ue?ue.start.row:1/0;$<=R&&!($+(j=this.getRowLength(Y))>R||Y>=le);)$+=j,++Y>ve&&(ve=(ue=this.getNextFoldLine(Y=ue.end.row+1,ue))?ue.start.row:1/0),K&&(this.$docRowCache.push(Y),this.$screenRowCache.push($));if(ue&&ue.start.row<=Y)U=this.getFoldDisplayLine(ue),Y=ue.start.row;else{if($+j<=R||Y>le)return{row:le,column:this.getLine(le).length};U=this.getLine(Y),ue=null}var Ye=0,mt=Math.floor(R-$);if(this.$useWrapMode){var ct=this.$wrapData[Y];ct&&(ie=ct[mt],mt>0&&ct.length&&(Ye=ct.indent,U=U.substring(ee=ct[mt-1]||ct[ct.length-1])))}return void 0!==A&&this.$bidiHandler.isBidiRow($+mt,Y,mt)&&(N=this.$bidiHandler.offsetToCol(A)),ee+=this.$getStringScreenWidth(U,N-Ye)[1],this.$useWrapMode&&ee>=ie&&(ee=ie-1),ue?ue.idxToPosition(ee):{row:Y,column:ee}},S.prototype.documentToScreenPosition=function(R,N){if(typeof N>"u")var A=this.$clipPositionToDocument(R.row,R.column);else A=this.$clipPositionToDocument(R,N);var ee,U=0,Y=null;(ee=this.getFoldAt(R=A.row,N=A.column,1))&&(R=ee.start.row,N=ee.start.column);var ie,$=0,j=this.$docRowCache,G=this.$getRowCacheIndex(j,R),V=j.length;if(V&&G>=0){$=j[G],U=this.$screenRowCache[G];var W=R>j[V-1]}else W=!V;for(var K=this.getNextFoldLine($),le=K?K.start.row:1/0;$=le){if((ie=K.end.row+1)>R)break;le=(K=this.getNextFoldLine(ie,K))?K.start.row:1/0}else ie=$+1;U+=this.getRowLength($),$=ie,W&&(this.$docRowCache.push($),this.$screenRowCache.push(U))}var ue="";K&&$>=le?(ue=this.getFoldDisplayLine(K,R,N),Y=K.start.row):(ue=this.getLine(R).substring(0,N),Y=R);var ve=0;if(this.$useWrapMode){var Ye=this.$wrapData[Y];if(Ye){for(var mt=0;ue.length>=Ye[mt];)U++,mt++;ue=ue.substring(Ye[mt-1]||0,ue.length),ve=mt>0?Ye.indent:0}}return this.lineWidgets&&this.lineWidgets[$]&&this.lineWidgets[$].rowsAbove&&(U+=this.lineWidgets[$].rowsAbove),{row:U,column:ve+this.$getStringScreenWidth(ue)[0]}},S.prototype.documentToScreenColumn=function(R,N){return this.documentToScreenPosition(R,N).column},S.prototype.documentToScreenRow=function(R,N){return this.documentToScreenPosition(R,N).row},S.prototype.getScreenLength=function(){var R=0,N=null;if(this.$useWrapMode)for(var Y=this.$wrapData.length,ee=0,U=0,ie=(N=this.$foldData[U++])?N.start.row:1/0;eeie&&(ee=N.end.row+1,ie=(N=this.$foldData[U++])?N.start.row:1/0)}else{R=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=F,E.implement(_.prototype,f);var y=1,M=2,w=3,k=4,I=9,D=10,O=11,T=12;function F(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 R="number"==typeof S?S:null;this.setWrapLimitRange(R,R),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 I=u[w],D=u[w+_-1],O=I.length-I.match(p[0])[0].length,T=D.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 F=0;FA&&h[k].end.row==U;)k--;for(h=h.slice(F,k+1),F=0,k=h.length;F=M;T--)if(D(T,Number.MAX_VALUE,O))return;if(0!=a.wrap)for(T=w,M=y.row;T>=M;T--)if(D(T,Number.MAX_VALUE,O))return}};else k=function(T){var F=y.row;if(!D(F,y.column,T)){for(F+=1;F<=w;F++)if(D(F,0,T))return;if(0!=a.wrap)for(F=M,w=y.row;F<=w;F++)if(D(F,0,T))return}};if(a.$isMultiLine)var I=r.length,D=function(O,T,F){var S=u?O-I+1:O;if(!(S<0||S+I>l.getLength())){var R=l.getLine(S),N=R.search(r[0]);if(!(!u&&NT)&&F(S,N,S+I-1,U))return!0}}};else D=u?function(T,F,S){var A,R=l.getLine(T),N=[],U=0;for(r.lastIndex=0;A=r.exec(R);){if(U=A.index,!(Y=A[0].length)){if(U>=R.length)break;r.lastIndex=U+=E.skipEmptyMatch(R,U,p)}if(A.index+Y>F)break;N.push(A.index,Y)}for(var ee=N.length-1;ee>=0;ee-=2){var Y,ie=N[ee-1];if(S(T,ie,T,ie+(Y=N[ee])))return!0}}:function(T,F,S){var N,A,R=l.getLine(T);for(r.lastIndex=F;A=r.exec(R);){var U=A[0].length;if(S(T,N=A.index,T,N+U))return!0;if(!U&&(r.lastIndex=N+=E.skipEmptyMatch(R,N,p),N>=R.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 I=this.parseKeys(k);this._addCommandToBinding(_+=(_?" ":"")+(s[I.hashId]+I.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=N.length&&(N=void 0),{value:N&&N[Y++],done:!N}}};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,I=t("./line_widgets").LineWidgets,D=t("./keyboard/gutter_handler").GutterKeyboardHandler,O=t("./config").nls,T=t("./clipboard"),F=t("./lib/keys"),S=function(){function N(A,U,Y){this.$toDestroy=[];var ee=A.getContainerElement();this.container=ee,this.renderer=A,this.id="editor"+ ++N.$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(ie,$){$._$emitInputEvent.schedule(31)}),this.setSession(U||Y&&Y.session||new u("")),w.resetOptions(this),Y&&this.setOptions(Y),w._signal("editor",this)}return N.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)},N.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()},N.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,Y=U&&U.scrollIntoView;if(Y){switch(Y){case"center-animate":Y="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var ee=this.selection.getRange(),ie=this.renderer.layerConfig;(ee.start.row>=ie.lastRow||ee.end.row<=ie.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==Y&&this.renderer.animateScrolling(this.curOp.scrollTop)}var $=this.selection.toJSON();this.curOp.selectionAfter=$,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection($),this.prevOp=this.curOp,this.curOp=null}},N.prototype.$historyTracker=function(A){if(this.$mergeUndoDeltas){var U=this.prevOp,Y=this.$mergeableCommands,ee=U.command&&A.command.name==U.command.name;if("insertstring"==A.command.name){var ie=A.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),ee=ee&&this.mergeNextCommand&&(!/\s/.test(ie)||/\s/.test(U.args)),this.mergeNextCommand=!0}else ee=ee&&-1!==Y.indexOf(A.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(ee=!1),ee?this.session.mergeUndoDeltas=!0:-1!==Y.indexOf(A.command.name)&&(this.sequenceStartTime=Date.now())}},N.prototype.setKeyboardHandler=function(A,U){if(A&&"string"==typeof A&&"ace"!=A){this.$keybindingId=A;var Y=this;w.loadModule(["keybinding",A],function(ee){Y.$keybindingId==A&&Y.keyBinding.setKeyboardHandler(ee&&ee.handler),U&&U()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(A),U&&U()},N.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},N.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 Y=this.session.getSelection();Y.off("changeCursor",this.$onCursorChange),Y.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()}},N.prototype.getSession=function(){return this.session},N.prototype.setValue=function(A,U){return this.session.doc.setValue(A),U?1==U?this.navigateFileEnd():-1==U&&this.navigateFileStart():this.selectAll(),A},N.prototype.getValue=function(){return this.session.getValue()},N.prototype.getSelection=function(){return this.selection},N.prototype.resize=function(A){this.renderer.onResize(A)},N.prototype.setTheme=function(A,U){this.renderer.setTheme(A,U)},N.prototype.getTheme=function(){return this.renderer.getTheme()},N.prototype.setStyle=function(A){this.renderer.setStyle(A)},N.prototype.unsetStyle=function(A){this.renderer.unsetStyle(A)},N.prototype.getFontSize=function(){return this.getOption("fontSize")||b.computedStyle(this.container).fontSize},N.prototype.setFontSize=function(A){this.setOption("fontSize",A)},N.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(K){U.removeMarker(K)}),U.$bracketHighlight=null);var Y=A.getCursorPosition(),ee=A.getKeyboardHandler(),ie=ee&&ee.$getDirectionForHighlight&&ee.$getDirectionForHighlight(A),$=U.getMatchingBracketRanges(Y,ie);if(!$){var G=new k(U,Y.row,Y.column).getCurrentToken();if(G&&/\b(?:tag-open|tag-name)/.test(G.type)){var V=U.getMatchingTags(Y);V&&($=[V.openTagName,V.closeTagName])}}if(!$&&U.$mode.getMatching&&($=U.$mode.getMatching(A.session)),!$)return void(A.getHighlightIndentGuides()&&A.renderer.$textLayer.$highlightIndentGuide());var W="ace_bracket";Array.isArray($)?1==$.length&&(W="ace_error_bracket"):$=[$],2==$.length&&(0==p.comparePoints($[0].end,$[1].start)?$=[p.fromPoints($[0].start,$[1].end)]:0==p.comparePoints($[0].start,$[1].end)&&($=[p.fromPoints($[1].start,$[0].end)])),U.$bracketHighlight={ranges:$,markerIds:$.map(function(K){return U.addMarker(K,W,"text")})},A.getHighlightIndentGuides()&&A.renderer.$textLayer.$highlightIndentGuide()}},50)}},N.prototype.focus=function(){this.textInput.focus()},N.prototype.isFocused=function(){return this.textInput.isFocused()},N.prototype.blur=function(){this.textInput.blur()},N.prototype.onFocus=function(A){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",A))},N.prototype.onBlur=function(A){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",A))},N.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},N.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()},N.prototype.onTokenizerUpdate=function(A){var U=A.data;this.renderer.updateLines(U.first,U.last)},N.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},N.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},N.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},N.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 Y=new p(U.row,U.column,U.row,1/0);Y.id=A.addMarker(Y,"ace_active-line","screenLine"),A.$highlightLineMarker=Y}else U&&(A.$highlightLineMarker.start.row=U.row,A.$highlightLineMarker.end.row=U.row,A.$highlightLineMarker.start.column=U.column,A._signal("changeBackMarker"))},N.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 Y=this.selection.getRange(),ee=this.getSelectionStyle();U.$selectionMarker=U.addMarker(Y,"ace_selection",ee)}var ie=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(ie),this._signal("changeSelection")},N.prototype.$getSelectionHighLightRegexp=function(){var A=this.session,U=this.getSelectionRange();if(!U.isEmpty()&&!U.isMultiLine()){var Y=U.start.column,ee=U.end.column,ie=A.getLine(U.start.row),$=ie.substring(Y,ee);if(!($.length>5e3)&&/[\w\d]/.test($)){var j=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:$}),G=ie.substring(Y-1,ee+1);if(j.test(G))return j}}},N.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},N.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},N.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},N.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},N.prototype.onChangeMode=function(A){this.renderer.updateText(),this._emit("changeMode",A)},N.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},N.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},N.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},N.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},N.prototype.getCopyText=function(){var A=this.getSelectedText(),U=this.session.doc.getNewLineCharacter(),Y=!1;if(!A&&this.$copyWithEmptySelection){Y=!0;for(var ee=this.selection.getAllRanges(),ie=0;ieK.search(/\S|$/)){var G=K.substr(ie.column).search(/\S|$/);Y.doc.removeInLine(ie.row,ie.column,ie.column+G)}}this.clearSelection();var V=ie.column,W=Y.getState(ie.row),le=(K=Y.getLine(ie.row),ee.checkOutdent(W,K,A));if(Y.insert(ie,A),$&&$.selection&&this.selection.setSelectionRange(2==$.selection.length?new p(ie.row,V+$.selection[0],ie.row,V+$.selection[1]):new p(ie.row+$.selection[0],$.selection[1],ie.row+$.selection[2],$.selection[3])),this.$enableAutoIndent){if(Y.getDocument().isNewLine(A)){var ue=ee.getNextLineIndent(W,K.slice(0,ie.column),Y.getTabString());Y.insert({row:ie.row+1,column:0},ue)}le&&ee.autoOutdent(W,Y,ie.row)}},N.prototype.autoIndent=function(){for(var A=this.session,U=A.getMode(),Y=this.selection.isEmpty()?[new p(0,0,A.doc.getLength()-1,0)]:this.selection.getAllRanges(),ee="",ie="",$="",j=A.getTabString(),G=0;G0&&(ee=A.getState(K-1),ie=A.getLine(K-1),$=U.getNextLineIndent(ee,ie,j));var le=A.getLine(K),ue=U.$getIndent(le);if($!==ue){if(ue.length>0){var ve=new p(K,0,K,ue.length);A.remove(ve)}$.length>0&&A.insert({row:K,column:0},$)}U.autoOutdent(ee,A,K)}},N.prototype.onTextInput=function(A,U){if(!U)return this.keyBinding.onTextInput(A);this.startOperation({command:{name:"insertstring"}});var Y=this.applyComposition.bind(this,A,U);this.selection.rangeCount?this.forEachSelection(Y):Y(),this.endOperation()},N.prototype.applyComposition=function(A,U){var Y;(U.extendLeft||U.extendRight)&&((Y=this.selection.getRange()).start.column-=U.extendLeft,Y.end.column+=U.extendRight,Y.start.column<0&&(Y.start.row--,Y.start.column+=this.session.getLine(Y.start.row).length+1),this.selection.setRange(Y),!A&&!Y.isEmpty()&&this.remove()),(A||!this.selection.isEmpty())&&this.insert(A,!0),(U.restoreStart||U.restoreEnd)&&((Y=this.selection.getRange()).start.column-=U.restoreStart,Y.end.column-=U.restoreEnd,this.selection.setRange(Y))},N.prototype.onCommandKey=function(A,U,Y){return this.keyBinding.onCommandKey(A,U,Y)},N.prototype.setOverwrite=function(A){this.session.setOverwrite(A)},N.prototype.getOverwrite=function(){return this.session.getOverwrite()},N.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},N.prototype.setScrollSpeed=function(A){this.setOption("scrollSpeed",A)},N.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},N.prototype.setDragDelay=function(A){this.setOption("dragDelay",A)},N.prototype.getDragDelay=function(){return this.getOption("dragDelay")},N.prototype.setSelectionStyle=function(A){this.setOption("selectionStyle",A)},N.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},N.prototype.setHighlightActiveLine=function(A){this.setOption("highlightActiveLine",A)},N.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},N.prototype.setHighlightGutterLine=function(A){this.setOption("highlightGutterLine",A)},N.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},N.prototype.setHighlightSelectedWord=function(A){this.setOption("highlightSelectedWord",A)},N.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},N.prototype.setAnimatedScroll=function(A){this.renderer.setAnimatedScroll(A)},N.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},N.prototype.setShowInvisibles=function(A){this.renderer.setShowInvisibles(A)},N.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},N.prototype.setDisplayIndentGuides=function(A){this.renderer.setDisplayIndentGuides(A)},N.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},N.prototype.setHighlightIndentGuides=function(A){this.renderer.setHighlightIndentGuides(A)},N.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},N.prototype.setShowPrintMargin=function(A){this.renderer.setShowPrintMargin(A)},N.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},N.prototype.setPrintMarginColumn=function(A){this.renderer.setPrintMarginColumn(A)},N.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},N.prototype.setReadOnly=function(A){this.setOption("readOnly",A)},N.prototype.getReadOnly=function(){return this.getOption("readOnly")},N.prototype.setBehavioursEnabled=function(A){this.setOption("behavioursEnabled",A)},N.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},N.prototype.setWrapBehavioursEnabled=function(A){this.setOption("wrapBehavioursEnabled",A)},N.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},N.prototype.setShowFoldWidgets=function(A){this.setOption("showFoldWidgets",A)},N.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},N.prototype.setFadeFoldWidgets=function(A){this.setOption("fadeFoldWidgets",A)},N.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},N.prototype.remove=function(A){this.selection.isEmpty()&&("left"==A?this.selection.selectLeft():this.selection.selectRight());var U=this.getSelectionRange();if(this.getBehavioursEnabled()){var Y=this.session,ee=Y.getState(U.start.row),ie=Y.getMode().transformAction(ee,"deletion",this,Y,U);if(0===U.end.column){var $=Y.getTextRange(U);if("\n"==$[$.length-1]){var j=Y.getLine(U.end.row);/^\s+$/.test(j)&&(U.end.column=j.length)}}ie&&(U=ie)}this.session.remove(U),this.clearSelection()},N.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},N.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},N.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},N.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()},N.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var A=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(A)},N.prototype.setGhostText=function(A,U){this.session.widgetManager||(this.session.widgetManager=new I(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(A,U)},N.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},N.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var A=this.getCursorPosition(),U=A.column;if(0!==U){var ee,ie,Y=this.session.getLine(A.row);UG.toLowerCase()?1:0});var ie=new p(0,0,0,0);for(ee=A.first;ee<=A.last;ee++){var $=U.getLine(ee);ie.start.row=ee,ie.end.row=ee,ie.end.column=$.length,U.replace(ie,Y[ee-A.first])}},N.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)},N.prototype.toggleBlockComment=function(){var A=this.getCursorPosition(),U=this.session.getState(A.row),Y=this.getSelectionRange();this.session.getMode().toggleBlockComment(U,this.session,Y,A)},N.prototype.getNumberAt=function(A,U){var Y=/[\-]?[0-9]+(?:\.[0-9]+)?/g;Y.lastIndex=0;for(var ee=this.session.getLine(A);Y.lastIndex=U)return{value:ie[0],start:ie.index,end:ie.index+ie[0].length}}return null},N.prototype.modifyNumber=function(A){var U=this.selection.getCursor().row,Y=this.selection.getCursor().column,ee=new p(U,Y-1,U,Y),ie=this.session.getTextRange(ee);if(!isNaN(parseFloat(ie))&&isFinite(ie)){var $=this.getNumberAt(U,Y);if($){var j=$.value.indexOf(".")>=0?$.start+$.value.indexOf(".")+1:$.end,G=$.start+$.value.length-j,V=parseFloat($.value);V*=Math.pow(10,G),V+=A*=j!==$.end&&Y=j&&$<=G&&(Y=Ct,V.selection.clearSelection(),V.moveCursorTo(A,j+ee),V.selection.selectTo(A,G+ee)),j=G});for(var K,W=this.$toggleWordPairs,le=0;le=G&&j<=V&&ue.match(/((?:https?|ftp):\/\/[\S]+)/)){W=ue.replace(/[\s:.,'";}\]]+$/,"");break}G=V}}catch(ve){Y={error:ve}}finally{try{le&&!le.done&&(ee=K.return)&&ee.call(K)}finally{if(Y)throw Y.error}}return W},N.prototype.openLink=function(){var A=this.selection.getCursor(),U=this.findLinkAt(A.row,A.column);return U&&window.open(U,"_blank"),null!=U},N.prototype.removeLines=function(){var A=this.$getSelectedRows();this.session.removeFullLines(A.first,A.last),this.clearSelection()},N.prototype.duplicateSelection=function(){var A=this.selection,U=this.session,Y=A.getRange(),ee=A.isBackwards();if(Y.isEmpty()){var ie=Y.start.row;U.duplicateLines(ie,ie)}else{var $=ee?Y.start:Y.end,j=U.insert($,U.getTextRange(Y));Y.start=$,Y.end=j,A.setSelectionRange(Y,ee)}},N.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},N.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},N.prototype.moveText=function(A,U,Y){return this.session.moveText(A,U,Y)},N.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},N.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},N.prototype.$moveLines=function(A,U){var Y,ee,ie=this.selection;if(!ie.inMultiSelectMode||this.inVirtualSelectionMode){var $=ie.toOrientedRange();Y=this.$getSelectedRows($),ee=this.session.$moveLines(Y.first,Y.last,U?0:A),U&&-1==A&&(ee=0),$.moveBy(ee,0),ie.fromOrientedRange($)}else{var j=ie.rangeList.ranges;ie.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var G=0,V=0,W=j.length,K=0;Kve+1)break;ve=Ye.last}for(K--,G=this.session.$moveLines(ue,ve,U?0:A),U&&-1==A&&(le=K+1);le<=K;)j[le].moveBy(G,0),le++;U||(G=0),V+=G}ie.fromOrientedRange(ie.ranges[0]),ie.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},N.prototype.$getSelectedRows=function(A){return A=(A||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(A.start.row),last:this.session.getRowFoldEnd(A.end.row)}},N.prototype.onCompositionStart=function(A){this.renderer.showComposition(A)},N.prototype.onCompositionUpdate=function(A){this.renderer.setCompositionText(A)},N.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},N.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},N.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},N.prototype.isRowVisible=function(A){return A>=this.getFirstVisibleRow()&&A<=this.getLastVisibleRow()},N.prototype.isRowFullyVisible=function(A){return A>=this.renderer.getFirstFullyVisibleRow()&&A<=this.renderer.getLastFullyVisibleRow()},N.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},N.prototype.$moveByPage=function(A,U){var Y=this.renderer,ee=this.renderer.layerConfig,ie=A*Math.floor(ee.height/ee.lineHeight);!0===U?this.selection.$moveSelection(function(){this.moveCursorBy(ie,0)}):!1===U&&(this.selection.moveCursorBy(ie,0),this.selection.clearSelection());var $=Y.scrollTop;Y.scrollBy(0,ie*ee.lineHeight),null!=U&&Y.scrollCursorIntoView(null,.5),Y.animateScrolling($)},N.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},N.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},N.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},N.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},N.prototype.scrollPageDown=function(){this.$moveByPage(1)},N.prototype.scrollPageUp=function(){this.$moveByPage(-1)},N.prototype.scrollToRow=function(A){this.renderer.scrollToRow(A)},N.prototype.scrollToLine=function(A,U,Y,ee){this.renderer.scrollToLine(A,U,Y,ee)},N.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)},N.prototype.getCursorPosition=function(){return this.selection.getCursor()},N.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},N.prototype.getSelectionRange=function(){return this.selection.getRange()},N.prototype.selectAll=function(){this.selection.selectAll()},N.prototype.clearSelection=function(){this.selection.clearSelection()},N.prototype.moveCursorTo=function(A,U){this.selection.moveCursorTo(A,U)},N.prototype.moveCursorToPosition=function(A){this.selection.moveCursorToPosition(A)},N.prototype.jumpToMatching=function(A,U){var Y=this.getCursorPosition(),ee=new k(this.session,Y.row,Y.column),ie=ee.getCurrentToken(),$=0;ie&&-1!==ie.type.indexOf("tag-name")&&(ie=ee.stepBackward());var j=ie||ee.stepForward();if(j){var G,le,V=!1,W={},K=Y.column-j.start,ue={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(j.value.match(/[{}()\[\]]/g)){for(;K1?W[j.value]++:"=0;--$)this.$tryReplace(Y[$],A)&&ee++;return this.selection.setSelectionRange(ie),ee},N.prototype.$tryReplace=function(A,U){var Y=this.session.getTextRange(A);return null!==(U=this.$search.replace(Y,U))?(A.end=this.session.replace(A,U),A):null},N.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},N.prototype.find=function(A,U,Y){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 ie=this.$search.find(this.session);return U.preventScroll?ie:ie?(this.revealRange(ie,Y),ie):(U.backwards?ee.start=ee.end:ee.end=ee.start,void this.selection.setRange(ee))},N.prototype.findNext=function(A,U){this.find({skipCurrent:!0,backwards:!1},A,U)},N.prototype.findPrevious=function(A,U){this.find(A,{skipCurrent:!0,backwards:!0},U)},N.prototype.revealRange=function(A,U){this.session.unfold(A),this.selection.setSelectionRange(A);var Y=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(A.start,A.end,.5),!1!==U&&this.renderer.animateScrolling(Y)},N.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},N.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},N.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()},N.prototype.setAutoScrollEditorIntoView=function(A){if(A){var U,Y=this,ee=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var ie=this.$scrollAnchor;ie.style.cssText="position:absolute",this.container.insertBefore(ie,this.container.firstChild);var $=this.on("changeSelection",function(){ee=!0}),j=this.renderer.on("beforeRender",function(){ee&&(U=Y.renderer.container.getBoundingClientRect())}),G=this.renderer.on("afterRender",function(){if(ee&&U&&(Y.isFocused()||Y.searchBox&&Y.searchBox.isFocused())){var V=Y.renderer,W=V.$cursorLayer.$pixelPos,K=V.layerConfig,le=W.top-K.offset;null!=(ee=W.top>=0&&le+U.top<0||!(W.topwindow.innerHeight)&&null)&&(ie.style.top=le+"px",ie.style.left=W.left+"px",ie.style.height=K.lineHeight+"px",ie.scrollIntoView(ee)),ee=U=null}});this.setAutoScrollEditorIntoView=function(V){V||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",$),this.renderer.off("afterRender",G),this.renderer.off("beforeRender",j))}}},N.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)))},N.prototype.prompt=function(A,U,Y){var ee=this;w.loadModule("ace/ext/prompt",function(ie){ie.prompt(ee,A,U,Y)})},N}();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(N){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:N})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(N){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(N){this.textInput.setReadOnly(N),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(N){this.textInput.setCopyWithEmptySelection(N)},initialValue:!1},cursorStyle:{set:function(N){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(N){this.setAutoScrollEditorIntoView(N)}},keyboardHandler:{set:function(N){this.setKeyboardHandler(N)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(N){this.session.setValue(N)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(N){this.setSession(N)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(N){this.renderer.$gutterLayer.setShowLineNumbers(N),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),N&&this.$relativeLineNumbers?R.attach(this):R.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(N){this.$showLineNumbers&&N?R.attach(this):R.detach(this)}},placeholder:{set:function(N){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(N){var Y,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===F.enter){ee.preventDefault();var ie=this.getCursorPosition().row;this.isRowVisible(ie)||this.scrollToLine(ie,!0,!0),this.focus()}};N?(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),Y||(Y=new D(this)),Y.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),Y&&Y.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 R={getText:function(N,A){return(Math.abs(N.selection.lead.row-A)||A+1+(A<9?"\xb7":""))+""},getWidth:function(N,A,U){return Math.max(A.toString().length,(U.lastRow+1).toString().length,2)*U.characterWidth},update:function(N,A){A.renderer.$loop.schedule(A.renderer.CHANGE_GUTTER)},attach:function(N){N.renderer.$gutterLayer.$renderer=this,N.on("changeSelection",this.update),this.update(null,N)},detach:function(N){N.renderer.$gutterLayer.$renderer==this&&(N.renderer.$gutterLayer.$renderer=null),N.off("changeSelection",this.update),this.update(null,N)}};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(I=y.end.row+1,y))?y.start.row:1/0),I>_){for(;this.$lines.getLength()>k+1;)this.$lines.pop();break}(w=this.$lines.get(++k))?w.row=I:(w=this.$lines.createCell(I,u,this.session,a),this.$lines.push(w)),this.$renderCell(w,u,y,I),I++}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],I=y.childNodes[2],D=I.firstChild,O=M.$firstLineNumber,T=M.$breakpoints,F=M.$decorations,S=M.gutterRenderer||this.$renderer,R=this.$showFoldWidgets&&M.foldWidgets,N=p?p.start.row:Number.MAX_VALUE,A=h.lineHeight+"px",U=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",Y=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",ee=(S?S.getText(M,_):_+O).toString();if(this.$highlightGutterLine&&(_==this.$cursorRow||p&&_=N&&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[_]),F[_]&&(U+=F[_]),this.$annotations[_]&&_!==N&&(U+=this.$annotations[_].className),R){var ie=R[_];null==ie&&(ie=R[_]=M.getFoldWidget(_))}if(ie){var $="ace_fold-widget ace_"+ie,j="start"==ie&&_==N&&_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=(D=this.session.getNextFoldLine(I=D.end.row+1,D))?D.start.row:1/0),!(I>y);){var T=M[w++];if(T){this.dom.removeChildren(T),this.$renderLine(T,I,I==O&&D),k&&(T.style.top=this.$lines.computeLineTop(I,u,this.session)+"px");var F=u.lineHeight*this.session.getRowLength(I)+"px";T.style.height!=F&&(k=!0,T.style.height=F)}I++}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),I=k.element;this.dom.removeChildren(I),c.setStyle(I.style,"height",this.$lines.computeLineHeight(y,u,this.session)+"px"),c.setStyle(I.style,"top",this.$lines.computeLineTop(y,u,this.session)+"px"),this.$renderLine(I,y,y==w&&M),I.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),I=0;k=M.exec(_);){var D=k[1],O=k[2],T=k[3],F=k[4],S=k[5];if(y.showSpaces||!O){var R=I!=k.index?_.slice(I,k.index):"";if(I=k.index+k[0].length,R&&w.appendChild(this.dom.createTextNode(R,this.element)),D){var N=y.session.getScreenTabSize(h+k.index);w.appendChild(y.$tabStrings[N].cloneNode(!0)),h+=N-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)):F?(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:F,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(I?_.slice(I):_,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,D,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,D,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,I,D,O){null!=w?_.push({type:"fold",value:w}):(O&&(M=p.getTokens(k)),M.length&&function y(w,k,I){for(var D=0,O=0;O+w[D].value.lengthI-k&&(T=T.substring(0,I-k)),_.push({type:w[D].type,value:T}),O=k+T.length,D+=1);OI?{type:w[D].type,value:T.substring(0,I-O)}:w[D]),O+=T.length,D+=1}}(M,D,I))},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,I=this.thumbTop;s.capture(this.inner,function(F){y=F.clientY},function(){clearInterval(O)});var O=setInterval(function(){if(void 0!==y){var F=_.scrollTopFromThumbTop(I+y-k);F!==_.scrollTop&&_._emit("scroll",{data:F})}},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,I=this.thumbLeft;s.capture(this.inner,function(F){y=F.clientX},function(){clearInterval(O)});var O=setInterval(function(){if(void 0!==y){var F=_.scrollLeftFromThumbLeft(I+y-k);F!==_.scrollLeft&&_._emit("scroll",{data:F})}},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(j,G,V){var W=j[1]*G[0]-j[0]*G[1];return[(-G[1]*V[0]+G[0]*V[1])/W,(+j[1]*V[0]-j[0]*V[1])/W]}function w(j,G){return[j[0]-G[0],j[1]-G[1]]}function k(j,G){return[j[0]+G[0],j[1]+G[1]]}function I(j,G){return[j*G[0],j*G[1]]}function D(j){var G=j.getBoundingClientRect();return[G.left,G.top]}p&&(p=I(1/this.$getZoom(this.el),p)),this.els||this.$initTransformMeasureNodes();var O=D(this.els[0]),T=D(this.els[1]),F=D(this.els[2]),S=D(this.els[3]),R=M(w(S,T),w(S,F),w(k(T,F),k(S,O))),N=I(1+R[0],w(T,O)),A=I(1+R[1],w(F,O));if(_){var U=_,Y=R[0]*U[0]/r+R[1]*U[1]/r+1,ee=k(I(U[0],N),I(U[1],A));return k(I(1/Y/r,ee),O)}var ie=w(p,O),$=M(w(N,I(R[0],ie)),w(A,I(R[1],ie)),ie);return I(r,$)},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.lineHeightR.priority?1:0});for(var _=this.renderer.session.$foldData,y=0;ythis.canvasHeight&&(T=this.canvasHeight-this.halfMinDecorationHeight),I=Math.round(T-this.halfMinDecorationHeight),D=Math.round(T+this.halfMinDecorationHeight)}r.fillStyle=l[h[y].type]||null,r.fillRect(0,k,this.canvasWidth,D-I)}}var F=this.renderer.session.selection.getCursor();F&&(w=this.compensateFoldRows(F.row,_),k=Math.round((F.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,I=t("./lib/useragent");c.importCssString(w,"ace_editor.css",!1);var D=function(){function O(T,F){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(F),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 R=this.$textLayer=new l(this.content);this.canvas=R.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(N){S.$scrollAnimation||S.session.setScrollTop(N.data-S.scrollMargin.top)}),this.scrollBarH.on("scroll",function(N){S.$scrollAnimation||S.session.setScrollLeft(N.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(N){S.updateCharacterSize(),S.onResize(!0,S.gutterWidth,S.$size.width,S.$size.height),S._signal("changeCharacterSize",N)}),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=!I.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,F,S){if(void 0===F&&(F=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,F,S,R){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=T?1:0;var N=this.container;R||(R=N.clientHeight||N.scrollHeight),S||(S=N.clientWidth||N.scrollWidth);var A=this.$updateCachedSize(T,F,S,R);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!S&&!R)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,F,S,R){var N=0,A=this.$size,U={width:A.width,height:A.height,scrollerHeight:A.scrollerHeight,scrollerWidth:A.scrollerWidth};if((R-=this.$extraHeight||0)&&(T||A.height!=R)&&(A.height=R,N|=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",N|=this.CHANGE_SCROLL),S&&(T||A.width!=S)){N|=this.CHANGE_SIZE,A.width=S,null==F&&(F=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=F,c.setStyle(this.scrollBarH.element.style,"left",F+"px"),c.setStyle(this.scroller.style,"left",F+this.margin.left+"px"),A.scrollerWidth=Math.max(0,S-F-this.scrollBarV.getWidth()-this.margin.h),c.setStyle(this.$gutter.style,"left",this.margin.left+"px");var Y=this.scrollBarV.getWidth()+"px";c.setStyle(this.scrollBarH.element.style,"right",Y),c.setStyle(this.scroller.style,"right",Y),c.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(A.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||T)&&(N|=this.CHANGE_FULL)}return A.$dirty=!S||!R,N&&this._signal("resize",U),N},O.prototype.onGutterResize=function(T){var F=this.$showGutter?T:0;F!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,F,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 F=Math.floor((this.$size.scrollerWidth-2*this.$padding)/this.characterWidth);return this.session.adjustWrapLimit(F,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 F=this.$printMarginEl.style;F.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",F.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,F=this.$composition;if(!this.$keepTextAreaAtCursor&&!F)return void c.translate(this.textarea,-100,0);var S=this.$cursorLayer.$pixelPos;if(S){F&&F.markerRange&&(S=this.$cursorLayer.getPixelPosition(F.markerRange.start,!0));var R=this.layerConfig,N=S.top,A=S.left,U=F&&F.useTextareaForIME||I.isMobile?this.lineHeight:1;if((N-=R.offset)<0||N>R.height-U)return void c.translate(this.textarea,0,0);var Y=1,ee=this.$size.height-U;F?F.useTextareaForIME?Y=this.characterWidth*this.session.$getStringScreenWidth(this.textarea.value)[0]:N+=this.lineHeight+2:N+=this.lineHeight,(A-=this.scrollLeft)>this.$size.scrollerWidth-Y&&(A=this.$size.scrollerWidth-Y),A+=this.gutterWidth+this.margin.left,c.setStyle(T,"height",U+"px"),c.setStyle(T,"width",Y+"px"),c.translate(this.textarea,Math.min(A,this.$size.scrollerWidth-Y),Math.min(N,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,F=T.lastRow;return this.session.documentToScreenRow(F,0)*T.lineHeight-this.session.getScrollTop()>T.height-T.lineHeight?F-1:F},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,F,S,R){var N=this.scrollMargin;N.top=0|T,N.bottom=0|F,N.right=0|R,N.left=0|S,N.v=N.top+N.bottom,N.h=N.left+N.right,N.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-N.top),this.updateFull()},O.prototype.setMargin=function(T,F,S,R){var N=this.margin;N.top=0|T,N.bottom=0|F,N.right=0|R,N.left=0|S,N.v=N.top+N.bottom,N.h=N.left+N.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,F=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>(T-=(F-this.lineHeight)*this.$scrollPastEnd)-F&&(T=this.scrollTop+F,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,F){if(this.$changes&&(T|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(T||F)){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 R=this.scrollTop+(S.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;R>0&&(this.scrollTop=R,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,F=this.$maxLines*this.lineHeight,S=Math.min(F,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 N=!(S<=2*this.lineHeight)&&T>F;if(S!=this.desiredHeight||this.$size.height!=this.desiredHeight||N!=this.$vScroll){N!=this.$vScroll&&(this.$vScroll=N,this.scrollBarV.setVisible(N));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,F=this.$size,S=F.height<=2*this.lineHeight,N=this.session.getScreenLength()*this.lineHeight,A=this.$getLongestLine(),U=!S&&(this.$hScrollBarAlwaysVisible||F.scrollerWidth-A-2*this.$padding<0),Y=this.$horizScroll!==U;Y&&(this.$horizScroll=U,this.scrollBarH.setVisible(U));var ee=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var ie=F.scrollerHeight+this.lineHeight,$=!this.$maxLines&&this.$scrollPastEnd?(F.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;N+=$;var j=this.scrollMargin;this.session.setScrollTop(Math.max(-j.top,Math.min(this.scrollTop,N-F.scrollerHeight+j.bottom))),this.session.setScrollLeft(Math.max(-j.left,Math.min(this.scrollLeft,A+2*this.$padding-F.scrollerWidth+j.right)));var G=!S&&(this.$vScrollBarAlwaysVisible||F.scrollerHeight-N+$<0||this.scrollTop>j.top),V=ee!==G;V&&(this.$vScroll=G,this.scrollBarV.setVisible(G));var ve,Ye,W=this.scrollTop%this.lineHeight,K=Math.ceil(ie/this.lineHeight)-1,le=Math.max(0,Math.round((this.scrollTop-W)/this.lineHeight)),ue=le+K,mt=this.lineHeight;le=T.screenToDocumentRow(le,0);var ct=T.getFoldLine(le);ct&&(le=ct.start.row),ve=T.documentToScreenRow(le,0),Ye=T.getRowLength(le)*mt,ue=Math.min(T.screenToDocumentRow(ue,0),T.getLength()-1),ie=F.scrollerHeight+T.getRowLength(ue)*mt+Ye,W=this.scrollTop-ve*mt;var Ct=0;return(this.layerConfig.width!=A||Y)&&(Ct=this.CHANGE_H_SCROLL),(Y||V)&&(Ct|=this.$updateCachedSize(!0,this.gutterWidth,F.width,F.height),this._signal("scrollbarVisibilityChanged"),V&&(A=this.$getLongestLine())),this.layerConfig={width:A,padding:this.$padding,firstRow:le,firstRowScreen:ve,lastRow:ue,lineHeight:mt,characterWidth:this.characterWidth,minHeight:ie,maxHeight:N,offset:W,gutterOffset:mt?Math.max(0,Math.ceil((W+F.height-F.scrollerHeight)/mt)):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,F=this.$changedLines.lastRow;this.$changedLines=null;var S=this.layerConfig;if(!(T>S.lastRow+1||Fthis.$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,F){this.$gutterLayer.addGutterDecoration(T,F)},O.prototype.removeGutterDecoration=function(T,F){this.$gutterLayer.removeGutterDecoration(T,F)},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,F,S){this.scrollCursorIntoView(T,S),this.scrollCursorIntoView(F,S)},O.prototype.scrollCursorIntoView=function(T,F,S){if(0!==this.$size.scrollerHeight){var R=this.$cursorLayer.getPixelPosition(T),N=R.left,A=R.top,U=S&&S.top||0,Y=S&&S.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var ee=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;ee+U>A?(F&&ee+U>A+this.lineHeight&&(A-=F*this.$size.scrollerHeight),0===A&&(A=-this.scrollMargin.top),this.session.setScrollTop(A)):ee+this.$size.scrollerHeight-Y=1-this.scrollMargin.top||F>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,F){var S;if(this.$hasCssTransforms){S={top:0,left:0};var R=this.$fontMetrics.transformCoordinates([T,F]);T=R[1]-this.gutterWidth-this.margin.left,F=R[0]}else S=this.scroller.getBoundingClientRect();var N=T+this.scrollLeft-S.left-this.$padding,A=N/this.characterWidth,U=Math.floor((F+this.scrollTop-S.top)/this.lineHeight),Y=this.$blockCursor?Math.floor(A):Math.round(A);return{row:U,column:Y,side:A-Y>0?1:-1,offsetX:N}},O.prototype.screenToTextCoordinates=function(T,F){var S;if(this.$hasCssTransforms){S={top:0,left:0};var R=this.$fontMetrics.transformCoordinates([T,F]);T=R[1]-this.gutterWidth-this.margin.left,F=R[0]}else S=this.scroller.getBoundingClientRect();var N=T+this.scrollLeft-S.left-this.$padding,A=N/this.characterWidth,U=this.$blockCursor?Math.floor(A):Math.round(A),Y=Math.floor((F+this.scrollTop-S.top)/this.lineHeight);return this.session.screenToDocumentPosition(Y,Math.max(U,0),N)},O.prototype.textToScreenCoordinates=function(T,F){var S=this.scroller.getBoundingClientRect(),R=this.session.documentToScreenPosition(T,F),N=this.$padding+(this.session.$bidiHandler.isBidiRow(R.row,T)?this.session.$bidiHandler.getPosLeft(R.column):Math.round(R.column*this.characterWidth));return{pageX:S.left+N-this.scrollLeft,pageY:S.top+R.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 F=this.session.selection.cursor;this.addToken(T,"composition_placeholder",F.row,F.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,F){var S=this.session.selection.cursor,R=F||{row:S.row,column:S.column};this.removeGhostText();var N=T.split("\n");if(this.addToken(N[0],"ghost_text",R.row,R.column),this.$ghostText={text:T,position:{row:R.row,column:R.column}},N.length>1){this.$ghostTextWidget={text:N.slice(1).join("\n"),row:R.row,column:R.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var A=this.$cursorLayer.getPixelPosition(R,!0),Y=this.container.getBoundingClientRect().height,ee=N.length*this.lineHeight;if(ee1||Math.abs(T.$size.height-R)>1?T.$resizeTimer.delay():T.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},O}();D.prototype.CHANGE_CURSOR=1,D.prototype.CHANGE_MARKER=2,D.prototype.CHANGE_GUTTER=4,D.prototype.CHANGE_SCROLL=8,D.prototype.CHANGE_LINES=16,D.prototype.CHANGE_TEXT=32,D.prototype.CHANGE_SIZE=64,D.prototype.CHANGE_MARKER_BACK=128,D.prototype.CHANGE_MARKER_FRONT=256,D.prototype.CHANGE_FULL=512,D.prototype.CHANGE_H_SCROLL=1024,D.prototype.$changes=0,D.prototype.$padding=null,D.prototype.$frozen=!1,D.prototype.STEPS=8,E.implement(D.prototype,M),s.defineOptions(D.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:!I.isMobile&&!I.isIE}}),v.VirtualRenderer=D}),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(I){M.push(I),p&&(_?setTimeout(k):k())}});w.setEmitSync=function(I){_=I};var k=function(){var I=M.shift();I.command?p[I.command].apply(p,I.args):I.event&&y._signal(I.event,I.data)};return y.postMessage=function(I){w.onMessage({data:I})},y.callback=function(I,D){this.postMessage({type:"call",id:D,data:I})},y.emit=function(I,D){this.postMessage({type:"event",name:I,data:D})},s.loadModule(["worker",u],function(I){for(p=new I[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 I=this.toOrientedRange();if(this.rangeList.add(I),this.rangeList.add(w),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),k||this.fromOrientedRange(w);this.rangeList.removeAll(),this.rangeList.add(I),this.$onAddRange(I)}w.cursor||(w.cursor=w.end);var D=this.rangeList.add(w);return this.$onAddRange(w),D.length&&this.$onRemoveRange(D),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 I=w.length;I--;){var D=this.ranges.indexOf(w[I]);this.ranges.splice(D,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=[],I=0;I1){var w=this.rangeList.ranges,k=w[w.length-1],I=c.fromPoints(w[0].start,k.end);this.toSingleRange(),this.setSelectionRange(I,k.cursor==k.start)}else{var D=this.session.documentToScreenPosition(this.cursor),O=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(D,O).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(w,k,I){var D=[],O=w.column0;)$--;if($>0)for(var j=0;D[j].isEmpty();)j++;for(var G=$;G>=j;G--)D[G].isEmpty()&&D.splice(G,1)}return D}}.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(),I=!1;f.addListener(k,"keydown",function(O){w.$blockSelectEnabled&&18==O.keyCode&&!(O.ctrlKey||O.shiftKey||O.metaKey)?I||(w.renderer.setMouseCursor("crosshair"),I=!0):I&&D()},w),f.addListener(k,"keyup",D,w),f.addListener(k,"blur",D,w)}function D(O){I&&(w.renderer.setMouseCursor(""),I=!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,I=w.length;I--;){var D=w[I];if(D.marker){this.session.removeMarker(D.marker);var O=k.indexOf(D);-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,I=w.editor;if(I.multiSelect){if(k.multiSelectAction)"forEach"==k.multiSelectAction?D=I.forEachSelection(k,w.args):"forEachLine"==k.multiSelectAction?D=I.forEachSelection(k,w.args,!0):"single"==k.multiSelectAction?(I.exitMultiSelectMode(),D=k.exec(I,w.args||{})):D=k.multiSelectAction(I,w.args||{});else{var D=k.exec(I,w.args||{});I.multiSelect.addRange(I.multiSelect.toOrientedRange()),I.multiSelect.mergeOverlappingRanges()}return D}},this.forEachSelection=function(w,k,I){if(!this.inVirtualSelectionMode){var N,O=1==I||I&&I.$byLines,T=this.session,F=this.selection,R=(I&&I.keepOrder?F:F.rangeList).ranges;if(!R.length)return w.exec?w.exec(this,k||{}):w(this,k||{});var A=F._eventRegistry;F._eventRegistry={};var U=new b(T);this.inVirtualSelectionMode=!0;for(var Y=R.length;Y--;){if(O)for(;Y>0&&R[Y].start.row==R[Y-1].end.row;)Y--;U.fromOrientedRange(R[Y]),U.index=Y,this.selection=T.selection=U;var ee=w.exec?w.exec(this,k||{}):w(this,k||{});!N&&void 0!==ee&&(N=ee),U.toOrientedRange(R[Y])}U.detach(),this.selection=T.selection=F,this.inVirtualSelectionMode=!1,F._eventRegistry=A,F.mergeOverlappingRanges(),F.ranges[0]&&F.fromOrientedRange(F.ranges[0]);var ie=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),ie&&ie.from==ie.to&&this.renderer.animateScrolling(ie.from),N}},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,I=[],D=0;DY&&(Y=j.column),VW?w.insert(G,d.stringRepeat(" ",V-W)):w.remove(new c(G.row,G.column,G.row,G.column-V+W)),$.start.column=$.end.column=Y,$.start.row=$.end.row=G.row,$.cursor=$.end}),k.fromOrientedRange(I[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var T=this.selection.getRange(),F=T.start.row,S=T.end.row,R=F==S;if(R){var A,N=this.session.getLength();do{A=this.session.getLine(S)}while(/[=:]/.test(A)&&++S0);F<0&&(F=0),S>=N&&(S=N-1)}var U=this.session.removeFullLines(F,S);U=this.$reAlignText(U,R),this.session.insert({row:F,column:0},U.join("\n")+"\n"),R||(T.start.column=0,T.end.column=U[U.length-1].length),this.selection.setRange(T)}},this.$reAlignText=function(w,k){var O,T,F,I=!0,D=!0;return w.map(function(U){var Y=U.match(/(\s*)(.*?)(\s*)([=:].*)/);return Y?null==O?(O=Y[1].length,T=Y[2].length,F=Y[3].length,Y):(O+T+F!=Y[1].length+Y[2].length+Y[3].length&&(D=!1),O!=Y[1].length&&(I=!1),O>Y[1].length&&(O=Y[1].length),TY[3].length&&(F=Y[3].length),Y):[U]}).map(k?R:I?D?function N(U){return U[2]?S(O+T-U[2].length)+U[2]+S(F)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]}:R:function A(U){return U[2]?S(O)+U[2]+S(F)+U[4].replace(/^([=:])\s+/,"$1 "):U[0]});function S(U){return d.stringRepeat(" ",U)}function R(U){return U[2]?S(O)+U[2]+S(T-U[2].length+F)+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 I=w.oldSession;I&&(I.multiSelect.off("addRange",this.$onAddRange),I.multiSelect.off("removeRange",this.$onRemoveRange),I.multiSelect.off("multiSelect",this.$onMultiSelect),I.multiSelect.off("singleSelect",this.$onSingleSelect),I.multiSelect.lead.off("change",this.$checkMultiselectChange),I.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")),I=w.el.appendChild(c.createElement("div"));I.className="error_widget_arrow "+y.className;var D=l.renderer.$cursorLayer.getPixelPosition(u).left;I.style.left=D+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,F,S){if(0===F&&("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)})},740:(De,ne,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)})},9748:(De,ne,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)})},3269:De=>{function ne(){}De.exports=ne,De.exports.HttpsAgent=ne},3788:(De,ne,g)=>{const{Token:t}=g(7709),v=g(9258),{Interval:C}=g(7127);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(7709).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},6842:(De,ne,g)=>{const t=g(7709).Token,v=g(3788);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(7709);g(395),g(9458),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}}},7127:(De,ne,g)=>{const{Token:t}=g(7709);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}},9441:(De,ne,g)=>{const{Set:t,BitSet:v}=g(4137),{Token:C}=g(7709),{ATNConfig:E}=g(4341),{IntervalSet:c}=g(7127),{RuleStopState:b}=g(8402),{RuleTransition:s,NotSetTransition:f,WildcardTransition:d,AbstractPredicateTransition:l}=g(8935),{predictionContextFromRuleContext:a,PredictionContext:r,SingletonPredictionContext:u}=g(3260);class h{constructor(_){this.atn=_}getDecisionLookahead(_){if(null===_)return null;const y=_.transitions.length,M=[];for(let w=0;w{const{Token:t}=g(7709),v=g(7208),C=g(8914),{RecognitionException:E}=g(8118),{LexerNoViableAltException:c}=g(8118);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},6309:(De,ne,g)=>{const{Token:t}=g(7709),{ParseTreeListener:v,TerminalNode:C,ErrorNode:E}=g(6261),c=g(7208),{DefaultErrorStrategy:b}=g(1962),s=g(9880),f=g(2498),d=g(9258);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})()},1900:(De,ne,g)=>{const t=g(4677),v=g(6261),C=v.INVALID_INTERVAL,E=v.TerminalNode,c=v.TerminalNodeImpl,b=v.ErrorNodeImpl,s=g(7127).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(4677),{Hash:v,Map:C,equalArrays:E}=g(4137);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 I=0;const D=new v;null!==w?D.update(w,k):D.update(1),I=D.finish(),super(I),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 I=new v;return I.update(w,k),super(I.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,I){if(M===w)return M;if(M instanceof s&&w instanceof s)return function r(M,w,k,I){if(null!==I){let O=I.get(M,w);if(null!==O||(O=I.get(w,M),null!==O))return O}const D=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!==D)return null!==I&&I.set(M,w,D),D;if(M.returnState===w.returnState){const O=a(M.parentCtx,w.parentCtx,k,I);if(O===M.parentCtx)return M;if(O===w.parentCtx)return w;const T=s.create(O,M.returnState);return null!==I&&I.set(M,w,T),T}{let O=null;if((M===w||null!==M.parentCtx&&M.parentCtx===w.parentCtx)&&(O=M.parentCtx),null!==O){const R=[M.returnState,w.returnState];M.returnState>w.returnState&&(R[0]=w.returnState,R[1]=M.returnState);const A=new d([O,O],R);return null!==I&&I.set(M,w,A),A}const T=[M.returnState,w.returnState];let F=[M.parentCtx,w.parentCtx];M.returnState>w.returnState&&(T[0]=w.returnState,T[1]=M.returnState,F=[w.parentCtx,M.parentCtx]);const S=new d(F,T);return null!==I&&I.set(M,w,S),S}}(M,w,k,I);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,I){if(null!==I){let N=I.get(M,w);if(null!==N||(N=I.get(w,M),null!==N))return N}let D=0,O=0,T=0,F=[],S=[];for(;D{const{Token:t}=g(7709),{ConsoleErrorListener:v}=g(5243),{ProxyErrorListener:C}=g(5243);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})()},4677:(De,ne,g)=>{const{RuleNode:t}=g(6261),{INVALID_INTERVAL:v}=g(6261),C=g(7760);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 ne=(()=>{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:ne,CommonToken:(()=>{class t extends ne{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:ne.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})()}},4137:De=>{function ne(u){return null===u?"null":u}function g(u){return Array.isArray(u)?"["+u.map(ne).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 I=0;for(;I>>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(I+2))<<16;case 2:p^=(255&u.charCodeAt(I+1))<<8;case 1:p^=255&u.charCodeAt(I),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(9441),{IntervalSet:v}=g(7127),{Token:C}=g(7709);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})()},4341:(De,ne,g)=>{const{DecisionState:t}=g(8402),{SemanticContext:v}=g(449),{Hash:C}=g(4137);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},2301:(De,ne,g)=>{const t=g(1019),v=g(4137),{SemanticContext:C}=g(449),{merge:E}=g(3260);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 ne{constructor(t){void 0===t&&(t=null),this.readOnly=!1,this.verifyATN=null===t||t.verifyATN,this.generateRuleBypassTransitions=null!==t&&t.generateRuleBypassTransitions}}ne.defaultOptions=new ne,ne.defaultOptions.readOnly=!0,De.exports=ne},9880:(De,ne,g)=>{const{Token:t}=g(7709),v=g(1019),C=g(4371),{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(8402),{Transition:w,AtomTransition:k,SetTransition:I,NotSetTransition:D,RuleTransition:O,RangeTransition:T,ActionTransition:F,EpsilonTransition:S,WildcardTransition:R,PredicateTransition:N,PrecedencePredicateTransition:A}=g(8935),{IntervalSet:U}=g(7127),Y=g(2498),{LexerActionType:ee,LexerSkipAction:ie,LexerChannelAction:$,LexerCustomAction:j,LexerMoreAction:G,LexerTypeAction:V,LexerPushModeAction:W,LexerPopModeAction:K,LexerModeAction:le}=g(2866),ve="59627784-3BE5-417A-B9EB-8131A7286089",Ye=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",ve],ct=ve;function Ct(We,Fe){const xe=[];return xe[We-1]=Fe,xe.map(function($e){return Fe})}const me=function Ae(){const We=[];for(let Fe=0;Fe<256;Fe++)We[Fe]=(Fe+256).toString(16).substr(1).toUpperCase();return We}();De.exports=class Pe{constructor(Fe){null==Fe&&(Fe=Y.defaultOptions),this.deserializationOptions=Fe,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Fe,xe){const $e=Ye.indexOf(Fe);return!($e<0)&&Ye.indexOf(xe)>=$e}deserialize(Fe){this.reset(Fe),this.checkVersion(),this.checkUUID();const xe=this.readATN();this.readStates(xe),this.readRules(xe),this.readModes(xe);const $e=[];return this.readSets(xe,$e,this.readInt.bind(this)),this.isFeatureSupported(ve,this.uuid)&&this.readSets(xe,$e,this.readInt32.bind(this)),this.readEdges(xe,$e),this.readDecisions(xe),this.readLexerActions(xe),this.markPrecedenceDecisions(xe),this.verifyATN(xe),this.deserializationOptions.generateRuleBypassTransitions&&xe.grammarType===C.PARSER&&(this.generateRuleBypassTransitions(xe),this.verifyATN(xe)),xe}reset(Fe){const $e=Fe.split("").map(function(q){const ge=q.charCodeAt(0);return ge>1?ge-2:ge+65534});$e[0]=Fe.charCodeAt(0),this.data=$e,this.pos=0}checkVersion(){const Fe=this.readInt();if(3!==Fe)throw"Could not deserialize ATN with version "+Fe+" (expected 3)."}checkUUID(){const Fe=this.readUUID();if(Ye.indexOf(Fe)<0)throw ct;this.uuid=Fe}readATN(){const Fe=this.readInt(),xe=this.readInt();return new v(Fe,xe)}readStates(Fe){let xe,$e,q;const ge=[],Oe=[],vt=this.readInt();for(let Ge=0;Ge0;)ge.addTransition(we.transitions[Ge-1]),we.transitions=we.transitions.slice(-1);Fe.ruleToStartState[xe].addTransition(new S(ge)),Oe.addTransition(new S(it));const Me=new c;Fe.addState(Me),Me.addTransition(new k(Oe,Fe.ruleToTokenType[xe])),ge.addTransition(new S(Me))}stateIsEndStateFor(Fe,xe){if(Fe.ruleIndex!==xe||!(Fe instanceof p))return null;const $e=Fe.transitions[Fe.transitions.length-1].target;return $e instanceof d&&$e.epsilonOnlyTransitions&&$e.transitions[0].target instanceof a?Fe:null}markPrecedenceDecisions(Fe){for(let xe=0;xe=0:$e.transitions.length<=1||$e instanceof a)}}checkCondition(Fe,xe){if(!Fe)throw null==xe&&(xe="IllegalState"),xe}readInt(){return this.data[this.pos++]}readInt32(){return this.readInt()|this.readInt()<<16}readLong(){return 4294967295&this.readInt32()|this.readInt32()<<32}readUUID(){const Fe=[];for(let xe=7;xe>=0;xe--){const $e=this.readInt();Fe[2*xe+1]=255&$e,Fe[2*xe]=$e>>8&255}return me[Fe[0]]+me[Fe[1]]+me[Fe[2]]+me[Fe[3]]+"-"+me[Fe[4]]+me[Fe[5]]+"-"+me[Fe[6]]+me[Fe[7]]+"-"+me[Fe[8]]+me[Fe[9]]+"-"+me[Fe[10]]+me[Fe[11]]+me[Fe[12]]+me[Fe[13]]+me[Fe[14]]+me[Fe[15]]}edgeFactory(Fe,xe,$e,q,ge,Oe,vt,it){const we=Fe.states[q];switch(xe){case w.EPSILON:return new S(we);case w.RANGE:return new T(we,0!==vt?t.EOF:ge,Oe);case w.RULE:return new O(Fe.states[ge],Oe,vt,we);case w.PREDICATE:return new N(we,ge,Oe,0!==vt);case w.PRECEDENCE:return new A(we,ge);case w.ATOM:return new k(we,0!==vt?t.EOF:ge);case w.ACTION:return new F(we,ge,Oe,0!==vt);case w.SET:return new I(we,it[ge]);case w.NOT_SET:return new D(we,it[ge]);case w.WILDCARD:return new R(we);default:throw"The specified transition type: "+xe+" is not valid."}}stateFactory(Fe,xe){if(null===this.stateFactories){const $e=[];$e[E.INVALID_TYPE]=null,$e[E.BASIC]=()=>new c,$e[E.RULE_START]=()=>new l,$e[E.BLOCK_START]=()=>new M,$e[E.PLUS_BLOCK_START]=()=>new _,$e[E.STAR_BLOCK_START]=()=>new y,$e[E.TOKEN_START]=()=>new r,$e[E.RULE_STOP]=()=>new a,$e[E.BLOCK_END]=()=>new f,$e[E.STAR_LOOP_BACK]=()=>new h,$e[E.STAR_LOOP_ENTRY]=()=>new p,$e[E.PLUS_LOOP_BACK]=()=>new u,$e[E.LOOP_END]=()=>new d,this.stateFactories=$e}if(Fe>this.stateFactories.length||null===this.stateFactories[Fe])throw"The specified state type "+Fe+" is not valid.";{const $e=this.stateFactories[Fe]();if(null!==$e)return $e.ruleIndex=xe,$e}}lexerActionFactory(Fe,xe,$e){if(null===this.actionFactories){const q=[];q[ee.CHANNEL]=(ge,Oe)=>new $(ge),q[ee.CUSTOM]=(ge,Oe)=>new j(ge,Oe),q[ee.MODE]=(ge,Oe)=>new le(ge),q[ee.MORE]=(ge,Oe)=>G.INSTANCE,q[ee.POP_MODE]=(ge,Oe)=>K.INSTANCE,q[ee.PUSH_MODE]=(ge,Oe)=>new W(ge),q[ee.SKIP]=(ge,Oe)=>ie.INSTANCE,q[ee.TYPE]=(ge,Oe)=>new V(ge),this.actionFactories=q}if(Fe>this.actionFactories.length||null===this.actionFactories[Fe])throw"The specified lexer action type "+Fe+" is not valid.";return this.actionFactories[Fe](xe,$e)}}},5737:(De,ne,g)=>{const{DFAState:t}=g(10),{ATNConfigSet:v}=g(2301),{getCachedPredictionContext:C}=g(3260),{Map:E}=g(4137);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},8402: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}}}},4371:De=>{De.exports={LEXER:0,PARSER:1}},8557:(De,ne,g)=>{const{Token:t}=g(7709),v=g(9258),C=g(1019),E=g(5737),{DFAState:c}=g(10),{OrderedATNConfigSet:b}=g(2301),{PredictionContext:s}=g(3260),{SingletonPredictionContext:f}=g(3260),{RuleStopState:d}=g(8402),{LexerATNConfig:l}=g(4341),{Transition:a}=g(8935),r=g(1999),{LexerNoViableAltException:u}=g(8118);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,I,D){super(k,D),this.decisionToDFA=I,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 I=w.mark();try{this.startIndex=w.index,this.prevAccept.reset();const D=this.decisionToDFA[k];return null===D.s0?this.matchATN(w):this.execATN(w,D.s0)}finally{w.release(I)}}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 I=this.mode,D=this.computeStartState(w,k),O=D.hasSemanticContext;D.hasSemanticContext=!1;const T=this.addDFAState(D);O||(this.decisionToDFA[this.mode].s0=T);const F=this.execATN(w,T);return y.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[I].toLexerString()),F}execATN(w,k){y.debug&&console.log("start state closure="+k.configs),k.isAcceptState&&this.captureSimState(this.prevAccept,w,k);let I=w.LA(1),D=k;for(;;){y.debug&&console.log("execATN loop starting closure: "+D.configs);let O=this.getExistingTargetState(D,I);if(null===O&&(O=this.computeTargetState(w,D,I)),O===E.ERROR||(I!==t.EOF&&this.consume(w),O.isAcceptState&&(this.captureSimState(this.prevAccept,w,O),I===t.EOF)))break;I=w.LA(1),D=O}return this.failOrAccept(this.prevAccept,w,D.configs,I)}getExistingTargetState(w,k){if(null===w.edges||ky.MAX_DFA_EDGE)return null;let I=w.edges[k-y.MIN_DFA_EDGE];return void 0===I&&(I=null),y.debug&&null!==I&&console.log("reuse state "+w.stateNumber+" edge to "+I.stateNumber),I}computeTargetState(w,k,I){const D=new b;return this.getReachableConfigSet(w,k.configs,D,I),0===D.items.length?(D.hasSemanticContext||this.addDFAEdge(k,I,E.ERROR),E.ERROR):this.addDFAEdge(k,I,null,D)}failOrAccept(w,k,I,D){if(null!==this.prevAccept.dfaState)return this.accept(k,w.dfaState.lexerActionExecutor,this.startIndex,w.index,w.line,w.column),w.dfaState.prediction;if(D===t.EOF&&k.index===this.startIndex)return t.EOF;throw new u(this.recog,k,this.startIndex,I)}getReachableConfigSet(w,k,I,D){let O=C.INVALID_ALT_NUMBER;for(let T=0;Ty.MAX_DFA_EDGE||(y.debug&&console.log("EDGE "+w+" -> "+I+" upon "+k),null===w.edges&&(w.edges=[]),w.edges[k-y.MIN_DFA_EDGE]=I),I}addDFAState(w){const k=new c(null,w);let I=null;for(let F=0;F{const ne={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(ne.SKIP)}execute(a){a.skip()}toString(){return"skip"}}t.INSTANCE=new t;class v extends g{constructor(a){super(ne.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(ne.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(ne.POP_MODE)}execute(a){a.popMode()}toString(){return"popMode"}}E.INSTANCE=new E;class c extends g{constructor(){super(ne.MORE)}execute(a){a.more()}toString(){return"more"}}c.INSTANCE=new c;class b extends g{constructor(a){super(ne.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(ne.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(ne.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:ne,LexerSkipAction:t,LexerChannelAction:f,LexerCustomAction:s,LexerIndexedCustomAction:d,LexerMoreAction:c,LexerTypeAction:v,LexerPushModeAction:C,LexerPopModeAction:E,LexerModeAction:b}},1999:(De,ne,g)=>{const{hashStuff:t}=g(4137),{LexerIndexedCustomAction:v}=g(2866);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(4137),{Set:v,BitSet:C,DoubleDict:E}=t,c=g(1019),{ATNState:b,RuleStopState:s}=g(8402),{ATNConfig:f}=g(4341),{ATNConfigSet:d}=g(2301),{Token:l}=g(7709),{DFAState:a,PredPrediction:r}=g(10),u=g(5737),h=g(7822),p=g(4677),{SemanticContext:y}=(g(1900),g(449)),{PredictionContext:M}=g(3260),{Interval:w}=g(7127),{Transition:k,SetTransition:I,NotSetTransition:D,RuleTransition:O,ActionTransition:T}=g(8935),{NoViableAltException:F}=g(8118),{SingletonPredictionContext:S,predictionContextFromRuleContext:R}=g(3260);De.exports=class N extends u{constructor(U,Y,ee,ie){super(Y,ie),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,Y,ee){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+Y+" 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 ie=this.decisionToDFA[Y];this._dfa=ie;const $=U.mark(),j=U.index;try{let G;if(G=ie.precedenceDfa?ie.getPrecedenceStartState(this.parser.getPrecedence()):ie.s0,null===G){null===ee&&(ee=p.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+ie.decision+" exec LA(1)=="+this.getLookaheadName(U)+", outerContext="+ee.toString(this.parser.ruleNames));let K=this.computeStartState(ie.atnStartState,p.EMPTY,!1);ie.precedenceDfa?(ie.s0.configs=K,K=this.applyPrecedenceFilter(K),G=this.addDFAState(ie,new a(null,K)),ie.setPrecedenceStartState(this.parser.getPrecedence(),G)):(G=this.addDFAState(ie,new a(null,K)),ie.s0=G)}const V=this.execATN(ie,G,U,j,ee);return this.debug&&console.log("DFA after predictATN: "+ie.toString(this.parser.literalNames,this.parser.symbolicNames)),V}finally{this._dfa=null,this.mergeCache=null,U.seek(j),U.release($)}}execATN(U,Y,ee,ie,$){(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 j,G=Y;this.debug&&console.log("s0 = "+Y);let V=ee.LA(1);for(;;){let W=this.getExistingTargetState(G,V);if(null===W&&(W=this.computeTargetState(U,G,V)),W===u.ERROR){const K=this.noViableAlt(ee,$,G.configs,ie);if(ee.seek(ie),j=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(G.configs,$),j!==c.INVALID_ALT_NUMBER)return j;throw K}if(W.requiresFullContext&&this.predictionMode!==h.SLL){let K=null;if(null!==W.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const ve=ee.index;if(ve!==ie&&ee.seek(ie),K=this.evalSemanticContext(W.predicates,$,!0),1===K.length)return this.debug&&console.log("Full LL avoided"),K.minValue();ve!==ie&&ee.seek(ve)}this.dfa_debug&&console.log("ctx sensitive state "+$+" in "+W);const ue=this.computeStartState(U.atnStartState,$,!0);return this.reportAttemptingFullContext(U,K,W.configs,ie,ee.index),j=this.execATNWithFullContext(U,W,ue,ee,ie,$),j}if(W.isAcceptState){if(null===W.predicates)return W.prediction;const K=ee.index;ee.seek(ie);const le=this.evalSemanticContext(W.predicates,$,!0);if(0===le.length)throw this.noViableAlt(ee,$,W.configs,ie);return 1===le.length||this.reportAmbiguity(U,W,ie,K,!1,le,W.configs),le.minValue()}G=W,V!==l.EOF&&(ee.consume(),V=ee.LA(1))}}getExistingTargetState(U,Y){const ee=U.edges;return null===ee?null:ee[Y+1]||null}computeTargetState(U,Y,ee){const ie=this.computeReachSet(Y.configs,ee,!1);if(null===ie)return this.addDFAEdge(U,Y,ee,u.ERROR),u.ERROR;let $=new a(null,ie);const j=this.getUniqueAlt(ie);if(this.debug){const G=h.getConflictingAltSubsets(ie);console.log("SLL altSubSets="+t.arrayToString(G)+", configs="+ie+", predict="+j+", allSubsetsConflict="+h.allSubsetsConflict(G)+", conflictingAlts="+this.getConflictingAlts(ie))}return j!==c.INVALID_ALT_NUMBER?($.isAcceptState=!0,$.configs.uniqueAlt=j,$.prediction=j):h.hasSLLConflictTerminatingPrediction(this.predictionMode,ie)&&($.configs.conflictingAlts=this.getConflictingAlts(ie),$.requiresFullContext=!0,$.isAcceptState=!0,$.prediction=$.configs.conflictingAlts.minValue()),$.isAcceptState&&$.configs.hasSemanticContext&&(this.predicateDFAState($,this.atn.getDecisionState(U.decision)),null!==$.predicates&&($.prediction=c.INVALID_ALT_NUMBER)),$=this.addDFAEdge(U,Y,ee,$),$}predicateDFAState(U,Y){const ee=Y.transitions.length,ie=this.getConflictingAltsOrUniqueAlt(U.configs),$=this.getPredsForAmbigAlts(ie,U.configs,ee);null!==$?(U.predicates=this.getPredicatePredictions(ie,$),U.prediction=c.INVALID_ALT_NUMBER):U.prediction=ie.minValue()}execATNWithFullContext(U,Y,ee,ie,$,j){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+ee);let W,V=!1,K=ee;ie.seek($);let le=ie.LA(1),ue=-1;for(;;){if(W=this.computeReachSet(K,le,!0),null===W){const Ye=this.noViableAlt(ie,j,K,$);ie.seek($);const mt=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(K,j);if(mt!==c.INVALID_ALT_NUMBER)return mt;throw Ye}const ve=h.getConflictingAltSubsets(W);if(this.debug&&console.log("LL altSubSets="+ve+", predict="+h.getUniqueAlt(ve)+", resolvesToJustOneViableAlt="+h.resolvesToJustOneViableAlt(ve)),W.uniqueAlt=this.getUniqueAlt(W),W.uniqueAlt!==c.INVALID_ALT_NUMBER){ue=W.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)){V=!0,ue=h.getSingleViableAlt(ve);break}K=W,le!==l.EOF&&(ie.consume(),le=ie.LA(1))}return W.uniqueAlt!==c.INVALID_ALT_NUMBER?(this.reportContextSensitivity(U,ue,W,$,ie.index),ue):(this.reportAmbiguity(U,Y,$,ie.index,V,null,W),ue)}computeReachSet(U,Y,ee){this.debug&&console.log("in computeReachSet, starting closure: "+U),null===this.mergeCache&&(this.mergeCache=new E);const ie=new d(ee);let $=null;for(let G=0;G0&&(j=this.getAltThatFinishedDecisionEntryRule($),j!==c.INVALID_ALT_NUMBER)?j:c.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(U){const Y=[];for(let ee=0;ee0||ie.state instanceof s&&ie.context.hasEmptyPath())&&Y.indexOf(ie.alt)<0&&Y.push(ie.alt)}return 0===Y.length?c.INVALID_ALT_NUMBER:Math.min.apply(null,Y)}splitAccordingToSemanticValidity(U,Y){const ee=new d(U.fullCtx),ie=new d(U.fullCtx);for(let $=0;$50))throw"problem";if(U.state instanceof s){if(!U.context.isEmpty()){for(let V=0;V=0&&(ve+=1)}this.closureCheckingStopState(ue,Y,ee,le,$,ve,G)}}}canDropLoopEntryEdgeInLeftRecursiveRule(U){const Y=U.state;if(Y.stateType!==b.STAR_LOOP_ENTRY||Y.stateType!==b.STAR_LOOP_ENTRY||!Y.isPrecedenceDecision||U.context.isEmpty()||U.context.hasEmptyPath())return!1;const ee=U.context.length;for(let G=0;G=0?this.parser.ruleNames[U]:""}getEpsilonTarget(U,Y,ee,ie,$,j){switch(Y.serializationType){case k.RULE:return this.ruleTransition(U,Y);case k.PRECEDENCE:return this.precedenceTransition(U,Y,ee,ie,$);case k.PREDICATE:return this.predTransition(U,Y,ee,ie,$);case k.ACTION:return this.actionTransition(U,Y);case k.EPSILON:return new f({state:Y.target},U);case k.ATOM:case k.RANGE:case k.SET:return j&&Y.matches(l.EOF,0,1)?new f({state:Y.target},U):null;default:return null}}actionTransition(U,Y){return this.debug&&console.log("ACTION edge "+Y.ruleIndex+":"+(-1===Y.actionIndex?65535:Y.actionIndex)),new f({state:Y.target},U)}precedenceTransition(U,Y,ee,ie,$){this.debug&&(console.log("PRED (collectPredicates="+ee+") "+Y.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+t.arrayToString(this.parser.getRuleInvocationStack())));let j=null;if(ee&&ie)if($){const G=this._input.index;this._input.seek(this._startIndex);const V=Y.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(G),V&&(j=new f({state:Y.target},U))}else{const G=y.andContext(U.semanticContext,Y.getPredicate());j=new f({state:Y.target,semanticContext:G},U)}else j=new f({state:Y.target},U);return this.debug&&console.log("config from pred transition="+j),j}predTransition(U,Y,ee,ie,$){this.debug&&(console.log("PRED (collectPredicates="+ee+") "+Y.ruleIndex+":"+Y.predIndex+", ctx dependent="+Y.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+t.arrayToString(this.parser.getRuleInvocationStack())));let j=null;if(ee&&(Y.isCtxDependent&&ie||!Y.isCtxDependent))if($){const G=this._input.index;this._input.seek(this._startIndex);const V=Y.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(G),V&&(j=new f({state:Y.target},U))}else{const G=y.andContext(U.semanticContext,Y.getPredicate());j=new f({state:Y.target,semanticContext:G},U)}else j=new f({state:Y.target},U);return this.debug&&console.log("config from pred transition="+j),j}ruleTransition(U,Y){this.debug&&console.log("CALL rule "+this.getRuleName(Y.target.ruleIndex)+", ctx="+U.context);const ie=S.create(U.context,Y.followState.stateNumber);return new f({state:Y.target,context:ie},U)}getConflictingAlts(U){const Y=h.getConflictingAltSubsets(U);return h.getAlts(Y)}getConflictingAltsOrUniqueAlt(U){let Y=null;return U.uniqueAlt!==c.INVALID_ALT_NUMBER?(Y=new C,Y.add(U.uniqueAlt)):Y=U.conflictingAlts,Y}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 Y=U.getDeadEndConfigs();for(let ee=0;ee0){const j=ie.state.transitions[0];j instanceof AtomTransition?$="Atom "+this.getTokenName(j.label):j instanceof I&&($=(j instanceof D?"~":"")+"Set "+j.set)}console.error(ie.toString(this.parser,!0)+":"+$)}}noViableAlt(U,Y,ee,ie){return new F(this.parser,U,U.get(ie),U.LT(1),ee,Y)}getUniqueAlt(U){let Y=c.INVALID_ALT_NUMBER;for(let ee=0;ee "+ie+" upon "+this.getTokenName(ee)),null===ie?null:(ie=this.addDFAState(U,ie),null===Y||ee<-1||ee>this.atn.maxTokenType||(null===Y.edges&&(Y.edges=[]),Y.edges[ee+1]=ie,this.debug&&console.log("DFA=\n"+U.toString(null===this.parser?null:this.parser.literalNames,null===this.parser?null:this.parser.symbolicNames))),ie)}addDFAState(U,Y){if(Y===u.ERROR)return Y;const ee=U.states.get(Y);return null!==ee?ee:(Y.stateNumber=U.states.length,Y.configs.readOnly||(Y.configs.optimizeConfigs(this),Y.configs.setReadonly(!0)),U.states.add(Y),this.debug&&console.log("adding new DFA state: "+Y),Y)}reportAttemptingFullContext(U,Y,ee,ie,$){if(this.debug||this.retry_debug){const j=new w(ie,$+1);console.log("reportAttemptingFullContext decision="+U.decision+":"+ee+", input="+this.parser.getTokenStream().getText(j))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,U,ie,$,Y,ee)}reportContextSensitivity(U,Y,ee,ie,$){if(this.debug||this.retry_debug){const j=new w(ie,$+1);console.log("reportContextSensitivity decision="+U.decision+":"+ee+", input="+this.parser.getTokenStream().getText(j))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,U,ie,$,Y,ee)}reportAmbiguity(U,Y,ee,ie,$,j,G){if(this.debug||this.retry_debug){const V=new w(ee,ie+1);console.log("reportAmbiguity "+j+":"+G+", input="+this.parser.getTokenStream().getText(V))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,U,ee,ie,$,j,G)}}},7822:(De,ne,g)=>{const{Map:t,BitSet:v,AltDict:C,hashStuff:E}=g(4137),c=g(1019),{RuleStopState:b}=g(8402),{ATNConfigSet:s}=g(2301),{ATNConfig:f}=g(4341),{SemanticContext:d}=g(449),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(4137);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}},8935:(De,ne,g)=>{const{Token:t}=g(7709),{IntervalSet:v}=g(7127),{Predicate:C,PrecedencePredicate:E}=g(449);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,I){super(M),this.ruleIndex=w,this.precedence=k,this.followState=I,this.serializationType=c.RULE,this.isEpsilon=!0}matches(M,w,k){return!1}},ActionTransition:class r extends c{constructor(M,w,k,I){super(M),this.serializationType=c.ACTION,this.ruleIndex=w,this.actionIndex=void 0===k?-1:k,this.isCtxDependent=void 0!==I&&I,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,I){super(M),this.serializationType=c.PREDICATE,this.ruleIndex=w,this.predIndex=k,this.isCtxDependent=I,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}},758:(De,ne,g)=>{ne.ATN=g(1019),ne.ATNDeserializer=g(9880),ne.LexerATNSimulator=g(8557),ne.ParserATNSimulator=g(1346),ne.PredictionMode=g(7822)},1267:(De,ne,g)=>{const{Set:t}=g(4137),{DFAState:v}=g(10),{StarLoopEntryState:C}=g(8402),{ATNConfigSet:E}=g(2301),{DFASerializer:c}=g(3015),{LexerDFASerializer:b}=g(3015);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}}},3015:(De,ne,g)=>{const t=g(4137);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)+"'"}}}},10:(De,ne,g)=>{const{ATNConfigSet:t}=g(2301),{Hash:v,Set:C}=g(4137);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{ne.DFA=g(1267),ne.DFASerializer=g(3015).DFASerializer,ne.LexerDFASerializer=g(3015).LexerDFASerializer,ne.PredPrediction=g(10).PredPrediction},4294:(De,ne,g)=>{const{BitSet:t}=g(4137),{ErrorListener:v}=g(5243),{Interval:C}=g(7127);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 ne{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 ne{constructor(){super()}syntaxError(C,E,c,b,s,f){console.error("line "+c+":"+b+" "+s)}}g.INSTANCE=new g,De.exports={ErrorListener:ne,ConsoleErrorListener:g,ProxyErrorListener:class t extends ne{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))}}}},1962:(De,ne,g)=>{const{Token:t}=g(7709),{NoViableAltException:v,InputMismatchException:C,FailedPredicateException:E,ParseCancellationException:c}=g(8118),{ATNState:b}=g(8402),{Interval:s,IntervalSet:f}=g(7127);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}},8118:(De,ne,g)=>{const{PredicateTransition:t}=g(8935),{Interval:v}=g(7127).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(8118).RecognitionException,De.exports.NoViableAltException=g(8118).NoViableAltException,De.exports.LexerNoViableAltException=g(8118).LexerNoViableAltException,De.exports.InputMismatchException=g(8118).InputMismatchException,De.exports.FailedPredicateException=g(8118).FailedPredicateException,De.exports.DiagnosticErrorListener=g(4294),De.exports.BailErrorStrategy=g(1962).BailErrorStrategy,De.exports.DefaultErrorStrategy=g(1962).DefaultErrorStrategy,De.exports.ErrorListener=g(5243).ErrorListener},395:()=>{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 ne=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:ne,configurable:!0,writable:!0}):String.prototype.codePointAt=ne}()},9458:()=>{String.fromCodePoint||function(){const De=function(){let v;try{const C={},E=Object.defineProperty;v=E(C,C,C)&&E}catch{}return v}(),ne=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+=ne.apply(null,E),E.length=0)}return d};De?De(String,"fromCodePoint",{value:t,configurable:!0,writable:!0}):String.fromCodePoint=t}()},6261:(De,ne,g)=>{const{Token:t}=g(7709),{Interval:v}=g(7127),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(4137),{Token:v}=g(7709),{ErrorNode:C,TerminalNode:E,RuleNode:c}=g(6261),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(6261),v=g(7760);De.exports={...t,Trees:v}},9804: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 F={next:function(){var S=T.shift();return{done:void 0===S,value:S}}};return t_iterable&&(F[Symbol.iterator]=function(){return F}),F}function f(T){this.map={},T instanceof f?T.forEach(function(F,S){this.append(S,F)},this):Array.isArray(T)?T.forEach(function(F){this.append(F[0],F[1])},this):T&&Object.getOwnPropertyNames(T).forEach(function(F){this.append(F,T[F])},this)}function d(T){if(T.bodyUsed)return Promise.reject(new TypeError("Already read"));T.bodyUsed=!0}function l(T){return new Promise(function(F,S){T.onload=function(){F(T.result)},T.onerror=function(){S(T.error)}})}function a(T){var F=new FileReader,S=l(F);return F.readAsArrayBuffer(T),S}function h(T){if(T.slice)return T.slice(0);var F=new Uint8Array(T.byteLength);return F.set(new Uint8Array(T)),F.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 F=new FileReader,S=l(F);return F.readAsText(T),S}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function u(T){for(var F=new Uint8Array(T),S=new Array(F.length),R=0;R-1?F:T}(F.method||this.method||"GET"),this.mode=F.mode||this.mode||null,this.signal=F.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 F=new FormData;return T.trim().split("&").forEach(function(S){if(S){var R=S.split("="),N=R.shift().replace(/\+/g," "),A=R.join("=").replace(/\+/g," ");F.append(decodeURIComponent(N),decodeURIComponent(A))}}),F}function k(T){var F=new f;return T.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(R){var N=R.split(":"),A=N.shift().trim();if(A){var U=N.join(":").trim();F.append(A,U)}}),F}function I(T,F){F||(F={}),this.type="default",this.status=void 0===F.status?200:F.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in F?F.statusText:"OK",this.headers=new f(F.headers),this.url=F.url||"",this._initBody(T)}M.prototype.clone=function(){return new M(this,{body:this._bodyInit})},p.call(M.prototype),p.call(I.prototype),I.prototype.clone=function(){return new I(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},I.error=function(){var T=new I(null,{status:0,statusText:""});return T.type="error",T};var D=[301,302,303,307,308];I.redirect=function(T,F){if(-1===D.indexOf(F))throw new RangeError("Invalid status code");return new I(null,{status:F,headers:{location:T}})},g.DOMException=De.DOMException;try{new g.DOMException}catch{g.DOMException=function(F,S){this.message=F,this.name=S;var R=Error(F);this.stack=R.stack},g.DOMException.prototype=Object.create(Error.prototype),g.DOMException.prototype.constructor=g.DOMException}function O(T,F){return new Promise(function(S,R){var N=new M(T,F);if(N.signal&&N.signal.aborted)return R(new g.DOMException("Aborted","AbortError"));var A=new XMLHttpRequest;function U(){A.abort()}A.onload=function(){var Y={status:A.status,statusText:A.statusText,headers:k(A.getAllResponseHeaders()||"")};Y.url="responseURL"in A?A.responseURL:Y.headers.get("X-Request-URL"),S(new I("response"in A?A.response:A.responseText,Y))},A.onerror=function(){R(new TypeError("Network request failed"))},A.ontimeout=function(){R(new TypeError("Network request failed"))},A.onabort=function(){R(new g.DOMException("Aborted","AbortError"))},A.open(N.method,N.url,!0),"include"===N.credentials?A.withCredentials=!0:"omit"===N.credentials&&(A.withCredentials=!1),"responseType"in A&&t_blob&&(A.responseType="blob"),N.headers.forEach(function(Y,ee){A.setRequestHeader(ee,Y)}),N.signal&&(N.signal.addEventListener("abort",U),A.onreadystatechange=function(){4===A.readyState&&N.signal.removeEventListener("abort",U)}),A.send(typeof N._bodyInit>"u"?null:N._bodyInit)})}O.polyfill=!0,De.fetch||(De.fetch=O,De.Headers=f,De.Request=M,De.Response=I),g.Headers=f,g.Request=M,g.Response=I,g.fetch=O,Object.defineProperty(g,"__esModule",{value:!0})}({})},59:De=>{De.exports=function(t){var v=new Date(t.getTime()),C=v.getTimezoneOffset();return v.setSeconds(0,0),6e4*C+v.getTime()%6e4}},2378:(De,ne,g)=>{var t=g(8356);De.exports=function v(C,E){var c=t(C),b=Number(E);return c.setDate(c.getDate()+b),c}},6200:(De,ne,g)=>{var t=g(9627);De.exports=function C(E,c){var b=Number(c);return t(E,36e5*b)}},9627:(De,ne,g)=>{var t=g(8356);De.exports=function v(C,E){var c=t(C).getTime(),b=Number(E);return new Date(c+b)}},5462:(De,ne,g)=>{var t=g(9627);De.exports=function C(E,c){var b=Number(c);return t(E,6e4*b)}},2482:(De,ne,g)=>{var t=g(8356),v=g(590);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}},5802:(De,ne,g)=>{var t=g(9627);De.exports=function v(C,E){var c=Number(E);return t(C,1e3*c)}},1818:(De,ne,g)=>{var t=g(2378);De.exports=function v(C,E){var c=Number(E);return t(C,7*c)}},6833:(De,ne,g)=>{var t=g(2482);De.exports=function v(C,E){var c=Number(E);return t(C,12*c)}},590:(De,ne,g)=>{var t=g(8356);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()}},2057:De=>{De.exports=function ne(g){return g instanceof Date}},8356:(De,ne,g)=>{var t=g(59),v=g(2057),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+-].*)$/,I=/^(Z)$/,D=/^([+-])(\d{2})$/,O=/^([+-])(\d{2}):?(\d{2})$/;function U(Y,ee,ie){ee=ee||0,ie=ie||0;var $=new Date(0);$.setUTCFullYear(Y,0,4);var G=7*ee+ie+1-($.getUTCDay()||7);return $.setUTCDate($.getUTCDate()+G),$}De.exports=function T(Y,ee){if(v(Y))return new Date(Y.getTime());if("string"!=typeof Y)return new Date(Y);var $=(ee||{}).additionalDigits;$=null==$?2:Number($);var j=function F(Y){var $,ee={},ie=Y.split(b);if(s.test(ie[0])?(ee.date=null,$=ie[0]):(ee.date=ie[0],$=ie[1]),$){var j=k.exec($);j?(ee.time=$.replace(j[1],""),ee.timezone=j[1]):ee.time=$}return ee}(Y),G=function S(Y,ee){var j,ie=d[ee],$=a[ee];if(j=l.exec(Y)||$.exec(Y)){var G=j[1];return{year:parseInt(G,10),restDateString:Y.slice(G.length)}}if(j=f.exec(Y)||ie.exec(Y)){var V=j[1];return{year:100*parseInt(V,10),restDateString:Y.slice(V.length)}}return{year:null}}(j.date,$),K=function R(Y,ee){if(null===ee)return null;var ie,$,j;if(0===Y.length)return($=new Date(0)).setUTCFullYear(ee),$;if(ie=r.exec(Y))return $=new Date(0),j=parseInt(ie[1],10)-1,$.setUTCFullYear(ee,j),$;if(ie=u.exec(Y)){$=new Date(0);var V=parseInt(ie[1],10);return $.setUTCFullYear(ee,0,V),$}if(ie=h.exec(Y)){$=new Date(0),j=parseInt(ie[1],10)-1;var W=parseInt(ie[2],10);return $.setUTCFullYear(ee,j,W),$}return(ie=p.exec(Y))?U(ee,parseInt(ie[1],10)-1):(ie=_.exec(Y))?U(ee,parseInt(ie[1],10)-1,parseInt(ie[2],10)-1):null}(G.restDateString,G.year);if(K){var ve,le=K.getTime(),ue=0;if(j.time&&(ue=function N(Y){var ee,ie,$;if(ee=y.exec(Y))return(ie=parseFloat(ee[1].replace(",",".")))%24*C;if(ee=M.exec(Y))return ie=parseInt(ee[1],10),$=parseFloat(ee[2].replace(",",".")),ie%24*C+$*E;if(ee=w.exec(Y)){ie=parseInt(ee[1],10),$=parseInt(ee[2],10);var j=parseFloat(ee[3].replace(",","."));return ie%24*C+$*E+1e3*j}return null}(j.time)),j.timezone)ve=function A(Y){var ee,ie;return(ee=I.exec(Y))?0:(ee=D.exec(Y))?(ie=60*parseInt(ee[2],10),"+"===ee[1]?-ie:ie):(ee=O.exec(Y))?(ie=60*parseInt(ee[2],10)+parseInt(ee[3],10),"+"===ee[1]?-ie:ie):0}(j.timezone)*E;else{var Ye=le+ue,mt=new Date(Ye);ve=t(mt);var ct=new Date(Ye);ct.setDate(mt.getDate()+1);var Ct=t(ct)-t(mt);Ct>0&&(ve+=Ct)}return new Date(le+ue+ve)}return new Date(Y)}},282:(De,ne,g)=>{ne.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)},ne.save=function C(s){try{s?ne.storage.setItem("debug",s):ne.storage.removeItem("debug")}catch{}},ne.load=function E(){let s;try{s=ne.storage.getItem("debug")}catch{}return!s&&typeof process<"u"&&"env"in process&&(s=process.env.DEBUG),s},ne.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+)/))},ne.storage=function c(){try{return localStorage}catch{}}(),ne.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`."))}})(),ne.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"],ne.log=console.debug||console.log||(()=>{}),De.exports=g(741)(ne);const{formatters:b}=De.exports;b.j=function(s){try{return JSON.stringify(s)}catch(f){return"[UnexpectedJSONParseError]: "+f.message}}},741:(De,ne,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 D=0;M[0]=M[0].replace(/%([a-zA-Z%])/g,(T,F)=>{if("%%"===T)return"%";D++;const S=E.formatters[F];return"function"==typeof S&&(T=S.call(w,M[D]),M.splice(D,1),D--),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 ne="%[a-f0-9]{2}",g=new RegExp("("+ne+")|([^%]+?)","gi"),t=new RegExp("("+ne+")+","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 ne{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)}}},3833:(De,ne,g)=>{var t=g(9293).default;const v=g(8570),{authFromCapability:C,authFromWellKnown:E}=g(4205),c=g(5236),b=g(1336),s=g(1482),{createQueryString:f,validResourceType:d}=g(3097),{FetchQueue:l}=g(918),{deprecatePaginationArgs:a,deprecateHeaders:r}=g(1813),u=g(9799);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(/\/*$/,"/"),I=new l,D=I.buildJob(),O=I.buildJob(),T=I.buildJob(),F=[];return new Promise((S,R)=>{function N(A){F.push(A)===I.numJobs&&R(new Error(F.map(U=>U.message).join("; ")))}M.httpClient.request("GET",`${k}.well-known/smart-configuration`,O.addSignalOption(w)).then(A=>(I.safeAbortOthers(O),S(E(A)))).catch(A=>N(A)),M.capabilityStatement(D.addSignalOption(w)).then(A=>(I.safeAbortOthers(D),S(C(A)))).catch(A=>N(A)),M.httpClient.request("GET",`${k}.well-known/openid-configuration`,T.addSignalOption(w)).then(A=>(I.safeAbortOthers(T),S(E(A)))).catch(A=>N(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:I={}}={}){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 D=f(M);return this.httpClient.put(`${_}?${D}`,w,r(I,k))}return this.httpClient.put(`${_}/${y}`,w,r(I,k))}patch({resourceType:_,id:y,JSONPatch:M,headers:w,options:k={}}={}){if(!d(_))throw new Error("Invalid resourceType",_);const D={...r(k,w).headers||{},"Content-Type":"application/json-patch+json"};return this.httpClient.patch(`${_}/${y}`,M,{...k,headers:D})}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:I={}}={}){const D=["/"];if(y){if(!d(y))throw new Error("Invalid resourceType",y);D.push(`${y}/`)}return M&&D.push(`${M}/`),D.push(`${_.startsWith("$")?_:`$${_}`}`),"POST"===w.toUpperCase()?this.httpClient.post(D.join(""),k,I):"GET"===w.toUpperCase()?(k&&D.push(`?${v.stringify(k)}`),this.httpClient.get(D.join(""),I)):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:I,id:D}=y;if(!d(I))throw new Error("Invalid compartmentType",I);let O=`/${I}/${D}/${_}`;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),I=r(w,M);return this[w.postSearch?"postSearch":"getSearch"](_,k,I)}postSearch(_,y,M){const k={"Content-Type":"application/x-www-form-urlencoded",...M.headers},I={...M,headers:k};return this.httpClient.post(_,y,I)}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},1813: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}}},918:(De,ne,g)=>{const{AbortController:t}=g(98);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})?$/}},5236:(De,ne,g)=>{var t=g(9293).default;g(1653).polyfill(),g(9804);const{logRequestError:v,logRequestInfo:C,logResponseInfo:E}=g(4641),c={accept:"application/fhir+json"},b="__response",s="__request";let d,l,f=!1;try{d=g(3269),l=g(3269).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 ed{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 I={};return f||(I={keepalive:!Object.prototype.hasOwnProperty.call(k,"keepalive")||k.keepalive}),Object.assign(k,I,{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 I=k.expandUrl(y),D=k.requestBuilder(_,I,M,w);C(_,I,D.headers);const O=yield fetch(D),{status:T,headers:F}=O;E({status:T,response:O});const S=yield O.text();let R={};if(S)try{R=JSON.parse(S)}catch{throw R=S,u({status:T,data:R,method:_,headers:F,url:I})}if(!O.ok)throw u({status:T,data:R,method:_,headers:F,url:I});return Object.defineProperty(R,b,{writable:!1,enumerable:!1,value:O}),Object.defineProperty(R,s,{writable:!1,enumerable:!1,value:D}),R})()}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",...ed.lcKeys(M.headers)},I={...M,headers:k};return w.request("PUT",_,I,y)})()}post(_,y,M={}){var w=this;return t(function*(){const k={"content-type":"application/fhir+json",...ed.lcKeys(M.headers)},I={...M,headers:k};return w.request("POST",_,I,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}=ed;return{...y(c),...y(this.authHeader),...y(this.customHeaders),...y(_)}}}},4641:(De,ne,g)=>{const t=g(5293),v=g(282)("fhir-kit-client:error"),C=g(282)("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)}}},1482:De=>{De.exports=class ne{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}}},1336:(De,ne,g)=>{var t=g(9293).default;const{splitReference:v}=g(3097),{deprecateHeaders:C}=g(1813);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(3833))({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})})()}}},4205:(De,ne,g)=>{const{logError:v}=g(4641);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)}}}},3097:(De,ne,g)=>{const t=g(8570),{fhirReferenceRegEx:v}=g(5760);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)}}},9656:(De,ne,g)=>{let t={};const v=g(3982),C=g(5987),E=g(8347);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},3286:(De,ne,g)=>{const{deepEqual:t}=g(2488),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},7717:(De,ne,g)=>{const t={},{distinctFn:v}=g(7113),C=g(7899),{deepEqual:E,maxCollSizeForDeepEqual:c}=g(2488);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},417: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}},6414:(De,ne,g)=>{var t={};const v=g(8186),C=g(417),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},2488:(De,ne,g)=>{const{FP_Type:t,FP_Quantity:v}=g(8186);var C=g(8347),E=g(8417),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}},5987:(De,ne,g)=>{const t=g(8347),{deepEqual:v}=g(2488),C=g(8186),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},8423:(De,ne,g)=>{const t=g(8347),{whereMacro:v,distinctFn:C}=g(7113),E=g(2295),c=g(7899),{deepEqual:b,maxCollSizeForDeepEqual:s}=g(2488),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(9852),v=g(171),C=g(8347);g(2600);const E=g(417);let c={},b=g(8423),s=g(7113),f=g(9656),d=g(7717),l=g(2295),a=g(5987),r=g(3286),u=g(3982),h=g(6897),p=g(2253),_=g(6414),y=g(2601);const M=g(8186),{FP_Date:w,FP_DateTime:k,FP_Time:I,FP_Quantity:D,FP_Type:O,ResourceNode:T,TypeInfo:F}=M;let S=T.makeResNode;function R(V,W,K,le){if("Expr"===K)return function(ve){const Ye=C.arraify(ve);return c.doEval({...V,$this:Ye},Ye,le)};if("AnyAtRoot"===K){const ve=V.$this||V.dataRoot;return c.doEval({...V,$this:ve},ve,le)}if("Identifier"===K){if("TermExpression"===le.type)return le.text;throw new Error("Expected identifier node, got "+JSON.stringify(le))}if("TypeSpecifier"===K)return c.TypeSpecifier(V,W,le);const ue=c.doEval(V,W,le);if("Any"===K)return ue;if(Array.isArray(K)){if(0===ue.length)return[];K=K[0]}return l.singleton(ue,K)}function A(V){return null==V||C.isEmpty(V)}function U(V,W,K,le){var ue=c.invocationTable[W];if(ue&&ue.fn){var ve=le?le.length:0;if(2!==ve)throw new Error("Infix invoke should have arity 2");var Ye=ue.arity[ve];if(Ye){for(var mt=[],ct=0;ctct?.__path__?S(ct,ct?.__path__):ct),Ye={context:ve,ucum:"http://unitsofmeasure.org"};K&&(K=Object.keys(K).reduce((ct,Ct)=>(ct[Ct]=Array.isArray(K[Ct])?K[Ct].map(Pe=>Pe?.__path__?S(Pe,Pe.__path__):Pe):K[Ct]?.__path__?S(K[Ct],K[Ct].__path__):K[Ct],ct),{}));let mt={dataRoot:ve,vars:Object.assign(Ye,K),model:le};return ue.traceFn&&(mt.customTraceFn=ue.traceFn),ue.userInvocationTable&&(mt.userInvocationTable=ue.userInvocationTable),c.doEval(mt,ve,W.children[0]).reduce((ct,Ct)=>{let Pe=Ct instanceof T?Ct.path:null;return(Ct=C.valData(Ct))instanceof O&&ue.resolveInternalTypes&&(Ct=Ct.toString()),null!=Ct&&(Pe&&"object"==typeof Ct&&Object.defineProperty(Ct,"__path__",{value:Pe}),ct.push(Ct)),ct},[])}function j(V,W,K){const le=(K={resolveInternalTypes:!0,...K}).userInvocationTable;if(le&&(K.userInvocationTable=Object.keys(le).reduce((ue,ve)=>(ue[ve]=le[ve].internalStructures?le[ve]:{...le[ve],fn:(...Ye)=>le[ve].fn.apply(this,Ye.map(mt=>Array.isArray(mt)?mt.map(ct=>C.valData(ct)):mt))},ue),{})),"object"==typeof V){const ue=Y(V.expression);return function(ve,Ye){const mt=V.base?S(ve,V.base):ve;return F.model=W,ee(mt,ue,Ye,W,K)}}{const ue=Y(V);return function(ve,Ye){return F.model=W,ee(ve,ue,Ye,W,K)}}}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,I)},convertsToQuantity:{fn:l.createConvertsToFn(l.toQuantity,D)},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(V,W,K){return K.children.reduce(function(le,ue){return c.doEval(V,le,ue)},W)},c.TermExpression=function(V,W,K){return W&&(W=W.map(le=>le instanceof Object&&le.resourceType?S(le,le.resourceType):le)),c.doEval(V,W,K.children[0])},c.PolarityExpression=function(V,W,K){var le=K.terminalNodeText[0],ue=c.doEval(V,W,K.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 D)"-"===le&&(ue[0]=new D(-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(V,W,K){let le,ue;const ve=K.text.split(".").map(mt=>mt.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(K))}const Ye=new F({namespace:le,name:ue});if(!Ye.isValid())throw new Error('"'+Ye+'" cannot be resolved to a valid type identifier');return Ye},c.ExternalConstantTerm=function(V,W,K){var ve=c.Identifier(V,W,K.children[0].children[0])[0],Ye=V.vars[ve];if(!(ve in V.vars))throw new Error("Attempting to access an undefined environment variable: "+ve);return null==Ye?[]:Ye instanceof Array?Ye:[Ye]},c.LiteralTerm=function(V,W,K){var le=K.children[0];return le?c.doEval(V,W,le):[K.text]},c.StringLiteral=function(V,W,K){var le=K.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(V,W,K){return"true"===K.text?[!0]:[!1]},c.QuantityLiteral=function(V,W,K){var le=K.children[0],ue=Number(le.terminalNodeText[0]),ve=le.children[0],Ye=ve.terminalNodeText[0];return!Ye&&ve.children&&(Ye=ve.children[0].terminalNodeText[0]),[new D(ue,Ye)]},c.DateTimeLiteral=function(V,W,K){var le=K.text.slice(1);return[new k(le)]},c.TimeLiteral=function(V,W,K){var le=K.text.slice(1);return[new I(le)]},c.NumberLiteral=function(V,W,K){return[Number(K.text)]},c.Identifier=function(V,W,K){return[K.text.replace(/(^`|`$)/g,"")]},c.InvocationTerm=function(V,W,K){return c.doEval(V,W,K.children[0])},c.MemberInvocation=function(V,W,K){const le=c.doEval(V,W,K.children[0])[0],ue=V.model;if(W){if(C.isCapitalized(le))return W.filter(ve=>ve instanceof T&&ve.path===le);{const ve=W.path||W.__path__;return W.reduce(function(Ye,mt){return mt=S(mt,ve),C.pushFn(Ye,C.makeChildResNodes(mt,le,ue)),Ye},[])}}return[]},c.IndexerExpression=function(V,W,K){const ue=K.children[1];var ve=c.doEval(V,W,K.children[0]),Ye=c.doEval(V,W,ue);if(C.isEmpty(Ye))return[];var mt=parseInt(Ye[0]);return ve&&C.isSome(mt)&&ve.length>mt&&mt>=0?[ve[mt]]:[]},c.Functn=function(V,W,K){return K.children.map(function(le){return c.doEval(V,W,le)})},c.realizeParams=function(V,W,K){return K&&K[0]&&K[0].children?K[0].children.map(function(le){return c.doEval(V,W,le)}):[]},c.FunctionInvocation=function(V,W,K){var le=c.doEval(V,W,K.children[0]);const ue=le[0];return le.shift(),function N(V,W,K,le){var ve,ue=V.userInvocationTable?.[W]??c.invocationTable[W];if(ue){if(ue.arity){var Ye=le?le.length:0,mt=ue.arity[Ye];if(mt){for(var ct=[],Ct=0;Ct{const K=F.fromValue(W?.__path__?new T(W,W.__path__):W);return`${K.namespace}.${K.name}`})},ucumUtils:g(9070).lG.getInstance(),util:C}},7113:(De,ne,g)=>{const t=g(8347),{TypeInfo:v,ResourceNode:C}=g(8186),E=g(7899),{deepEqual:c,maxCollSizeForDeepEqual:b}=g(2488);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}}},7899:(De,ne,g)=>{const t=g(9070).lG.getInstance(),{roundToMaxPrecision:v}=g(8417),{valDataConverted:C}=g(8347),{FP_Type:E,FP_Quantity:c}=g(8186);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))}},2601: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}}},3982:(De,ne,g)=>{const{FP_Quantity:t,FP_Type:v}=g(8186),C=g(8347),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},2295:(De,ne,g)=>{var t=g(8347),v=g(8186);const{FP_Quantity:C,TypeInfo:E}=v;var c={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}},b=/^[+-]?\d+$/;c.toInteger=function(p){if(1!==p.length)return[];var _=t.valData(p[0]);return!1===_?0:!0===_?1:"number"==typeof _?Number.isInteger(_)?_:[]:"string"==typeof _&&b.test(_)?parseInt(_):[]};const s=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;c.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],I=C._calendarDuration2Seconds[_];if(!k!=!I&&(k>1||I>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=s.exec(M))){const I=w[5],D=w[6];(!D||C.mapTimeUnitsToUCUMCode[D])&&(y=new C(Number(w[1]),I||D||"'1'"))}y&&_&&y.unit!==_&&(y=C.convUnitTo(y.unit,y.value,_))}return y||[]};var d=/^[+-]?\d+(\.\d+)?$/;function l(p){let _=p.slice(3);c["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}}c.toDecimal=function(p){if(1!==p.length)return[];var _=t.valData(p[0]);return!1===_?0:!0===_?1:"number"==typeof _?_:"string"==typeof _&&d.test(_)?parseFloat(_):[]},c.toString=function(p){return 1!==p.length?[]:t.valDataConverted(p[0]).toString()},l("FP_Date"),l("FP_DateTime"),l("FP_Time");const a=["true","t","yes","y","1","1.0"].reduce((p,_)=>(p[_]=!0,p),{}),r=["false","f","no","n","0","0.0"].reduce((p,_)=>(p[_]=!0,p),{});c.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(a[y])return!0;if(r[y])return!1}return[]},c.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 u={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 _}};c.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=u[_];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 h=new Set;["instant","time","date","dateTime","base64Binary","decimal","integer64","boolean","string","code","markdown","id","integer","unsignedInt","positiveInt","uri","oid","uuid","canonical","url","Integer","Decimal","String","Date","DateTime","Time"].forEach(p=>h.add(p)),c.hasValueFn=function(p){return 1===p.length&&null!=t.valData(p[0])&&h.has(E.fromValue(p[0]).name)},De.exports=c},2253:(De,ne,g)=>{const t=g(8347),{ResourceNode:v}=g(8186);var C={children:function(E){let c=this.model;return E.reduce(function(b,s){let f=t.valData(s);if(s=v.makeResNode(s),"object"==typeof f){for(var d of Object.keys(f))t.pushFn(b,t.makeChildResNodes(s,d,c));return b}return b},[])},descendants:function(E){for(var c=C.children.call(this,E),b=[];c.length>0;)t.pushFn(b,c),c=C.children.call(this,c);return b}};De.exports=C},8417:De=>{let ne={};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=ne.roundToMaxPrecision=function(E){return 1e-8*Math.round(E/1e-8)};ne.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)},ne.isEqual=function(E,c){return C(E)===C(c)},De.exports=ne},3359:(De,ne,g)=>{ne.atn=g(758),ne.codepointat=g(395),ne.dfa=g(6945),ne.fromcodepoint=g(9458),ne.tree=g(2445),ne.error=g(321),ne.Token=g(7709).Token,ne.CommonToken=g(7709).CommonToken,ne.InputStream=g(2592),ne.CommonTokenStream=g(6842),ne.Lexer=g(9258),ne.Parser=g(6309);var t=g(3260);ne.PredictionContextCache=t.PredictionContextCache,ne.ParserRuleContext=g(1900),ne.Interval=g(7127).Interval,ne.IntervalSet=g(7127).IntervalSet,ne.Utils=g(4137),ne.LL1Analyzer=g(9441).LL1Analyzer},861:(De,ne,g)=>{const t=g(3359),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},7516:(De,ne,g)=>{const t=g(3359);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){}}},7612:(De,ne,g)=>{const t=g(3359),v=g(7516),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(($e,q)=>new t.dfa.DFA($e,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,ge,Oe){if(1===ge)return this.expression_sempred(q,Oe);throw"No predicate with index:"+ge}expression_sempred(q,ge){switch(ge){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:"+ge}}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(ge){if(!(ge instanceof t.error.RecognitionException))throw ge;q.exception=ge,this._errHandler.reportError(this,ge),this._errHandler.recover(this,ge)}finally{this.exitRule()}return q}expression(q){void 0===q&&(q=0);const ge=this._ctx,Oe=this.state;let vt=new d(this,this._ctx,Oe),it=vt;this.enterRecursionRule(vt,2,s.RULE_expression,q);var Ge=0;try{switch(this.enterOuterAlt(vt,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:vt=new D(this,vt),this._ctx=vt,it=vt,this.state=34,this.term();break;case s.T__3:case s.T__4:vt=new a(this,vt),this._ctx=vt,it=vt,this.state=35,(Ge=this._input.LA(1))===s.T__3||Ge===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 Me=this._interp.adaptivePredict(this._input,2,this._ctx);2!=Me&&Me!=t.atn.ATN.INVALID_ALT_NUMBER;){if(1===Me)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),it=vt,this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(vt=new u(this,new d(this,ge,Oe)),this.pushNewRecursionContext(vt,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&(Ge=this._input.LA(1)))&&1<{const t=g(3359),v=g(861),C=g(7612),E=g(7516);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 I of Object.getOwnPropertyNames(E.prototype))I.startsWith("enter")?p.prototype[I]=function(D){let O=M[M.length-1];(y={type:I.slice(5)}).text=D.getText(),O.children||(O.children=[]),O.children.push(y),M.push(y),y.terminalNodeText=[];for(let F of D.children)F.symbol&&y.terminalNodeText.push(F.getText())}:I.startsWith("exit")&&(p.prototype[I]=function(){M.pop()});var w=new p;if(t.tree.ParseTreeWalker.DEFAULT.walk(w,h),r.length>0){let I=[];for(let D=0,O=r.length;D{const De=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(ne){return"number"==typeof ne&&isFinite(ne)&&Math.floor(ne)===ne},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(ne,g){return this.indexOf(ne,g=g||0)===g}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(ne,g){var t=this.toString();(void 0===g||g>t.length)&&(g=t.length);var v=t.indexOf(ne,g-=ne.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(ne){if(null==ne)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(ne))}}),typeof btoa>"u"&&(global.btoa=function(ne){return new Buffer.from(ne,"binary").toString("base64")}),typeof atob>"u"&&(global.atob=function(ne){return new Buffer.from(ne,"base64").toString("binary")})},6897:(De,ne,g)=>{const t=g(8347),v=g(2295),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},8186:(De,ne,g)=>{const t=g(5462),v=g(9070).lG.getInstance(),C=g(8417);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(S,R){super(),this.asStr=S+" "+R,this.value=S,this.unit=R}equals(S){if(!(S instanceof this.constructor))return!1;const R=a._calendarDuration2Seconds[this.unit],N=a._calendarDuration2Seconds[S.unit];if(!R!=!N&&(R>1||N>1))return null;if(this.unit===S.unit)return C.isEqual(this.value,S.value);const A=this._compareYearsAndMonths(S);if(A)return A.isEqual;const U=a.toUcumQuantity(this.value,this.unit),Y=a.toUcumQuantity(S.value,S.unit),ee=v.convertUnitTo(Y.unit,Y.value,U.unit);return"succeeded"===ee.status&&C.isEqual(U.value,ee.toVal)}equivalentTo(S){if(!(S instanceof this.constructor))return!1;if(this.unit===S.unit)return C.isEquivalent(this.value,S.value);const R=a.getEquivalentUcumUnitCode(this.unit),N=a.getEquivalentUcumUnitCode(S.unit),A=v.convertUnitTo(N,S.value,R);return"succeeded"===A.status&&C.isEquivalent(this.value,A.toVal)}compare(S){if(this.unit===S.unit)return this.value-S.value;const R=a._calendarDuration2Seconds[this.unit],N=a._calendarDuration2Seconds[S.unit];if(!R!=!N&&(R>1||N>1))return null;const A=a.getEquivalentUcumUnitCode(this.unit),U=a.getEquivalentUcumUnitCode(S.unit),Y=v.convertUnitTo(U,S.value,A);return"succeeded"!==Y.status?null:this.value-Y.toVal}plus(S){const R=a._yearMonthConversionFactor[this.unit],N=a._yearMonthConversionFactor[S.unit];if(R&&N)return new a(this.value+S.value*N/R,this.unit);const A=a._calendarDuration2Seconds[this.unit],U=a._calendarDuration2Seconds[S.unit];if(!A!=!U&&(A>1||U>1))return null;const Y=A?"s":this.unit.replace(r,""),ee=(A||1)*this.value,ie=U?"s":S.unit.replace(r,""),j=v.convertUnitTo(ie,(U||1)*S.value,Y);return"succeeded"!==j.status||j.fromUnit.isSpecial_||j.toUnit.isSpecial_?null:new a(ee+j.toVal,Y)}mul(S){const R=a._calendarDuration2Seconds[this.unit],N=a._calendarDuration2Seconds[S.unit];if(R>1&&"'1'"!==S.unit||N>1&&"'1'"!==this.unit)return null;const A=this.convToUcumUnits(this,R);if(!A)return null;const U=this.convToUcumUnits(S,N);return U?"'1'"===this.unit?new a(this.value*S.value,S.unit):"'1'"===S.unit?new a(this.value*S.value,this.unit):new a(A.value*U.value,`'(${A.unit}).(${U.unit})'`):null}div(S){if(0===S.value)return null;const R=a._calendarDuration2Seconds[this.unit],N=a._calendarDuration2Seconds[S.unit];if(R)if(N){const ie=a._yearMonthConversionFactor[this.unit],$=a._yearMonthConversionFactor[S.unit];if(ie&&$)return new a(this.value*ie/(S.value*$),"'1'")}else{if("'1'"===S.unit)return new a(this.value/S.value,this.unit);if(R>1)return null}else if(N>1)return null;const A=this.convToUcumUnits(this,R);if(!A)return null;const U=this.convToUcumUnits(S,N);if(!U)return null;const ee=v.convertToBaseUnits("1"===U.unit?A.unit:`(${A.unit})/(${U.unit})`,A.value/U.value);return"succeeded"!==ee.status?null:new a(ee.magnitude,`'${Object.keys(ee.unitToExp).map(ie=>ie+ee.unitToExp[ie]).join(".")||"1"}'`)}convToUcumUnits(S,R){if(R)return{value:R*S.value,unit:"s"};{const N=S.unit.replace(r,""),A=v.convertToBaseUnits(N,S.value);return"succeeded"!==A.status||A.fromUnitIsSpecial?null:{value:A.magnitude,unit:Object.keys(A.unitToExp).map(U=>U+A.unitToExp[U]).join(".")||"1"}}}_compareYearsAndMonths(S){const R=a._yearMonthConversionFactor[this.unit],N=a._yearMonthConversionFactor[S.unit];return R&&N?{isEqual:C.isEqual(this.value*R,S.value*N)}:null}}const r=/^'|'$/g;a.getEquivalentUcumUnitCode=function(F){return a.mapTimeUnitsToUCUMCode[F]||F.replace(r,"")},a.toUcumQuantity=function(F,S){const R=a._calendarDuration2Seconds[S];return R?{value:R*F,unit:"s"}:{value:F,unit:S.replace(r,"")}},a.convUnitTo=function(F,S,R){const N=a._yearMonthConversionFactor[F],A=a._yearMonthConversionFactor[R];if(N&&A)return new a(N*S/A,R);const U=a._calendarDuration2Seconds[F],Y=a._calendarDuration2Seconds[R];if(Y){if(U)return new a(U*S/Y,R);{const ee=v.convertUnitTo(F.replace(/^'|'$/g,""),S,"s");if("succeeded"===ee.status)return new a(ee.toVal/Y,R)}}else{const ee=U?v.convertUnitTo("s",U*S,R.replace(/^'|'$/g,"")):v.convertUnitTo(F.replace(/^'|'$/g,""),S,R.replace(/^'|'$/g,""));if("succeeded"===ee.status)return new a(ee.toVal,R)}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(F,S){return F[a.mapUCUMCodeToTimeUnits[S]]=S,F[a.mapUCUMCodeToTimeUnits[S]+"s"]=S,F},{});class u extends l{constructor(S){super(),this.asStr=S}plus(S){let N=a.dateTimeArithmeticDurationUnits[S.unit];if(!N)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 A=this.constructor,U=A._timeUnitToDatePrecision[N];if(void 0===U)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(A._timeUnitToDatePrecision).join(", ")+".");let Y=S.value;const ee=A===p;if((ee?U<2:U<5)&&(Y=Math.trunc(Y)),this._getPrecision()2?new h(Y)._getTimeParts():this._getTimeParts(),$=A>2?new h(ee)._getTimeParts():S._getTimeParts(),j=0;j<=U&&!1!==R;++j)R=ie[j]==$[j];R&&(R=void 0)}}else R=!1;return R}equivalentTo(S){var R=S instanceof this.constructor;return R&&(R=this._getPrecision()==S._getPrecision())&&(R=this._getDateObj().getTime()==S._getDateObj().getTime()),R}compare(S){var R=this._getPrecision(),N=S._getPrecision(),A=R<=N?this._getDateObj().getTime():this._dateAtPrecision(N).getTime(),U=N<=R?S._getDateObj().getTime():S._dateAtPrecision(R).getTime();return R!==N&&A===U?null:A-U}_getPrecision(){return void 0===this.precision&&this._getMatchData(),this.precision}_getMatchData(S,R){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(S),this.timeMatchData))for(let N=R;N>=0&&void 0===this.precision;--N)this.timeMatchData[N]&&(this.precision=N);return this.timeMatchData}_getTimeParts(S){var R=[];R=[S[0]];var N=S[4];if(N){let ee=R[0];R[0]=ee.slice(0,ee.length-N.length)}var A=S[1];if(A){let ee=R[0];R[0]=ee.slice(0,ee.length-A.length),R[1]=A;var U=S[2];if(U){R[1]=A.slice(0,A.length-U.length),R[2]=U;var Y=S[3];Y&&(R[2]=U.slice(0,U.length-Y.length),R[3]=Y)}}return R}_getDateObj(){if(!this.dateObj){var S=this._getPrecision();this.dateObj=this._dateAtPrecision(S)}return this.dateObj}_createDate(S,R,N,A,U,Y,ee,ie){var $=new Date(S,R,N,A,U,Y,ee);if(ie){var j=$.getTimezoneOffset(),G=0;if("Z"!=ie){var V=ie.split(":"),W=parseInt(V[0]);G=parseInt(V[1]),W<0&&(G=-G),G+=60*W}$=t($,-j-G)}return $}}u.timeUnitToAddFn={year:g(6833),month:g(2482),week:g(1818),day:g(2378),hour:g(6200),minute:g(5462),second:g(5802),millisecond:g(9627)};let h=(()=>{class F extends u{constructor(R){super(R)}compare(R){if(!(R instanceof F))throw"Invalid comparison of a DateTime with something else";return super.compare(R)}_getMatchData(){return super._getMatchData(s,5)}_getTimeParts(){if(!this.timeParts){let N=this._getMatchData(),A=N[0];this.timeParts=[A];var R=N[1];if(R){this.timeParts[0]=A.slice(0,A.length-R.length),this.timeParts[1]=R;let U=N[2];if(U){this.timeParts[1]=R.slice(0,R.length-U.length),this.timeParts[2]=U;let Y=N[3];Y&&(this.timeParts[2]=U.slice(0,U.length-Y.length),"T"===Y[0]&&(N[3]=Y.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(N.slice(3))))}}}return this.timeParts}_dateAtPrecision(R){var N=this._getTimeParts(),A=this._getMatchData()[7],U=this._getPrecision(),Y=parseInt(N[0]),ee=U>0?parseInt(N[1].slice(1))-1:0,ie=U>1?parseInt(N[2].slice(1)):1,$=U>2?parseInt(N[3]):0,j=U>3?parseInt(N[4].slice(1)):0,G=U>4?parseInt(N[5].slice(1)):0,V=N.length>6?parseInt(N[6].slice(1)):0,W=this._createDate(Y,ee,ie,$,j,G,V,A);return R0?W.getMonth():0,ie=R>1?W.getDate():1,$=R>2?W.getHours():0,j=R>3?W.getMinutes():0,W=new Date(Y,ee,ie,$,j)),W}}return F.checkString=function(S){let R=new F(S);return R._getMatchData()||(R=null),R},F._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},F._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"],F})(),p=(()=>{class F extends u{constructor(R){"T"==R[0]&&(R=R.slice(1)),super(R)}compare(R){if(!(R instanceof F))throw"Invalid comparison of a time with something else";return super.compare(R)}_dateAtPrecision(R){var N=this._getTimeParts(),A=this._getMatchData()[4],U=this._getPrecision(),Y=2010,$=parseInt(N[0]),j=U>0?parseInt(N[1].slice(1)):0,G=U>1?parseInt(N[2].slice(1)):0,V=N.length>3?parseInt(N[3].slice(1)):0,W=this._createDate(Y,0,1,$,j,G,V,A);return A&&(W.setYear(Y),W.setMonth(0),W.setDate(1)),R0?W.getMinutes():0,W=new Date(Y,0,1,$,j)),W}_getMatchData(){return super._getMatchData(b,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}return F.checkString=function(S){let R=new F(S);return R._getMatchData()||(R=null),R},F._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},F._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],F})();function _(F,S){var R=F;return 3===S&&F<100&&(R="0"+F),F<10&&(R="0"+R),R}h.isoDateTime=function(F,S){void 0===S&&(S=5);var R=""+F.getFullYear();if(S>0&&(R+="-"+_(F.getMonth()+1),S>1&&(R+="-"+_(F.getDate()),S>2&&(R+="T"+h.isoTime(F,S-3)))),S>2){var N=F.getTimezoneOffset(),A=N<0?"+":"-",U=(N=Math.abs(N))%60;R+=A+_((N-U)/60)+":"+_(U)}return R},h.isoTime=function(F,S){void 0===S&&(S=2);let R=""+_(F.getHours());return S>0&&(R+=":"+_(F.getMinutes()),S>1&&(R+=":"+_(F.getSeconds()),F.getMilliseconds()&&(R+="."+_(F.getMilliseconds(),3)))),R};let y=(()=>{class F extends h{constructor(R){super(R)}_getMatchData(){return u.prototype._getMatchData.apply(this,[f,2])}}return F.checkString=function(S){let R=new F(S);return R._getMatchData()||(R=null),R},F.isoDate=function(S,R){return(void 0===R||R>2)&&(R=2),h.isoDateTime(S,R)},F})(),M=(()=>{class F extends h{constructor(R){super(R)}_getMatchData(){return u.prototype._getMatchData.apply(this,[d,5])}}return F.checkString=function(S){let R=new F(S);return R._getMatchData()||(R=null),R},F})(),w=(()=>{class F{constructor(R,N,A,U){R?.resourceType&&(N=R.resourceType),this.path=N,this.data=R,this._data=A||{},this.isBackbone=U}getTypeInfo(){let R;return I.model?this.isBackbone?R=new I({namespace:I.FHIR,name:"BackboneElement"}):/^System\.(.*)$/.test(this.path)?R=new I({namespace:I.System,name:RegExp.$1}):-1===this.path.indexOf(".")&&(R=new I({namespace:I.FHIR,name:this.path})):R=I.createByValueInSystemNamespace(this.data),R||I.createByValueInSystemNamespace(this.data)}toJSON(){return JSON.stringify(this.data)}convertData(){var R=this.data;const N=I.typeToClassWithCheckString[this.path];if(N)R=N.checkString(R)||R;else if(I.isType(this.path,"Quantity")&&"http://unitsofmeasure.org"===R?.system&&"number"==typeof R.value&&"string"==typeof R.code){if(void 0!==R.comparator)throw new Error("Cannot convert a FHIR.Quantity that has a comparator");R=new a(R.value,a.mapUCUMCodeToTimeUnits[R.code]||"'"+R.code+"'")}return R}}return F.makeResNode=function(S,R,N,A=!1){return S instanceof F?S:new F(S,R,N,A)},F})();const k=new Set;["Boolean","String","Integer","Decimal","Date","DateTime","Time","Quantity"].forEach(F=>k.add(F));let I=(()=>{class F{constructor({name:R,namespace:N}){this.name=R,this.namespace=N}static model=null;is(R){return R instanceof F&&(!this.namespace||!R.namespace||this.namespace===R.namespace)&&(!F.model||this.namespace&&this.namespace!==F.FHIR?this.name===R.name:F.isType(this.name,R.name))}toString(){return(this.namespace?this.namespace+".":"")+this.name}isValid(){let R=!1;return"System"===this.namespace?R=k.has(this.name):"FHIR"===this.namespace?R=F.model?.availableTypes.has(this.name):this.namespace||(R=k.has(this.name)||F.model?.availableTypes.has(this.name)),R}}return F.typeToClassWithCheckString={date:y,dateTime:h,instant:M,time:p},F.isType=function(S,R){do{if(S===R)return!0}while(S=F.model?.type2Parent[S]);return!1},F.System="System",F.FHIR="FHIR",F.createByValueInSystemNamespace=function(S){let R=typeof S;return Number.isInteger(S)?R="integer":"number"===R?R="decimal":S instanceof y?R="date":S instanceof h?R="dateTime":S instanceof p?R="time":S instanceof a&&(R="Quantity"),R=R.replace(/^\w/,N=>N.toUpperCase()),new F({namespace:F.System,name:R})},F.fromValue=function(S){return S instanceof w?S.getTypeInfo():F.createByValueInSystemNamespace(S)},F})();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:I,typeFn:function D(F){return F.map(S=>I.fromValue(S))},isFn:function O(F,S){if(0===F.length)return[];if(F.length>1)throw new Error("Expected singleton on left side of 'is', got "+JSON.stringify(F));return I.fromValue(F[0]).is(S)},asFn:function T(F,S){if(0===F.length)return[];if(F.length>1)throw new Error("Expected singleton on left side of 'as', got "+JSON.stringify(F));return I.fromValue(F[0]).is(S)?F:[]}}},8347:(De,ne,g)=>{const t={},v=g(8186),{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,"\\$&")},t.pushFn=Function.prototype.apply.bind(Array.prototype.push),t.makeChildResNodes=function(E,c,b){let s=E.path+"."+c;if(b){let h=b.pathsDefinedElsewhere[s];h&&(s=h)}let f,d,l=b&&b.choiceTypePaths[s];if(l)for(let h of l){let p=c+h;if(f=E.data?.[p],d=E.data?.["_"+p],void 0!==f||void 0!==d){s+=h;break}}else f=E.data?.[c],d=E.data?.["_"+c],void 0===f&&void 0===d&&(f=E._data[c]),"extension"===c&&(s="Extension");const a=b&&b.path2Type[s],r="BackboneElement"===a;let u;if(s=r?s:a||s,t.isSome(f)||t.isSome(d))if(Array.isArray(f)){u=f.map((p,_)=>C.makeResNode(p,s,d&&d[_],r));const h=d?.length||0;for(let p=f.length;pC.makeResNode(null,s,h,r)):[C.makeResNode(f,s,d,r)];else u=[];return u},De.exports=t},3718:De=>{"use strict";De.exports=function(ne,g){for(var t={},v=Object.keys(ne),C=Array.isArray(g),E=0;E{!function(De,ne){"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=ne.querySelectorAll("code.hljs,code.nohighlight");for(var Y in U)U.hasOwnProperty(Y)&&(u(U[Y])||h(U[Y],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 F(A){De.setTimeout(A,0)}(function(){A.innerHTML=_(A,U)})}function _(A,U){var Y=function M(A,U){return{singleLine:w(U=U||{}),startFrom:k(A,U)}}(A,U);return I(A),function y(A,U){var Y=O(A);if(""===Y[Y.length-1].trim()&&Y.pop(),Y.length>1||U.singleLine){for(var ee="",ie=0,$=Y.length;ie<$;ie++)ee+=S('
{6}',[t,C,E,c,v,ie+U.startFrom,Y[ie].length>0?Y[ie]:" "]);return S('{1}
',[g,ee])}return A}(A.innerHTML,Y)}function w(A){return!!A.singleLine&&A.singleLine}function k(A,U){var ee=1;isFinite(U.startFrom)&&(ee=U.startFrom);var ie=function R(A,U){return A.hasAttribute(U)?A.getAttribute(U):null}(A,"data-ln-start-from");return null!==ie&&(ee=function N(A,U){if(!A)return U;var Y=Number(A);return isFinite(Y)?Y:U}(ie,1)),ee}function I(A){var U=A.childNodes;for(var Y in U)if(U.hasOwnProperty(Y)){var ee=U[Y];T(ee.textContent)>0&&(ee.childNodes.length>0?I(ee):D(ee.parentNode))}}function D(A){var U=A.className;if(/hljs-/.test(U)){for(var Y=O(A.innerHTML),ee=0,ie="";ee{1}\n',[U,Y[ee].length>0?Y[ee]:" "]);A.innerHTML=ie.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(Y,ee){return void 0!==U[ee]?U[ee]:Y})}De.hljs?(De.hljs.initLineNumbersOnLoad=function a(A){"interactive"===ne.readyState||"complete"===ne.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 Y=document.createElement("code");return Y.innerHTML=A,_(Y,U)}},function l(){var A=ne.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]),ne.getElementsByTagName("head")[0].appendChild(A)}()):De.console.error("highlight.js not detected!"),document.addEventListener("copy",function(A){var Y,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)&&(Y=-1!==window.navigator.userAgent.indexOf("Edge")?function d(A){for(var U=A.toString(),Y=A.anchorNode;"TD"!==Y.nodeName;)Y=Y.parentNode;for(var ee=A.focusNode;"TD"!==ee.nodeName;)ee=ee.parentNode;var ie=parseInt(Y.dataset.lineNumber),$=parseInt(ee.dataset.lineNumber);if(ie!=$){var j=Y.textContent,G=ee.textContent;if(ie>$){var V=ie;ie=$,$=V,V=j,j=G,G=V}for(;0!==U.indexOf(j);)j=j.slice(1);for(;-1===U.lastIndexOf(G);)G=G.slice(0,-1);for(var W=j,K=function f(A){for(var U=A;"TABLE"!==U.nodeName;)U=U.parentNode;return U}(Y),le=ie+1;le<$;++le){var ue=S('.{0}[{1}="{2}"]',[v,c,le]);W+="\n"+K.querySelector(ue).textContent}return W+"\n"+G}return U}(U):U.toString(),A.clipboardData.setData("text/plain",Y),A.preventDefault())})}(window,document)},1152:De=>{"use strict";De.exports=Number.isFinite||function(ne){return!("number"!=typeof ne||ne!=ne||ne===1/0||ne===-1/0)}},6971:(De,ne,g)=>{var t=g(1152);De.exports=Number.isInteger||function(v){return"number"==typeof v&&t(v)&&Math.floor(v)===v}},882:function(De,ne){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(ne,[]):g)&&(De.exports=v)},5293:(De,ne)=>{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},3244:De=>{var ne=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*ne;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>=ne?f(d,l,ne,"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>=ne?Math.round(d/ne)+"s":d+"ms"}(d);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(d))}},98:De=>{"use strict";const ne=typeof self<"u"?self:typeof window<"u"?window:void 0;if(!ne)throw new Error("Unable to find global scope. Are you sure this is running in the browser?");if(!ne.AbortController)throw new Error('Could not find "AbortController" in the global scope. You need to polyfill it first');De.exports.AbortController=ne.AbortController},8570:(De,ne,g)=>{"use strict";const t=g(8467),v=g(2635),C=g(3321),E=g(3718),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,I,D)=>{w=/\[(\d*)\]$/.exec(k),k=k.replace(/\[\d*\]$/,""),w?(void 0===D[k]&&(D[k]={}),D[k][w[1]]=I):D[k]=I};case"bracket":return(k,I,D)=>{w=/(\[\])$/.exec(k),D[k=k.replace(/\[\]$/,"")]=w?void 0!==D[k]?[].concat(D[k],I):[I]:I};case"colon-list-separator":return(k,I,D)=>{w=/(:list)$/.exec(k),D[k=k.replace(/:list$/,"")]=w?void 0!==D[k]?[].concat(D[k],I):[I]:I};case"comma":case"separator":return(k,I,D)=>{const O="string"==typeof I&&I.includes(M.arrayFormatSeparator),T="string"==typeof I&&!O&&a(I,M).includes(M.arrayFormatSeparator);I=T?a(I,M):I;const F=O||T?I.split(M.arrayFormatSeparator).map(S=>a(S,M)):null===I?I:a(I,M);D[k]=F};case"bracket-separator":return(k,I,D)=>{const O=/(\[\])$/.test(k);if(k=k.replace(/\[\]$/,""),!O)return void(D[k]=I&&a(I,M));const T=null===I?[]:I.split(M.arrayFormatSeparator).map(F=>a(F,M));D[k]=void 0!==D[k]?[].concat(D[k],T):T};default:return(k,I,D)=>{D[k]=void 0!==D[k]?[].concat(D[k],I):I}}}(w),I=Object.create(null);if("string"!=typeof M||!(M=M.trim().replace(/^[?#&]/,"")))return I;for(const D of M.split("&")){if(""===D)continue;let[O,T]=C(w.decode?D.replace(/\+/g," "):D,"=");T=void 0===T?null:["comma","separator","bracket-separator"].includes(w.arrayFormat)?T:a(T,w),k(a(O,w),T,I)}for(const D of Object.keys(I)){const O=I[D];if("object"==typeof O&&null!==O)for(const T of Object.keys(O))O[T]=_(O[T],w);else I[D]=_(O,w)}return!1===w.sort?I:(!0===w.sort?Object.keys(I).sort():Object.keys(I).sort(w.sort)).reduce((D,O)=>{const T=I[O];return D[O]=T&&"object"==typeof T&&!Array.isArray(T)?r(T):T,D},Object.create(null))}ne.extract=p,ne.parse=y,ne.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],I=function s(M){switch(M.arrayFormat){case"index":return w=>(k,I)=>{const D=k.length;return void 0===I||M.skipNull&&null===I||M.skipEmptyString&&""===I?k:null===I?[...k,[l(w,M),"[",D,"]"].join("")]:[...k,[l(w,M),"[",l(D,M),"]=",l(I,M)].join("")]};case"bracket":return w=>(k,I)=>void 0===I||M.skipNull&&null===I||M.skipEmptyString&&""===I?k:null===I?[...k,[l(w,M),"[]"].join("")]:[...k,[l(w,M),"[]=",l(I,M)].join("")];case"colon-list-separator":return w=>(k,I)=>void 0===I||M.skipNull&&null===I||M.skipEmptyString&&""===I?k:null===I?[...k,[l(w,M),":list="].join("")]:[...k,[l(w,M),":list=",l(I,M)].join("")];case"comma":case"separator":case"bracket-separator":{const w="bracket-separator"===M.arrayFormat?"[]=":"=";return k=>(I,D)=>void 0===D||M.skipNull&&null===D||M.skipEmptyString&&""===D?I:(D=null===D?"":D,0===I.length?[[l(k,M),w,l(D,M)].join("")]:[[I,l(D,M)].join(M.arrayFormatSeparator)])}default:return w=>(k,I)=>void 0===I||M.skipNull&&null===I||M.skipEmptyString&&""===I?k:null===I?[...k,l(w,M)]:[...k,[l(w,M),"=",l(I,M)].join("")]}}(w),D={};for(const T of Object.keys(M))k(T)||(D[T]=M[T]);const O=Object.keys(D);return!1!==w.sort&&O.sort(w.sort),O.map(T=>{const F=M[T];return void 0===F?"":null===F?l(T,w):Array.isArray(F)?0===F.length&&"bracket-separator"===w.arrayFormat?l(T,w)+"[]":F.reduce(I(T),[]).join("&"):l(T,w)+"="+l(F,w)}).filter(T=>T.length>0).join("&")},ne.parseUrl=(M,w)=>{w=Object.assign({decode:!0},w);const[k,I]=C(M,"#");return Object.assign({url:k.split("?")[0]||"",query:y(p(M),w)},w&&w.parseFragmentIdentifier&&I?{fragmentIdentifier:a(I,w)}:{})},ne.stringifyUrl=(M,w)=>{w=Object.assign({encode:!0,strict:!0,[b]:!0},w);const k=u(M.url).split("?")[0]||"",I=ne.extract(M.url),D=ne.parse(I,{sort:!1}),O=Object.assign(D,M.query);let T=ne.stringify(O,w);T&&(T=`?${T}`);let F=function h(M){let w="";const k=M.indexOf("#");return-1!==k&&(w=M.slice(k)),w}(M.url);return M.fragmentIdentifier&&(F=`#${w[b]?l(M.fragmentIdentifier,w):M.fragmentIdentifier}`),`${k}${T}${F}`},ne.pick=(M,w,k)=>{k=Object.assign({parseFragmentIdentifier:!0,[b]:!1},k);const{url:I,query:D,fragmentIdentifier:O}=ne.parseUrl(M,k);return ne.stringifyUrl({url:I,query:E(D,w),fragmentIdentifier:O},k)},ne.exclude=(M,w,k)=>{const I=Array.isArray(w)?D=>!w.includes(D):(D,O)=>!w(D,O);return ne.pick(M,I,k)}},4412:(De,ne,g)=>{"use strict";g.d(ne,{t:()=>v});var t=g(1413);class v extends t.B{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)}}},1985:(De,ne,g)=>{"use strict";g.d(ne,{c:()=>f});var t=g(7707),v=g(8359),C=g(3494),E=g(1203),c=g(1026),b=g(8071),s=g(9786);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.vU||function l(r){return r&&(0,b.T)(r.next)&&(0,b.T)(r.error)&&(0,b.T)(r.complete)}(r)&&(0,v.Uv)(r)}(h)?h:new t.Ms(h,p,_);return(0,s.Y)(()=>{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.Ms({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.s](){return this}pipe(...h){return(0,E.m)(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.$.Promise)&&void 0!==u?u:Promise}},2771:(De,ne,g)=>{"use strict";g.d(ne,{m:()=>C});var t=g(1413),v=g(6129);class C extends t.B{constructor(c=1/0,b=1/0,s=v.U){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(ne,{B:()=>s});var t=g(1985),v=g(8359);const E=(0,g(1853).L)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var c=g(7908),b=g(9786);let s=(()=>{class d extends t.c{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.Y)(()=>{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.Y)(()=>{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.Y)(()=>{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.Kn:(this.currentObservers=null,h.push(a),new v.yU(()=>{this.currentObservers=null,(0,c.o)(h,a)}))}_checkFinalizedStatuses(a){const{hasError:r,thrownError:u,isStopped:h}=this;r?a.error(u):h&&a.complete()}asObservable(){const a=new t.c;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.Kn}}},7707:(De,ne,g)=>{"use strict";g.d(ne,{Ms:()=>_,vU:()=>r});var t=g(8071),v=g(8359),C=g(1026),E=g(5334),c=g(5343);const b=d("C",void 0,void 0);function d(I,D,O){return{kind:I,value:D,error:O}}var l=g(9270),a=g(9786);class r extends v.yU{constructor(D){super(),this.isStopped=!1,D?(this.destination=D,(0,v.Uv)(D)&&D.add(this)):this.destination=k}static create(D,O,T){return new _(D,O,T)}next(D){this.isStopped?w(function f(I){return d("N",I,void 0)}(D),this):this._next(D)}error(D){this.isStopped?w(function s(I){return d("E",void 0,I)}(D),this):(this.isStopped=!0,this._error(D))}complete(){this.isStopped?w(b,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(D){this.destination.next(D)}_error(D){try{this.destination.error(D)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const u=Function.prototype.bind;function h(I,D){return u.call(I,D)}class p{constructor(D){this.partialObserver=D}next(D){const{partialObserver:O}=this;if(O.next)try{O.next(D)}catch(T){y(T)}}error(D){const{partialObserver:O}=this;if(O.error)try{O.error(D)}catch(T){y(T)}else y(D)}complete(){const{partialObserver:D}=this;if(D.complete)try{D.complete()}catch(O){y(O)}}}class _ extends r{constructor(D,O,T){let F;if(super(),(0,t.T)(D)||!D)F={next:D??void 0,error:O??void 0,complete:T??void 0};else{let S;this&&C.$.useDeprecatedNextContext?(S=Object.create(D),S.unsubscribe=()=>this.unsubscribe(),F={next:D.next&&h(D.next,S),error:D.error&&h(D.error,S),complete:D.complete&&h(D.complete,S)}):F=D}this.destination=new p(F)}}function y(I){C.$.useDeprecatedSynchronousErrorHandling?(0,a.l)(I):(0,E.m)(I)}function w(I,D){const{onStoppedNotification:O}=C.$;O&&l.f.setTimeout(()=>O(I,D))}const k={closed:!0,next:c.l,error:function M(I){throw I},complete:c.l}},8359:(De,ne,g)=>{"use strict";g.d(ne,{Kn:()=>b,yU:()=>c,Uv:()=>s});var t=g(8071);const C=(0,g(1853).L)(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(7908);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.T)(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.o)(a,l)}remove(l){const{_finalizers:a}=this;a&&(0,E.o)(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.T)(d.remove)&&(0,t.T)(d.add)&&(0,t.T)(d.unsubscribe)}function f(d){(0,t.T)(d)?d():d.unsubscribe()}},1026:(De,ne,g)=>{"use strict";g.d(ne,{$:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17:(De,ne,g)=>{"use strict";g.d(ne,{G:()=>b});var t=g(1985),v=g(8359),C=g(9898),E=g(4360),c=g(9974);class b extends t.c{constructor(f,d){super(),this.source=f,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,c.S)(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.yU;const d=this.getSubject();f.add(this.source.subscribe((0,E._)(d,void 0,()=>{this._teardown(),d.complete()},l=>{this._teardown(),d.error(l)},()=>this._teardown()))),f.closed&&(this._connection=null,f=v.yU.EMPTY)}return f}refCount(){return(0,C.B)()(this)}}},4572:(De,ne,g)=>{"use strict";g.d(ne,{P:()=>a,z:()=>l});var t=g(1985),v=g(3073),C=g(8455),E=g(3669),c=g(6450),b=g(9326),s=g(8496),f=g(4360),d=g(5225);function l(...u){const h=(0,b.lI)(u),p=(0,b.ms)(u),{args:_,keys:y}=(0,v.D)(u);if(0===_.length)return(0,C.H)([],h);const M=new t.c(a(_,h,y?w=>(0,s.e)(y,w):E.D));return p?M.pipe((0,c.I)(p)):M}function a(u,h,p=E.D){return _=>{r(h,()=>{const{length:y}=u,M=new Array(y);let w=y,k=y;for(let I=0;I{const D=(0,C.H)(u[I],h);let O=!1;D.subscribe((0,f._)(_,T=>{M[I]=T,O||(O=!0,k--),k||_.next(p(M.slice()))},()=>{--w||_.complete()}))},_)},_)}}function r(u,h,p){u?(0,d.N)(p,u,h):h()}},2688:(De,ne,g)=>{"use strict";g.d(ne,{x:()=>E});var t=g(9131),v=g(9326),C=g(8455);function E(...c){return(0,t.K)()((0,C.H)(c,(0,v.lI)(c)))}},9030:(De,ne,g)=>{"use strict";g.d(ne,{v:()=>C});var t=g(1985),v=g(8750);function C(E){return new t.c(c=>{(0,v.Tg)(E()).subscribe(c)})}},983:(De,ne,g)=>{"use strict";g.d(ne,{w:()=>v});const v=new(g(1985).c)(c=>c.complete())},7468:(De,ne,g)=>{"use strict";g.d(ne,{p:()=>f});var t=g(1985),v=g(3073),C=g(8750),E=g(9326),c=g(4360),b=g(6450),s=g(8496);function f(...d){const l=(0,E.ms)(d),{args:a,keys:r}=(0,v.D)(d),u=new t.c(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]=I},()=>y--,void 0,()=>{(!y||!k)&&(M||h.next(r?(0,s.e)(r,_):_),h.complete())}))}});return l?u.pipe((0,b.I)(l)):u}},8455:(De,ne,g)=>{"use strict";g.d(ne,{H:()=>D});var t=g(8750),v=g(941),C=g(6745),b=g(1985),f=g(4761),d=g(8071),l=g(5225);function r(O,T){if(!O)throw new Error("Iterable cannot be null");return new b.c(F=>{(0,l.N)(F,T,()=>{const S=O[Symbol.asyncIterator]();(0,l.N)(F,T,()=>{S.next().then(R=>{R.done?F.complete():F.next(R.value)})},0,!0)})})}var u=g(5055),h=g(9858),p=g(7441),_=g(5397),y=g(7953),M=g(591),w=g(5196);function D(O,T){return T?function I(O,T){if(null!=O){if((0,u.l)(O))return function E(O,T){return(0,t.Tg)(O).pipe((0,C._)(T),(0,v.Q)(T))}(O,T);if((0,p.X)(O))return function s(O,T){return new b.c(F=>{let S=0;return T.schedule(function(){S===O.length?F.complete():(F.next(O[S++]),F.closed||this.schedule())})})}(O,T);if((0,h.y)(O))return function c(O,T){return(0,t.Tg)(O).pipe((0,C._)(T),(0,v.Q)(T))}(O,T);if((0,y.T)(O))return r(O,T);if((0,_.x)(O))return function a(O,T){return new b.c(F=>{let S;return(0,l.N)(F,T,()=>{S=O[f.l](),(0,l.N)(F,T,()=>{let R,N;try{({value:R,done:N}=S.next())}catch(A){return void F.error(A)}N?F.complete():F.next(R)},0,!0)}),()=>(0,d.T)(S?.return)&&S.return()})}(O,T);if((0,w.U)(O))return function k(O,T){return r((0,w.C)(O),T)}(O,T)}throw(0,M.L)(O)}(O,T):(0,t.Tg)(O)}},3726:(De,ne,g)=>{"use strict";g.d(ne,{R:()=>l});var t=g(8750),v=g(1985),C=g(3028),E=g(7441),c=g(8071),b=g(6450);const s=["addListener","removeListener"],f=["addEventListener","removeEventListener"],d=["on","off"];function l(p,_,y,M){if((0,c.T)(y)&&(M=y,y=void 0),M)return l(p,_,y).pipe((0,b.I)(M));const[w,k]=function h(p){return(0,c.T)(p.addEventListener)&&(0,c.T)(p.removeEventListener)}(p)?f.map(I=>D=>p[I](_,D,y)):function r(p){return(0,c.T)(p.addListener)&&(0,c.T)(p.removeListener)}(p)?s.map(a(p,_)):function u(p){return(0,c.T)(p.on)&&(0,c.T)(p.off)}(p)?d.map(a(p,_)):[];if(!w&&(0,E.X)(p))return(0,C.Z)(I=>l(I,_,y))((0,t.Tg)(p));if(!w)throw new TypeError("Invalid event target");return new v.c(I=>{const D=(...O)=>I.next(1k(D)})}function a(p,_){return y=>M=>p[y](_,M)}},8750:(De,ne,g)=>{"use strict";g.d(ne,{Tg:()=>u});var t=g(5215),v=g(7441),C=g(9858),E=g(1985),c=g(5055),b=g(7953),s=g(591),f=g(5397),d=g(5196),l=g(8071),a=g(5334),r=g(3494);function u(I){if(I instanceof E.c)return I;if(null!=I){if((0,c.l)(I))return function h(I){return new E.c(D=>{const O=I[r.s]();if((0,l.T)(O.subscribe))return O.subscribe(D);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(I);if((0,v.X)(I))return function p(I){return new E.c(D=>{for(let O=0;O{I.then(O=>{D.closed||(D.next(O),D.complete())},O=>D.error(O)).then(null,a.m)})}(I);if((0,b.T)(I))return M(I);if((0,f.x)(I))return function y(I){return new E.c(D=>{for(const O of I)if(D.next(O),D.closed)return;D.complete()})}(I);if((0,d.U)(I))return function w(I){return M((0,d.C)(I))}(I)}throw(0,s.L)(I)}function M(I){return new E.c(D=>{(function k(I,D){var O,T,F,S;return(0,t.__awaiter)(this,void 0,void 0,function*(){try{for(O=(0,t.__asyncValues)(I);!(T=yield O.next()).done;)if(D.next(T.value),D.closed)return}catch(R){F={error:R}}finally{try{T&&!T.done&&(S=O.return)&&(yield S.call(O))}finally{if(F)throw F.error}}D.complete()})})(I,D).catch(O=>D.error(O))})}},7786:(De,ne,g)=>{"use strict";g.d(ne,{h:()=>b});var t=g(6365),v=g(8750),C=g(983),E=g(9326),c=g(8455);function b(...s){const f=(0,E.lI)(s),d=(0,E.R0)(s,1/0),l=s;return l.length?1===l.length?(0,v.Tg)(l[0]):(0,t.U)(d)((0,c.H)(l,f)):C.w}},7673:(De,ne,g)=>{"use strict";g.d(ne,{of:()=>C});var t=g(9326),v=g(8455);function C(...E){const c=(0,t.lI)(E);return(0,v.H)(E,c)}},1033:(De,ne,g)=>{"use strict";g.d(ne,{O:()=>c,w:()=>b});var t=g(1985),v=g(8750),C=g(9945),E=g(4360);function c(...s){return 1===(s=(0,C.K)(s)).length?(0,v.Tg)(s[0]):new t.c(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(ne,{$:()=>C});var t=g(1985),v=g(8071);function C(E,c){const b=(0,v.T)(E)?E:()=>E,s=f=>f.error(b());return new t.c(c?f=>c.schedule(s,0,f):s)}},1807:(De,ne,g)=>{"use strict";g.d(ne,{O:()=>c});var t=g(1985),v=g(3236),C=g(9470),E=g(8211);function c(b=0,s,f=v.b){let d=-1;return null!=s&&((0,C.m)(s)?f=s:d=s),new t.c(l=>{let a=(0,E.v)(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)})}},4437:(De,ne,g)=>{"use strict";g.d(ne,{y:()=>s});var t=g(1985),v=g(8750),C=g(9945),E=g(983),c=g(4360),b=g(9326);function s(...f){const d=(0,b.ms)(f),l=(0,C.K)(f);return l.length?new t.c(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.w}},4360:(De,ne,g)=>{"use strict";g.d(ne,{H:()=>C,_:()=>v});var t=g(7707);function v(E,c,b,s,f){return new C(E,c,b,s,f)}class C extends t.vU{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))}}}},5135:(De,ne,g)=>{"use strict";g.d(ne,{s:()=>E});var t=g(9974),v=g(8750),C=g(4360);function E(c){return(0,t.N)((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._)(s,h=>{f=!0,d=h,l||(0,v.Tg)(c(h)).subscribe(l=(0,C._)(s,r,u))},()=>{a=!0,(!f||!l||l.closed)&&s.complete()}))})}},3578:(De,ne,g)=>{"use strict";g.d(ne,{Z:()=>E});var t=g(3236),v=g(5135),C=g(1807);function E(c,b=t.E){return(0,v.s)(()=>(0,C.O)(c,b))}},9437:(De,ne,g)=>{"use strict";g.d(ne,{W:()=>E});var t=g(8750),v=g(4360),C=g(9974);function E(c){return(0,C.N)((b,s)=>{let l,f=null,d=!1;f=b.subscribe((0,v._)(s,void 0,void 0,a=>{l=(0,t.Tg)(c(a,E(c)(b))),f?(f.unsubscribe(),f=null,l.subscribe(s)):d=!0})),d&&(f.unsubscribe(),f=null,l.subscribe(s))})}},9131:(De,ne,g)=>{"use strict";g.d(ne,{K:()=>v});var t=g(6365);function v(){return(0,t.U)(1)}},274:(De,ne,g)=>{"use strict";g.d(ne,{H:()=>C});var t=g(3028),v=g(8071);function C(E,c){return(0,v.T)(c)?(0,t.Z)(E,c,1):(0,t.Z)(E,1)}},152:(De,ne,g)=>{"use strict";g.d(ne,{B:()=>E});var t=g(3236),v=g(9974),C=g(4360);function E(c,b=t.E){return(0,v.N)((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}))})}},9901:(De,ne,g)=>{"use strict";g.d(ne,{U:()=>C});var t=g(9974),v=g(4360);function C(E){return(0,t.N)((c,b)=>{let s=!1;c.subscribe((0,v._)(b,f=>{s=!0,b.next(f)},()=>{s||b.next(E),b.complete()}))})}},3103:(De,ne,g)=>{"use strict";g.d(ne,{c:()=>E});var t=g(3236),v=g(3183),C=g(1807);function E(c,b=t.E){const s=(0,C.O)(c,b);return(0,v.o)(()=>s)}},3183:(De,ne,g)=>{"use strict";g.d(ne,{o:()=>s});var t=g(2688),v=g(6697),C=g(3557),E=g(3703),c=g(3028),b=g(8750);function s(f,d){return d?l=>(0,t.x)(d.pipe((0,v.s)(1),(0,C.w)()),l.pipe(s(f))):(0,c.Z)((l,a)=>(0,b.Tg)(f(l,a)).pipe((0,v.s)(1),(0,E.u)(l)))}},3294:(De,ne,g)=>{"use strict";g.d(ne,{F:()=>E});var t=g(3669),v=g(9974),C=g(4360);function E(b,s=t.D){return b=b??c,(0,v.N)((f,d)=>{let l,a=!0;f.subscribe((0,C._)(d,r=>{const u=s(r);(a||!b(l,u))&&(a=!1,l=u,d.next(r))}))})}function c(b,s){return b===s}},5964:(De,ne,g)=>{"use strict";g.d(ne,{p:()=>C});var t=g(9974),v=g(4360);function C(E,c){return(0,t.N)((b,s)=>{let f=0;b.subscribe((0,v._)(s,d=>E.call(c,d,f++)&&s.next(d)))})}},980:(De,ne,g)=>{"use strict";g.d(ne,{j:()=>v});var t=g(9974);function v(C){return(0,t.N)((E,c)=>{try{E.subscribe(c)}finally{c.add(C)}})}},1594:(De,ne,g)=>{"use strict";g.d(ne,{$:()=>s});var t=g(9350),v=g(5964),C=g(6697),E=g(9901),c=g(3774),b=g(3669);function s(f,d){const l=arguments.length>=2;return a=>a.pipe(f?(0,v.p)((r,u)=>f(r,u,a)):b.D,(0,C.s)(1),l?(0,E.U)(d):(0,c.v)(()=>new t.G))}},3557:(De,ne,g)=>{"use strict";g.d(ne,{w:()=>E});var t=g(9974),v=g(4360),C=g(5343);function E(){return(0,t.N)((c,b)=>{c.subscribe((0,v._)(b,C.l))})}},7018:(De,ne,g)=>{"use strict";g.d(ne,{H:()=>s});var t=g(9350),v=g(5964),C=g(5109),E=g(3774),c=g(9901),b=g(3669);function s(f,d){const l=arguments.length>=2;return a=>a.pipe(f?(0,v.p)((r,u)=>f(r,u,a)):b.D,(0,C.o)(1),l?(0,c.U)(d):(0,E.v)(()=>new t.G))}},6354:(De,ne,g)=>{"use strict";g.d(ne,{T:()=>C});var t=g(9974),v=g(4360);function C(E,c){return(0,t.N)((b,s)=>{let f=0;b.subscribe((0,v._)(s,d=>{s.next(E.call(c,d,f++))}))})}},3703:(De,ne,g)=>{"use strict";g.d(ne,{u:()=>v});var t=g(6354);function v(C){return(0,t.T)(()=>C)}},6365:(De,ne,g)=>{"use strict";g.d(ne,{U:()=>C});var t=g(3028),v=g(3669);function C(E=1/0){return(0,t.Z)(v.D,E)}},5412:(De,ne,g)=>{"use strict";g.d(ne,{h:()=>E});var t=g(8750),v=g(5225),C=g(4360);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 I=!1;(0,t.Tg)(s(k,p++)).subscribe((0,C._)(b,D=>{d?.(D),l?M(D):b.next(D)},()=>{I=!0},void 0,()=>{if(I)try{for(h--;u.length&&hw(D)):w(D)}y()}catch(D){b.error(D)}}))};return c.subscribe((0,C._)(b,M,()=>{_=!0,y()})),()=>{r?.()}}},3028:(De,ne,g)=>{"use strict";g.d(ne,{Z:()=>b});var t=g(6354),v=g(8750),C=g(9974),E=g(5412),c=g(8071);function b(s,f,d=1/0){return(0,c.T)(f)?b((l,a)=>(0,t.T)((r,u)=>f(l,r,a,u))((0,v.Tg)(s(l,a))),d):("number"==typeof f&&(d=f),(0,C.N)((l,a)=>(0,E.h)(l,a,s,d)))}},941:(De,ne,g)=>{"use strict";g.d(ne,{Q:()=>E});var t=g(5225),v=g(9974),C=g(4360);function E(c,b=0){return(0,v.N)((s,f)=>{s.subscribe((0,C._)(f,d=>(0,t.N)(f,c,()=>f.next(d),b),()=>(0,t.N)(f,c,()=>f.complete(),b),d=>(0,t.N)(f,c,()=>f.error(d),b)))})}},9898:(De,ne,g)=>{"use strict";g.d(ne,{B:()=>C});var t=g(9974),v=g(4360);function C(){return(0,t.N)((E,c)=>{let b=null;E._refCount++;const s=(0,v._)(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())})}},1943:(De,ne,g)=>{"use strict";g.d(ne,{S:()=>C});var t=g(9974),v=g(6649);function C(E,c){return(0,t.N)((0,v.S)(E,c,arguments.length>=2,!0))}},6649:(De,ne,g)=>{"use strict";g.d(ne,{S:()=>v});var t=g(4360);function v(C,E,c,b,s){return(f,d)=>{let l=c,a=E,r=0;f.subscribe((0,t._)(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()})))}}},7647:(De,ne,g)=>{"use strict";g.d(ne,{u:()=>c});var t=g(8750),v=g(1413),C=g(7707),E=g(9974);function c(s={}){const{connector:f=(()=>new v.B),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},I=()=>{const D=u;k(),D?.unsubscribe()};return(0,E.N)((D,O)=>{_++,!M&&!y&&w();const T=p=p??f();O.add(()=>{_--,0===_&&!M&&!y&&(h=b(I,a))}),T.subscribe(O),!u&&_>0&&(u=new C.Ms({next:F=>T.next(F),error:F=>{M=!0,w(),h=b(k,d,F),T.error(F)},complete:()=>{y=!0,w(),h=b(k,l),T.complete()}}),(0,t.Tg)(D).subscribe(u))})(r)}}function b(s,f,...d){if(!0===f)return void s();if(!1===f)return;const l=new C.Ms({next:()=>{l.unsubscribe(),s()}});return(0,t.Tg)(f(...d)).subscribe(l)}},4668:(De,ne,g)=>{"use strict";g.d(ne,{t:()=>C});var t=g(2771),v=g(7647);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.u)({connector:()=>new t.m(s,c,b),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:f})}},5245:(De,ne,g)=>{"use strict";g.d(ne,{i:()=>v});var t=g(5964);function v(C){return(0,t.p)((E,c)=>C<=c)}},9172:(De,ne,g)=>{"use strict";g.d(ne,{Z:()=>E});var t=g(2688),v=g(9326),C=g(9974);function E(...c){const b=(0,v.lI)(c);return(0,C.N)((s,f)=>{(b?(0,t.x)(c,s,b):(0,t.x)(c,s)).subscribe(f)})}},6745:(De,ne,g)=>{"use strict";g.d(ne,{_:()=>v});var t=g(9974);function v(C,E=0){return(0,t.N)((c,b)=>{b.add(C.schedule(()=>c.subscribe(b),E))})}},5558:(De,ne,g)=>{"use strict";g.d(ne,{n:()=>E});var t=g(8750),v=g(9974),C=g(4360);function E(c,b){return(0,v.N)((s,f)=>{let d=null,l=0,a=!1;const r=()=>a&&!d&&f.complete();s.subscribe((0,C._)(f,u=>{d?.unsubscribe();let h=0;const p=l++;(0,t.Tg)(c(u,p)).subscribe(d=(0,C._)(f,_=>f.next(b?b(u,_,p,h++):_),()=>{d=null,r()}))},()=>{a=!0,r()}))})}},6697:(De,ne,g)=>{"use strict";g.d(ne,{s:()=>E});var t=g(983),v=g(9974),C=g(4360);function E(c){return c<=0?()=>t.w:(0,v.N)((b,s)=>{let f=0;b.subscribe((0,C._)(s,d=>{++f<=c&&(s.next(d),c<=f&&s.complete())}))})}},5109:(De,ne,g)=>{"use strict";g.d(ne,{o:()=>E});var t=g(983),v=g(9974),C=g(4360);function E(c){return c<=0?()=>t.w:(0,v.N)((b,s)=>{let f=[];b.subscribe((0,C._)(s,d=>{f.push(d),c{for(const d of f)s.next(d);s.complete()},void 0,()=>{f=null}))})}},6977:(De,ne,g)=>{"use strict";g.d(ne,{Q:()=>c});var t=g(9974),v=g(4360),C=g(8750),E=g(5343);function c(b){return(0,t.N)((s,f)=>{(0,C.Tg)(b).subscribe((0,v._)(f,()=>f.complete(),E.l)),!f.closed&&s.subscribe(f)})}},7048:(De,ne,g)=>{"use strict";g.d(ne,{v:()=>C});var t=g(9974),v=g(4360);function C(E,c=!1){return(0,t.N)((b,s)=>{let f=0;b.subscribe((0,v._)(s,d=>{const l=E(d,f++);(l||c)&&s.next(d),!l&&s.complete()}))})}},8141:(De,ne,g)=>{"use strict";g.d(ne,{M:()=>c});var t=g(8071),v=g(9974),C=g(4360),E=g(3669);function c(b,s,f){const d=(0,t.T)(b)||s||f?{next:b,error:s,complete:f}:b;return d?(0,v.N)((l,a)=>{var r;null===(r=d.subscribe)||void 0===r||r.call(d);let u=!0;l.subscribe((0,C._)(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.D}},3774:(De,ne,g)=>{"use strict";g.d(ne,{v:()=>E});var t=g(9350),v=g(9974),C=g(4360);function E(b=c){return(0,v.N)((s,f)=>{let d=!1;s.subscribe((0,C._)(f,l=>{d=!0,f.next(l)},()=>d?f.complete():f.error(b())))})}function c(){return new t.G}},2087:(De,ne,g)=>{"use strict";g.d(ne,{w:()=>d});var t=g(3236),v=g(8211),C=g(9974),E=g(8750),c=g(1853),b=g(4360),s=g(5225);const f=(0,c.L)(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.E,meta:y=null}=(0,v.v)(a)?{first:a}:"number"==typeof a?{each:a}:a;if(null==u&&null==h)throw new TypeError("No timeout provided.");return(0,C.N)((M,w)=>{let k,I,D=null,O=0;const T=F=>{I=(0,s.N)(w,_,()=>{try{k.unsubscribe(),(0,E.Tg)(p({meta:y,lastValue:D,seen:O})).subscribe(w)}catch(S){w.error(S)}},F)};k=M.subscribe((0,b._)(w,F=>{I?.unsubscribe(),O++,w.next(D=F),h>0&&T(h)},void 0,void 0,()=>{I?.closed||I?.unsubscribe(),D=null})),!O&&T(null!=u?"number"==typeof u?u:+u-_.now():h)})}function l(a){throw new f(a)}},6780:(De,ne,g)=>{"use strict";g.d(ne,{R:()=>c});var t=g(8359);class v extends t.yU{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(7908);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.o)(d,this),null!=s&&(this.id=this.recycleAsyncId(f,s,null)),this.delay=null,super.unsubscribe()}}}},9687:(De,ne,g)=>{"use strict";g.d(ne,{q:()=>C});var t=g(6129);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.U.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}}}},536:(De,ne,g)=>{"use strict";g.d(ne,{X:()=>s});var t=g(6780),v=g(8359);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.yU(()=>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(9687);const s=new class b extends c.q{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.R{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)}})},5007:(De,ne,g)=>{"use strict";g.d(ne,{$:()=>h});var t=g(6780);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(9687);const h=new class u extends r.q{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.R{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:I}=y;null!=M&&(null===(k=I[I.length-1])||void 0===k?void 0:k.id)!==M&&(l.clearImmediate(M),y._scheduled===M&&(y._scheduled=void 0))}})},3236:(De,ne,g)=>{"use strict";g.d(ne,{E:()=>C,b:()=>E});var t=g(6780);const C=new(g(9687).q)(t.R),E=C},6129:(De,ne,g)=>{"use strict";g.d(ne,{U:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},9270:(De,ne,g)=>{"use strict";g.d(ne,{f:()=>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}},4761:(De,ne,g)=>{"use strict";g.d(ne,{l:()=>v});const v=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(De,ne,g)=>{"use strict";g.d(ne,{s:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(De,ne,g)=>{"use strict";g.d(ne,{G:()=>v});const v=(0,g(1853).L)(C=>function(){C(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(De,ne,g)=>{"use strict";g.d(ne,{R0:()=>b,lI:()=>c,ms:()=>E});var t=g(8071),v=g(9470);function C(s){return s[s.length-1]}function E(s){return(0,t.T)(C(s))?s.pop():void 0}function c(s){return(0,v.m)(C(s))?s.pop():void 0}function b(s,f){return"number"==typeof C(s)?s.pop():f}},3073:(De,ne,g)=>{"use strict";g.d(ne,{D:()=>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}}},9945:(De,ne,g)=>{"use strict";g.d(ne,{K:()=>v});const{isArray:t}=Array;function v(C){return 1===C.length&&t(C[0])?C[0]:C}},7908:(De,ne,g)=>{"use strict";function t(v,C){if(v){const E=v.indexOf(C);0<=E&&v.splice(E,1)}}g.d(ne,{o:()=>t})},1853:(De,ne,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(ne,{L:()=>t})},8496:(De,ne,g)=>{"use strict";function t(v,C){return v.reduce((E,c,b)=>(E[c]=C[b],E),{})}g.d(ne,{e:()=>t})},9786:(De,ne,g)=>{"use strict";g.d(ne,{Y:()=>C,l:()=>E});var t=g(1026);let v=null;function C(c){if(t.$.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.$.useDeprecatedSynchronousErrorHandling&&v&&(v.errorThrown=!0,v.error=c)}},5225:(De,ne,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(ne,{N:()=>t})},3669:(De,ne,g)=>{"use strict";function t(v){return v}g.d(ne,{D:()=>t})},7441:(De,ne,g)=>{"use strict";g.d(ne,{X:()=>t});const t=v=>v&&"number"==typeof v.length&&"function"!=typeof v},7953:(De,ne,g)=>{"use strict";g.d(ne,{T:()=>v});var t=g(8071);function v(C){return Symbol.asyncIterator&&(0,t.T)(C?.[Symbol.asyncIterator])}},8211:(De,ne,g)=>{"use strict";function t(v){return v instanceof Date&&!isNaN(v)}g.d(ne,{v:()=>t})},8071:(De,ne,g)=>{"use strict";function t(v){return"function"==typeof v}g.d(ne,{T:()=>t})},5055:(De,ne,g)=>{"use strict";g.d(ne,{l:()=>C});var t=g(3494),v=g(8071);function C(E){return(0,v.T)(E[t.s])}},5397:(De,ne,g)=>{"use strict";g.d(ne,{x:()=>C});var t=g(4761),v=g(8071);function C(E){return(0,v.T)(E?.[t.l])}},4402:(De,ne,g)=>{"use strict";g.d(ne,{A:()=>C});var t=g(1985),v=g(8071);function C(E){return!!E&&(E instanceof t.c||(0,v.T)(E.lift)&&(0,v.T)(E.subscribe))}},9858:(De,ne,g)=>{"use strict";g.d(ne,{y:()=>v});var t=g(8071);function v(C){return(0,t.T)(C?.then)}},5196:(De,ne,g)=>{"use strict";g.d(ne,{C:()=>C,U:()=>E});var t=g(5215),v=g(8071);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.T)(c?.getReader)}},9470:(De,ne,g)=>{"use strict";g.d(ne,{m:()=>v});var t=g(8071);function v(C){return C&&(0,t.T)(C.schedule)}},9974:(De,ne,g)=>{"use strict";g.d(ne,{N:()=>C,S:()=>v});var t=g(8071);function v(E){return(0,t.T)(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")}}},6450:(De,ne,g)=>{"use strict";g.d(ne,{I:()=>E});var t=g(6354);const{isArray:v}=Array;function E(c){return(0,t.T)(b=>function C(c,b){return v(b)?c(...b):c(b)}(c,b))}},5343:(De,ne,g)=>{"use strict";function t(){}g.d(ne,{l:()=>t})},1203:(De,ne,g)=>{"use strict";g.d(ne,{F:()=>v,m:()=>C});var t=g(3669);function v(...E){return C(E)}function C(E){return 0===E.length?t.D:1===E.length?E[0]:function(b){return E.reduce((s,f)=>f(s),b)}}},5334:(De,ne,g)=>{"use strict";g.d(ne,{m:()=>C});var t=g(1026),v=g(9270);function C(E){v.f.setTimeout(()=>{const{onUnhandledError:c}=t.$;if(!c)throw E;c(E)})}},591:(De,ne,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(ne,{L:()=>t})},2326:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{audit:()=>t.s,auditTime:()=>v.Z,buffer:()=>s,bufferCount:()=>d,bufferTime:()=>h,bufferToggle:()=>p,bufferWhen:()=>_,catchError:()=>y.W,combineAll:()=>A,combineLatest:()=>Y,combineLatestAll:()=>N,combineLatestWith:()=>ee,concat:()=>j,concatAll:()=>ie.K,concatMap:()=>G.H,concatMapTo:()=>W,concatWith:()=>K,connect:()=>mt,count:()=>ct,debounce:()=>Ct,debounceTime:()=>Pe.B,defaultIfEmpty:()=>Ae.U,delay:()=>me.c,delayWhen:()=>We.o,dematerialize:()=>vt,distinct:()=>it,distinctUntilChanged:()=>we.F,distinctUntilKeyChanged:()=>Ge,elementAt:()=>dn,endWith:()=>un,every:()=>rn,exhaust:()=>_e,exhaustAll:()=>Vt,exhaustMap:()=>Pt,expand:()=>Qe,filter:()=>Mt.p,finalize:()=>Rt.j,find:()=>et,findIndex:()=>Re,first:()=>pe.$,flatMap:()=>Nt,groupBy:()=>Ke,ignoreElements:()=>te.w,isEmpty:()=>de,last:()=>Se.H,map:()=>fn.T,mapTo:()=>tt.u,materialize:()=>It,max:()=>Kt,merge:()=>_t,mergeAll:()=>ln.U,mergeMap:()=>D.Z,mergeMapTo:()=>Je,mergeScan:()=>Ue,mergeWith:()=>nt,min:()=>He,multicast:()=>At,observeOn:()=>en.Q,onErrorResumeNext:()=>Ri,pairwise:()=>Ei,partition:()=>st,pluck:()=>qt,publish:()=>Be,publishBehavior:()=>Et,publishLast:()=>Le,publishReplay:()=>ot,race:()=>Ie,raceWith:()=>wt,reduce:()=>T,refCount:()=>xt.B,repeat:()=>z,repeatWhen:()=>he,retry:()=>ce,retryWhen:()=>Ve,sample:()=>cn,sampleTime:()=>Gn,scan:()=>Fn.S,sequenceEqual:()=>Tn,share:()=>Qi.u,shareReplay:()=>fi.t,single:()=>Hi,skip:()=>On.i,skipLast:()=>Cn,skipUntil:()=>Bi,skipWhile:()=>Xn,startWith:()=>Qn.Z,subscribeOn:()=>ni._,switchAll:()=>Fi,switchMap:()=>zi.n,switchMapTo:()=>Un,switchScan:()=>vn,take:()=>Xt.s,takeLast:()=>Dn.o,takeUntil:()=>Rn.Q,takeWhile:()=>jn.v,tap:()=>Vi.M,throttle:()=>Xi,throttleTime:()=>Wi,throwIfEmpty:()=>zt.v,timeInterval:()=>ar,timeout:()=>Sr.w,timeoutWith:()=>bs,timestamp:()=>Ur,toArray:()=>S,window:()=>Br,windowCount:()=>mr,windowTime:()=>ns,windowToggle:()=>Li,windowWhen:()=>is,withLatestFrom:()=>Bn,zip:()=>ds,zipAll:()=>br,zipWith:()=>ys});var t=g(5135),v=g(3578),C=g(9974),E=g(5343),c=g(4360),b=g(8750);function s(Dt){return(0,C.N)((bt,St)=>{let Ot=[];return bt.subscribe((0,c._)(St,jt=>Ot.push(jt),()=>{St.next(Ot),St.complete()})),(0,b.Tg)(Dt).subscribe((0,c._)(St,()=>{const jt=Ot;Ot=[],St.next(jt)},E.l)),()=>{Ot=null}})}var f=g(7908);function d(Dt,bt=null){return bt=bt??Dt,(0,C.N)((St,Ot)=>{let jt=[],Gt=0;St.subscribe((0,c._)(Ot,on=>{let pn=null;Gt++%bt==0&&jt.push([]);for(const bn of jt)bn.push(on),Dt<=bn.length&&(pn=pn??[],pn.push(bn));if(pn)for(const bn of pn)(0,f.o)(jt,bn),Ot.next(bn)},()=>{for(const on of jt)Ot.next(on);Ot.complete()},void 0,()=>{jt=null}))})}var l=g(8359),a=g(3236),r=g(9326),u=g(5225);function h(Dt,...bt){var St,Ot;const jt=null!==(St=(0,r.lI)(bt))&&void 0!==St?St:a.E,Gt=null!==(Ot=bt[0])&&void 0!==Ot?Ot:null,on=bt[1]||1/0;return(0,C.N)((pn,bn)=>{let In=[],$n=!1;const xi=Hn=>{const{buffer:ii,subs:li}=Hn;li.unsubscribe(),(0,f.o)(In,Hn),bn.next(ii),$n&&Yn()},Yn=()=>{if(In){const Hn=new l.yU;bn.add(Hn);const li={buffer:[],subs:Hn};In.push(li),(0,u.N)(Hn,jt,()=>xi(li),Dt)}};null!==Gt&&Gt>=0?(0,u.N)(bn,jt,Yn,Gt,!0):$n=!0,Yn();const Ui=(0,c._)(bn,Hn=>{const ii=In.slice();for(const li of ii){const{buffer:ur}=li;ur.push(Hn),on<=ur.length&&xi(li)}},()=>{for(;In?.length;)bn.next(In.shift().buffer);Ui?.unsubscribe(),bn.complete(),bn.unsubscribe()},void 0,()=>In=null);pn.subscribe(Ui)})}function p(Dt,bt){return(0,C.N)((St,Ot)=>{const jt=[];(0,b.Tg)(Dt).subscribe((0,c._)(Ot,Gt=>{const on=[];jt.push(on);const pn=new l.yU;pn.add((0,b.Tg)(bt(Gt)).subscribe((0,c._)(Ot,()=>{(0,f.o)(jt,on),Ot.next(on),pn.unsubscribe()},E.l)))},E.l)),St.subscribe((0,c._)(Ot,Gt=>{for(const on of jt)on.push(Gt)},()=>{for(;jt.length>0;)Ot.next(jt.shift());Ot.complete()}))})}function _(Dt){return(0,C.N)((bt,St)=>{let Ot=null,jt=null;const Gt=()=>{jt?.unsubscribe();const on=Ot;Ot=[],on&&St.next(on),(0,b.Tg)(Dt()).subscribe(jt=(0,c._)(St,Gt,E.l))};Gt(),bt.subscribe((0,c._)(St,on=>Ot?.push(on),()=>{Ot&&St.next(Ot),St.complete()},void 0,()=>Ot=jt=null))})}var y=g(9437),M=g(4572),w=g(3669),k=g(6450),I=g(1203),D=g(3028),O=g(6649);function T(Dt,bt){return(0,C.N)((0,O.S)(Dt,bt,arguments.length>=2,!1,!0))}const F=(Dt,bt)=>(Dt.push(bt),Dt);function S(){return(0,C.N)((Dt,bt)=>{T(F,[])(Dt).subscribe(bt)})}function R(Dt,bt){return(0,I.F)(S(),(0,D.Z)(St=>Dt(St)),bt?(0,k.I)(bt):w.D)}function N(Dt){return R(M.z,Dt)}const A=N;var U=g(9945);function Y(...Dt){const bt=(0,r.ms)(Dt);return bt?(0,I.F)(Y(...Dt),(0,k.I)(bt)):(0,C.N)((St,Ot)=>{(0,M.P)([St,...(0,U.K)(Dt)])(Ot)})}function ee(...Dt){return Y(...Dt)}var ie=g(9131),$=g(8455);function j(...Dt){const bt=(0,r.lI)(Dt);return(0,C.N)((St,Ot)=>{(0,ie.K)()((0,$.H)([St,...Dt],bt)).subscribe(Ot)})}var G=g(274),V=g(8071);function W(Dt,bt){return(0,V.T)(bt)?(0,G.H)(()=>Dt,bt):(0,G.H)(()=>Dt)}function K(...Dt){return j(...Dt)}var le=g(1413),ue=g(1985);const Ye={connector:()=>new le.B};function mt(Dt,bt=Ye){const{connector:St}=bt;return(0,C.N)((Ot,jt)=>{const Gt=St();(0,b.Tg)(Dt(function ve(Dt){return new ue.c(bt=>Dt.subscribe(bt))}(Gt))).subscribe(jt),jt.add(Ot.subscribe(Gt))})}function ct(Dt){return T((bt,St,Ot)=>!Dt||Dt(St,Ot)?bt+1:bt,0)}function Ct(Dt){return(0,C.N)((bt,St)=>{let Ot=!1,jt=null,Gt=null;const on=()=>{if(Gt?.unsubscribe(),Gt=null,Ot){Ot=!1;const pn=jt;jt=null,St.next(pn)}};bt.subscribe((0,c._)(St,pn=>{Gt?.unsubscribe(),Ot=!0,jt=pn,Gt=(0,c._)(St,on,E.l),(0,b.Tg)(Dt(pn)).subscribe(Gt)},()=>{on(),St.complete()},void 0,()=>{jt=Gt=null}))})}var Pe=g(152),Ae=g(9901),me=g(3103),We=g(3183),Fe=g(983),xe=g(7673),$e=g(8810);class ge{constructor(bt,St,Ot){this.kind=bt,this.value=St,this.error=Ot,this.hasValue="N"===bt}observe(bt){return Oe(this,bt)}do(bt,St,Ot){const{kind:jt,value:Gt,error:on}=this;return"N"===jt?bt?.(Gt):"E"===jt?St?.(on):Ot?.()}accept(bt,St,Ot){var jt;return(0,V.T)(null===(jt=bt)||void 0===jt?void 0:jt.next)?this.observe(bt):this.do(bt,St,Ot)}toObservable(){const{kind:bt,value:St,error:Ot}=this,jt="N"===bt?(0,xe.of)(St):"E"===bt?(0,$e.$)(()=>Ot):"C"===bt?Fe.w:0;if(!jt)throw new TypeError(`Unexpected notification kind ${bt}`);return jt}static createNext(bt){return new ge("N",bt)}static createError(bt){return new ge("E",void 0,bt)}static createComplete(){return ge.completeNotification}}function Oe(Dt,bt){var St,Ot,jt;const{kind:Gt,value:on,error:pn}=Dt;if("string"!=typeof Gt)throw new TypeError('Invalid notification, missing "kind"');"N"===Gt?null===(St=bt.next)||void 0===St||St.call(bt,on):"E"===Gt?null===(Ot=bt.error)||void 0===Ot||Ot.call(bt,pn):null===(jt=bt.complete)||void 0===jt||jt.call(bt)}function vt(){return(0,C.N)((Dt,bt)=>{Dt.subscribe((0,c._)(bt,St=>Oe(St,bt)))})}function it(Dt,bt){return(0,C.N)((St,Ot)=>{const jt=new Set;St.subscribe((0,c._)(Ot,Gt=>{const on=Dt?Dt(Gt):Gt;jt.has(on)||(jt.add(on),Ot.next(Gt))})),bt&&(0,b.Tg)(bt).subscribe((0,c._)(Ot,()=>jt.clear(),E.l))})}ge.completeNotification=new ge("C");var we=g(3294);function Ge(Dt,bt){return(0,we.F)((St,Ot)=>bt?bt(St[Dt],Ot[Dt]):St[Dt]===Ot[Dt])}var Me=g(1853);const rt=(0,Me.L)(Dt=>function(){Dt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Mt=g(5964),zt=g(3774),Xt=g(6697);function dn(Dt,bt){if(Dt<0)throw new rt;const St=arguments.length>=2;return Ot=>Ot.pipe((0,Mt.p)((jt,Gt)=>Gt===Dt),(0,Xt.s)(1),St?(0,Ae.U)(bt):(0,zt.v)(()=>new rt))}var hn=g(2688);function un(...Dt){return bt=>(0,hn.x)(bt,(0,xe.of)(...Dt))}function rn(Dt,bt){return(0,C.N)((St,Ot)=>{let jt=0;St.subscribe((0,c._)(Ot,Gt=>{Dt.call(bt,Gt,jt++,St)||(Ot.next(!1),Ot.complete())},()=>{Ot.next(!0),Ot.complete()}))})}var fn=g(6354);function Pt(Dt,bt){return bt?St=>St.pipe(Pt((Ot,jt)=>(0,b.Tg)(Dt(Ot,jt)).pipe((0,fn.T)((Gt,on)=>bt(Ot,Gt,jt,on))))):(0,C.N)((St,Ot)=>{let jt=0,Gt=null,on=!1;St.subscribe((0,c._)(Ot,pn=>{Gt||(Gt=(0,c._)(Ot,void 0,()=>{Gt=null,on&&Ot.complete()}),(0,b.Tg)(Dt(pn,jt++)).subscribe(Gt))},()=>{on=!0,!Gt&&Ot.complete()}))})}function Vt(){return Pt(w.D)}const _e=Vt;var Ze=g(5412);function Qe(Dt,bt=1/0,St){return bt=(bt||0)<1?1/0:bt,(0,C.N)((Ot,jt)=>(0,Ze.h)(Ot,jt,Dt,bt,void 0,!0,St))}var Rt=g(980);function et(Dt,bt){return(0,C.N)(ft(Dt,bt,"value"))}function ft(Dt,bt,St){const Ot="index"===St;return(jt,Gt)=>{let on=0;jt.subscribe((0,c._)(Gt,pn=>{const bn=on++;Dt.call(bt,pn,bn,jt)&&(Gt.next(Ot?bn:pn),Gt.complete())},()=>{Gt.next(Ot?-1:void 0),Gt.complete()}))}}function Re(Dt,bt){return(0,C.N)(ft(Dt,bt,"index"))}var pe=g(1594);function Ke(Dt,bt,St,Ot){return(0,C.N)((jt,Gt)=>{let on;bt&&"function"!=typeof bt?({duration:St,element:on,connector:Ot}=bt):on=bt;const pn=new Map,bn=Hn=>{pn.forEach(Hn),Hn(Gt)},In=Hn=>bn(ii=>ii.error(Hn));let $n=0,xi=!1;const Yn=new c.H(Gt,Hn=>{try{const ii=Dt(Hn);let li=pn.get(ii);if(!li){pn.set(ii,li=Ot?Ot():new le.B);const ur=function Ui(Hn,ii){const li=new ue.c(ur=>{$n++;const vi=ii.subscribe(ur);return()=>{vi.unsubscribe(),0==--$n&&xi&&Yn.unsubscribe()}});return li.key=Hn,li}(ii,li);if(Gt.next(ur),St){const vi=(0,c._)(li,()=>{li.complete(),vi?.unsubscribe()},void 0,void 0,()=>pn.delete(ii));Yn.add((0,b.Tg)(St(ur)).subscribe(vi))}}li.next(on?on(Hn):Hn)}catch(ii){In(ii)}},()=>bn(Hn=>Hn.complete()),In,()=>pn.clear(),()=>(xi=!0,0===$n));jt.subscribe(Yn)})}var te=g(3557);function de(){return(0,C.N)((Dt,bt)=>{Dt.subscribe((0,c._)(bt,()=>{bt.next(!1),bt.complete()},()=>{bt.next(!0),bt.complete()}))})}var Se=g(7018),tt=g(3703);function It(){return(0,C.N)((Dt,bt)=>{Dt.subscribe((0,c._)(bt,St=>{bt.next(ge.createNext(St))},()=>{bt.next(ge.createComplete()),bt.complete()},St=>{bt.next(ge.createError(St)),bt.complete()}))})}function Kt(Dt){return T((0,V.T)(Dt)?(bt,St)=>Dt(bt,St)>0?bt:St:(bt,St)=>bt>St?bt:St)}var ln=g(6365);function _t(...Dt){const bt=(0,r.lI)(Dt),St=(0,r.R0)(Dt,1/0);return Dt=(0,U.K)(Dt),(0,C.N)((Ot,jt)=>{(0,ln.U)(St)((0,$.H)([Ot,...Dt],bt)).subscribe(jt)})}const Nt=D.Z;function Je(Dt,bt,St=1/0){return(0,V.T)(bt)?(0,D.Z)(()=>Dt,bt,St):("number"==typeof bt&&(St=bt),(0,D.Z)(()=>Dt,St))}function Ue(Dt,bt,St=1/0){return(0,C.N)((Ot,jt)=>{let Gt=bt;return(0,Ze.h)(Ot,jt,(on,pn)=>Dt(Gt,on,pn),St,on=>{Gt=on},!1,void 0,()=>Gt=null)})}function nt(...Dt){return _t(...Dt)}function He(Dt){return T((0,V.T)(Dt)?(bt,St)=>Dt(bt,St)<0?bt:St:(bt,St)=>btDt;return(0,V.T)(bt)?mt(bt,{connector:St}):Ot=>new dt.G(Ot,St)}var en=g(941);const Ri=function Ln(...Dt){const bt=(0,U.K)(Dt);return St=>function yn(...Dt){const bt=(0,U.K)(Dt);return new ue.c(St=>{let Ot=0;const jt=()=>{if(Ot{let St,Ot=!1;Dt.subscribe((0,c._)(bt,jt=>{const Gt=St;St=jt,Ot&&bt.next([Gt,jt]),Ot=!0}))})}function Vn(Dt,bt){return(St,Ot)=>!Dt.call(bt,St,Ot)}function st(Dt,bt){return St=>[(0,Mt.p)(Dt,bt)(St),(0,Mt.p)(Vn(Dt,bt))(St)]}function qt(...Dt){const bt=Dt.length;if(0===bt)throw new Error("list of properties cannot be empty.");return(0,fn.T)(St=>{let Ot=St;for(let jt=0;jtmt(Dt)(bt):bt=>At(new le.B)(bt)}var at=g(4412);function Et(Dt){return bt=>{const St=new at.t(Dt);return new dt.G(bt,()=>St)}}class sn extends le.B{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(bt){const{hasError:St,_hasValue:Ot,_value:jt,thrownError:Gt,isStopped:on,_isComplete:pn}=this;St?bt.error(Gt):(on||pn)&&(Ot&&bt.next(jt),bt.complete())}next(bt){this.isStopped||(this._value=bt,this._hasValue=!0)}complete(){const{_hasValue:bt,_value:St,_isComplete:Ot}=this;Ot||(this._isComplete=!0,bt&&super.next(St),super.complete())}}function Le(){return Dt=>{const bt=new sn;return new dt.G(Dt,()=>bt)}}var ut=g(2771);function ot(Dt,bt,St,Ot){St&&!(0,V.T)(St)&&(Ot=St);const jt=(0,V.T)(St)?St:void 0;return Gt=>At(new ut.m(Dt,bt,Ot),jt)(Gt)}var pt=g(1033);function wt(...Dt){return Dt.length?(0,C.N)((bt,St)=>{(0,pt.w)([bt,...Dt])(St)}):w.D}function Ie(...Dt){return wt(...(0,U.K)(Dt))}var Tt=g(1807);function z(Dt){let St,bt=1/0;return null!=Dt&&("object"==typeof Dt?({count:bt=1/0,delay:St}=Dt):bt=Dt),bt<=0?()=>Fe.w:(0,C.N)((Ot,jt)=>{let on,Gt=0;const pn=()=>{if(on?.unsubscribe(),on=null,null!=St){const In="number"==typeof St?(0,Tt.O)(St):(0,b.Tg)(St(Gt)),$n=(0,c._)(jt,()=>{$n.unsubscribe(),bn()});In.subscribe($n)}else bn()},bn=()=>{let In=!1;on=Ot.subscribe((0,c._)(jt,void 0,()=>{++Gt{let Ot,Gt,jt=!1,on=!1,pn=!1;const bn=()=>pn&&on&&(St.complete(),!0),$n=()=>{pn=!1,Ot=bt.subscribe((0,c._)(St,void 0,()=>{pn=!0,!bn()&&(Gt||(Gt=new le.B,(0,b.Tg)(Dt(Gt)).subscribe((0,c._)(St,()=>{Ot?$n():jt=!0},()=>{on=!0,bn()}))),Gt).next()})),jt&&(Ot.unsubscribe(),Ot=null,jt=!1,$n())};$n()})}function ce(Dt=1/0){let bt;bt=Dt&&"object"==typeof Dt?Dt:{count:Dt};const{count:St=1/0,delay:Ot,resetOnSuccess:jt=!1}=bt;return St<=0?w.D:(0,C.N)((Gt,on)=>{let bn,pn=0;const In=()=>{let $n=!1;bn=Gt.subscribe((0,c._)(on,xi=>{jt&&(pn=0),on.next(xi)},void 0,xi=>{if(pn++{bn?(bn.unsubscribe(),bn=null,In()):$n=!0};if(null!=Ot){const Ui="number"==typeof Ot?(0,Tt.O)(Ot):(0,b.Tg)(Ot(xi,pn)),Hn=(0,c._)(on,()=>{Hn.unsubscribe(),Yn()},()=>{on.complete()});Ui.subscribe(Hn)}else Yn()}else on.error(xi)})),$n&&(bn.unsubscribe(),bn=null,In())};In()})}function Ve(Dt){return(0,C.N)((bt,St)=>{let Ot,Gt,jt=!1;const on=()=>{Ot=bt.subscribe((0,c._)(St,void 0,void 0,pn=>{Gt||(Gt=new le.B,(0,b.Tg)(Dt(Gt)).subscribe((0,c._)(St,()=>Ot?on():jt=!0))),Gt&&Gt.next(pn)})),jt&&(Ot.unsubscribe(),Ot=null,jt=!1,on())};on()})}var xt=g(9898);function cn(Dt){return(0,C.N)((bt,St)=>{let Ot=!1,jt=null;bt.subscribe((0,c._)(St,Gt=>{Ot=!0,jt=Gt})),(0,b.Tg)(Dt).subscribe((0,c._)(St,()=>{if(Ot){Ot=!1;const Gt=jt;jt=null,St.next(Gt)}},E.l))})}function Gn(Dt,bt=a.E){return cn(function hi(Dt=0,bt=a.E){return Dt<0&&(Dt=0),(0,Tt.O)(Dt,Dt,bt)}(Dt,bt))}var Fn=g(1943);function Tn(Dt,bt=((St,Ot)=>St===Ot)){return(0,C.N)((St,Ot)=>{const jt={buffer:[],complete:!1},Gt={buffer:[],complete:!1},on=bn=>{Ot.next(bn),Ot.complete()},pn=(bn,In)=>{const $n=(0,c._)(Ot,xi=>{const{buffer:Yn,complete:Ui}=In;0===Yn.length?Ui?on(!1):bn.buffer.push(xi):!bt(xi,Yn.shift())&&on(!1)},()=>{bn.complete=!0;const{complete:xi,buffer:Yn}=In;xi&&on(0===Yn.length),$n?.unsubscribe()});return $n};St.subscribe(pn(jt,Gt)),(0,b.Tg)(Dt).subscribe(pn(Gt,jt))})}var Qi=g(7647),fi=g(4668),sr=g(9350);const _i=(0,Me.L)(Dt=>function(St){Dt(this),this.name="SequenceError",this.message=St}),mi=(0,Me.L)(Dt=>function(St){Dt(this),this.name="NotFoundError",this.message=St});function Hi(Dt){return(0,C.N)((bt,St)=>{let jt,Ot=!1,Gt=!1,on=0;bt.subscribe((0,c._)(St,pn=>{Gt=!0,(!Dt||Dt(pn,on++,bt))&&(Ot&&St.error(new _i("Too many matching values")),Ot=!0,jt=pn)},()=>{Ot?(St.next(jt),St.complete()):St.error(Gt?new mi("No matching values"):new sr.G)}))})}var On=g(5245);function Cn(Dt){return Dt<=0?w.D:(0,C.N)((bt,St)=>{let Ot=new Array(Dt),jt=0;return bt.subscribe((0,c._)(St,Gt=>{const on=jt++;if(on{Ot=null}})}function Bi(Dt){return(0,C.N)((bt,St)=>{let Ot=!1;const jt=(0,c._)(St,()=>{jt?.unsubscribe(),Ot=!0},E.l);(0,b.Tg)(Dt).subscribe(jt),bt.subscribe((0,c._)(St,Gt=>Ot&&St.next(Gt)))})}function Xn(Dt){return(0,C.N)((bt,St)=>{let Ot=!1,jt=0;bt.subscribe((0,c._)(St,Gt=>(Ot||(Ot=!Dt(Gt,jt++)))&&St.next(Gt)))})}var Qn=g(9172),ni=g(6745),zi=g(5558);function Fi(){return(0,zi.n)(w.D)}function Un(Dt,bt){return(0,V.T)(bt)?(0,zi.n)(()=>Dt,bt):(0,zi.n)(()=>Dt)}function vn(Dt,bt){return(0,C.N)((St,Ot)=>{let jt=bt;return(0,zi.n)((Gt,on)=>Dt(jt,Gt,on),(Gt,on)=>(jt=on,on))(St).subscribe(Ot),()=>{jt=null}})}var Dn=g(5109),Rn=g(6977),jn=g(7048),Vi=g(8141);function Xi(Dt,bt){return(0,C.N)((St,Ot)=>{const{leading:jt=!0,trailing:Gt=!1}=bt??{};let on=!1,pn=null,bn=null,In=!1;const $n=()=>{bn?.unsubscribe(),bn=null,Gt&&(Ui(),In&&Ot.complete())},xi=()=>{bn=null,In&&Ot.complete()},Yn=Hn=>bn=(0,b.Tg)(Dt(Hn)).subscribe((0,c._)(Ot,$n,xi)),Ui=()=>{if(on){on=!1;const Hn=pn;pn=null,Ot.next(Hn),!In&&Yn(Hn)}};St.subscribe((0,c._)(Ot,Hn=>{on=!0,pn=Hn,(!bn||bn.closed)&&(jt?Ui():Yn(Hn))},()=>{In=!0,(!(Gt&&on&&bn)||bn.closed)&&Ot.complete()}))})}function Wi(Dt,bt=a.E,St){const Ot=(0,Tt.O)(Dt,bt);return Xi(()=>Ot,St)}function ar(Dt=a.E){return(0,C.N)((bt,St)=>{let Ot=Dt.now();bt.subscribe((0,c._)(St,jt=>{const Gt=Dt.now(),on=Gt-Ot;Ot=Gt,St.next(new Hr(jt,on))}))})}class Hr{constructor(bt,St){this.value=bt,this.interval=St}}var Sr=g(2087),wr=g(8211);function bs(Dt,bt,St){let Ot,jt,Gt;if(St=St??a.b,(0,wr.v)(Dt)?Ot=Dt:"number"==typeof Dt&&(jt=Dt),!bt)throw new TypeError("No observable provided to switch to");if(Gt=()=>bt,null==Ot&&null==jt)throw new TypeError("No timeout provided.");return(0,Sr.w)({first:Ot,each:jt,scheduler:St,with:Gt})}var Ar=g(6129);function Ur(Dt=Ar.U){return(0,fn.T)(bt=>({value:bt,timestamp:Dt.now()}))}function Br(Dt){return(0,C.N)((bt,St)=>{let Ot=new le.B;St.next(Ot.asObservable());const jt=Gt=>{Ot.error(Gt),St.error(Gt)};return bt.subscribe((0,c._)(St,Gt=>Ot?.next(Gt),()=>{Ot.complete(),St.complete()},jt)),(0,b.Tg)(Dt).subscribe((0,c._)(St,()=>{Ot.complete(),St.next(Ot=new le.B)},E.l,jt)),()=>{Ot?.unsubscribe(),Ot=null}})}function mr(Dt,bt=0){const St=bt>0?bt:Dt;return(0,C.N)((Ot,jt)=>{let Gt=[new le.B],on=[],pn=0;jt.next(Gt[0].asObservable()),Ot.subscribe((0,c._)(jt,bn=>{for(const $n of Gt)$n.next(bn);const In=pn-Dt+1;if(In>=0&&In%St==0&&Gt.shift().complete(),++pn%St==0){const $n=new le.B;Gt.push($n),jt.next($n.asObservable())}},()=>{for(;Gt.length>0;)Gt.shift().complete();jt.complete()},bn=>{for(;Gt.length>0;)Gt.shift().error(bn);jt.error(bn)},()=>{on=null,Gt=null}))})}function ns(Dt,...bt){var St,Ot;const jt=null!==(St=(0,r.lI)(bt))&&void 0!==St?St:a.E,Gt=null!==(Ot=bt[0])&&void 0!==Ot?Ot:null,on=bt[1]||1/0;return(0,C.N)((pn,bn)=>{let In=[],$n=!1;const xi=ii=>{const{window:li,subs:ur}=ii;li.complete(),ur.unsubscribe(),(0,f.o)(In,ii),$n&&Yn()},Yn=()=>{if(In){const ii=new l.yU;bn.add(ii);const li=new le.B,ur={window:li,subs:ii,seen:0};In.push(ur),bn.next(li.asObservable()),(0,u.N)(ii,jt,()=>xi(ur),Dt)}};null!==Gt&&Gt>=0?(0,u.N)(bn,jt,Yn,Gt,!0):$n=!0,Yn();const Ui=ii=>In.slice().forEach(ii),Hn=ii=>{Ui(({window:li})=>ii(li)),ii(bn),bn.unsubscribe()};return pn.subscribe((0,c._)(bn,ii=>{Ui(li=>{li.window.next(ii),on<=++li.seen&&xi(li)})},()=>Hn(ii=>ii.complete()),ii=>Hn(li=>li.error(ii)))),()=>{In=null}})}function Li(Dt,bt){return(0,C.N)((St,Ot)=>{const jt=[],Gt=on=>{for(;0{const pn=new le.B;jt.push(pn);const bn=new l.yU;let $n;try{$n=(0,b.Tg)(bt(on))}catch(xi){return void Gt(xi)}Ot.next(pn.asObservable()),bn.add($n.subscribe((0,c._)(Ot,()=>{(0,f.o)(jt,pn),pn.complete(),bn.unsubscribe()},E.l,Gt)))},E.l)),St.subscribe((0,c._)(Ot,on=>{const pn=jt.slice();for(const bn of pn)bn.next(on)},()=>{for(;0{for(;0{let Ot,jt;const Gt=pn=>{Ot.error(pn),St.error(pn)},on=()=>{let pn;jt?.unsubscribe(),Ot?.complete(),Ot=new le.B,St.next(Ot.asObservable());try{pn=(0,b.Tg)(Dt())}catch(bn){return void Gt(bn)}pn.subscribe(jt=(0,c._)(St,on,on,Gt))};on(),bt.subscribe((0,c._)(St,pn=>Ot.next(pn),()=>{Ot.complete(),St.complete()},Gt,()=>{jt?.unsubscribe(),Ot=null}))})}function Bn(...Dt){const bt=(0,r.ms)(Dt);return(0,C.N)((St,Ot)=>{const jt=Dt.length,Gt=new Array(jt);let on=Dt.map(()=>!1),pn=!1;for(let bn=0;bn{Gt[bn]=In,!pn&&!on[bn]&&(on[bn]=!0,(pn=on.every(w.D))&&(on=null))},E.l));St.subscribe((0,c._)(Ot,bn=>{if(pn){const In=[bn,...Gt];Ot.next(bt?bt(...In):In)}}))})}var zr=g(4437);function ds(...Dt){return(0,C.N)((bt,St)=>{(0,zr.y)(bt,...Dt).subscribe(St)})}function br(Dt){return R(zr.y,Dt)}function ys(...Dt){return ds(...Dt)}},3321:De=>{"use strict";De.exports=(ne,g)=>{if("string"!=typeof ne||"string"!=typeof g)throw new TypeError("Expected the arguments to be of type `string`");if(""===g)return[ne];const t=ne.indexOf(g);return-1===t?[ne]:[ne.slice(0,t),ne.slice(t+g.length)]}},8467:De=>{"use strict";De.exports=ne=>encodeURIComponent(ne).replace(/[!'()*]/g,g=>`%${g.charCodeAt(0).toString(16).toUpperCase()}`)},5215:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{__addDisposableResource:()=>ee,__assign:()=>C,__asyncDelegator:()=>O,__asyncGenerator:()=>D,__asyncValues:()=>T,__await:()=>I,__awaiter:()=>r,__classPrivateFieldGet:()=>A,__classPrivateFieldIn:()=>Y,__classPrivateFieldSet:()=>U,__createBinding:()=>h,__decorate:()=>c,__disposeResources:()=>$,__esDecorate:()=>s,__exportStar:()=>p,__extends:()=>v,__generator:()=>u,__importDefault:()=>N,__importStar:()=>R,__makeTemplateObject:()=>F,__metadata:()=>a,__param:()=>b,__propKey:()=>d,__read:()=>y,__rest:()=>E,__runInitializers:()=>f,__setFunctionName:()=>l,__spread:()=>M,__spreadArray:()=>k,__spreadArrays:()=>w,__values:()=>_,default:()=>j});var t=function(G,V){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,K){W.__proto__=K}||function(W,K){for(var le in K)Object.prototype.hasOwnProperty.call(K,le)&&(W[le]=K[le])})(G,V)};function v(G,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function W(){this.constructor=G}t(G,V),G.prototype=null===V?Object.create(V):(W.prototype=V.prototype,new W)}var C=function(){return C=Object.assign||function(V){for(var W,K=1,le=arguments.length;K=0;Ye--)(ve=G[Ye])&&(ue=(le<3?ve(ue):le>3?ve(V,W,ue):ve(V,W))||ue);return le>3&&ue&&Object.defineProperty(V,W,ue),ue}function b(G,V){return function(W,K){V(W,K,G)}}function s(G,V,W,K,le,ue){function ve($e){if(void 0!==$e&&"function"!=typeof $e)throw new TypeError("Function expected");return $e}for(var Pe,Ye=K.kind,mt="getter"===Ye?"get":"setter"===Ye?"set":"value",ct=!V&&G?K.static?G:G.prototype:null,Ct=V||(ct?Object.getOwnPropertyDescriptor(ct,K.name):{}),Ae=!1,me=W.length-1;me>=0;me--){var We={};for(var Fe in K)We[Fe]="access"===Fe?{}:K[Fe];for(var Fe in K.access)We.access[Fe]=K.access[Fe];We.addInitializer=function($e){if(Ae)throw new TypeError("Cannot add initializers after decoration has completed");ue.push(ve($e||null))};var xe=(0,W[me])("accessor"===Ye?{get:Ct.get,set:Ct.set}:Ct[mt],We);if("accessor"===Ye){if(void 0===xe)continue;if(null===xe||"object"!=typeof xe)throw new TypeError("Object expected");(Pe=ve(xe.get))&&(Ct.get=Pe),(Pe=ve(xe.set))&&(Ct.set=Pe),(Pe=ve(xe.init))&&le.unshift(Pe)}else(Pe=ve(xe))&&("field"===Ye?le.unshift(Pe):Ct[mt]=Pe)}ct&&Object.defineProperty(ct,K.name,Ct),Ae=!0}function f(G,V,W){for(var K=arguments.length>2,le=0;le0&&ue[ue.length-1])&&(6===ct[0]||2===ct[0])){W=0;continue}if(3===ct[0]&&(!ue||ct[1]>ue[0]&&ct[1]=G.length&&(G=void 0),{value:G&&G[K++],done:!G}}};throw new TypeError(V?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(G,V){var W="function"==typeof Symbol&&G[Symbol.iterator];if(!W)return G;var le,ve,K=W.call(G),ue=[];try{for(;(void 0===V||V-- >0)&&!(le=K.next()).done;)ue.push(le.value)}catch(Ye){ve={error:Ye}}finally{try{le&&!le.done&&(W=K.return)&&W.call(K)}finally{if(ve)throw ve.error}}return ue}function M(){for(var G=[],V=0;V1||Ye(Ae,me)})})}function Ye(Ae,me){try{!function mt(Ae){Ae.value instanceof I?Promise.resolve(Ae.value.v).then(ct,Ct):Pe(ue[0][2],Ae)}(K[Ae](me))}catch(We){Pe(ue[0][3],We)}}function ct(Ae){Ye("next",Ae)}function Ct(Ae){Ye("throw",Ae)}function Pe(Ae,me){Ae(me),ue.shift(),ue.length&&Ye(ue[0][0],ue[0][1])}}function O(G){var V,W;return V={},K("next"),K("throw",function(le){throw le}),K("return"),V[Symbol.iterator]=function(){return this},V;function K(le,ue){V[le]=G[le]?function(ve){return(W=!W)?{value:I(G[le](ve)),done:!1}:ue?ue(ve):ve}:ue}}function T(G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var W,V=G[Symbol.asyncIterator];return V?V.call(G):(G=_(G),W={},K("next"),K("throw"),K("return"),W[Symbol.asyncIterator]=function(){return this},W);function K(ue){W[ue]=G[ue]&&function(ve){return new Promise(function(Ye,mt){!function le(ue,ve,Ye,mt){Promise.resolve(mt).then(function(ct){ue({value:ct,done:Ye})},ve)}(Ye,mt,(ve=G[ue](ve)).done,ve.value)})}}}function F(G,V){return Object.defineProperty?Object.defineProperty(G,"raw",{value:V}):G.raw=V,G}var S=Object.create?function(G,V){Object.defineProperty(G,"default",{enumerable:!0,value:V})}:function(G,V){G.default=V};function R(G){if(G&&G.__esModule)return G;var V={};if(null!=G)for(var W in G)"default"!==W&&Object.prototype.hasOwnProperty.call(G,W)&&h(V,G,W);return S(V,G),V}function N(G){return G&&G.__esModule?G:{default:G}}function A(G,V,W,K){if("a"===W&&!K)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof V?G!==V||!K:!V.has(G))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===W?K:"a"===W?K.call(G):K?K.value:V.get(G)}function U(G,V,W,K,le){if("m"===K)throw new TypeError("Private method is not writable");if("a"===K&&!le)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof V?G!==V||!le:!V.has(G))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===K?le.call(G,W):le?le.value=W:V.set(G,W),W}function Y(G,V){if(null===V||"object"!=typeof V&&"function"!=typeof V)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof G?V===G:G.has(V)}function ee(G,V,W){if(null!=V){if("object"!=typeof V&&"function"!=typeof V)throw new TypeError("Object expected.");var K;if(W){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");K=V[Symbol.asyncDispose]}if(void 0===K){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");K=V[Symbol.dispose]}if("function"!=typeof K)throw new TypeError("Object not disposable.");G.stack.push({value:V,dispose:K,async:W})}else W&&G.stack.push({async:!0});return V}var ie="function"==typeof SuppressedError?SuppressedError:function(G,V,W){var K=new Error(W);return K.name="SuppressedError",K.error=G,K.suppressed=V,K};function $(G){function V(K){G.error=G.hasError?new ie(K,G.error,"An error was suppressed during disposal."):K,G.hasError=!0}return function W(){for(;G.stack.length;){var K=G.stack.pop();try{var le=K.dispose&&K.dispose.call(K.value);if(K.async)return Promise.resolve(le).then(W,function(ue){return V(ue),W()})}catch(ue){V(ue)}}if(G.hasError)throw G.error}()}const j={__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:I,__asyncGenerator:D,__asyncDelegator:O,__asyncValues:T,__makeTemplateObject:F,__importStar:R,__importDefault:N,__classPrivateFieldGet:A,__classPrivateFieldSet:U,__classPrivateFieldIn:Y,__addDisposableResource:ee,__disposeResources:$}},6653:De=>{function ne(Re){return Re instanceof Map?Re.clear=Re.delete=Re.set=function(){throw new Error("map is read-only")}:Re instanceof Set&&(Re.add=Re.clear=Re.delete=function(){throw new Error("set is read-only")}),Object.freeze(Re),Object.getOwnPropertyNames(Re).forEach(pe=>{const Ke=Re[pe],te=typeof Ke;("object"===te||"function"===te)&&!Object.isFrozen(Ke)&&ne(Ke)}),Re}class g{constructor(pe){void 0===pe.data&&(pe.data={}),this.data=pe.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function t(Re){return Re.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function v(Re,...pe){const Ke=Object.create(null);for(const te in Re)Ke[te]=Re[te];return pe.forEach(function(te){for(const de in te)Ke[de]=te[de]}),Ke}const E=Re=>!!Re.scope;class b{constructor(pe,Ke){this.buffer="",this.classPrefix=Ke.classPrefix,pe.walk(this)}addText(pe){this.buffer+=t(pe)}openNode(pe){if(!E(pe))return;const Ke=((Re,{prefix:pe})=>{if(Re.startsWith("language:"))return Re.replace("language:","language-");if(Re.includes(".")){const Ke=Re.split(".");return[`${pe}${Ke.shift()}`,...Ke.map((te,de)=>`${te}${"_".repeat(de+1)}`)].join(" ")}return`${pe}${Re}`})(pe.scope,{prefix:this.classPrefix});this.span(Ke)}closeNode(pe){E(pe)&&(this.buffer+="")}value(){return this.buffer}span(pe){this.buffer+=``}}const s=(Re={})=>{const pe={children:[]};return Object.assign(pe,Re),pe};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(pe){this.top.children.push(pe)}openNode(pe){const Ke=s({scope:pe});this.add(Ke),this.stack.push(Ke)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(pe){return this.constructor._walk(pe,this.rootNode)}static _walk(pe,Ke){return"string"==typeof Ke?pe.addText(Ke):Ke.children&&(pe.openNode(Ke),Ke.children.forEach(te=>this._walk(pe,te)),pe.closeNode(Ke)),pe}static _collapse(pe){"string"!=typeof pe&&pe.children&&(pe.children.every(Ke=>"string"==typeof Ke)?pe.children=[pe.children.join("")]:pe.children.forEach(Ke=>{f._collapse(Ke)}))}}class d extends f{constructor(pe){super(),this.options=pe}addText(pe){""!==pe&&this.add(pe)}startScope(pe){this.openNode(pe)}endScope(){this.closeNode()}__addSublanguage(pe,Ke){const te=pe.root;Ke&&(te.scope=`language:${Ke}`),this.add(te)}toHTML(){return new b(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function l(Re){return Re?"string"==typeof Re?Re:Re.source:null}function a(Re){return h("(?=",Re,")")}function r(Re){return h("(?:",Re,")*")}function u(Re){return h("(?:",Re,")?")}function h(...Re){return Re.map(Ke=>l(Ke)).join("")}function _(...Re){return"("+(function p(Re){const pe=Re[Re.length-1];return"object"==typeof pe&&pe.constructor===Object?(Re.splice(Re.length-1,1),pe):{}}(Re).capture?"":"?:")+Re.map(te=>l(te)).join("|")+")"}function y(Re){return new RegExp(Re.toString()+"|").exec("").length-1}const w=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function k(Re,{joinWith:pe}){let Ke=0;return Re.map(te=>{Ke+=1;const de=Ke;let Se=l(te),tt="";for(;Se.length>0;){const It=w.exec(Se);if(!It){tt+=Se;break}tt+=Se.substring(0,It.index),Se=Se.substring(It.index+It[0].length),"\\"===It[0][0]&&It[1]?tt+="\\"+String(Number(It[1])+de):(tt+=It[0],"("===It[0]&&Ke++)}return tt}).map(te=>`(${te})`).join(pe)}const D="[a-zA-Z]\\w*",O="[a-zA-Z_]\\w*",T="\\b\\d+(\\.\\d+)?",F="(-?)(\\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]},Y={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[A]},ie=function(Re,pe,Ke={}){const te=v({scope:"comment",begin:Re,end:pe,contains:[]},Ke);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 de=_("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(/[ ]+/,"(",de,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),te},$=ie("//","$"),j=ie("/\\*","\\*/"),G=ie("#","$");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:ie,C_BLOCK_COMMENT_MODE:j,C_LINE_COMMENT_MODE:$,C_NUMBER_MODE:{scope:"number",begin:F,relevance:0},C_NUMBER_RE:F,END_SAME_AS_BEGIN:function(Re){return Object.assign(Re,{"on:begin":(pe,Ke)=>{Ke.data._beginMatch=pe[1]},"on:end":(pe,Ke)=>{Ke.data._beginMatch!==pe[1]&&Ke.ignoreMatch()}})},HASH_COMMENT_MODE:G,IDENT_RE:D,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:Y,REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[A,{begin:/\[/,end:/\]/,relevance:0,contains:[A]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(Re={})=>{const pe=/^#![ ]*\//;return Re.binary&&(Re.begin=h(pe,/.*\b/,Re.binary,/\b.*/)),v({scope:"meta",begin:pe,end:/$/,relevance:0,"on:begin":(Ke,te)=>{0!==Ke.index&&te.ignoreMatch()}},Re)},TITLE_MODE:{scope:"title",begin:D,relevance:0},UNDERSCORE_IDENT_RE:O,UNDERSCORE_TITLE_MODE:{scope:"title",begin:O,relevance:0}});function Ct(Re,pe){"."===Re.input[Re.index-1]&&pe.ignoreMatch()}function Pe(Re,pe){void 0!==Re.className&&(Re.scope=Re.className,delete Re.className)}function Ae(Re,pe){pe&&Re.beginKeywords&&(Re.begin="\\b("+Re.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Re.__beforeBegin=Ct,Re.keywords=Re.keywords||Re.beginKeywords,delete Re.beginKeywords,void 0===Re.relevance&&(Re.relevance=0))}function me(Re,pe){Array.isArray(Re.illegal)&&(Re.illegal=_(...Re.illegal))}function We(Re,pe){if(Re.match){if(Re.begin||Re.end)throw new Error("begin & end are not supported with match");Re.begin=Re.match,delete Re.match}}function Fe(Re,pe){void 0===Re.relevance&&(Re.relevance=1)}const xe=(Re,pe)=>{if(!Re.beforeMatch)return;if(Re.starts)throw new Error("beforeMatch cannot be used with starts");const Ke=Object.assign({},Re);Object.keys(Re).forEach(te=>{delete Re[te]}),Re.keywords=Ke.keywords,Re.begin=h(Ke.beforeMatch,a(Ke.begin)),Re.starts={relevance:0,contains:[Object.assign(Ke,{endsParent:!0})]},Re.relevance=0,delete Ke.beforeMatch},$e=["of","and","for","in","not","or","if","then","parent","list","value"],q="keyword";function ge(Re,pe,Ke=q){const te=Object.create(null);return"string"==typeof Re?de(Ke,Re.split(" ")):Array.isArray(Re)?de(Ke,Re):Object.keys(Re).forEach(function(Se){Object.assign(te,ge(Re[Se],pe,Se))}),te;function de(Se,tt){pe&&(tt=tt.map(It=>It.toLowerCase())),tt.forEach(function(It){const Kt=It.split("|");te[Kt[0]]=[Se,Oe(Kt[0],Kt[1])]})}}function Oe(Re,pe){return pe?Number(pe):function vt(Re){return $e.includes(Re.toLowerCase())}(Re)?0:1}const it={},we=Re=>{console.error(Re)},Ge=(Re,...pe)=>{console.log(`WARN: ${Re}`,...pe)},Me=(Re,pe)=>{it[`${Re}/${pe}`]||(console.log(`Deprecated as of ${Re}. ${pe}`),it[`${Re}/${pe}`]=!0)},rt=new Error;function Mt(Re,pe,{key:Ke}){let te=0;const de=Re[Ke],Se={},tt={};for(let It=1;It<=pe.length;It++)tt[It+te]=de[It],Se[It+te]=!0,te+=y(pe[It-1]);Re[Ke]=tt,Re[Ke]._emit=Se,Re[Ke]._multi=!0}function hn(Re){(function dn(Re){Re.scope&&"object"==typeof Re.scope&&null!==Re.scope&&(Re.beginScope=Re.scope,delete Re.scope)})(Re),"string"==typeof Re.beginScope&&(Re.beginScope={_wrap:Re.beginScope}),"string"==typeof Re.endScope&&(Re.endScope={_wrap:Re.endScope}),function zt(Re){if(Array.isArray(Re.begin)){if(Re.skip||Re.excludeBegin||Re.returnBegin)throw we("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),rt;if("object"!=typeof Re.beginScope||null===Re.beginScope)throw we("beginScope must be object"),rt;Mt(Re,Re.begin,{key:"beginScope"}),Re.begin=k(Re.begin,{joinWith:""})}}(Re),function Xt(Re){if(Array.isArray(Re.end)){if(Re.skip||Re.excludeEnd||Re.returnEnd)throw we("skip, excludeEnd, returnEnd not compatible with endScope: {}"),rt;if("object"!=typeof Re.endScope||null===Re.endScope)throw we("endScope must be object"),rt;Mt(Re,Re.end,{key:"endScope"}),Re.end=k(Re.end,{joinWith:""})}}(Re)}function un(Re){function pe(tt,It){return new RegExp(l(tt),"m"+(Re.case_insensitive?"i":"")+(Re.unicodeRegex?"u":"")+(It?"g":""))}class Ke{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(It,Kt){Kt.position=this.position++,this.matchIndexes[this.matchAt]=Kt,this.regexes.push([Kt,It]),this.matchAt+=y(It)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const It=this.regexes.map(Kt=>Kt[1]);this.matcherRe=pe(k(It,{joinWith:"|"}),!0),this.lastIndex=0}exec(It){this.matcherRe.lastIndex=this.lastIndex;const Kt=this.matcherRe.exec(It);if(!Kt)return null;const ln=Kt.findIndex((Nt,Je)=>Je>0&&void 0!==Nt),_t=this.matchIndexes[ln];return Kt.splice(0,ln),Object.assign(Kt,_t)}}class te{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(It){if(this.multiRegexes[It])return this.multiRegexes[It];const Kt=new Ke;return this.rules.slice(It).forEach(([ln,_t])=>Kt.addRule(ln,_t)),Kt.compile(),this.multiRegexes[It]=Kt,Kt}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(It,Kt){this.rules.push([It,Kt]),"begin"===Kt.type&&this.count++}exec(It){const Kt=this.getMatcher(this.regexIndex);Kt.lastIndex=this.lastIndex;let ln=Kt.exec(It);if(this.resumingScanAtSamePosition()&&(!ln||ln.index!==this.lastIndex)){const _t=this.getMatcher(0);_t.lastIndex=this.lastIndex+1,ln=_t.exec(It)}return ln&&(this.regexIndex+=ln.position+1,this.regexIndex===this.count&&this.considerAll()),ln}}if(Re.compilerExtensions||(Re.compilerExtensions=[]),Re.contains&&Re.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Re.classNameAliases=v(Re.classNameAliases||{}),function Se(tt,It){const Kt=tt;if(tt.isCompiled)return Kt;[Pe,We,hn,xe].forEach(_t=>_t(tt,It)),Re.compilerExtensions.forEach(_t=>_t(tt,It)),tt.__beforeBegin=null,[Ae,me,Fe].forEach(_t=>_t(tt,It)),tt.isCompiled=!0;let ln=null;return"object"==typeof tt.keywords&&tt.keywords.$pattern&&(tt.keywords=Object.assign({},tt.keywords),ln=tt.keywords.$pattern,delete tt.keywords.$pattern),ln=ln||/\w+/,tt.keywords&&(tt.keywords=ge(tt.keywords,Re.case_insensitive)),Kt.keywordPatternRe=pe(ln,!0),It&&(tt.begin||(tt.begin=/\B|\b/),Kt.beginRe=pe(Kt.begin),!tt.end&&!tt.endsWithParent&&(tt.end=/\B|\b/),tt.end&&(Kt.endRe=pe(Kt.end)),Kt.terminatorEnd=l(Kt.end)||"",tt.endsWithParent&&It.terminatorEnd&&(Kt.terminatorEnd+=(tt.end?"|":"")+It.terminatorEnd)),tt.illegal&&(Kt.illegalRe=pe(tt.illegal)),tt.contains||(tt.contains=[]),tt.contains=[].concat(...tt.contains.map(function(_t){return function fn(Re){return Re.variants&&!Re.cachedVariants&&(Re.cachedVariants=Re.variants.map(function(pe){return v(Re,{variants:null},pe)})),Re.cachedVariants?Re.cachedVariants:rn(Re)?v(Re,{starts:Re.starts?v(Re.starts):null}):Object.isFrozen(Re)?v(Re):Re}("self"===_t?tt:_t)})),tt.contains.forEach(function(_t){Se(_t,Kt)}),tt.starts&&Se(tt.starts,It),Kt.matcher=function de(tt){const It=new te;return tt.contains.forEach(Kt=>It.addRule(Kt.begin,{rule:Kt,type:"begin"})),tt.terminatorEnd&&It.addRule(tt.terminatorEnd,{type:"end"}),tt.illegal&&It.addRule(tt.illegal,{type:"illegal"}),It}(Kt),Kt}(Re)}function rn(Re){return!!Re&&(Re.endsWithParent||rn(Re.starts))}class Vt extends Error{constructor(pe,Ke){super(pe),this.name="HTMLInjectionError",this.html=Ke}}const _e=t,Ze=v,Qe=Symbol("nomatch"),et=function(Re){const pe=Object.create(null),Ke=Object.create(null),te=[];let de=!0;const Se="Could not find the language '{}', did you forget to load/include a language module?",tt={disableAutodetect:!0,name:"Plain text",contains:[]};let It={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:d};function Kt(pt){return It.noHighlightRe.test(pt)}function _t(pt,wt,Ie){let Tt="",z="";"object"==typeof wt?(Tt=pt,Ie=wt.ignoreIllegals,z=wt.language):(Me("10.7.0","highlight(lang, code, ...args) has been deprecated."),Me("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),z=pt,Tt=wt),void 0===Ie&&(Ie=!0);const he={code:Tt,language:z};ut("before:highlight",he);const ce=he.result?he.result:Nt(he.language,he.code,Ie);return ce.code=he.code,ut("after:highlight",ce),ce}function Nt(pt,wt,Ie,Tt){const z=Object.create(null);function he(vn,Dn){return vn.keywords[Dn]}function ce(){if(!Cn.keywords)return void Xn.addText(Qn);let vn=0;Cn.keywordPatternRe.lastIndex=0;let Dn=Cn.keywordPatternRe.exec(Qn),Rn="";for(;Dn;){Rn+=Qn.substring(vn,Dn.index);const jn=mi.case_insensitive?Dn[0].toLowerCase():Dn[0],Vi=he(Cn,jn);if(Vi){const[Xi,Wi]=Vi;Xn.addText(Rn),Rn="",z[jn]=(z[jn]||0)+1,z[jn]<=7&&(ni+=Wi),Xi.startsWith("_")?Rn+=Dn[0]:cn(Dn[0],mi.classNameAliases[Xi]||Xi)}else Rn+=Dn[0];vn=Cn.keywordPatternRe.lastIndex,Dn=Cn.keywordPatternRe.exec(Qn)}Rn+=Qn.substring(vn),Xn.addText(Rn)}function xt(){null!=Cn.subLanguage?function Ve(){if(""===Qn)return;let vn=null;if("string"==typeof Cn.subLanguage){if(!pe[Cn.subLanguage])return void Xn.addText(Qn);vn=Nt(Cn.subLanguage,Qn,!0,Bi[Cn.subLanguage]),Bi[Cn.subLanguage]=vn._top}else vn=Ue(Qn,Cn.subLanguage.length?Cn.subLanguage:null);Cn.relevance>0&&(ni+=vn.relevance),Xn.__addSublanguage(vn._emitter,vn.language)}():ce(),Qn=""}function cn(vn,Dn){""!==vn&&(Xn.startScope(Dn),Xn.addText(vn),Xn.endScope())}function hi(vn,Dn){let Rn=1;const jn=Dn.length-1;for(;Rn<=jn;){if(!vn._emit[Rn]){Rn++;continue}const Vi=mi.classNameAliases[vn[Rn]]||vn[Rn],Xi=Dn[Rn];Vi?cn(Xi,Vi):(Qn=Xi,ce(),Qn=""),Rn++}}function Gn(vn,Dn){return vn.scope&&"string"==typeof vn.scope&&Xn.openNode(mi.classNameAliases[vn.scope]||vn.scope),vn.beginScope&&(vn.beginScope._wrap?(cn(Qn,mi.classNameAliases[vn.beginScope._wrap]||vn.beginScope._wrap),Qn=""):vn.beginScope._multi&&(hi(vn.beginScope,Dn),Qn="")),Cn=Object.create(vn,{parent:{value:Cn}}),Cn}function Fn(vn,Dn,Rn){let jn=function M(Re,pe){const Ke=Re&&Re.exec(pe);return Ke&&0===Ke.index}(vn.endRe,Rn);if(jn){if(vn["on:end"]){const Vi=new g(vn);vn["on:end"](Dn,Vi),Vi.isMatchIgnored&&(jn=!1)}if(jn){for(;vn.endsParent&&vn.parent;)vn=vn.parent;return vn}}if(vn.endsWithParent)return Fn(vn.parent,Dn,Rn)}function Tn(vn){return 0===Cn.matcher.regexIndex?(Qn+=vn[0],1):(Un=!0,0)}function Qi(vn){const Dn=vn[0],Rn=wt.substring(vn.index),jn=Fn(Cn,vn,Rn);if(!jn)return Qe;const Vi=Cn;Cn.endScope&&Cn.endScope._wrap?(xt(),cn(Dn,Cn.endScope._wrap)):Cn.endScope&&Cn.endScope._multi?(xt(),hi(Cn.endScope,vn)):Vi.skip?Qn+=Dn:(Vi.returnEnd||Vi.excludeEnd||(Qn+=Dn),xt(),Vi.excludeEnd&&(Qn=Dn));do{Cn.scope&&Xn.closeNode(),!Cn.skip&&!Cn.subLanguage&&(ni+=Cn.relevance),Cn=Cn.parent}while(Cn!==jn.parent);return jn.starts&&Gn(jn.starts,vn),Vi.returnEnd?0:Dn.length}let sr={};function _i(vn,Dn){const Rn=Dn&&Dn[0];if(Qn+=vn,null==Rn)return xt(),0;if("begin"===sr.type&&"end"===Dn.type&&sr.index===Dn.index&&""===Rn){if(Qn+=wt.slice(Dn.index,Dn.index+1),!de){const jn=new Error(`0 width match regex (${pt})`);throw jn.languageName=pt,jn.badRule=sr.rule,jn}return 1}if(sr=Dn,"begin"===Dn.type)return function ti(vn){const Dn=vn[0],Rn=vn.rule,jn=new g(Rn),Vi=[Rn.__beforeBegin,Rn["on:begin"]];for(const Xi of Vi)if(Xi&&(Xi(vn,jn),jn.isMatchIgnored))return Tn(Dn);return Rn.skip?Qn+=Dn:(Rn.excludeBegin&&(Qn+=Dn),xt(),!Rn.returnBegin&&!Rn.excludeBegin&&(Qn=Dn)),Gn(Rn,vn),Rn.returnBegin?0:Dn.length}(Dn);if("illegal"===Dn.type&&!Ie){const jn=new Error('Illegal lexeme "'+Rn+'" for mode "'+(Cn.scope||"")+'"');throw jn.mode=Cn,jn}if("end"===Dn.type){const jn=Qi(Dn);if(jn!==Qe)return jn}if("illegal"===Dn.type&&""===Rn)return 1;if(Fi>1e5&&Fi>3*Dn.index)throw new Error("potential infinite loop, way more iterations than matches");return Qn+=Rn,Rn.length}const mi=qt(pt);if(!mi)throw we(Se.replace("{}",pt)),new Error('Unknown language: "'+pt+'"');const Hi=un(mi);let On="",Cn=Tt||Hi;const Bi={},Xn=new It.__emitter(It);!function fi(){const vn=[];for(let Dn=Cn;Dn!==mi;Dn=Dn.parent)Dn.scope&&vn.unshift(Dn.scope);vn.forEach(Dn=>Xn.openNode(Dn))}();let Qn="",ni=0,zi=0,Fi=0,Un=!1;try{if(mi.__emitTokens)mi.__emitTokens(wt,Xn);else{for(Cn.matcher.considerAll();;){Fi++,Un?Un=!1:Cn.matcher.considerAll(),Cn.matcher.lastIndex=zi;const vn=Cn.matcher.exec(wt);if(!vn)break;const Rn=_i(wt.substring(zi,vn.index),vn);zi=vn.index+Rn}_i(wt.substring(zi))}return Xn.finalize(),On=Xn.toHTML(),{language:pt,value:On,relevance:ni,illegal:!1,_emitter:Xn,_top:Cn}}catch(vn){if(vn.message&&vn.message.includes("Illegal"))return{language:pt,value:_e(wt),illegal:!0,relevance:0,_illegalBy:{message:vn.message,index:zi,context:wt.slice(zi-100,zi+100),mode:vn.mode,resultSoFar:On},_emitter:Xn};if(de)return{language:pt,value:_e(wt),illegal:!1,relevance:0,errorRaised:vn,_emitter:Xn,_top:Cn};throw vn}}function Ue(pt,wt){wt=wt||It.languages||Object.keys(pe);const Ie=function Je(pt){const wt={value:_e(pt),illegal:!1,relevance:0,_top:tt,_emitter:new It.__emitter(It)};return wt._emitter.addText(pt),wt}(pt),Tt=wt.filter(qt).filter(at).map(xt=>Nt(xt,pt,!1));Tt.unshift(Ie);const z=Tt.sort((xt,cn)=>{if(xt.relevance!==cn.relevance)return cn.relevance-xt.relevance;if(xt.language&&cn.language){if(qt(xt.language).supersetOf===cn.language)return 1;if(qt(cn.language).supersetOf===xt.language)return-1}return 0}),[he,ce]=z,Ve=he;return Ve.secondBest=ce,Ve}function He(pt){let wt=null;const Ie=function ln(pt){let wt=pt.className+" ";wt+=pt.parentNode?pt.parentNode.className:"";const Ie=It.languageDetectRe.exec(wt);if(Ie){const Tt=qt(Ie[1]);return Tt||(Ge(Se.replace("{}",Ie[1])),Ge("Falling back to no-highlight mode for this block.",pt)),Tt?Ie[1]:"no-highlight"}return wt.split(/\s+/).find(Tt=>Kt(Tt)||qt(Tt))}(pt);if(Kt(Ie))return;if(ut("before:highlightElement",{el:pt,language:Ie}),pt.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",pt);if(pt.children.length>0&&(It.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(pt)),It.throwUnescapedHTML))throw new Vt("One of your code blocks includes unescaped HTML.",pt.innerHTML);wt=pt;const Tt=wt.textContent,z=Ie?_t(Tt,{language:Ie,ignoreIllegals:!0}):Ue(Tt);pt.innerHTML=z.value,pt.dataset.highlighted="yes",function nt(pt,wt,Ie){const Tt=wt&&Ke[wt]||Ie;pt.classList.add("hljs"),pt.classList.add(`language-${Tt}`)}(pt,Ie,z.language),pt.result={language:z.language,re:z.relevance,relevance:z.relevance},z.secondBest&&(pt.secondBest={language:z.secondBest.language,relevance:z.secondBest.relevance}),ut("after:highlightElement",{el:pt,result:z,text:Tt})}let yn=!1;function Ln(){"loading"!==document.readyState?document.querySelectorAll(It.cssSelector).forEach(He):yn=!0}function qt(pt){return pt=(pt||"").toLowerCase(),pe[pt]||pe[Ke[pt]]}function Be(pt,{languageName:wt}){"string"==typeof pt&&(pt=[pt]),pt.forEach(Ie=>{Ke[Ie.toLowerCase()]=wt})}function at(pt){const wt=qt(pt);return wt&&!wt.disableAutodetect}function ut(pt,wt){const Ie=pt;te.forEach(function(Tt){Tt[Ie]&&Tt[Ie](wt)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function Ri(){yn&&Ln()},!1),Object.assign(Re,{highlight:_t,highlightAuto:Ue,highlightAll:Ln,highlightElement:He,highlightBlock:function ot(pt){return Me("10.7.0","highlightBlock will be removed entirely in v12.0"),Me("10.7.0","Please use highlightElement now."),He(pt)},configure:function dt(pt){It=Ze(It,pt)},initHighlighting:()=>{Ln(),Me("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function en(){Ln(),Me("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function Ei(pt,wt){let Ie=null;try{Ie=wt(Re)}catch(Tt){if(we("Language definition for '{}' could not be registered.".replace("{}",pt)),!de)throw Tt;we(Tt),Ie=tt}Ie.name||(Ie.name=pt),pe[pt]=Ie,Ie.rawDefinition=wt.bind(null,Re),Ie.aliases&&Be(Ie.aliases,{languageName:pt})},unregisterLanguage:function Vn(pt){delete pe[pt];for(const wt of Object.keys(Ke))Ke[wt]===pt&&delete Ke[wt]},listLanguages:function st(){return Object.keys(pe)},getLanguage:qt,registerAliases:Be,autoDetection:at,inherit:Ze,addPlugin:function sn(pt){(function Et(pt){pt["before:highlightBlock"]&&!pt["before:highlightElement"]&&(pt["before:highlightElement"]=wt=>{pt["before:highlightBlock"](Object.assign({block:wt.el},wt))}),pt["after:highlightBlock"]&&!pt["after:highlightElement"]&&(pt["after:highlightElement"]=wt=>{pt["after:highlightBlock"](Object.assign({block:wt.el},wt))})})(pt),te.push(pt)},removePlugin:function Le(pt){const wt=te.indexOf(pt);-1!==wt&&te.splice(wt,1)}}),Re.debugMode=function(){de=!1},Re.safeMode=function(){de=!0},Re.versionString="11.9.0",Re.regex={concat:h,lookahead:a,either:_,optional:u,anyNumberOfTimes:r};for(const pt in ct)"object"==typeof ct[pt]&&ne(ct[pt]);return Object.assign(Re,ct),Re},ft=et({});ft.newInstance=()=>et({}),De.exports=ft,ft.HighlightJS=ft,ft.default=ft},8028:De=>{De.exports=function ne(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"}}},8133:De=>{De.exports=function ne(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}]}]}}},9293:De=>{function ne(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){ne(b,E,c,s,f,"next",d)}function f(d){ne(b,E,c,s,f,"throw",d)}s(void 0)})}},De.exports.__esModule=!0,De.exports.default=De.exports},9969:(De,ne,g)=>{"use strict";g.d(ne,{MA:()=>r,Os:()=>c,P:()=>h,hZ:()=>C,i0:()=>E,i7:()=>d,iF:()=>s,kY:()=>l,wk:()=>f});var t=function(R){return R[R.State=0]="State",R[R.Transition=1]="Transition",R[R.Sequence=2]="Sequence",R[R.Group=3]="Group",R[R.Animate=4]="Animate",R[R.Keyframes=5]="Keyframes",R[R.Style=6]="Style",R[R.Trigger=7]="Trigger",R[R.Reference=8]="Reference",R[R.AnimateChild=9]="AnimateChild",R[R.AnimateRef=10]="AnimateRef",R[R.Query=11]="Query",R[R.Stagger=12]="Stagger",R}(t||{});function C(R,N){return{type:t.Trigger,name:R,definitions:N,options:{}}}function E(R,N=null){return{type:t.Animate,styles:N,timings:R}}function c(R,N=null){return{type:t.Group,steps:R,options:N}}function s(R){return{type:t.Style,styles:R,offset:null}}function f(R,N,A){return{type:t.State,name:R,styles:N,options:A}}function d(R){return{type:t.Keyframes,steps:R}}function l(R,N,A=null){return{type:t.Transition,expr:R,animation:N,options:A}}function r(R=null){return{type:t.AnimateChild,options:R}}function h(R,N,A=null){return{type:t.Query,selector:R,animation:N,options:A}}},6039:(De,ne,g)=>{"use strict";g.d(ne,{Pd:()=>Je,Au:()=>mt,vr:()=>le,vR:()=>tt,kB:()=>rt,Bu:()=>ct,FN:()=>Se,Q_:()=>Nt,Ai:()=>Re,px:()=>ie,_G:()=>un,w6:()=>rn,Ae:()=>$});var t=g(177),v=g(4438),C=g(6860),E=g(1413),c=g(8359),b=g(4412),s=g(7673),f=g(7336),d=g(8141),l=g(152),a=g(5964),r=g(6354),u=g(6697),h=g(5245),p=g(3294),_=g(6977),y=g(2318),M=g(4085),w=g(4572),k=g(2688),I=g(1985),D=g(9172);const T=new Set;let F,S=(()=>{class Ue{constructor(He,dt){this._platform=He,this._nonce=dt,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):N}matchMedia(He){return(this._platform.WEBKIT||this._platform.BLINK)&&function R(Ue,nt){if(!T.has(Ue))try{F||(F=document.createElement("style"),nt&&(F.nonce=nt),F.setAttribute("type","text/css"),document.head.appendChild(F)),F.sheet&&(F.sheet.insertRule(`@media ${Ue} {body{ }}`,0),T.add(Ue))}catch(He){console.error(He)}}(He,this._nonce),this._matchMedia(He)}static#e=this.\u0275fac=function(dt){return new(dt||Ue)(v.\u0275\u0275inject(C.OD),v.\u0275\u0275inject(v.CSP_NONCE,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}return Ue})();function N(Ue){return{matches:"all"===Ue||""===Ue,media:Ue,addListener:()=>{},removeListener:()=>{}}}let A=(()=>{class Ue{constructor(He,dt){this._mediaMatcher=He,this._zone=dt,this._queries=new Map,this._destroySubject=new E.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(He){return U((0,M.FG)(He)).some(At=>this._registerQuery(At).mql.matches)}observe(He){const At=U((0,M.FG)(He)).map(yn=>this._registerQuery(yn).observable);let en=(0,w.z)(At);return en=(0,k.x)(en.pipe((0,u.s)(1)),en.pipe((0,h.i)(1),(0,l.B)(0))),en.pipe((0,r.T)(yn=>{const Ln={matches:!1,breakpoints:{}};return yn.forEach(({matches:Ri,query:Ei})=>{Ln.matches=Ln.matches||Ri,Ln.breakpoints[Ei]=Ri}),Ln}))}_registerQuery(He){if(this._queries.has(He))return this._queries.get(He);const dt=this._mediaMatcher.matchMedia(He),en={observable:new I.c(yn=>{const Ln=Ri=>this._zone.run(()=>yn.next(Ri));return dt.addListener(Ln),()=>{dt.removeListener(Ln)}}).pipe((0,D.Z)(dt),(0,r.T)(({matches:yn})=>({query:He,matches:yn})),(0,_.Q)(this._destroySubject)),mql:dt};return this._queries.set(He,en),en}static#e=this.\u0275fac=function(dt){return new(dt||Ue)(v.\u0275\u0275inject(S),v.\u0275\u0275inject(v.NgZone))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}return Ue})();function U(Ue){return Ue.map(nt=>nt.split(",")).reduce((nt,He)=>nt.concat(He)).map(nt=>nt.trim())}const ee=" ";function ie(Ue,nt,He){const dt=j(Ue,nt);He=He.trim(),!dt.some(At=>At.trim()===He)&&(dt.push(He),Ue.setAttribute(nt,dt.join(ee)))}function $(Ue,nt,He){const dt=j(Ue,nt);He=He.trim();const At=dt.filter(en=>en!==He);At.length?Ue.setAttribute(nt,At.join(ee)):Ue.removeAttribute(nt)}function j(Ue,nt){return Ue.getAttribute(nt)?.match(/\S+/g)??[]}const V="cdk-describedby-message",W="cdk-describedby-host";let K=0,le=(()=>{class Ue{constructor(He,dt){this._platform=dt,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+K++,this._document=He,this._id=(0,v.inject)(v.APP_ID)+"-"+K++}describe(He,dt,At){if(!this._canBeDescribed(He,dt))return;const en=ue(dt,At);"string"!=typeof dt?(ve(dt,this._id),this._messageRegistry.set(en,{messageElement:dt,referenceCount:0})):this._messageRegistry.has(en)||this._createMessageElement(dt,At),this._isElementDescribedByMessage(He,en)||this._addMessageReference(He,en)}removeDescription(He,dt,At){if(!dt||!this._isElementNode(He))return;const en=ue(dt,At);if(this._isElementDescribedByMessage(He,en)&&this._removeMessageReference(He,en),"string"==typeof dt){const yn=this._messageRegistry.get(en);yn&&0===yn.referenceCount&&this._deleteMessageElement(en)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const He=this._document.querySelectorAll(`[${W}="${this._id}"]`);for(let dt=0;dt0!=At.indexOf(V));He.setAttribute("aria-describedby",dt.join(" "))}_addMessageReference(He,dt){const At=this._messageRegistry.get(dt);ie(He,"aria-describedby",At.messageElement.id),He.setAttribute(W,this._id),At.referenceCount++}_removeMessageReference(He,dt){const At=this._messageRegistry.get(dt);At.referenceCount--,$(He,"aria-describedby",At.messageElement.id),He.removeAttribute(W)}_isElementDescribedByMessage(He,dt){const At=j(He,"aria-describedby"),en=this._messageRegistry.get(dt),yn=en&&en.messageElement.id;return!!yn&&-1!=At.indexOf(yn)}_canBeDescribed(He,dt){if(!this._isElementNode(He))return!1;if(dt&&"object"==typeof dt)return!0;const At=null==dt?"":`${dt}`.trim(),en=He.getAttribute("aria-label");return!(!At||en&&en.trim()===At)}_isElementNode(He){return He.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(dt){return new(dt||Ue)(v.\u0275\u0275inject(t.DOCUMENT),v.\u0275\u0275inject(C.OD))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}return Ue})();function ue(Ue,nt){return"string"==typeof Ue?`${nt||""}/${Ue}`:Ue}function ve(Ue,nt){Ue.id||(Ue.id=`${V}-${nt}-${K++}`)}class Ye{constructor(nt){this._items=nt,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new E.B,this._typeaheadSubscription=c.yU.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=He=>He.disabled,this._pressedLetters=[],this.tabOut=new E.B,this.change=new E.B,nt instanceof v.QueryList&&(this._itemChangesSubscription=nt.changes.subscribe(He=>{if(this._activeItem){const At=He.toArray().indexOf(this._activeItem);At>-1&&At!==this._activeItemIndex&&(this._activeItemIndex=At)}}))}skipPredicate(nt){return this._skipPredicateFn=nt,this}withWrap(nt=!0){return this._wrap=nt,this}withVerticalOrientation(nt=!0){return this._vertical=nt,this}withHorizontalOrientation(nt){return this._horizontal=nt,this}withAllowedModifierKeys(nt){return this._allowedModifierKeys=nt,this}withTypeAhead(nt=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.M)(He=>this._pressedLetters.push(He)),(0,l.B)(nt),(0,a.p)(()=>this._pressedLetters.length>0),(0,r.T)(()=>this._pressedLetters.join(""))).subscribe(He=>{const dt=this._getItemsArray();for(let At=1;At!nt[en]||this._allowedModifierKeys.indexOf(en)>-1);switch(He){case f.wn:return void this.tabOut.next();case f.n6:if(this._vertical&&At){this.setNextItemActive();break}return;case f.i7:if(this._vertical&&At){this.setPreviousItemActive();break}return;case f.LE:if(this._horizontal&&At){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case f.UQ:if(this._horizontal&&At){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case f.yZ:if(this._homeAndEnd&&At){this.setFirstItemActive();break}return;case f.Kp:if(this._homeAndEnd&&At){this.setLastItemActive();break}return;case f.w_:if(this._pageUpAndDown.enabled&&At){const en=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(en>0?en:0,1);break}return;case f.dB:if(this._pageUpAndDown.enabled&&At){const en=this._activeItemIndex+this._pageUpAndDown.delta,yn=this._getItemsArray().length;this._setActiveItemByIndex(en=f.A&&He<=f.Z||He>=f.f2&&He<=f.bn)&&this._letterKeyStream.next(String.fromCharCode(He))))}this._pressedLetters=[],nt.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(nt){const He=this._getItemsArray(),dt="number"==typeof nt?nt:He.indexOf(nt);this._activeItem=He[dt]??null,this._activeItemIndex=dt}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(nt){this._wrap?this._setActiveInWrapMode(nt):this._setActiveInDefaultMode(nt)}_setActiveInWrapMode(nt){const He=this._getItemsArray();for(let dt=1;dt<=He.length;dt++){const At=(this._activeItemIndex+nt*dt+He.length)%He.length;if(!this._skipPredicateFn(He[At]))return void this.setActiveItem(At)}}_setActiveInDefaultMode(nt){this._setActiveItemByIndex(this._activeItemIndex+nt,nt)}_setActiveItemByIndex(nt,He){const dt=this._getItemsArray();if(dt[nt]){for(;this._skipPredicateFn(dt[nt]);)if(!dt[nt+=He])return;this.setActiveItem(nt)}}_getItemsArray(){return this._items instanceof v.QueryList?this._items.toArray():this._items}}class mt extends Ye{setActiveItem(nt){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(nt),this.activeItem&&this.activeItem.setActiveStyles()}}class ct extends Ye{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(nt){return this._origin=nt,this}setActiveItem(nt){super.setActiveItem(nt),this.activeItem&&this.activeItem.focus(this._origin)}}let Pe=(()=>{class Ue{constructor(He){this._platform=He}isDisabled(He){return He.hasAttribute("disabled")}isVisible(He){return function me(Ue){return!!(Ue.offsetWidth||Ue.offsetHeight||"function"==typeof Ue.getClientRects&&Ue.getClientRects().length)}(He)&&"visible"===getComputedStyle(He).visibility}isTabbable(He){if(!this._platform.isBrowser)return!1;const dt=function Ae(Ue){try{return Ue.frameElement}catch{return null}}(function we(Ue){return Ue.ownerDocument&&Ue.ownerDocument.defaultView||window}(He));if(dt&&(-1===Oe(dt)||!this.isVisible(dt)))return!1;let At=He.nodeName.toLowerCase(),en=Oe(He);return He.hasAttribute("contenteditable")?-1!==en:!("iframe"===At||"object"===At||this._platform.WEBKIT&&this._platform.IOS&&!function vt(Ue){let nt=Ue.nodeName.toLowerCase(),He="input"===nt&&Ue.type;return"text"===He||"password"===He||"select"===nt||"textarea"===nt}(He))&&("audio"===At?!!He.hasAttribute("controls")&&-1!==en:"video"===At?-1!==en&&(null!==en||this._platform.FIREFOX||He.hasAttribute("controls")):He.tabIndex>=0)}isFocusable(He,dt){return function it(Ue){return!function Fe(Ue){return function $e(Ue){return"input"==Ue.nodeName.toLowerCase()}(Ue)&&"hidden"==Ue.type}(Ue)&&(function We(Ue){let nt=Ue.nodeName.toLowerCase();return"input"===nt||"select"===nt||"button"===nt||"textarea"===nt}(Ue)||function xe(Ue){return function q(Ue){return"a"==Ue.nodeName.toLowerCase()}(Ue)&&Ue.hasAttribute("href")}(Ue)||Ue.hasAttribute("contenteditable")||ge(Ue))}(He)&&!this.isDisabled(He)&&(dt?.ignoreVisibility||this.isVisible(He))}static#e=this.\u0275fac=function(dt){return new(dt||Ue)(v.\u0275\u0275inject(C.OD))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}return Ue})();function ge(Ue){if(!Ue.hasAttribute("tabindex")||void 0===Ue.tabIndex)return!1;let nt=Ue.getAttribute("tabindex");return!(!nt||isNaN(parseInt(nt,10)))}function Oe(Ue){if(!ge(Ue))return null;const nt=parseInt(Ue.getAttribute("tabindex")||"",10);return isNaN(nt)?-1:nt}class Ge{get enabled(){return this._enabled}set enabled(nt){this._enabled=nt,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(nt,this._startAnchor),this._toggleAnchorTabIndex(nt,this._endAnchor))}constructor(nt,He,dt,At,en=!1){this._element=nt,this._checker=He,this._ngZone=dt,this._document=At,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,en||this.attachAnchors()}destroy(){const nt=this._startAnchor,He=this._endAnchor;nt&&(nt.removeEventListener("focus",this.startAnchorListener),nt.remove()),He&&(He.removeEventListener("focus",this.endAnchorListener),He.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(nt){return new Promise(He=>{this._executeOnStable(()=>He(this.focusInitialElement(nt)))})}focusFirstTabbableElementWhenReady(nt){return new Promise(He=>{this._executeOnStable(()=>He(this.focusFirstTabbableElement(nt)))})}focusLastTabbableElementWhenReady(nt){return new Promise(He=>{this._executeOnStable(()=>He(this.focusLastTabbableElement(nt)))})}_getRegionBoundary(nt){const He=this._element.querySelectorAll(`[cdk-focus-region-${nt}], [cdkFocusRegion${nt}], [cdk-focus-${nt}]`);return"start"==nt?He.length?He[0]:this._getFirstTabbableElement(this._element):He.length?He[He.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(nt){const He=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(He){if(!this._checker.isFocusable(He)){const dt=this._getFirstTabbableElement(He);return dt?.focus(nt),!!dt}return He.focus(nt),!0}return this.focusFirstTabbableElement(nt)}focusFirstTabbableElement(nt){const He=this._getRegionBoundary("start");return He&&He.focus(nt),!!He}focusLastTabbableElement(nt){const He=this._getRegionBoundary("end");return He&&He.focus(nt),!!He}hasAttached(){return this._hasAttached}_getFirstTabbableElement(nt){if(this._checker.isFocusable(nt)&&this._checker.isTabbable(nt))return nt;const He=nt.children;for(let dt=0;dt=0;dt--){const At=He[dt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(He[dt]):null;if(At)return At}return null}_createAnchor(){const nt=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,nt),nt.classList.add("cdk-visually-hidden"),nt.classList.add("cdk-focus-trap-anchor"),nt.setAttribute("aria-hidden","true"),nt}_toggleAnchorTabIndex(nt,He){nt?He.setAttribute("tabindex","0"):He.removeAttribute("tabindex")}toggleAnchors(nt){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(nt,this._startAnchor),this._toggleAnchorTabIndex(nt,this._endAnchor))}_executeOnStable(nt){this._ngZone.isStable?nt():this._ngZone.onStable.pipe((0,u.s)(1)).subscribe(nt)}}let Me=(()=>{class Ue{constructor(He,dt,At){this._checker=He,this._ngZone=dt,this._document=At}create(He,dt=!1){return new Ge(He,this._checker,this._ngZone,this._document,dt)}static#e=this.\u0275fac=function(dt){return new(dt||Ue)(v.\u0275\u0275inject(Pe),v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(t.DOCUMENT))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}return Ue})(),rt=(()=>{class Ue{get enabled(){return this.focusTrap?.enabled||!1}set enabled(He){this.focusTrap&&(this.focusTrap.enabled=He)}constructor(He,dt,At){this._elementRef=He,this._focusTrapFactory=dt,this._previouslyFocusedElement=null,(0,v.inject)(C.OD).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(He){const dt=He.autoCapture;dt&&!dt.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,C.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(dt){return new(dt||Ue)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(Me),v.\u0275\u0275directiveInject(t.DOCUMENT))};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:Ue,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 Ue})();function un(Ue){return 0===Ue.buttons||0===Ue.detail}function rn(Ue){const nt=Ue.touches&&Ue.touches[0]||Ue.changedTouches&&Ue.changedTouches[0];return!(!nt||-1!==nt.identifier||null!=nt.radiusX&&1!==nt.radiusX||null!=nt.radiusY&&1!==nt.radiusY)}const fn=new v.InjectionToken("cdk-input-modality-detector-options"),Pt={ignoreKeys:[f.A$,f.W3,f.eg,f.Ge,f.FX]},_e=(0,C.BQ)({passive:!0,capture:!0});let Ze=(()=>{class Ue{get mostRecentModality(){return this._modality.value}constructor(He,dt,At,en){this._platform=He,this._mostRecentTarget=null,this._modality=new b.t(null),this._lastTouchMs=0,this._onKeydown=yn=>{this._options?.ignoreKeys?.some(Ln=>Ln===yn.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,C.Fb)(yn))},this._onMousedown=yn=>{Date.now()-this._lastTouchMs<650||(this._modality.next(un(yn)?"keyboard":"mouse"),this._mostRecentTarget=(0,C.Fb)(yn))},this._onTouchstart=yn=>{rn(yn)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,C.Fb)(yn))},this._options={...Pt,...en},this.modalityDetected=this._modality.pipe((0,h.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,p.F)()),He.isBrowser&&dt.runOutsideAngular(()=>{At.addEventListener("keydown",this._onKeydown,_e),At.addEventListener("mousedown",this._onMousedown,_e),At.addEventListener("touchstart",this._onTouchstart,_e)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_e),document.removeEventListener("mousedown",this._onMousedown,_e),document.removeEventListener("touchstart",this._onTouchstart,_e))}static#e=this.\u0275fac=function(dt){return new(dt||Ue)(v.\u0275\u0275inject(C.OD),v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(t.DOCUMENT),v.\u0275\u0275inject(fn,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}return Ue})();const Qe=new v.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function Rt(){return null}}),et=new v.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ft=0,Re=(()=>{class Ue{constructor(He,dt,At,en){this._ngZone=dt,this._defaultOptions=en,this._document=At,this._liveElement=He||this._createLiveElement()}announce(He,...dt){const At=this._defaultOptions;let en,yn;return 1===dt.length&&"number"==typeof dt[0]?yn=dt[0]:[en,yn]=dt,this.clear(),clearTimeout(this._previousTimeout),en||(en=At&&At.politeness?At.politeness:"polite"),null==yn&&At&&(yn=At.duration),this._liveElement.setAttribute("aria-live",en),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=He,"number"==typeof yn&&(this._previousTimeout=setTimeout(()=>this.clear(),yn)),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 He="cdk-live-announcer-element",dt=this._document.getElementsByClassName(He),At=this._document.createElement("div");for(let en=0;en .cdk-overlay-container [aria-modal="true"]');for(let At=0;At{class Ue{constructor(He,dt,At,en,yn){this._ngZone=He,this._platform=dt,this._inputModalityDetector=At,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.B,this._rootNodeFocusAndBlurListener=Ln=>{for(let Ei=(0,C.Fb)(Ln);Ei;Ei=Ei.parentElement)"focus"===Ln.type?this._onFocus(Ln,Ei):this._onBlur(Ln,Ei)},this._document=en,this._detectionMode=yn?.detectionMode||Ke.IMMEDIATE}monitor(He,dt=!1){const At=(0,M.i8)(He);if(!this._platform.isBrowser||1!==At.nodeType)return(0,s.of)();const en=(0,C.KT)(At)||this._getDocument(),yn=this._elementInfo.get(At);if(yn)return dt&&(yn.checkChildren=!0),yn.subject;const Ln={checkChildren:dt,subject:new E.B,rootNode:en};return this._elementInfo.set(At,Ln),this._registerGlobalListeners(Ln),Ln.subject}stopMonitoring(He){const dt=(0,M.i8)(He),At=this._elementInfo.get(dt);At&&(At.subject.complete(),this._setClasses(dt),this._elementInfo.delete(dt),this._removeGlobalListeners(At))}focusVia(He,dt,At){const en=(0,M.i8)(He);en===this._getDocument().activeElement?this._getClosestElementsInfo(en).forEach(([Ln,Ri])=>this._originChanged(Ln,dt,Ri)):(this._setOrigin(dt),"function"==typeof en.focus&&en.focus(At))}ngOnDestroy(){this._elementInfo.forEach((He,dt)=>this.stopMonitoring(dt))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(He){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(He)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:He&&this._isLastInteractionFromInputLabel(He)?"mouse":"program"}_shouldBeAttributedToTouch(He){return this._detectionMode===Ke.EVENTUAL||!!He?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(He,dt){He.classList.toggle("cdk-focused",!!dt),He.classList.toggle("cdk-touch-focused","touch"===dt),He.classList.toggle("cdk-keyboard-focused","keyboard"===dt),He.classList.toggle("cdk-mouse-focused","mouse"===dt),He.classList.toggle("cdk-program-focused","program"===dt)}_setOrigin(He,dt=!1){this._ngZone.runOutsideAngular(()=>{this._origin=He,this._originFromTouchInteraction="touch"===He&&dt,this._detectionMode===Ke.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(He,dt){const At=this._elementInfo.get(dt),en=(0,C.Fb)(He);!At||!At.checkChildren&&dt!==en||this._originChanged(dt,this._getFocusOrigin(en),At)}_onBlur(He,dt){const At=this._elementInfo.get(dt);!At||At.checkChildren&&He.relatedTarget instanceof Node&&dt.contains(He.relatedTarget)||(this._setClasses(dt),this._emitOrigin(At,null))}_emitOrigin(He,dt){He.subject.observers.length&&this._ngZone.run(()=>He.subject.next(dt))}_registerGlobalListeners(He){if(!this._platform.isBrowser)return;const dt=He.rootNode,At=this._rootNodeFocusListenerCount.get(dt)||0;At||this._ngZone.runOutsideAngular(()=>{dt.addEventListener("focus",this._rootNodeFocusAndBlurListener,de),dt.addEventListener("blur",this._rootNodeFocusAndBlurListener,de)}),this._rootNodeFocusListenerCount.set(dt,At+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,_.Q)(this._stopInputModalityDetector)).subscribe(en=>{this._setOrigin(en,!0)}))}_removeGlobalListeners(He){const dt=He.rootNode;if(this._rootNodeFocusListenerCount.has(dt)){const At=this._rootNodeFocusListenerCount.get(dt);At>1?this._rootNodeFocusListenerCount.set(dt,At-1):(dt.removeEventListener("focus",this._rootNodeFocusAndBlurListener,de),dt.removeEventListener("blur",this._rootNodeFocusAndBlurListener,de),this._rootNodeFocusListenerCount.delete(dt))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(He,dt,At){this._setClasses(He,dt),this._emitOrigin(At,dt),this._lastFocusOrigin=dt}_getClosestElementsInfo(He){const dt=[];return this._elementInfo.forEach((At,en)=>{(en===He||At.checkChildren&&en.contains(He))&&dt.push([en,At])}),dt}_isLastInteractionFromInputLabel(He){const{_mostRecentTarget:dt,mostRecentModality:At}=this._inputModalityDetector;if("mouse"!==At||!dt||dt===He||"INPUT"!==He.nodeName&&"TEXTAREA"!==He.nodeName||He.disabled)return!1;const en=He.labels;if(en)for(let yn=0;yn{class Ue{constructor(He,dt){this._elementRef=He,this._focusMonitor=dt,this._focusOrigin=null,this.cdkFocusChange=new v.EventEmitter}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const He=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(He,1===He.nodeType&&He.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(dt=>{this._focusOrigin=dt,this.cdkFocusChange.emit(dt)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(dt){return new(dt||Ue)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(Se))};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:Ue,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}return Ue})();var It=function(Ue){return Ue[Ue.NONE=0]="NONE",Ue[Ue.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",Ue[Ue.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",Ue}(It||{});const Kt="cdk-high-contrast-black-on-white",ln="cdk-high-contrast-white-on-black",_t="cdk-high-contrast-active";let Nt=(()=>{class Ue{constructor(He,dt){this._platform=He,this._document=dt,this._breakpointSubscription=(0,v.inject)(A).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return It.NONE;const He=this._document.createElement("div");He.style.backgroundColor="rgb(1,2,3)",He.style.position="absolute",this._document.body.appendChild(He);const dt=this._document.defaultView||window,At=dt&&dt.getComputedStyle?dt.getComputedStyle(He):null,en=(At&&At.backgroundColor||"").replace(/ /g,"");switch(He.remove(),en){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return It.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return It.BLACK_ON_WHITE}return It.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const He=this._document.body.classList;He.remove(_t,Kt,ln),this._hasCheckedHighContrastMode=!0;const dt=this.getHighContrastMode();dt===It.BLACK_ON_WHITE?He.add(_t,Kt):dt===It.WHITE_ON_BLACK&&He.add(_t,ln)}}static#e=this.\u0275fac=function(dt){return new(dt||Ue)(v.\u0275\u0275inject(C.OD),v.\u0275\u0275inject(t.DOCUMENT))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}return Ue})(),Je=(()=>{class Ue{constructor(He){He._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(dt){return new(dt||Ue)(v.\u0275\u0275inject(Nt))};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:Ue});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({imports:[y.w5]})}return Ue})()},8203:(De,ne,g)=>{"use strict";g.d(ne,{dS:()=>s,jI:()=>d});var t=g(4438),v=g(177);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})()},4085:(De,ne,g)=>{"use strict";g.d(ne,{FG:()=>c,OE:()=>C,a1:()=>b,cc:()=>f,he:()=>v,i8:()=>s,o1:()=>E});var t=g(4438);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}},5024:(De,ne,g)=>{"use strict";g.d(ne,{CB:()=>u,DQ:()=>r,Q3:()=>d,qS:()=>b,sL:()=>l,xn:()=>a,y4:()=>s,zP:()=>p});var t=g(17),E=(g(4402),g(7673),g(1413)),c=g(4438);class b{}function s(_){return _&&"function"==typeof _.connect&&!(_ instanceof t.G)}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,I){y.forEachOperation((D,O,T)=>{let F,S;if(null==D.previousIndex){const R=w(D,O,T);F=M.createEmbeddedView(R.templateRef,R.context,R.index),S=d.INSERTED}else null==T?(M.remove(O),S=d.REMOVED):(F=M.get(O),M.move(F,T),S=d.MOVED);I&&I({context:F?.context,operation:S,record:D})})}detach(){}}class r{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(y,M,w,k,I){y.forEachOperation((D,O,T)=>{let F,S;null==D.previousIndex?(F=this._insertView(()=>w(D,O,T),T,M,k(D)),S=F?d.INSERTED:d.REPLACED):null==T?(this._detachAndCacheView(O,M),S=d.REMOVED):(F=this._moveView(O,T,M,k(D)),S=d.MOVED),I&&I({context:F?.context,operation:S,record:D})})}detach(){for(const y of this._viewCache)y.destroy();this._viewCache=[]}_insertView(y,M,w,k){const I=this._insertViewFromCache(M,w);if(I)return void(I.context.$implicit=k);const D=y();return w.createEmbeddedView(D.templateRef,D.context,D.index)}_detachAndCacheView(y,M){const w=M.detach(y);this._maybeCacheView(w,M)}_moveView(y,M,w,k){const I=w.get(y);return w.move(I,M),I.context.$implicit=k,I}_maybeCacheView(y,M){if(this._viewCache.lengththis._markSelected(I)):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(I=>this._markSelected(I)),M.filter(I=>!w.has(this._getConcreteValue(I,w))).forEach(I=>this._unmarkSelected(I));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 _})()},7336:(De,ne,g)=>{"use strict";g.d(ne,{A:()=>K,A$:()=>f,FX:()=>b,Fm:()=>c,G_:()=>v,Ge:()=>Xt,Kp:()=>p,LE:()=>w,UQ:()=>y,W3:()=>s,Z:()=>zt,_f:()=>a,bn:()=>$,dB:()=>h,eg:()=>Ve,f2:()=>F,i7:()=>M,n6:()=>k,rp:()=>xt,t6:()=>r,w_:()=>u,wn:()=>C,yZ:()=>_});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,F=48,$=57,K=65,zt=90,Xt=91,Ve=224;function xt(cn,...hi){return hi.length?hi.some(Gn=>cn[Gn]):cn.altKey||cn.shiftKey||cn.ctrlKey||cn.metaKey}},2318:(De,ne,g)=>{"use strict";g.d(ne,{Wv:()=>f,w5:()=>d});var t=g(4085),v=g(4438),C=g(1985),E=g(1413),c=g(152);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.i8)(r);return new C.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.B,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.OE)(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.B)(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})()},7987:(De,ne,g)=>{"use strict";g.d(ne,{$Q:()=>xe,WB:()=>$e,hJ:()=>me,rR:()=>F,rW:()=>W,z_:()=>Oe});var t=g(5478),v=g(177),C=g(4438),E=g(4085),c=g(6860),b=g(5964),s=g(6697),f=g(6977),d=g(7048),l=g(8203),a=g(6939),r=g(1413),u=g(8359),h=g(7786),p=g(7336);const _=(0,c.CZ)();class y{constructor(we,Ge){this._viewportRuler=we,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ge}attach(){}enable(){if(this._canBeEnabled()){const we=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=we.style.left||"",this._previousHTMLStyles.top=we.style.top||"",we.style.left=(0,E.a1)(-this._previousScrollPosition.left),we.style.top=(0,E.a1)(-this._previousScrollPosition.top),we.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const we=this._document.documentElement,Me=we.style,rt=this._document.body.style,Mt=Me.scrollBehavior||"",zt=rt.scrollBehavior||"";this._isEnabled=!1,Me.left=this._previousHTMLStyles.left,Me.top=this._previousHTMLStyles.top,we.classList.remove("cdk-global-scrollblock"),_&&(Me.scrollBehavior=rt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_&&(Me.scrollBehavior=Mt,rt.scrollBehavior=zt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ge=this._document.body,Me=this._viewportRuler.getViewportSize();return Ge.scrollHeight>Me.height||Ge.scrollWidth>Me.width}}class w{constructor(we,Ge,Me,rt){this._scrollDispatcher=we,this._ngZone=Ge,this._viewportRuler=Me,this._config=rt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(we){this._overlayRef=we}enable(){if(this._scrollSubscription)return;const we=this._scrollDispatcher.scrolled(0).pipe((0,b.p)(Ge=>!Ge||!this._overlayRef.overlayElement.contains(Ge.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=we.subscribe(()=>{const Ge=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ge-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=we.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class k{enable(){}disable(){}attach(){}}function I(it,we){return we.some(Ge=>it.bottomGe.bottom||it.rightGe.right)}function D(it,we){return we.some(Ge=>it.topGe.bottom||it.leftGe.right)}class O{constructor(we,Ge,Me,rt){this._scrollDispatcher=we,this._viewportRuler=Ge,this._ngZone=Me,this._config=rt,this._scrollSubscription=null}attach(we){this._overlayRef=we}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 Ge=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Me,height:rt}=this._viewportRuler.getViewportSize();I(Ge,[{width:Me,height:rt,bottom:rt,right:Me,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 it{constructor(Ge,Me,rt,Mt){this._scrollDispatcher=Ge,this._viewportRuler=Me,this._ngZone=rt,this.noop=()=>new k,this.close=zt=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,zt),this.block=()=>new y(this._viewportRuler,this._document),this.reposition=zt=>new O(this._scrollDispatcher,this._viewportRuler,this._ngZone,zt),this._document=Mt}static#e=this.\u0275fac=function(Me){return new(Me||it)(C.\u0275\u0275inject(t.R),C.\u0275\u0275inject(t.Xj),C.\u0275\u0275inject(C.NgZone),C.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})();class F{constructor(we){if(this.scrollStrategy=new k,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,we){const Ge=Object.keys(we);for(const Me of Ge)void 0!==we[Me]&&(this[Me]=we[Me])}}}class N{constructor(we,Ge){this.connectionPair=we,this.scrollableViewProperties=Ge}}let Y=(()=>{class it{constructor(Ge){this._attachedOverlays=[],this._document=Ge}ngOnDestroy(){this.detach()}add(Ge){this.remove(Ge),this._attachedOverlays.push(Ge)}remove(Ge){const Me=this._attachedOverlays.indexOf(Ge);Me>-1&&this._attachedOverlays.splice(Me,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Me){return new(Me||it)(C.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),ee=(()=>{class it extends Y{constructor(Ge,Me){super(Ge),this._ngZone=Me,this._keydownListener=rt=>{const Mt=this._attachedOverlays;for(let zt=Mt.length-1;zt>-1;zt--)if(Mt[zt]._keydownEvents.observers.length>0){const Xt=Mt[zt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Xt.next(rt)):Xt.next(rt);break}}}add(Ge){super.add(Ge),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(Me){return new(Me||it)(C.\u0275\u0275inject(v.DOCUMENT),C.\u0275\u0275inject(C.NgZone,8))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),ie=(()=>{class it extends Y{constructor(Ge,Me,rt){super(Ge),this._platform=Me,this._ngZone=rt,this._cursorStyleIsSet=!1,this._pointerDownListener=Mt=>{this._pointerDownEventTarget=(0,c.Fb)(Mt)},this._clickListener=Mt=>{const zt=(0,c.Fb)(Mt),Xt="click"===Mt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:zt;this._pointerDownEventTarget=null;const dn=this._attachedOverlays.slice();for(let hn=dn.length-1;hn>-1;hn--){const un=dn[hn];if(un._outsidePointerEvents.observers.length<1||!un.hasAttached())continue;if(un.overlayElement.contains(zt)||un.overlayElement.contains(Xt))break;const rn=un._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>rn.next(Mt)):rn.next(Mt)}}}add(Ge){if(super.add(Ge),!this._isAttached){const Me=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Me)):this._addEventListeners(Me),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Me.style.cursor,Me.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Ge=this._document.body;Ge.removeEventListener("pointerdown",this._pointerDownListener,!0),Ge.removeEventListener("click",this._clickListener,!0),Ge.removeEventListener("auxclick",this._clickListener,!0),Ge.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Ge.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Ge){Ge.addEventListener("pointerdown",this._pointerDownListener,!0),Ge.addEventListener("click",this._clickListener,!0),Ge.addEventListener("auxclick",this._clickListener,!0),Ge.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Me){return new(Me||it)(C.\u0275\u0275inject(v.DOCUMENT),C.\u0275\u0275inject(c.OD),C.\u0275\u0275inject(C.NgZone,8))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),$=(()=>{class it{constructor(Ge,Me){this._platform=Me,this._document=Ge}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ge="cdk-overlay-container";if(this._platform.isBrowser||(0,c.v8)()){const rt=this._document.querySelectorAll(`.${Ge}[platform="server"], .${Ge}[platform="test"]`);for(let Mt=0;Mtthis._backdropClick.next(rn),this._backdropTransitionendHandler=rn=>{this._disposeBackdrop(rn.target)},this._keydownEvents=new r.B,this._outsidePointerEvents=new r.B,rt.scrollStrategy&&(this._scrollStrategy=rt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=rt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(we){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ge=this._portalOutlet.attach(we);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,s.s)(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 Ge?.onDestroy&&Ge.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ge}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const we=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),we}dispose(){const we=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,we&&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(we){we!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=we,this.hasAttached()&&(we.attach(this),this.updatePosition()))}updateSize(we){this._config={...this._config,...we},this._updateElementSize()}setDirection(we){this._config={...this._config,direction:we},this._updateElementDirection()}addPanelClass(we){this._pane&&this._toggleClasses(this._pane,we,!0)}removePanelClass(we){this._pane&&this._toggleClasses(this._pane,we,!1)}getDirection(){const we=this._config.direction;return we?"string"==typeof we?we:we.value:"ltr"}updateScrollStrategy(we){we!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=we,this.hasAttached()&&(we.attach(this),we.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const we=this._pane.style;we.width=(0,E.a1)(this._config.width),we.height=(0,E.a1)(this._config.height),we.minWidth=(0,E.a1)(this._config.minWidth),we.minHeight=(0,E.a1)(this._config.minHeight),we.maxWidth=(0,E.a1)(this._config.maxWidth),we.maxHeight=(0,E.a1)(this._config.maxHeight)}_togglePointerEvents(we){this._pane.style.pointerEvents=we?"":"none"}_attachBackdrop(){const we="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(we)})}):this._backdropElement.classList.add(we)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const we=this._backdropElement;if(we){if(this._animationsDisabled)return void this._disposeBackdrop(we);we.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{we.addEventListener("transitionend",this._backdropTransitionendHandler)}),we.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(we)},500))}}_toggleClasses(we,Ge,Me){const rt=(0,E.FG)(Ge||[]).filter(Mt=>!!Mt);rt.length&&(Me?we.classList.add(...rt):we.classList.remove(...rt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const we=this._ngZone.onStable.pipe((0,f.Q)((0,h.h)(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()),we.unsubscribe())})})}_disposeScrollStrategy(){const we=this._scrollStrategy;we&&(we.disable(),we.detach&&we.detach())}_disposeBackdrop(we){we&&(we.removeEventListener("click",this._backdropClickHandler),we.removeEventListener("transitionend",this._backdropTransitionendHandler),we.remove(),this._backdropElement===we&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const G="cdk-overlay-connected-position-bounding-box",V=/([A-Za-z%]+)$/;class W{get positions(){return this._preferredPositions}constructor(we,Ge,Me,rt,Mt){this._viewportRuler=Ge,this._document=Me,this._platform=rt,this._overlayContainer=Mt,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.B,this._resizeSubscription=u.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(we)}attach(we){this._validatePositions(),we.hostElement.classList.add(G),this._overlayRef=we,this._boundingBox=we.hostElement,this._pane=we.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 we=this._originRect,Ge=this._overlayRect,Me=this._viewportRect,rt=this._containerRect,Mt=[];let zt;for(let Xt of this._preferredPositions){let dn=this._getOriginPoint(we,rt,Xt),hn=this._getOverlayPoint(dn,Ge,Xt),un=this._getOverlayFit(hn,Ge,Me,Xt);if(un.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Xt,dn);this._canFitWithFlexibleDimensions(un,hn,Me)?Mt.push({position:Xt,origin:dn,overlayRect:Ge,boundingBoxRect:this._calculateBoundingBoxRect(dn,Xt)}):(!zt||zt.overlayFit.visibleAreadn&&(dn=un,Xt=hn)}return this._isPushed=!1,void this._applyPosition(Xt.position,Xt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(zt.position,zt.originPoint);this._applyPosition(zt.position,zt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&K(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(G),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const we=this._lastPosition;if(we){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ge=this._getOriginPoint(this._originRect,this._containerRect,we);this._applyPosition(we,Ge)}else this.apply()}withScrollableContainers(we){return this._scrollables=we,this}withPositions(we){return this._preferredPositions=we,-1===we.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(we){return this._viewportMargin=we,this}withFlexibleDimensions(we=!0){return this._hasFlexibleDimensions=we,this}withGrowAfterOpen(we=!0){return this._growAfterOpen=we,this}withPush(we=!0){return this._canPush=we,this}withLockedPosition(we=!0){return this._positionLocked=we,this}setOrigin(we){return this._origin=we,this}withDefaultOffsetX(we){return this._offsetX=we,this}withDefaultOffsetY(we){return this._offsetY=we,this}withTransformOriginOn(we){return this._transformOriginSelector=we,this}_getOriginPoint(we,Ge,Me){let rt,Mt;if("center"==Me.originX)rt=we.left+we.width/2;else{const zt=this._isRtl()?we.right:we.left,Xt=this._isRtl()?we.left:we.right;rt="start"==Me.originX?zt:Xt}return Ge.left<0&&(rt-=Ge.left),Mt="center"==Me.originY?we.top+we.height/2:"top"==Me.originY?we.top:we.bottom,Ge.top<0&&(Mt-=Ge.top),{x:rt,y:Mt}}_getOverlayPoint(we,Ge,Me){let rt,Mt;return rt="center"==Me.overlayX?-Ge.width/2:"start"===Me.overlayX?this._isRtl()?-Ge.width:0:this._isRtl()?0:-Ge.width,Mt="center"==Me.overlayY?-Ge.height/2:"top"==Me.overlayY?0:-Ge.height,{x:we.x+rt,y:we.y+Mt}}_getOverlayFit(we,Ge,Me,rt){const Mt=ue(Ge);let{x:zt,y:Xt}=we,dn=this._getOffset(rt,"x"),hn=this._getOffset(rt,"y");dn&&(zt+=dn),hn&&(Xt+=hn);let fn=0-Xt,Pt=Xt+Mt.height-Me.height,Vt=this._subtractOverflows(Mt.width,0-zt,zt+Mt.width-Me.width),_e=this._subtractOverflows(Mt.height,fn,Pt),Ze=Vt*_e;return{visibleArea:Ze,isCompletelyWithinViewport:Mt.width*Mt.height===Ze,fitsInViewportVertically:_e===Mt.height,fitsInViewportHorizontally:Vt==Mt.width}}_canFitWithFlexibleDimensions(we,Ge,Me){if(this._hasFlexibleDimensions){const rt=Me.bottom-Ge.y,Mt=Me.right-Ge.x,zt=le(this._overlayRef.getConfig().minHeight),Xt=le(this._overlayRef.getConfig().minWidth);return(we.fitsInViewportVertically||null!=zt&&zt<=rt)&&(we.fitsInViewportHorizontally||null!=Xt&&Xt<=Mt)}return!1}_pushOverlayOnScreen(we,Ge,Me){if(this._previousPushAmount&&this._positionLocked)return{x:we.x+this._previousPushAmount.x,y:we.y+this._previousPushAmount.y};const rt=ue(Ge),Mt=this._viewportRect,zt=Math.max(we.x+rt.width-Mt.width,0),Xt=Math.max(we.y+rt.height-Mt.height,0),dn=Math.max(Mt.top-Me.top-we.y,0),hn=Math.max(Mt.left-Me.left-we.x,0);let un=0,rn=0;return un=rt.width<=Mt.width?hn||-zt:we.xVt&&!this._isInitialRender&&!this._growAfterOpen&&(zt=we.y-Vt/2)}if("end"===Ge.overlayX&&!rt||"start"===Ge.overlayX&&rt)fn=Me.width-we.x+2*this._viewportMargin,un=we.x-this._viewportMargin;else if("start"===Ge.overlayX&&!rt||"end"===Ge.overlayX&&rt)rn=we.x,un=Me.right-we.x;else{const Pt=Math.min(Me.right-we.x+Me.left,we.x),Vt=this._lastBoundingBoxSize.width;un=2*Pt,rn=we.x-Pt,un>Vt&&!this._isInitialRender&&!this._growAfterOpen&&(rn=we.x-Vt/2)}return{top:zt,left:rn,bottom:Xt,right:fn,width:un,height:Mt}}_setBoundingBoxStyles(we,Ge){const Me=this._calculateBoundingBoxRect(we,Ge);!this._isInitialRender&&!this._growAfterOpen&&(Me.height=Math.min(Me.height,this._lastBoundingBoxSize.height),Me.width=Math.min(Me.width,this._lastBoundingBoxSize.width));const rt={};if(this._hasExactPosition())rt.top=rt.left="0",rt.bottom=rt.right=rt.maxHeight=rt.maxWidth="",rt.width=rt.height="100%";else{const Mt=this._overlayRef.getConfig().maxHeight,zt=this._overlayRef.getConfig().maxWidth;rt.height=(0,E.a1)(Me.height),rt.top=(0,E.a1)(Me.top),rt.bottom=(0,E.a1)(Me.bottom),rt.width=(0,E.a1)(Me.width),rt.left=(0,E.a1)(Me.left),rt.right=(0,E.a1)(Me.right),rt.alignItems="center"===Ge.overlayX?"center":"end"===Ge.overlayX?"flex-end":"flex-start",rt.justifyContent="center"===Ge.overlayY?"center":"bottom"===Ge.overlayY?"flex-end":"flex-start",Mt&&(rt.maxHeight=(0,E.a1)(Mt)),zt&&(rt.maxWidth=(0,E.a1)(zt))}this._lastBoundingBoxSize=Me,K(this._boundingBox.style,rt)}_resetBoundingBoxStyles(){K(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){K(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(we,Ge){const Me={},rt=this._hasExactPosition(),Mt=this._hasFlexibleDimensions,zt=this._overlayRef.getConfig();if(rt){const un=this._viewportRuler.getViewportScrollPosition();K(Me,this._getExactOverlayY(Ge,we,un)),K(Me,this._getExactOverlayX(Ge,we,un))}else Me.position="static";let Xt="",dn=this._getOffset(Ge,"x"),hn=this._getOffset(Ge,"y");dn&&(Xt+=`translateX(${dn}px) `),hn&&(Xt+=`translateY(${hn}px)`),Me.transform=Xt.trim(),zt.maxHeight&&(rt?Me.maxHeight=(0,E.a1)(zt.maxHeight):Mt&&(Me.maxHeight="")),zt.maxWidth&&(rt?Me.maxWidth=(0,E.a1)(zt.maxWidth):Mt&&(Me.maxWidth="")),K(this._pane.style,Me)}_getExactOverlayY(we,Ge,Me){let rt={top:"",bottom:""},Mt=this._getOverlayPoint(Ge,this._overlayRect,we);return this._isPushed&&(Mt=this._pushOverlayOnScreen(Mt,this._overlayRect,Me)),"bottom"===we.overlayY?rt.bottom=this._document.documentElement.clientHeight-(Mt.y+this._overlayRect.height)+"px":rt.top=(0,E.a1)(Mt.y),rt}_getExactOverlayX(we,Ge,Me){let zt,rt={left:"",right:""},Mt=this._getOverlayPoint(Ge,this._overlayRect,we);return this._isPushed&&(Mt=this._pushOverlayOnScreen(Mt,this._overlayRect,Me)),zt=this._isRtl()?"end"===we.overlayX?"left":"right":"end"===we.overlayX?"right":"left","right"===zt?rt.right=this._document.documentElement.clientWidth-(Mt.x+this._overlayRect.width)+"px":rt.left=(0,E.a1)(Mt.x),rt}_getScrollVisibility(){const we=this._getOriginRect(),Ge=this._pane.getBoundingClientRect(),Me=this._scrollables.map(rt=>rt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:D(we,Me),isOriginOutsideView:I(we,Me),isOverlayClipped:D(Ge,Me),isOverlayOutsideView:I(Ge,Me)}}_subtractOverflows(we,...Ge){return Ge.reduce((Me,rt)=>Me-Math.max(rt,0),we)}_getNarrowedViewportRect(){const we=this._document.documentElement.clientWidth,Ge=this._document.documentElement.clientHeight,Me=this._viewportRuler.getViewportScrollPosition();return{top:Me.top+this._viewportMargin,left:Me.left+this._viewportMargin,right:Me.left+we-this._viewportMargin,bottom:Me.top+Ge-this._viewportMargin,width:we-2*this._viewportMargin,height:Ge-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(we,Ge){return"x"===Ge?null==we.offsetX?this._offsetX:we.offsetX:null==we.offsetY?this._offsetY:we.offsetY}_validatePositions(){}_addPanelClasses(we){this._pane&&(0,E.FG)(we).forEach(Ge=>{""!==Ge&&-1===this._appliedPanelClasses.indexOf(Ge)&&(this._appliedPanelClasses.push(Ge),this._pane.classList.add(Ge))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(we=>{this._pane.classList.remove(we)}),this._appliedPanelClasses=[])}_getOriginRect(){const we=this._origin;if(we instanceof C.ElementRef)return we.nativeElement.getBoundingClientRect();if(we instanceof Element)return we.getBoundingClientRect();const Ge=we.width||0,Me=we.height||0;return{top:we.y,bottom:we.y+Me,left:we.x,right:we.x+Ge,height:Me,width:Ge}}}function K(it,we){for(let Ge in we)we.hasOwnProperty(Ge)&&(it[Ge]=we[Ge]);return it}function le(it){if("number"!=typeof it&&null!=it){const[we,Ge]=it.split(V);return Ge&&"px"!==Ge?null:parseFloat(we)}return it||null}function ue(it){return{top:Math.floor(it.top),right:Math.floor(it.right),bottom:Math.floor(it.bottom),left:Math.floor(it.left),width:Math.floor(it.width),height:Math.floor(it.height)}}const ct="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(we){const Ge=we.getConfig();this._overlayRef=we,this._width&&!Ge.width&&we.updateSize({width:this._width}),this._height&&!Ge.height&&we.updateSize({height:this._height}),we.hostElement.classList.add(ct),this._isDisposed=!1}top(we=""){return this._bottomOffset="",this._topOffset=we,this._alignItems="flex-start",this}left(we=""){return this._xOffset=we,this._xPosition="left",this}bottom(we=""){return this._topOffset="",this._bottomOffset=we,this._alignItems="flex-end",this}right(we=""){return this._xOffset=we,this._xPosition="right",this}start(we=""){return this._xOffset=we,this._xPosition="start",this}end(we=""){return this._xOffset=we,this._xPosition="end",this}width(we=""){return this._overlayRef?this._overlayRef.updateSize({width:we}):this._width=we,this}height(we=""){return this._overlayRef?this._overlayRef.updateSize({height:we}):this._height=we,this}centerHorizontally(we=""){return this.left(we),this._xPosition="center",this}centerVertically(we=""){return this.top(we),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const we=this._overlayRef.overlayElement.style,Ge=this._overlayRef.hostElement.style,Me=this._overlayRef.getConfig(),{width:rt,height:Mt,maxWidth:zt,maxHeight:Xt}=Me,dn=!("100%"!==rt&&"100vw"!==rt||zt&&"100%"!==zt&&"100vw"!==zt),hn=!("100%"!==Mt&&"100vh"!==Mt||Xt&&"100%"!==Xt&&"100vh"!==Xt),un=this._xPosition,rn=this._xOffset,fn="rtl"===this._overlayRef.getConfig().direction;let Pt="",Vt="",_e="";dn?_e="flex-start":"center"===un?(_e="center",fn?Vt=rn:Pt=rn):fn?"left"===un||"end"===un?(_e="flex-end",Pt=rn):("right"===un||"start"===un)&&(_e="flex-start",Vt=rn):"left"===un||"start"===un?(_e="flex-start",Pt=rn):("right"===un||"end"===un)&&(_e="flex-end",Vt=rn),we.position=this._cssPosition,we.marginLeft=dn?"0":Pt,we.marginTop=hn?"0":this._topOffset,we.marginBottom=this._bottomOffset,we.marginRight=dn?"0":Vt,Ge.justifyContent=_e,Ge.alignItems=hn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const we=this._overlayRef.overlayElement.style,Ge=this._overlayRef.hostElement,Me=Ge.style;Ge.classList.remove(ct),Me.justifyContent=Me.alignItems=we.marginTop=we.marginBottom=we.marginLeft=we.marginRight=we.position="",this._overlayRef=null,this._isDisposed=!0}}let Pe=(()=>{class it{constructor(Ge,Me,rt,Mt){this._viewportRuler=Ge,this._document=Me,this._platform=rt,this._overlayContainer=Mt}global(){return new Ct}flexibleConnectedTo(Ge){return new W(Ge,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Me){return new(Me||it)(C.\u0275\u0275inject(t.Xj),C.\u0275\u0275inject(v.DOCUMENT),C.\u0275\u0275inject(c.OD),C.\u0275\u0275inject($))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})(),Ae=0,me=(()=>{class it{constructor(Ge,Me,rt,Mt,zt,Xt,dn,hn,un,rn,fn,Pt){this.scrollStrategies=Ge,this._overlayContainer=Me,this._componentFactoryResolver=rt,this._positionBuilder=Mt,this._keyboardDispatcher=zt,this._injector=Xt,this._ngZone=dn,this._document=hn,this._directionality=un,this._location=rn,this._outsideClickDispatcher=fn,this._animationsModuleType=Pt}create(Ge){const Me=this._createHostElement(),rt=this._createPaneElement(Me),Mt=this._createPortalOutlet(rt),zt=new F(Ge);return zt.direction=zt.direction||this._directionality.value,new j(Mt,Me,rt,zt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Ge){const Me=this._document.createElement("div");return Me.id="cdk-overlay-"+Ae++,Me.classList.add("cdk-overlay-pane"),Ge.appendChild(Me),Me}_createHostElement(){const Ge=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Ge),Ge}_createPortalOutlet(Ge){return this._appRef||(this._appRef=this._injector.get(C.ApplicationRef)),new a.aI(Ge,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Me){return new(Me||it)(C.\u0275\u0275inject(T),C.\u0275\u0275inject($),C.\u0275\u0275inject(C.ComponentFactoryResolver),C.\u0275\u0275inject(Pe),C.\u0275\u0275inject(ee),C.\u0275\u0275inject(C.Injector),C.\u0275\u0275inject(C.NgZone),C.\u0275\u0275inject(v.DOCUMENT),C.\u0275\u0275inject(l.dS),C.\u0275\u0275inject(v.Location),C.\u0275\u0275inject(ie),C.\u0275\u0275inject(C.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275prov=C.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac,providedIn:"root"})}return it})();const We=[{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"}],Fe=new C.InjectionToken("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const it=(0,C.inject)(me);return()=>it.scrollStrategies.reposition()}});let xe=(()=>{class it{constructor(Ge){this.elementRef=Ge}static#e=this.\u0275fac=function(Me){return new(Me||it)(C.\u0275\u0275directiveInject(C.ElementRef))};static#t=this.\u0275dir=C.\u0275\u0275defineDirective({type:it,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return it})(),$e=(()=>{class it{get offsetX(){return this._offsetX}set offsetX(Ge){this._offsetX=Ge,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Ge){this._offsetY=Ge,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Ge){this._disposeOnNavigation=Ge}constructor(Ge,Me,rt,Mt,zt){this._overlay=Ge,this._dir=zt,this._backdropSubscription=u.yU.EMPTY,this._attachSubscription=u.yU.EMPTY,this._detachSubscription=u.yU.EMPTY,this._positionSubscription=u.yU.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,C.inject)(C.NgZone),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.VA(Me,rt),this._scrollStrategyFactory=Mt,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(Ge){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Ge.origin&&this.open&&this._position.apply()),Ge.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=We);const Ge=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Ge.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Ge.detachments().subscribe(()=>this.detach.emit()),Ge.keydownEvents().subscribe(Me=>{this.overlayKeydown.next(Me),Me.keyCode===p._f&&!this.disableClose&&!(0,p.rp)(Me)&&(Me.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Me=>{this.overlayOutsideClick.next(Me)})}_buildConfig(){const Ge=this._position=this.positionStrategy||this._createPositionStrategy(),Me=new F({direction:this._dir,positionStrategy:Ge,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Me.width=this.width),(this.height||0===this.height)&&(Me.height=this.height),(this.minWidth||0===this.minWidth)&&(Me.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Me.minHeight=this.minHeight),this.backdropClass&&(Me.backdropClass=this.backdropClass),this.panelClass&&(Me.panelClass=this.panelClass),Me}_updatePositionStrategy(Ge){const Me=this.positions.map(rt=>({originX:rt.originX,originY:rt.originY,overlayX:rt.overlayX,overlayY:rt.overlayY,offsetX:rt.offsetX||this.offsetX,offsetY:rt.offsetY||this.offsetY,panelClass:rt.panelClass||void 0}));return Ge.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Me).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Ge=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Ge),Ge}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof xe?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(Ge=>{this.backdropClick.emit(Ge)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,d.v)(()=>this.positionChange.observers.length>0)).subscribe(Ge=>{this._ngZone.run(()=>this.positionChange.emit(Ge)),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(Me){return new(Me||it)(C.\u0275\u0275directiveInject(me),C.\u0275\u0275directiveInject(C.TemplateRef),C.\u0275\u0275directiveInject(C.ViewContainerRef),C.\u0275\u0275directiveInject(Fe),C.\u0275\u0275directiveInject(l.dS,8))};static#t=this.\u0275dir=C.\u0275\u0275defineDirective({type:it,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 it})();const ge={provide:Fe,deps:[me],useFactory:function q(it){return()=>it.scrollStrategies.reposition()}};let Oe=(()=>{class it{static#e=this.\u0275fac=function(Me){return new(Me||it)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:it});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({providers:[me,ge],imports:[l.jI,a.jc,t.E9,t.E9]})}return it})()},6860:(De,ne,g)=>{"use strict";g.d(ne,{BD:()=>_,BQ:()=>a,CZ:()=>p,Fb:()=>I,KT:()=>w,MU:()=>f,OD:()=>E,r5:()=>r,v8:()=>D,vc:()=>k});var t=g(4438),v=g(177);let C;try{C=typeof Intl<"u"&&Intl.v8BreakIterator}catch{C=!1}let b,E=(()=>{class O{constructor(F){this._platformId=F,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 F=document.createElement("div"),S=F.style;S.width="2px",S.height="1px",O.appendChild(F),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 I(O){return O.composedPath?O.composedPath()[0]:O.target}function D(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6939:(De,ne,g)=>{"use strict";g.d(ne,{A8:()=>l,I3:()=>w,VA:()=>a,aI:()=>p,bV:()=>y,jc:()=>I});var t=g(4438),v=g(177);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,F,S,R,N){super(),this.component=T,this.viewContainerRef=F,this.injector=S,this.componentFactoryResolver=R,this.projectableNodes=N}}class a extends d{constructor(T,F,S,R){super(),this.templateRef=T,this.viewContainerRef=F,this.context=S,this.injector=R}get origin(){return this.templateRef.elementRef}attach(T,F=this.context){return this.context=F,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,F,S,R,N){super(),this.outletElement=T,this._componentFactoryResolver=F,this._appRef=S,this._defaultInjector=R,this.attachDomPortal=A=>{const U=A.element,Y=this._document.createComment("dom-portal");U.parentNode.insertBefore(Y,U),this.outletElement.appendChild(U),this._attachedPortal=A,super.setDisposeFn(()=>{Y.parentNode&&Y.parentNode.replaceChild(U,Y)})},this._document=N}attachComponentPortal(T){const S=(T.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(T.component);let R;return T.viewContainerRef?(R=T.viewContainerRef.createComponent(S,T.viewContainerRef.length,T.injector||T.viewContainerRef.injector,T.projectableNodes||void 0),this.setDisposeFn(()=>R.destroy())):(R=S.create(T.injector||this._defaultInjector||t.Injector.NULL),this._appRef.attachView(R.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(R.hostView),R.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(R)),this._attachedPortal=T,R}attachTemplatePortal(T){let F=T.viewContainerRef,S=F.createEmbeddedView(T.templateRef,T.context,{injector:T.injector});return S.rootNodes.forEach(R=>this.outletElement.appendChild(R)),S.detectChanges(),this.setDisposeFn(()=>{let R=F.indexOf(S);-1!==R&&F.remove(R)}),this._attachedPortal=T,S}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(T){return T.hostView.rootNodes[0]}}let y=(()=>{class O extends a{constructor(F,S){super(F,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(F,S,R){super(),this._componentFactoryResolver=F,this._viewContainerRef=S,this._isInitialized=!1,this.attached=new t.EventEmitter,this.attachDomPortal=N=>{const A=N.element,U=this._document.createComment("dom-portal");N.setAttachedHost(this),A.parentNode.insertBefore(U,A),this._getRootNode().appendChild(A),this._attachedPortal=N,super.setDisposeFn(()=>{U.parentNode&&U.parentNode.replaceChild(A,U)})},this._document=R}get portal(){return this._attachedPortal}set portal(F){this.hasAttached()&&!F&&!this._isInitialized||(this.hasAttached()&&super.detach(),F&&super.attach(F),this._attachedPortal=F||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(F){F.setAttachedHost(this);const S=null!=F.viewContainerRef?F.viewContainerRef:this._viewContainerRef,N=(F.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(F.component),A=S.createComponent(N,S.length,F.injector||S.injector,F.projectableNodes||void 0);return S!==this._viewContainerRef&&this._getRootNode().appendChild(A.hostView.rootNodes[0]),super.setDisposeFn(()=>A.destroy()),this._attachedPortal=F,this._attachedRef=A,this.attached.emit(A),A}attachTemplatePortal(F){F.setAttachedHost(this);const S=this._viewContainerRef.createEmbeddedView(F.templateRef,F.context,{injector:F.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=F,this._attachedRef=S,this.attached.emit(S),S}_getRootNode(){const F=this._viewContainerRef.element.nativeElement;return F.nodeType===F.ELEMENT_NODE?F:F.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})(),I=(()=>{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})()},5478:(De,ne,g)=>{"use strict";g.d(ne,{E9:()=>G,Gj:()=>j,R:()=>D,Xj:()=>F,uv:()=>O});var t=g(4085),v=g(4438),C=g(1413),E=g(7673),c=g(1985),b=g(3726),d=(g(536),g(5007),g(3578)),l=g(5964),a=g(6977),r=g(6860),u=g(177),h=g(8203);let D=(()=>{class V{constructor(K,le,ue){this._ngZone=K,this._platform=le,this._scrolled=new C.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ue}register(K){this.scrollContainers.has(K)||this.scrollContainers.set(K,K.elementScrolled().subscribe(()=>this._scrolled.next(K)))}deregister(K){const le=this.scrollContainers.get(K);le&&(le.unsubscribe(),this.scrollContainers.delete(K))}scrolled(K=20){return this._platform.isBrowser?new c.c(le=>{this._globalSubscription||this._addGlobalListener();const ue=K>0?this._scrolled.pipe((0,d.Z)(K)).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((K,le)=>this.deregister(le)),this._scrolled.complete()}ancestorScrolled(K,le){const ue=this.getAncestorScrollContainers(K);return this.scrolled(le).pipe((0,l.p)(ve=>!ve||ue.indexOf(ve)>-1))}getAncestorScrollContainers(K){const le=[];return this.scrollContainers.forEach((ue,ve)=>{this._scrollableContainsElement(ve,K)&&le.push(ve)}),le}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(K,le){let ue=(0,t.i8)(le),ve=K.getElementRef().nativeElement;do{if(ue==ve)return!0}while(ue=ue.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const K=this._getWindow();return(0,b.R)(K.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(le){return new(le||V)(v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(r.OD),v.\u0275\u0275inject(u.DOCUMENT,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:V,factory:V.\u0275fac,providedIn:"root"})}return V})(),O=(()=>{class V{constructor(K,le,ue,ve){this.elementRef=K,this.scrollDispatcher=le,this.ngZone=ue,this.dir=ve,this._destroyed=new C.B,this._elementScrolled=new c.c(Ye=>this.ngZone.runOutsideAngular(()=>(0,b.R)(this.elementRef.nativeElement,"scroll").pipe((0,a.Q)(this._destroyed)).subscribe(Ye)))}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(K){const le=this.elementRef.nativeElement,ue=this.dir&&"rtl"==this.dir.value;null==K.left&&(K.left=ue?K.end:K.start),null==K.right&&(K.right=ue?K.start:K.end),null!=K.bottom&&(K.top=le.scrollHeight-le.clientHeight-K.bottom),ue&&(0,r.BD)()!=r.r5.NORMAL?(null!=K.left&&(K.right=le.scrollWidth-le.clientWidth-K.left),(0,r.BD)()==r.r5.INVERTED?K.left=K.right:(0,r.BD)()==r.r5.NEGATED&&(K.left=K.right?-K.right:K.right)):null!=K.right&&(K.left=le.scrollWidth-le.clientWidth-K.right),this._applyScrollToOptions(K)}_applyScrollToOptions(K){const le=this.elementRef.nativeElement;(0,r.CZ)()?le.scrollTo(K):(null!=K.top&&(le.scrollTop=K.top),null!=K.left&&(le.scrollLeft=K.left))}measureScrollOffset(K){const le="left",ve=this.elementRef.nativeElement;if("top"==K)return ve.scrollTop;if("bottom"==K)return ve.scrollHeight-ve.clientHeight-ve.scrollTop;const Ye=this.dir&&"rtl"==this.dir.value;return"start"==K?K=Ye?"right":le:"end"==K&&(K=Ye?le:"right"),Ye&&(0,r.BD)()==r.r5.INVERTED?K==le?ve.scrollWidth-ve.clientWidth-ve.scrollLeft:ve.scrollLeft:Ye&&(0,r.BD)()==r.r5.NEGATED?K==le?ve.scrollLeft+ve.scrollWidth-ve.clientWidth:-ve.scrollLeft:K==le?ve.scrollLeft:ve.scrollWidth-ve.clientWidth-ve.scrollLeft}static#e=this.\u0275fac=function(le){return new(le||V)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(D),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(h.dS,8))};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:V,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return V})(),F=(()=>{class V{constructor(K,le,ue){this._platform=K,this._change=new C.B,this._changeListener=ve=>{this._change.next(ve)},this._document=ue,le.runOutsideAngular(()=>{if(K.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 K=this._getWindow();K.removeEventListener("resize",this._changeListener),K.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const K={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),K}getViewportRect(){const K=this.getViewportScrollPosition(),{width:le,height:ue}=this.getViewportSize();return{top:K.top,left:K.left,bottom:K.top+ue,right:K.left+le,height:ue,width:le}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const K=this._document,le=this._getWindow(),ue=K.documentElement,ve=ue.getBoundingClientRect();return{top:-ve.top||K.body.scrollTop||le.scrollY||ue.scrollTop||0,left:-ve.left||K.body.scrollLeft||le.scrollX||ue.scrollLeft||0}}change(K=20){return K>0?this._change.pipe((0,d.Z)(K)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const K=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:K.innerWidth,height:K.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(le){return new(le||V)(v.\u0275\u0275inject(r.OD),v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(u.DOCUMENT,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:V,factory:V.\u0275fac,providedIn:"root"})}return V})(),j=(()=>{class V{static#e=this.\u0275fac=function(le){return new(le||V)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:V});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({})}return V})(),G=(()=>{class V{static#e=this.\u0275fac=function(le){return new(le||V)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:V});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({imports:[h.jI,j,h.jI,j]})}return V})()},177:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{APP_BASE_HREF:()=>p,AsyncPipe:()=>Fi,BrowserPlatformLocation:()=>l,CommonModule:()=>ds,CurrencyPipe:()=>ns,DATE_PIPE_DEFAULT_OPTIONS:()=>Xi,DATE_PIPE_DEFAULT_TIMEZONE:()=>Vi,DOCUMENT:()=>s,DatePipe:()=>Wi,DecimalPipe:()=>Br,FormStyle:()=>S,FormatWidth:()=>N,HashLocationStrategy:()=>y,I18nPluralPipe:()=>Hr,I18nSelectPipe:()=>Sr,IMAGE_CONFIG:()=>t.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>Wr,JsonPipe:()=>wr,KeyValuePipe:()=>Ar,LOCATION_INITIALIZED:()=>d,Location:()=>M,LocationStrategy:()=>h,LowerCasePipe:()=>Un,NgClass:()=>wt,NgComponentOutlet:()=>Ie,NgFor:()=>he,NgForOf:()=>he,NgForOfContext:()=>z,NgIf:()=>xt,NgIfContext:()=>cn,NgLocaleLocalization:()=>sn,NgLocalization:()=>at,NgOptimizedImage:()=>$s,NgPlural:()=>_i,NgPluralCase:()=>mi,NgStyle:()=>Hi,NgSwitch:()=>Tn,NgSwitchCase:()=>ti,NgSwitchDefault:()=>Qi,NgTemplateOutlet:()=>On,NumberFormatStyle:()=>T,NumberSymbol:()=>A,PRECONNECT_CHECK_BLOCKLIST:()=>Ss,PathLocationStrategy:()=>_,PercentPipe:()=>mr,PlatformLocation:()=>f,Plural:()=>F,SlicePipe:()=>Bn,TitleCasePipe:()=>Dn,TranslationWidth:()=>R,UpperCasePipe:()=>Rn,VERSION:()=>on,ViewportScroller:()=>pn,WeekDay:()=>U,XhrFactory:()=>xi,formatCurrency:()=>yn,formatDate:()=>Mt,formatNumber:()=>Ri,formatPercent:()=>Ln,getCurrencySymbol:()=>q,getLocaleCurrencyCode:()=>ct,getLocaleCurrencyName:()=>mt,getLocaleCurrencySymbol:()=>Ye,getLocaleDateFormat:()=>W,getLocaleDateTimeFormat:()=>le,getLocaleDayNames:()=>ie,getLocaleDayPeriods:()=>ee,getLocaleDirection:()=>Fe,getLocaleEraNames:()=>j,getLocaleExtraDayPeriodRules:()=>me,getLocaleExtraDayPeriods:()=>We,getLocaleFirstDayOfWeek:()=>G,getLocaleId:()=>Y,getLocaleMonthNames:()=>$,getLocaleNumberFormat:()=>ve,getLocaleNumberSymbol:()=>ue,getLocalePluralCase:()=>Pe,getLocaleTimeFormat:()=>K,getLocaleWeekEndRange:()=>V,getNumberOfCurrencyDigits:()=>Oe,isPlatformBrowser:()=>St,isPlatformServer:()=>Ot,isPlatformWorkerApp:()=>jt,isPlatformWorkerUi:()=>Gt,provideCloudflareLoader:()=>Ji,provideCloudinaryLoader:()=>Yr,provideImageKitLoader:()=>be,provideImgixLoader:()=>xn,provideNetlifyLoader:()=>kr,registerLocaleData:()=>Le,\u0275DomAdapter:()=>c,\u0275NullViewportScroller:()=>$n,\u0275PLATFORM_BROWSER_ID:()=>br,\u0275PLATFORM_SERVER_ID:()=>ys,\u0275PLATFORM_WORKER_APP_ID:()=>Dt,\u0275PLATFORM_WORKER_UI_ID:()=>bt,\u0275PlatformNavigation:()=>b,\u0275getDOM:()=>C,\u0275normalizeQueryParams:()=>u,\u0275parseCookieValue:()=>ut,\u0275setRootDomAdapter:()=>E});var t=g(4438);let v=null;function C(){return v}function E(X){v??=X}class c{}let b=(()=>{class X{static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:X,factory:()=>window.navigation,providedIn:"platform"})}return X})();const s=new t.InjectionToken("");let f=(()=>{class X{historyGo(oe){throw new Error("")}static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:X,factory:()=>(0,t.inject)(l),providedIn:"platform"})}return X})();const d=new t.InjectionToken("");let l=(()=>{class X 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,lt){this._history.pushState(oe,ye,lt)}replaceState(oe,ye,lt){this._history.replaceState(oe,ye,lt)}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||X)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:X,factory:()=>new X,providedIn:"platform"})}return X})();function a(X,Ne){if(0==X.length)return Ne;if(0==Ne.length)return X;let oe=0;return X.endsWith("/")&&oe++,Ne.startsWith("/")&&oe++,2==oe?X+Ne.substring(1):1==oe?X+Ne:X+"/"+Ne}function r(X){const Ne=X.match(/#|\?|$/),oe=Ne&&Ne.index||X.length;return X.slice(0,oe-("/"===X[oe-1]?1:0))+X.slice(oe)}function u(X){return X&&"?"!==X[0]?"?"+X:X}let h=(()=>{class X{historyGo(oe){throw new Error("")}static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:X,factory:()=>(0,t.inject)(_),providedIn:"root"})}return X})();const p=new t.InjectionToken("");let _=(()=>{class X 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),lt=this._platformLocation.hash;return lt&&oe?`${ye}${lt}`:ye}pushState(oe,ye,lt,$t){const Jt=this.prepareExternalUrl(lt+u($t));this._platformLocation.pushState(oe,ye,Jt)}replaceState(oe,ye,lt,$t){const Jt=this.prepareExternalUrl(lt+u($t));this._platformLocation.replaceState(oe,ye,Jt)}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||X)(t.\u0275\u0275inject(f),t.\u0275\u0275inject(p,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})(),y=(()=>{class X 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,lt,$t){let Jt=this.prepareExternalUrl(lt+u($t));0==Jt.length&&(Jt=this._platformLocation.pathname),this._platformLocation.pushState(oe,ye,Jt)}replaceState(oe,ye,lt,$t){let Jt=this.prepareExternalUrl(lt+u($t));0==Jt.length&&(Jt=this._platformLocation.pathname),this._platformLocation.replaceState(oe,ye,Jt)}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||X)(t.\u0275\u0275inject(f),t.\u0275\u0275inject(p,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac})}return X})(),M=(()=>{class X{constructor(oe){this._subject=new t.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=oe;const ye=this._locationStrategy.getBaseHref();this._basePath=function D(X){if(new RegExp("^(https?:)?//").test(X)){const[,oe]=X.split(/\/\/[^\/]+/);return oe}return X}(r(I(ye))),this._locationStrategy.onPopState(lt=>{this._subject.emit({url:this.path(!0),pop:!0,state:lt.state,type:lt.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 X.stripTrailingSlash(function k(X,Ne){if(!X||!Ne.startsWith(X))return Ne;const oe=Ne.substring(X.length);return""===oe||["/",";","?","#"].includes(oe[0])?oe:Ne}(this._basePath,I(oe)))}prepareExternalUrl(oe){return oe&&"/"!==oe[0]&&(oe="/"+oe),this._locationStrategy.prepareExternalUrl(oe)}go(oe,ye="",lt=null){this._locationStrategy.pushState(lt,"",oe,ye),this._notifyUrlChangeListeners(this.prepareExternalUrl(oe+u(ye)),lt)}replaceState(oe,ye="",lt=null){this._locationStrategy.replaceState(lt,"",oe,ye),this._notifyUrlChangeListeners(this.prepareExternalUrl(oe+u(ye)),lt)}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(lt=>lt(oe,ye))}subscribe(oe,ye,lt){return this._subject.subscribe({next:oe,error:ye,complete:lt})}static#e=this.normalizeQueryParams=u;static#t=this.joinWithSlash=a;static#n=this.stripTrailingSlash=r;static#i=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275inject(h))};static#r=this.\u0275prov=t.\u0275\u0275defineInjectable({token:X,factory:()=>function w(){return new M((0,t.\u0275\u0275inject)(h))}(),providedIn:"root"})}return X})();function I(X){return X.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(X){return X[X.Decimal=0]="Decimal",X[X.Percent=1]="Percent",X[X.Currency=2]="Currency",X[X.Scientific=3]="Scientific",X}(T||{}),F=function(X){return X[X.Zero=0]="Zero",X[X.One=1]="One",X[X.Two=2]="Two",X[X.Few=3]="Few",X[X.Many=4]="Many",X[X.Other=5]="Other",X}(F||{}),S=function(X){return X[X.Format=0]="Format",X[X.Standalone=1]="Standalone",X}(S||{}),R=function(X){return X[X.Narrow=0]="Narrow",X[X.Abbreviated=1]="Abbreviated",X[X.Wide=2]="Wide",X[X.Short=3]="Short",X}(R||{}),N=function(X){return X[X.Short=0]="Short",X[X.Medium=1]="Medium",X[X.Long=2]="Long",X[X.Full=3]="Full",X}(N||{});const A={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};var U=function(X){return X[X.Sunday=0]="Sunday",X[X.Monday=1]="Monday",X[X.Tuesday=2]="Tuesday",X[X.Wednesday=3]="Wednesday",X[X.Thursday=4]="Thursday",X[X.Friday=5]="Friday",X[X.Saturday=6]="Saturday",X}(U||{});function Y(X){return(0,t.\u0275findLocaleData)(X)[t.\u0275LocaleDataIndex.LocaleId]}function ee(X,Ne,oe){const ye=(0,t.\u0275findLocaleData)(X),$t=xe([ye[t.\u0275LocaleDataIndex.DayPeriodsFormat],ye[t.\u0275LocaleDataIndex.DayPeriodsStandalone]],Ne);return xe($t,oe)}function ie(X,Ne,oe){const ye=(0,t.\u0275findLocaleData)(X),$t=xe([ye[t.\u0275LocaleDataIndex.DaysFormat],ye[t.\u0275LocaleDataIndex.DaysStandalone]],Ne);return xe($t,oe)}function $(X,Ne,oe){const ye=(0,t.\u0275findLocaleData)(X),$t=xe([ye[t.\u0275LocaleDataIndex.MonthsFormat],ye[t.\u0275LocaleDataIndex.MonthsStandalone]],Ne);return xe($t,oe)}function j(X,Ne){return xe((0,t.\u0275findLocaleData)(X)[t.\u0275LocaleDataIndex.Eras],Ne)}function G(X){return(0,t.\u0275findLocaleData)(X)[t.\u0275LocaleDataIndex.FirstDayOfWeek]}function V(X){return(0,t.\u0275findLocaleData)(X)[t.\u0275LocaleDataIndex.WeekendRange]}function W(X,Ne){return xe((0,t.\u0275findLocaleData)(X)[t.\u0275LocaleDataIndex.DateFormat],Ne)}function K(X,Ne){return xe((0,t.\u0275findLocaleData)(X)[t.\u0275LocaleDataIndex.TimeFormat],Ne)}function le(X,Ne){return xe((0,t.\u0275findLocaleData)(X)[t.\u0275LocaleDataIndex.DateTimeFormat],Ne)}function ue(X,Ne){const oe=(0,t.\u0275findLocaleData)(X),ye=oe[t.\u0275LocaleDataIndex.NumberSymbols][Ne];if(typeof ye>"u"){if(Ne===A.CurrencyDecimal)return oe[t.\u0275LocaleDataIndex.NumberSymbols][A.Decimal];if(Ne===A.CurrencyGroup)return oe[t.\u0275LocaleDataIndex.NumberSymbols][A.Group]}return ye}function ve(X,Ne){return(0,t.\u0275findLocaleData)(X)[t.\u0275LocaleDataIndex.NumberFormats][Ne]}function Ye(X){return(0,t.\u0275findLocaleData)(X)[t.\u0275LocaleDataIndex.CurrencySymbol]||null}function mt(X){return(0,t.\u0275findLocaleData)(X)[t.\u0275LocaleDataIndex.CurrencyName]||null}function ct(X){return(0,t.\u0275getLocaleCurrencyCode)(X)}const Pe=t.\u0275getLocalePluralCase;function Ae(X){if(!X[t.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${X[t.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function me(X){const Ne=(0,t.\u0275findLocaleData)(X);return Ae(Ne),(Ne[t.\u0275LocaleDataIndex.ExtraData][2]||[]).map(ye=>"string"==typeof ye?$e(ye):[$e(ye[0]),$e(ye[1])])}function We(X,Ne,oe){const ye=(0,t.\u0275findLocaleData)(X);Ae(ye);const $t=xe([ye[t.\u0275LocaleDataIndex.ExtraData][0],ye[t.\u0275LocaleDataIndex.ExtraData][1]],Ne)||[];return xe($t,oe)||[]}function Fe(X){return(0,t.\u0275findLocaleData)(X)[t.\u0275LocaleDataIndex.Directionality]}function xe(X,Ne){for(let oe=Ne;oe>-1;oe--)if(typeof X[oe]<"u")return X[oe];throw new Error("Locale data API: locale data undefined")}function $e(X){const[Ne,oe]=X.split(":");return{hours:+Ne,minutes:+oe}}function q(X,Ne,oe="en"){const ye=function Ct(X){return(0,t.\u0275findLocaleData)(X)[t.\u0275LocaleDataIndex.Currencies]}(oe)[X]||O[X]||[],lt=ye[1];return"narrow"===Ne&&"string"==typeof lt?lt:ye[0]||X}const ge=2;function Oe(X){let Ne;const oe=O[X];return oe&&(Ne=oe[2]),"number"==typeof Ne?Ne:ge}const vt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,it={},we=/((?:[^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 Ge=function(X){return X[X.Short=0]="Short",X[X.ShortGMT=1]="ShortGMT",X[X.Long=2]="Long",X[X.Extended=3]="Extended",X}(Ge||{}),Me=function(X){return X[X.FullYear=0]="FullYear",X[X.Month=1]="Month",X[X.Date=2]="Date",X[X.Hours=3]="Hours",X[X.Minutes=4]="Minutes",X[X.Seconds=5]="Seconds",X[X.FractionalSeconds=6]="FractionalSeconds",X[X.Day=7]="Day",X}(Me||{}),rt=function(X){return X[X.DayPeriods=0]="DayPeriods",X[X.Days=1]="Days",X[X.Months=2]="Months",X[X.Eras=3]="Eras",X}(rt||{});function Mt(X,Ne,oe,ye){let lt=function tt(X){if(Kt(X))return X;if("number"==typeof X&&!isNaN(X))return new Date(X);if("string"==typeof X){if(X=X.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(X)){const[lt,$t=1,Jt=1]=X.split("-").map(wn=>+wn);return zt(lt,$t-1,Jt)}const oe=parseFloat(X);if(!isNaN(X-oe))return new Date(oe);let ye;if(ye=X.match(vt))return function It(X){const Ne=new Date(0);let oe=0,ye=0;const lt=X[8]?Ne.setUTCFullYear:Ne.setFullYear,$t=X[8]?Ne.setUTCHours:Ne.setHours;X[9]&&(oe=Number(X[9]+X[10]),ye=Number(X[9]+X[11])),lt.call(Ne,Number(X[1]),Number(X[2])-1,Number(X[3]));const Jt=Number(X[4]||0)-oe,wn=Number(X[5]||0)-ye,Ci=Number(X[6]||0),ai=Math.floor(1e3*parseFloat("0."+(X[7]||0)));return $t.call(Ne,Jt,wn,Ci,ai),Ne}(ye)}const Ne=new Date(X);if(!Kt(Ne))throw new Error(`Unable to convert "${X}" into a date`);return Ne}(X);Ne=Xt(oe,Ne)||Ne;let wn,Jt=[];for(;Ne;){if(wn=we.exec(Ne),!wn){Jt.push(Ne);break}{Jt=Jt.concat(wn.slice(1));const Ai=Jt.pop();if(!Ai)break;Ne=Ai}}let Ci=lt.getTimezoneOffset();ye&&(Ci=te(ye,Ci),lt=function Se(X,Ne,oe){const ye=oe?-1:1,lt=X.getTimezoneOffset();return function de(X,Ne){return(X=new Date(X.getTime())).setMinutes(X.getMinutes()+Ne),X}(X,ye*(te(Ne,lt)-lt))}(lt,ye,!0));let ai="";return Jt.forEach(Ai=>{const ri=function Ke(X){if(pe[X])return pe[X];let Ne;switch(X){case"G":case"GG":case"GGG":Ne=Pt(rt.Eras,R.Abbreviated);break;case"GGGG":Ne=Pt(rt.Eras,R.Wide);break;case"GGGGG":Ne=Pt(rt.Eras,R.Narrow);break;case"y":Ne=rn(Me.FullYear,1,0,!1,!0);break;case"yy":Ne=rn(Me.FullYear,2,0,!0,!0);break;case"yyy":Ne=rn(Me.FullYear,3,0,!1,!0);break;case"yyyy":Ne=rn(Me.FullYear,4,0,!1,!0);break;case"Y":Ne=Re(1);break;case"YY":Ne=Re(2,!0);break;case"YYY":Ne=Re(3);break;case"YYYY":Ne=Re(4);break;case"M":case"L":Ne=rn(Me.Month,1,1);break;case"MM":case"LL":Ne=rn(Me.Month,2,1);break;case"MMM":Ne=Pt(rt.Months,R.Abbreviated);break;case"MMMM":Ne=Pt(rt.Months,R.Wide);break;case"MMMMM":Ne=Pt(rt.Months,R.Narrow);break;case"LLL":Ne=Pt(rt.Months,R.Abbreviated,S.Standalone);break;case"LLLL":Ne=Pt(rt.Months,R.Wide,S.Standalone);break;case"LLLLL":Ne=Pt(rt.Months,R.Narrow,S.Standalone);break;case"w":Ne=ft(1);break;case"ww":Ne=ft(2);break;case"W":Ne=ft(1,!0);break;case"d":Ne=rn(Me.Date,1);break;case"dd":Ne=rn(Me.Date,2);break;case"c":case"cc":Ne=rn(Me.Day,1);break;case"ccc":Ne=Pt(rt.Days,R.Abbreviated,S.Standalone);break;case"cccc":Ne=Pt(rt.Days,R.Wide,S.Standalone);break;case"ccccc":Ne=Pt(rt.Days,R.Narrow,S.Standalone);break;case"cccccc":Ne=Pt(rt.Days,R.Short,S.Standalone);break;case"E":case"EE":case"EEE":Ne=Pt(rt.Days,R.Abbreviated);break;case"EEEE":Ne=Pt(rt.Days,R.Wide);break;case"EEEEE":Ne=Pt(rt.Days,R.Narrow);break;case"EEEEEE":Ne=Pt(rt.Days,R.Short);break;case"a":case"aa":case"aaa":Ne=Pt(rt.DayPeriods,R.Abbreviated);break;case"aaaa":Ne=Pt(rt.DayPeriods,R.Wide);break;case"aaaaa":Ne=Pt(rt.DayPeriods,R.Narrow);break;case"b":case"bb":case"bbb":Ne=Pt(rt.DayPeriods,R.Abbreviated,S.Standalone,!0);break;case"bbbb":Ne=Pt(rt.DayPeriods,R.Wide,S.Standalone,!0);break;case"bbbbb":Ne=Pt(rt.DayPeriods,R.Narrow,S.Standalone,!0);break;case"B":case"BB":case"BBB":Ne=Pt(rt.DayPeriods,R.Abbreviated,S.Format,!0);break;case"BBBB":Ne=Pt(rt.DayPeriods,R.Wide,S.Format,!0);break;case"BBBBB":Ne=Pt(rt.DayPeriods,R.Narrow,S.Format,!0);break;case"h":Ne=rn(Me.Hours,1,-12);break;case"hh":Ne=rn(Me.Hours,2,-12);break;case"H":Ne=rn(Me.Hours,1);break;case"HH":Ne=rn(Me.Hours,2);break;case"m":Ne=rn(Me.Minutes,1);break;case"mm":Ne=rn(Me.Minutes,2);break;case"s":Ne=rn(Me.Seconds,1);break;case"ss":Ne=rn(Me.Seconds,2);break;case"S":Ne=rn(Me.FractionalSeconds,1);break;case"SS":Ne=rn(Me.FractionalSeconds,2);break;case"SSS":Ne=rn(Me.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ne=_e(Ge.Short);break;case"ZZZZZ":Ne=_e(Ge.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ne=_e(Ge.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ne=_e(Ge.Long);break;default:return null}return pe[X]=Ne,Ne}(Ai);ai+=ri?ri(lt,oe,Ci):"''"===Ai?"'":Ai.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ai}function zt(X,Ne,oe){const ye=new Date(0);return ye.setFullYear(X,Ne,oe),ye.setHours(0,0,0),ye}function Xt(X,Ne){const oe=Y(X);if(it[oe]??={},it[oe][Ne])return it[oe][Ne];let ye="";switch(Ne){case"shortDate":ye=W(X,N.Short);break;case"mediumDate":ye=W(X,N.Medium);break;case"longDate":ye=W(X,N.Long);break;case"fullDate":ye=W(X,N.Full);break;case"shortTime":ye=K(X,N.Short);break;case"mediumTime":ye=K(X,N.Medium);break;case"longTime":ye=K(X,N.Long);break;case"fullTime":ye=K(X,N.Full);break;case"short":const lt=Xt(X,"shortTime"),$t=Xt(X,"shortDate");ye=dn(le(X,N.Short),[lt,$t]);break;case"medium":const Jt=Xt(X,"mediumTime"),wn=Xt(X,"mediumDate");ye=dn(le(X,N.Medium),[Jt,wn]);break;case"long":const Ci=Xt(X,"longTime"),ai=Xt(X,"longDate");ye=dn(le(X,N.Long),[Ci,ai]);break;case"full":const Ai=Xt(X,"fullTime"),ri=Xt(X,"fullDate");ye=dn(le(X,N.Full),[Ai,ri])}return ye&&(it[oe][Ne]=ye),ye}function dn(X,Ne){return Ne&&(X=X.replace(/\{([^}]+)}/g,function(oe,ye){return null!=Ne&&ye in Ne?Ne[ye]:oe})),X}function hn(X,Ne,oe="-",ye,lt){let $t="";(X<0||lt&&X<=0)&&(lt?X=1-X:(X=-X,$t=oe));let Jt=String(X);for(;Jt.length0||wn>-oe)&&(wn+=oe),X===Me.Hours)0===wn&&-12===oe&&(wn=12);else if(X===Me.FractionalSeconds)return function un(X,Ne){return hn(X,3).substring(0,Ne)}(wn,Ne);const Ci=ue(Jt,A.MinusSign);return hn(wn,Ne,Ci,ye,lt)}}function Pt(X,Ne,oe=S.Format,ye=!1){return function(lt,$t){return function Vt(X,Ne,oe,ye,lt,$t){switch(oe){case rt.Months:return $(Ne,lt,ye)[X.getMonth()];case rt.Days:return ie(Ne,lt,ye)[X.getDay()];case rt.DayPeriods:const Jt=X.getHours(),wn=X.getMinutes();if($t){const ai=me(Ne),Ai=We(Ne,lt,ye),ri=ai.findIndex(ki=>{if(Array.isArray(ki)){const[Di,er]=ki,Nr=Jt>=Di.hours&&wn>=Di.minutes,xr=Jt0?Math.floor(lt/60):Math.ceil(lt/60);switch(X){case Ge.Short:return(lt>=0?"+":"")+hn(Jt,2,$t)+hn(Math.abs(lt%60),2,$t);case Ge.ShortGMT:return"GMT"+(lt>=0?"+":"")+hn(Jt,1,$t);case Ge.Long:return"GMT"+(lt>=0?"+":"")+hn(Jt,2,$t)+":"+hn(Math.abs(lt%60),2,$t);case Ge.Extended:return 0===ye?"Z":(lt>=0?"+":"")+hn(Jt,2,$t)+":"+hn(Math.abs(lt%60),2,$t);default:throw new Error(`Unknown zone width "${X}"`)}}}const Ze=0,Qe=4;function et(X){const Ne=X.getDay(),oe=0===Ne?-3:Qe-Ne;return zt(X.getFullYear(),X.getMonth(),X.getDate()+oe)}function ft(X,Ne=!1){return function(oe,ye){let lt;if(Ne){const $t=new Date(oe.getFullYear(),oe.getMonth(),1).getDay()-1,Jt=oe.getDate();lt=1+Math.floor((Jt+$t)/7)}else{const $t=et(oe),Jt=function Rt(X){const Ne=zt(X,Ze,1).getDay();return zt(X,0,1+(Ne<=Qe?Qe:Qe+7)-Ne)}($t.getFullYear()),wn=$t.getTime()-Jt.getTime();lt=1+Math.round(wn/6048e5)}return hn(lt,X,ue(ye,A.MinusSign))}}function Re(X,Ne=!1){return function(oe,ye){return hn(et(oe).getFullYear(),X,ue(ye,A.MinusSign),Ne)}}const pe={};function te(X,Ne){X=X.replace(/:/g,"");const oe=Date.parse("Jan 01, 1970 00:00:00 "+X)/6e4;return isNaN(oe)?Ne:oe}function Kt(X){return X instanceof Date&&!isNaN(X.valueOf())}const ln=/^(\d+)?\.((\d+)(-(\d+))?)?$/,_t=22,Nt=".",Je="0",Ue=";",nt=",",He="#",dt="\xa4",At="%";function en(X,Ne,oe,ye,lt,$t,Jt=!1){let wn="",Ci=!1;if(isFinite(X)){let ai=function st(X){let ye,lt,$t,Jt,wn,Ne=Math.abs(X)+"",oe=0;for((lt=Ne.indexOf(Nt))>-1&&(Ne=Ne.replace(Nt,"")),($t=Ne.search(/e/i))>0?(lt<0&&(lt=$t),lt+=+Ne.slice($t+1),Ne=Ne.substring(0,$t)):lt<0&&(lt=Ne.length),$t=0;Ne.charAt($t)===Je;$t++);if($t===(wn=Ne.length))ye=[0],lt=1;else{for(wn--;Ne.charAt(wn)===Je;)wn--;for(lt-=$t,ye=[],Jt=0;$t<=wn;$t++,Jt++)ye[Jt]=Number(Ne.charAt($t))}return lt>_t&&(ye=ye.splice(0,_t-1),oe=lt-1,lt=1),{digits:ye,exponent:oe,integerLen:lt}}(X);Jt&&(ai=function Vn(X){if(0===X.digits[0])return X;const Ne=X.digits.length-X.integerLen;return X.exponent?X.exponent+=2:(0===Ne?X.digits.push(0,0):1===Ne&&X.digits.push(0),X.integerLen+=2),X}(ai));let Ai=Ne.minInt,ri=Ne.minFrac,ki=Ne.maxFrac;if($t){const mn=$t.match(ln);if(null===mn)throw new Error(`${$t} is not a valid digit info`);const kn=mn[1],Ti=mn[3],dr=mn[5];null!=kn&&(Ai=Be(kn)),null!=Ti&&(ri=Be(Ti)),null!=dr?ki=Be(dr):null!=Ti&&ri>ki&&(ki=ri)}!function qt(X,Ne,oe){if(Ne>oe)throw new Error(`The minimum number of digits after fraction (${Ne}) is higher than the maximum (${oe}).`);let ye=X.digits,lt=ye.length-X.integerLen;const $t=Math.min(Math.max(Ne,lt),oe);let Jt=$t+X.integerLen,wn=ye[Jt];if(Jt>0){ye.splice(Math.max(X.integerLen,Jt));for(let ri=Jt;ri=5)if(Jt-1<0){for(let ri=0;ri>Jt;ri--)ye.unshift(0),X.integerLen++;ye.unshift(1),X.integerLen++}else ye[Jt-1]++;for(;lt=ai?er.pop():Ci=!1),ki>=10?1:0},0);Ai&&(ye.unshift(Ai),X.integerLen++)}(ai,ri,ki);let Di=ai.digits,er=ai.integerLen;const Nr=ai.exponent;let xr=[];for(Ci=Di.every(mn=>!mn);er0?xr=Di.splice(er,Di.length):(xr=Di,Di=[0]);const Ii=[];for(Di.length>=Ne.lgSize&&Ii.unshift(Di.splice(-Ne.lgSize,Di.length).join(""));Di.length>Ne.gSize;)Ii.unshift(Di.splice(-Ne.gSize,Di.length).join(""));Di.length&&Ii.unshift(Di.join("")),wn=Ii.join(ue(oe,ye)),xr.length&&(wn+=ue(oe,lt)+xr.join("")),Nr&&(wn+=ue(oe,A.Exponential)+"+"+Nr)}else wn=ue(oe,A.Infinity);return wn=X<0&&!Ci?Ne.negPre+wn+Ne.negSuf:Ne.posPre+wn+Ne.posSuf,wn}function yn(X,Ne,oe,ye,lt){const Jt=Ei(ve(Ne,T.Currency),ue(Ne,A.MinusSign));return Jt.minFrac=Oe(ye),Jt.maxFrac=Jt.minFrac,en(X,Jt,Ne,A.CurrencyGroup,A.CurrencyDecimal,lt).replace(dt,oe).replace(dt,"").trim()}function Ln(X,Ne,oe){return en(X,Ei(ve(Ne,T.Percent),ue(Ne,A.MinusSign)),Ne,A.Group,A.Decimal,oe,!0).replace(new RegExp(At,"g"),ue(Ne,A.PercentSign))}function Ri(X,Ne,oe){return en(X,Ei(ve(Ne,T.Decimal),ue(Ne,A.MinusSign)),Ne,A.Group,A.Decimal,oe)}function Ei(X,Ne="-"){const oe={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ye=X.split(Ue),lt=ye[0],$t=ye[1],Jt=-1!==lt.indexOf(Nt)?lt.split(Nt):[lt.substring(0,lt.lastIndexOf(Je)+1),lt.substring(lt.lastIndexOf(Je)+1)],wn=Jt[0],Ci=Jt[1]||"";oe.posPre=wn.substring(0,wn.indexOf(He));for(let Ai=0;Ai{class X{static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:X,factory:function(ye){let lt=null;return ye?lt=new ye:($t=t.\u0275\u0275inject(t.LOCALE_ID),lt=new sn($t)),lt;var $t},providedIn:"root"})}return X})();function Et(X,Ne,oe,ye){let lt=`=${X}`;if(Ne.indexOf(lt)>-1||(lt=oe.getPluralCategory(X,ye),Ne.indexOf(lt)>-1))return lt;if(Ne.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${X}"`)}let sn=(()=>{class X extends at{constructor(oe){super(),this.locale=oe}getPluralCategory(oe,ye){switch(Pe(ye||this.locale)(oe)){case F.Zero:return"zero";case F.One:return"one";case F.Two:return"two";case F.Few:return"few";case F.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275inject(t.LOCALE_ID))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac})}return X})();function Le(X,Ne,oe){return(0,t.\u0275registerLocaleData)(X,Ne,oe)}function ut(X,Ne){Ne=encodeURIComponent(Ne);for(const oe of X.split(";")){const ye=oe.indexOf("="),[lt,$t]=-1==ye?[oe,""]:[oe.slice(0,ye),oe.slice(ye+1)];if(lt.trim()===Ne)return decodeURIComponent($t)}return null}const ot=/\s+/,pt=[];let wt=(()=>{class X{constructor(oe,ye){this._ngEl=oe,this._renderer=ye,this.initialClasses=pt,this.stateMap=new Map}set klass(oe){this.initialClasses=null!=oe?oe.trim().split(ot):pt}set ngClass(oe){this.rawClass="string"==typeof oe?oe.trim().split(ot):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 lt=this.stateMap.get(oe);void 0!==lt?(lt.enabled!==ye&&(lt.changed=!0,lt.enabled=ye),lt.touched=!0):this.stateMap.set(oe,{enabled:ye,changed:!0,touched:!0})}_applyStateDiff(){for(const oe of this.stateMap){const ye=oe[0],lt=oe[1];lt.changed?(this._toggleClass(ye,lt.enabled),lt.changed=!1):lt.touched||(lt.enabled&&this._toggleClass(ye,!1),this.stateMap.delete(ye)),lt.touched=!1}}_toggleClass(oe,ye){(oe=oe.trim()).length>0&&oe.split(ot).forEach(lt=>{ye?this._renderer.addClass(this._ngEl.nativeElement,lt):this._renderer.removeClass(this._ngEl.nativeElement,lt)})}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.Renderer2))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:X,selectors:[["","ngClass",""]],inputs:{klass:[t.\u0275\u0275InputFlags.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return X})(),Ie=(()=>{class X{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,Tt(ye)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Tt(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,lt]of this._inputsUsed)lt?(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||X)(t.\u0275\u0275directiveInject(t.ViewContainerRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:X,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return X})();function Tt(X){return X.get(t.NgModuleRef).injector}class z{constructor(Ne,oe,ye,lt){this.$implicit=Ne,this.ngForOf=oe,this.index=ye,this.count=lt}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 X{set ngForOf(oe){this._ngForOf=oe,this._ngForOfDirty=!0}set ngForTrackBy(oe){this._trackByFn=oe}get ngForTrackBy(){return this._trackByFn}constructor(oe,ye,lt){this._viewContainer=oe,this._template=ye,this._differs=lt,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((lt,$t,Jt)=>{if(null==lt.previousIndex)ye.createEmbeddedView(this._template,new z(lt.item,this._ngForOf,-1,-1),null===Jt?void 0:Jt);else if(null==Jt)ye.remove(null===$t?void 0:$t);else if(null!==$t){const wn=ye.get($t);ye.move(wn,Jt),ce(wn,lt)}});for(let lt=0,$t=ye.length;lt<$t;lt++){const wn=ye.get(lt).context;wn.index=lt,wn.count=$t,wn.ngForOf=this._ngForOf}oe.forEachIdentityChange(lt=>{ce(ye.get(lt.currentIndex),lt)})}static ngTemplateContextGuard(oe,ye){return!0}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:X,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return X})();function ce(X,Ne){X.context.$implicit=Ne.item}let xt=(()=>{class X{constructor(oe,ye){this._viewContainer=oe,this._context=new cn,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){hi("ngIfThen",oe),this._thenTemplateRef=oe,this._thenViewRef=null,this._updateView()}set ngIfElse(oe){hi("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||X)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:X,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return X})();class cn{constructor(){this.$implicit=null,this.ngIf=null}}function hi(X,Ne){if(Ne&&!Ne.createEmbeddedView)throw new Error(`${X} must be a TemplateRef, but received '${(0,t.\u0275stringify)(Ne)}'.`)}class Fn{constructor(Ne,oe){this._viewContainerRef=Ne,this._templateRef=oe,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ne){Ne&&!this._created?this.create():!Ne&&this._created&&this.destroy()}}let Tn=(()=>{class X{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||X)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:X,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return X})(),ti=(()=>{class X{constructor(oe,ye,lt){this.ngSwitch=lt,lt._addCase(),this._view=new Fn(oe,ye)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(Tn,9))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:X,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return X})(),Qi=(()=>{class X{constructor(oe,ye,lt){lt._addDefault(new Fn(oe,ye))}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(Tn,9))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:X,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return X})(),_i=(()=>{class X{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 lt=Et(oe,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[lt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(oe){oe&&(this._activeView=oe,this._activeView.create())}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275directiveInject(at))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:X,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return X})(),mi=(()=>{class X{constructor(oe,ye,lt,$t){this.value=oe;const Jt=!isNaN(Number(oe));$t.addCase(Jt?`=${oe}`:oe,new Fn(lt,ye))}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275injectAttribute("ngPluralCase"),t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(_i,1))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:X,selectors:[["","ngPluralCase",""]],standalone:!0})}return X})(),Hi=(()=>{class X{constructor(oe,ye,lt){this._ngEl=oe,this._differs=ye,this._renderer=lt,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[lt,$t]=oe.split("."),Jt=-1===lt.indexOf("-")?void 0:t.RendererStyleFlags2.DashCase;null!=ye?this._renderer.setStyle(this._ngEl.nativeElement,lt,$t?`${ye}${$t}`:ye,Jt):this._renderer.removeStyle(this._ngEl.nativeElement,lt,Jt)}_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||X)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.KeyValueDiffers),t.\u0275\u0275directiveInject(t.Renderer2))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:X,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return X})(),On=(()=>{class X{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 lt=this._createContextForwardProxy();this._viewRef=ye.createEmbeddedView(this.ngTemplateOutlet,lt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(oe){return!!oe.ngTemplateOutlet||!!oe.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(oe,ye,lt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ye,lt),get:(oe,ye,lt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ye,lt)}})}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275directiveInject(t.ViewContainerRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:X,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return X})();function Bi(X,Ne){return new t.\u0275RuntimeError(2100,!1)}class Xn{createSubscription(Ne,oe){return(0,t.untracked)(()=>Ne.subscribe({next:oe,error:ye=>{throw ye}}))}dispose(Ne){(0,t.untracked)(()=>Ne.unsubscribe())}}class Qn{createSubscription(Ne,oe){return Ne.then(oe,ye=>{throw ye})}dispose(Ne){}}const ni=new Qn,zi=new Xn;let Fi=(()=>{class X{constructor(oe){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=oe}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(oe){if(!this._obj){if(oe)try{this.markForCheckOnValueUpdate=!1,this._subscribe(oe)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return oe!==this._obj?(this._dispose(),this.transform(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 ni;if((0,t.\u0275isSubscribable)(oe))return zi;throw Bi()}_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.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"async",type:X,pure:!1,standalone:!0})}return X})(),Un=(()=>{class X{transform(oe){if(null==oe)return null;if("string"!=typeof oe)throw Bi();return oe.toLowerCase()}static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"lowercase",type:X,pure:!0,standalone:!0})}return X})();const vn=/(?:[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 Dn=(()=>{class X{transform(oe){if(null==oe)return null;if("string"!=typeof oe)throw Bi();return oe.replace(vn,ye=>ye[0].toUpperCase()+ye.slice(1).toLowerCase())}static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"titlecase",type:X,pure:!0,standalone:!0})}return X})(),Rn=(()=>{class X{transform(oe){if(null==oe)return null;if("string"!=typeof oe)throw Bi();return oe.toUpperCase()}static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"uppercase",type:X,pure:!0,standalone:!0})}return X})();const Vi=new t.InjectionToken(""),Xi=new t.InjectionToken("");let Wi=(()=>{class X{constructor(oe,ye,lt){this.locale=oe,this.defaultTimezone=ye,this.defaultOptions=lt}transform(oe,ye,lt,$t){if(null==oe||""===oe||oe!=oe)return null;try{return Mt(oe,ye??this.defaultOptions?.dateFormat??"mediumDate",$t||this.locale,lt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Jt){throw Bi()}}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275directiveInject(t.LOCALE_ID,16),t.\u0275\u0275directiveInject(Vi,24),t.\u0275\u0275directiveInject(Xi,24))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"date",type:X,pure:!0,standalone:!0})}return X})();const ar=/#/g;let Hr=(()=>{class X{constructor(oe){this._localization=oe}transform(oe,ye,lt){if(null==oe)return"";if("object"!=typeof ye||null===ye)throw Bi();return ye[Et(oe,Object.keys(ye),this._localization,lt)].replace(ar,oe.toString())}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275directiveInject(at,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"i18nPlural",type:X,pure:!0,standalone:!0})}return X})(),Sr=(()=>{class X{transform(oe,ye){if(null==oe)return"";if("object"!=typeof ye||"string"!=typeof oe)throw Bi();return ye.hasOwnProperty(oe)?ye[oe]:ye.hasOwnProperty("other")?ye.other:""}static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"i18nSelect",type:X,pure:!0,standalone:!0})}return X})(),wr=(()=>{class X{transform(oe){return JSON.stringify(oe,null,2)}static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"json",type:X,pure:!1,standalone:!0})}return X})(),Ar=(()=>{class X{constructor(oe){this.differs=oe,this.keyValues=[],this.compareFn=Ur}transform(oe,ye=Ur){if(!oe||!(oe instanceof Map)&&"object"!=typeof oe)return null;this.differ??=this.differs.find(oe).create();const lt=this.differ.diff(oe),$t=ye!==this.compareFn;return lt&&(this.keyValues=[],lt.forEachItem(Jt=>{this.keyValues.push(function bs(X,Ne){return{key:X,value:Ne}}(Jt.key,Jt.currentValue))})),(lt||$t)&&(this.keyValues.sort(ye),this.compareFn=ye),this.keyValues}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275directiveInject(t.KeyValueDiffers,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"keyvalue",type:X,pure:!1,standalone:!0})}return X})();function Ur(X,Ne){const oe=X.key,ye=Ne.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 X{constructor(oe){this._locale=oe}transform(oe,ye,lt){if(!Li(oe))return null;lt||=this._locale;try{return Ri(is(oe),lt,ye)}catch($t){throw Bi()}}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275directiveInject(t.LOCALE_ID,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"number",type:X,pure:!0,standalone:!0})}return X})(),mr=(()=>{class X{constructor(oe){this._locale=oe}transform(oe,ye,lt){if(!Li(oe))return null;lt||=this._locale;try{return Ln(is(oe),lt,ye)}catch($t){throw Bi()}}static#e=this.\u0275fac=function(ye){return new(ye||X)(t.\u0275\u0275directiveInject(t.LOCALE_ID,16))};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"percent",type:X,pure:!0,standalone:!0})}return X})(),ns=(()=>{class X{constructor(oe,ye="USD"){this._locale=oe,this._defaultCurrencyCode=ye}transform(oe,ye=this._defaultCurrencyCode,lt="symbol",$t,Jt){if(!Li(oe))return null;Jt||=this._locale,"boolean"==typeof lt&&(lt=lt?"symbol":"code");let wn=ye||this._defaultCurrencyCode;"code"!==lt&&(wn="symbol"===lt||"symbol-narrow"===lt?q(wn,"symbol"===lt?"wide":"narrow",Jt):lt);try{return yn(is(oe),Jt,wn,ye,$t)}catch(Ci){throw Bi()}}static#e=this.\u0275fac=function(ye){return new(ye||X)(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:X,pure:!0,standalone:!0})}return X})();function Li(X){return!(null==X||""===X||X!=X)}function is(X){if("string"==typeof X&&!isNaN(Number(X)-parseFloat(X)))return Number(X);if("number"!=typeof X)throw new Error(`${X} is not a number`);return X}let Bn=(()=>{class X{transform(oe,ye,lt){if(null==oe)return null;if(!this.supports(oe))throw Bi();return oe.slice(ye,lt)}supports(oe){return"string"==typeof oe||Array.isArray(oe)}static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275pipe=t.\u0275\u0275definePipe({name:"slice",type:X,pure:!1,standalone:!0})}return X})(),ds=(()=>{class X{static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:X});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return X})();const br="browser",ys="server",Dt="browserWorkerApp",bt="browserWorkerUi";function St(X){return X===br}function Ot(X){return X===ys}function jt(X){return X===Dt}function Gt(X){return X===bt}const on=new t.Version("17.3.0");let pn=(()=>{class X{static#e=this.\u0275prov=(0,t.\u0275\u0275defineInjectable)({token:X,providedIn:"root",factory:()=>St((0,t.inject)(t.PLATFORM_ID))?new bn((0,t.inject)(s),window):new $n})}return X})();class bn{constructor(Ne,oe){this.document=Ne,this.window=oe,this.offset=()=>[0,0]}setOffset(Ne){this.offset=Array.isArray(Ne)?()=>Ne:Ne}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ne){this.window.scrollTo(Ne[0],Ne[1])}scrollToAnchor(Ne){const oe=function In(X,Ne){const oe=X.getElementById(Ne)||X.getElementsByName(Ne)[0];if(oe)return oe;if("function"==typeof X.createTreeWalker&&X.body&&"function"==typeof X.body.attachShadow){const ye=X.createTreeWalker(X.body,NodeFilter.SHOW_ELEMENT);let lt=ye.currentNode;for(;lt;){const $t=lt.shadowRoot;if($t){const Jt=$t.getElementById(Ne)||$t.querySelector(`[name="${Ne}"]`);if(Jt)return Jt}lt=ye.nextNode()}}return null}(this.document,Ne);oe&&(this.scrollToElement(oe),oe.focus())}setHistoryScrollRestoration(Ne){this.window.history.scrollRestoration=Ne}scrollToElement(Ne){const oe=Ne.getBoundingClientRect(),ye=oe.left+this.window.pageXOffset,lt=oe.top+this.window.pageYOffset,$t=this.offset();this.window.scrollTo(ye-$t[0],lt-$t[1])}}class $n{setOffset(Ne){}getScrollPosition(){return[0,0]}scrollToPosition(Ne){}scrollToAnchor(Ne){}setHistoryScrollRestoration(Ne){}}class xi{}function Ui(X){return/^https?:\/\//.test(X)}function ii(X){if("string"!=typeof X||""===X.trim())return!1;try{return new URL(X),!0}catch{return!1}}function ur(X){return X.startsWith("/")?X.slice(1):X}const vi=X=>X.src,Wr=new t.InjectionToken("",{providedIn:"root",factory:()=>vi});function Gr(X,Ne){return function(ye){return ii(ye)||function oa(X,Ne){throw new t.\u0275RuntimeError(2959,!1)}(),ye=function li(X){return X.endsWith("/")?X.slice(0,-1):X}(ye),[{provide:Wr,useValue:Jt=>(Ui(Jt.src)&&function $r(X,Ne){throw new t.\u0275RuntimeError(2959,!1)}(),X(ye,{...Jt,src:ur(Jt.src)}))}]}}const Ji=Gr(ui);function ui(X,Ne){let oe="format=auto";return Ne.width&&(oe+=`,width=${Ne.width}`),`${X}/cdn-cgi/image/${oe}/${Ne.src}`}const Yr=Gr(Zr);function Zr(X,Ne){let oe="f_auto,q_auto";return Ne.width&&(oe+=`,w_${Ne.width}`),`${X}/image/upload/${oe}/${Ne.src}`}const be=Gr(Te);function Te(X,Ne){const{src:oe,width:ye}=Ne;let lt;return lt=ye?[X,`tr:w-${ye}`,oe]:[X,oe],lt.join("/")}const xn=Gr(qn);function qn(X,Ne){const oe=new URL(`${X}/${Ne.src}`);return oe.searchParams.set("auto","format"),Ne.width&&oe.searchParams.set("w",Ne.width.toString()),oe.href}function kr(X){if(X&&!ii(X))throw new t.\u0275RuntimeError(2959,!1);return X&&(X=new URL(X).origin),[{provide:Wr,useValue:ye=>function qs(X,Ne){const oe=new URL(Ne??"https://a/");oe.pathname="/.netlify/images",!Ui(X.src)&&!X.src.startsWith("/")&&(X.src="/"+X.src),oe.searchParams.set("url",X.src),X.width&&oe.searchParams.set("w",X.width.toString());for(const[ye,lt]of Object.entries(X.loaderParams??{}))Eo.has(ye)&&oe.searchParams.set(Eo.get(ye),lt.toString());return"a"===oe.hostname?oe.href.replace(oe.origin,""):oe.href}(ye,X)}]}const Eo=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]),Ss=new t.InjectionToken(""),Ho=new t.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let Fs=(()=>{class X{constructor(){this.preloadedImages=(0,t.inject)(Ho),this.document=(0,t.inject)(s)}createPreloadLinkTag(oe,ye,lt,$t){if(this.preloadedImages.has(ye))return;this.preloadedImages.add(ye);const Jt=oe.createElement("link");oe.setAttribute(Jt,"as","image"),oe.setAttribute(Jt,"href",ye),oe.setAttribute(Jt,"rel","preload"),oe.setAttribute(Jt,"fetchpriority","high"),$t&&oe.setAttribute(Jt,"imageSizes",$t),lt&&oe.setAttribute(Jt,"imageSrcset",lt),oe.appendChild(this.document.head,Jt)}static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();const Jr=/^((\s*\d+w\s*(,|$)){1,})$/,lr=[1,2];let $s=(()=>{class X{constructor(){this.imageLoader=(0,t.inject)(Wr),this.config=function Wo(X){let Ne={};return X.breakpoints&&(Ne.breakpoints=X.breakpoints.sort((oe,ye)=>oe-ye)),Object.assign({},t.\u0275IMAGE_CONFIG_DEFAULTS,X,Ne)}((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=Ot((0,t.inject)(t.PLATFORM_ID)),this.preloadLinkCreator=(0,t.inject)(Fs),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.imgElement),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 lt=this._renderedSrc;null!==this.lcpObserver&&ye&<&&ye!==lt&&this.injector.get(t.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(ye,lt)})}}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(lt=>""!==lt).map(lt=>{lt=lt.trim();const $t=oe?parseFloat(lt):parseFloat(lt)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:$t})} ${lt}`}).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 lt;return this.setHostAttribute("src",ye),this.ngSrcset?lt=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(lt=this.getAutomaticSrcset()),lt&&this.setHostAttribute("srcset",lt),lt}getFixedSrcset(){return lr.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!==vi&&!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){const ye=()=>{const Jt=this.injector.get(t.ChangeDetectorRef);lt(),$t(),this.placeholder=!1,Jt.markForCheck()},lt=this.renderer.listen(oe,"load",ye),$t=this.renderer.listen(oe,"error",ye)}ngOnDestroy(){}setHostAttribute(oe,ye){this.renderer.setAttribute(this.imgElement,oe,ye)}static#e=this.\u0275fac=function(ye){return new(ye||X)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:X,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(ye,lt){2&ye&&t.\u0275\u0275styleProp("position",lt.fill?"absolute":null)("width",lt.fill?"100%":null)("height",lt.fill?"100%":null)("inset",lt.fill?"0":null)("background-size",lt.placeholder?"cover":null)("background-position",lt.placeholder?"50% 50%":null)("background-repeat",lt.placeholder?"no-repeat":null)("background-image",lt.placeholder?lt.generatePlaceholder(lt.placeholder):null)("filter",lt.placeholder&<.shouldBlurPlaceholder(lt.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"ngSrc","ngSrc",ko],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",oo],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature]})}return X})();function ko(X){return"string"==typeof X?X:(0,t.\u0275unwrapSafeValue)(X)}function oo(X){return"string"==typeof X&&X.startsWith("data:")?X:(0,t.booleanAttribute)(X)}},1626:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{FetchBackend:()=>Ye,HTTP_INTERCEPTORS:()=>We,HttpBackend:()=>h,HttpClient:()=>K,HttpClientJsonpModule:()=>He,HttpClientModule:()=>nt,HttpClientXsrfModule:()=>Ue,HttpContext:()=>F,HttpContextToken:()=>T,HttpErrorResponse:()=>G,HttpEventType:()=>ee,HttpFeatureKind:()=>Ke,HttpHandler:()=>u,HttpHeaderResponse:()=>$,HttpHeaders:()=>p,HttpParams:()=>O,HttpRequest:()=>Y,HttpResponse:()=>j,HttpResponseBase:()=>ie,HttpStatusCode:()=>V,HttpUrlEncodingCodec:()=>y,HttpXhrBackend:()=>Pt,HttpXsrfTokenExtractor:()=>et,JsonpClientBackend:()=>dn,JsonpInterceptor:()=>un,provideHttpClient:()=>de,withFetch:()=>Je,withInterceptors:()=>Se,withInterceptorsFromDi:()=>It,withJsonpSupport:()=>_t,withNoXsrfProtection:()=>ln,withRequestsMadeViaParent:()=>Nt,withXsrfConfiguration:()=>Kt,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>xe,\u0275HttpInterceptingHandler:()=>vt,\u0275HttpInterceptorHandler:()=>vt,\u0275PRIMARY_HTTP_BACKEND:()=>$e,\u0275withHttpTransferCache:()=>Et});var t=g(467),v=g(4438),C=g(7673),E=g(1985),c=g(8455),b=g(274),s=g(5964),f=g(6354),d=g(980),l=g(5558),a=g(8141),r=g(177);class u{}class h{}class p{constructor(ut){this.normalizedNames=new Map,this.lazyUpdate=null,ut?"string"==typeof ut?this.lazyInit=()=>{this.headers=new Map,ut.split("\n").forEach(ot=>{const pt=ot.indexOf(":");if(pt>0){const wt=ot.slice(0,pt),Ie=wt.toLowerCase(),Tt=ot.slice(pt+1).trim();this.maybeSetNormalizedName(wt,Ie),this.headers.has(Ie)?this.headers.get(Ie).push(Tt):this.headers.set(Ie,[Tt])}})}:typeof Headers<"u"&&ut instanceof Headers?(this.headers=new Map,ut.forEach((ot,pt)=>{this.setHeaderEntries(pt,ot)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(ut).forEach(([ot,pt])=>{this.setHeaderEntries(ot,pt)})}:this.headers=new Map}has(ut){return this.init(),this.headers.has(ut.toLowerCase())}get(ut){this.init();const ot=this.headers.get(ut.toLowerCase());return ot&&ot.length>0?ot[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ut){return this.init(),this.headers.get(ut.toLowerCase())||null}append(ut,ot){return this.clone({name:ut,value:ot,op:"a"})}set(ut,ot){return this.clone({name:ut,value:ot,op:"s"})}delete(ut,ot){return this.clone({name:ut,value:ot,op:"d"})}maybeSetNormalizedName(ut,ot){this.normalizedNames.has(ot)||this.normalizedNames.set(ot,ut)}init(){this.lazyInit&&(this.lazyInit instanceof p?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ut=>this.applyUpdate(ut)),this.lazyUpdate=null))}copyFrom(ut){ut.init(),Array.from(ut.headers.keys()).forEach(ot=>{this.headers.set(ot,ut.headers.get(ot)),this.normalizedNames.set(ot,ut.normalizedNames.get(ot))})}clone(ut){const ot=new p;return ot.lazyInit=this.lazyInit&&this.lazyInit instanceof p?this.lazyInit:this,ot.lazyUpdate=(this.lazyUpdate||[]).concat([ut]),ot}applyUpdate(ut){const ot=ut.name.toLowerCase();switch(ut.op){case"a":case"s":let pt=ut.value;if("string"==typeof pt&&(pt=[pt]),0===pt.length)return;this.maybeSetNormalizedName(ut.name,ot);const wt=("a"===ut.op?this.headers.get(ot):void 0)||[];wt.push(...pt),this.headers.set(ot,wt);break;case"d":const Ie=ut.value;if(Ie){let Tt=this.headers.get(ot);if(!Tt)return;Tt=Tt.filter(z=>-1===Ie.indexOf(z)),0===Tt.length?(this.headers.delete(ot),this.normalizedNames.delete(ot)):this.headers.set(ot,Tt)}else this.headers.delete(ot),this.normalizedNames.delete(ot)}}setHeaderEntries(ut,ot){const pt=(Array.isArray(ot)?ot:[ot]).map(Ie=>Ie.toString()),wt=ut.toLowerCase();this.headers.set(wt,pt),this.maybeSetNormalizedName(ut,wt)}forEach(ut){this.init(),Array.from(this.normalizedNames.keys()).forEach(ot=>ut(this.normalizedNames.get(ot),this.headers.get(ot)))}}class y{encodeKey(ut){return I(ut)}encodeValue(ut){return I(ut)}decodeKey(ut){return decodeURIComponent(ut)}decodeValue(ut){return decodeURIComponent(ut)}}const w=/%(\d[a-f0-9])/gi,k={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function I(Le){return encodeURIComponent(Le).replace(w,(ut,ot)=>k[ot]??ut)}function D(Le){return`${Le}`}class O{constructor(ut={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ut.encoder||new y,ut.fromString){if(ut.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M(Le,ut){const ot=new Map;return Le.length>0&&Le.replace(/^\?/,"").split("&").forEach(wt=>{const Ie=wt.indexOf("="),[Tt,z]=-1==Ie?[ut.decodeKey(wt),""]:[ut.decodeKey(wt.slice(0,Ie)),ut.decodeValue(wt.slice(Ie+1))],he=ot.get(Tt)||[];he.push(z),ot.set(Tt,he)}),ot}(ut.fromString,this.encoder)}else ut.fromObject?(this.map=new Map,Object.keys(ut.fromObject).forEach(ot=>{const pt=ut.fromObject[ot],wt=Array.isArray(pt)?pt.map(D):[D(pt)];this.map.set(ot,wt)})):this.map=null}has(ut){return this.init(),this.map.has(ut)}get(ut){this.init();const ot=this.map.get(ut);return ot?ot[0]:null}getAll(ut){return this.init(),this.map.get(ut)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ut,ot){return this.clone({param:ut,value:ot,op:"a"})}appendAll(ut){const ot=[];return Object.keys(ut).forEach(pt=>{const wt=ut[pt];Array.isArray(wt)?wt.forEach(Ie=>{ot.push({param:pt,value:Ie,op:"a"})}):ot.push({param:pt,value:wt,op:"a"})}),this.clone(ot)}set(ut,ot){return this.clone({param:ut,value:ot,op:"s"})}delete(ut,ot){return this.clone({param:ut,value:ot,op:"d"})}toString(){return this.init(),this.keys().map(ut=>{const ot=this.encoder.encodeKey(ut);return this.map.get(ut).map(pt=>ot+"="+this.encoder.encodeValue(pt)).join("&")}).filter(ut=>""!==ut).join("&")}clone(ut){const ot=new O({encoder:this.encoder});return ot.cloneFrom=this.cloneFrom||this,ot.updates=(this.updates||[]).concat(ut),ot}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ut=>this.map.set(ut,this.cloneFrom.map.get(ut))),this.updates.forEach(ut=>{switch(ut.op){case"a":case"s":const ot=("a"===ut.op?this.map.get(ut.param):void 0)||[];ot.push(D(ut.value)),this.map.set(ut.param,ot);break;case"d":if(void 0===ut.value){this.map.delete(ut.param);break}{let pt=this.map.get(ut.param)||[];const wt=pt.indexOf(D(ut.value));-1!==wt&&pt.splice(wt,1),pt.length>0?this.map.set(ut.param,pt):this.map.delete(ut.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(ut){this.defaultValue=ut}}class F{constructor(){this.map=new Map}set(ut,ot){return this.map.set(ut,ot),this}get(ut){return this.map.has(ut)||this.map.set(ut,ut.defaultValue()),this.map.get(ut)}delete(ut){return this.map.delete(ut),this}has(ut){return this.map.has(ut)}keys(){return this.map.keys()}}function R(Le){return typeof ArrayBuffer<"u"&&Le instanceof ArrayBuffer}function N(Le){return typeof Blob<"u"&&Le instanceof Blob}function A(Le){return typeof FormData<"u"&&Le instanceof FormData}class Y{constructor(ut,ot,pt,wt){let Ie;if(this.url=ot,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ut.toUpperCase(),function S(Le){switch(Le){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||wt?(this.body=void 0!==pt?pt:null,Ie=wt):Ie=pt,Ie&&(this.reportProgress=!!Ie.reportProgress,this.withCredentials=!!Ie.withCredentials,Ie.responseType&&(this.responseType=Ie.responseType),Ie.headers&&(this.headers=Ie.headers),Ie.context&&(this.context=Ie.context),Ie.params&&(this.params=Ie.params),this.transferCache=Ie.transferCache),this.headers??=new p,this.context??=new F,this.params){const Tt=this.params.toString();if(0===Tt.length)this.urlWithParams=ot;else{const z=ot.indexOf("?");this.urlWithParams=ot+(-1===z?"?":zxt.set(cn,ut.setHeaders[cn]),he)),ut.setParams&&(ce=Object.keys(ut.setParams).reduce((xt,cn)=>xt.set(cn,ut.setParams[cn]),ce)),new Y(ot,pt,Ie,{params:ce,headers:he,context:Ve,reportProgress:z,responseType:wt,withCredentials:Tt})}}var ee=function(Le){return Le[Le.Sent=0]="Sent",Le[Le.UploadProgress=1]="UploadProgress",Le[Le.ResponseHeader=2]="ResponseHeader",Le[Le.DownloadProgress=3]="DownloadProgress",Le[Le.Response=4]="Response",Le[Le.User=5]="User",Le}(ee||{});class ie{constructor(ut,ot=V.Ok,pt="OK"){this.headers=ut.headers||new p,this.status=void 0!==ut.status?ut.status:ot,this.statusText=ut.statusText||pt,this.url=ut.url||null,this.ok=this.status>=200&&this.status<300}}class $ extends ie{constructor(ut={}){super(ut),this.type=ee.ResponseHeader}clone(ut={}){return new $({headers:ut.headers||this.headers,status:void 0!==ut.status?ut.status:this.status,statusText:ut.statusText||this.statusText,url:ut.url||this.url||void 0})}}class j extends ie{constructor(ut={}){super(ut),this.type=ee.Response,this.body=void 0!==ut.body?ut.body:null}clone(ut={}){return new j({body:void 0!==ut.body?ut.body:this.body,headers:ut.headers||this.headers,status:void 0!==ut.status?ut.status:this.status,statusText:ut.statusText||this.statusText,url:ut.url||this.url||void 0})}}class G extends ie{constructor(ut){super(ut,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ut.url||"(unknown url)"}`:`Http failure response for ${ut.url||"(unknown url)"}: ${ut.status} ${ut.statusText}`,this.error=ut.error||null}}var V=function(Le){return Le[Le.Continue=100]="Continue",Le[Le.SwitchingProtocols=101]="SwitchingProtocols",Le[Le.Processing=102]="Processing",Le[Le.EarlyHints=103]="EarlyHints",Le[Le.Ok=200]="Ok",Le[Le.Created=201]="Created",Le[Le.Accepted=202]="Accepted",Le[Le.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",Le[Le.NoContent=204]="NoContent",Le[Le.ResetContent=205]="ResetContent",Le[Le.PartialContent=206]="PartialContent",Le[Le.MultiStatus=207]="MultiStatus",Le[Le.AlreadyReported=208]="AlreadyReported",Le[Le.ImUsed=226]="ImUsed",Le[Le.MultipleChoices=300]="MultipleChoices",Le[Le.MovedPermanently=301]="MovedPermanently",Le[Le.Found=302]="Found",Le[Le.SeeOther=303]="SeeOther",Le[Le.NotModified=304]="NotModified",Le[Le.UseProxy=305]="UseProxy",Le[Le.Unused=306]="Unused",Le[Le.TemporaryRedirect=307]="TemporaryRedirect",Le[Le.PermanentRedirect=308]="PermanentRedirect",Le[Le.BadRequest=400]="BadRequest",Le[Le.Unauthorized=401]="Unauthorized",Le[Le.PaymentRequired=402]="PaymentRequired",Le[Le.Forbidden=403]="Forbidden",Le[Le.NotFound=404]="NotFound",Le[Le.MethodNotAllowed=405]="MethodNotAllowed",Le[Le.NotAcceptable=406]="NotAcceptable",Le[Le.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",Le[Le.RequestTimeout=408]="RequestTimeout",Le[Le.Conflict=409]="Conflict",Le[Le.Gone=410]="Gone",Le[Le.LengthRequired=411]="LengthRequired",Le[Le.PreconditionFailed=412]="PreconditionFailed",Le[Le.PayloadTooLarge=413]="PayloadTooLarge",Le[Le.UriTooLong=414]="UriTooLong",Le[Le.UnsupportedMediaType=415]="UnsupportedMediaType",Le[Le.RangeNotSatisfiable=416]="RangeNotSatisfiable",Le[Le.ExpectationFailed=417]="ExpectationFailed",Le[Le.ImATeapot=418]="ImATeapot",Le[Le.MisdirectedRequest=421]="MisdirectedRequest",Le[Le.UnprocessableEntity=422]="UnprocessableEntity",Le[Le.Locked=423]="Locked",Le[Le.FailedDependency=424]="FailedDependency",Le[Le.TooEarly=425]="TooEarly",Le[Le.UpgradeRequired=426]="UpgradeRequired",Le[Le.PreconditionRequired=428]="PreconditionRequired",Le[Le.TooManyRequests=429]="TooManyRequests",Le[Le.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",Le[Le.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",Le[Le.InternalServerError=500]="InternalServerError",Le[Le.NotImplemented=501]="NotImplemented",Le[Le.BadGateway=502]="BadGateway",Le[Le.ServiceUnavailable=503]="ServiceUnavailable",Le[Le.GatewayTimeout=504]="GatewayTimeout",Le[Le.HttpVersionNotSupported=505]="HttpVersionNotSupported",Le[Le.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",Le[Le.InsufficientStorage=507]="InsufficientStorage",Le[Le.LoopDetected=508]="LoopDetected",Le[Le.NotExtended=510]="NotExtended",Le[Le.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",Le}(V||{});function W(Le,ut){return{body:ut,headers:Le.headers,context:Le.context,observe:Le.observe,params:Le.params,reportProgress:Le.reportProgress,responseType:Le.responseType,withCredentials:Le.withCredentials,transferCache:Le.transferCache}}let K=(()=>{class Le{constructor(ot){this.handler=ot}request(ot,pt,wt={}){let Ie;if(ot instanceof Y)Ie=ot;else{let he,ce;he=wt.headers instanceof p?wt.headers:new p(wt.headers),wt.params&&(ce=wt.params instanceof O?wt.params:new O({fromObject:wt.params})),Ie=new Y(ot,pt,void 0!==wt.body?wt.body:null,{headers:he,context:wt.context,params:ce,reportProgress:wt.reportProgress,responseType:wt.responseType||"json",withCredentials:wt.withCredentials,transferCache:wt.transferCache})}const Tt=(0,C.of)(Ie).pipe((0,b.H)(he=>this.handler.handle(he)));if(ot instanceof Y||"events"===wt.observe)return Tt;const z=Tt.pipe((0,s.p)(he=>he instanceof j));switch(wt.observe||"body"){case"body":switch(Ie.responseType){case"arraybuffer":return z.pipe((0,f.T)(he=>{if(null!==he.body&&!(he.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return he.body}));case"blob":return z.pipe((0,f.T)(he=>{if(null!==he.body&&!(he.body instanceof Blob))throw new Error("Response is not a Blob.");return he.body}));case"text":return z.pipe((0,f.T)(he=>{if(null!==he.body&&"string"!=typeof he.body)throw new Error("Response is not a string.");return he.body}));default:return z.pipe((0,f.T)(he=>he.body))}case"response":return z;default:throw new Error(`Unreachable: unhandled observe type ${wt.observe}}`)}}delete(ot,pt={}){return this.request("DELETE",ot,pt)}get(ot,pt={}){return this.request("GET",ot,pt)}head(ot,pt={}){return this.request("HEAD",ot,pt)}jsonp(ot,pt){return this.request("JSONP",ot,{params:(new O).append(pt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ot,pt={}){return this.request("OPTIONS",ot,pt)}patch(ot,pt,wt={}){return this.request("PATCH",ot,W(wt,pt))}post(ot,pt,wt={}){return this.request("POST",ot,W(wt,pt))}put(ot,pt,wt={}){return this.request("PUT",ot,W(wt,pt))}static#e=this.\u0275fac=function(pt){return new(pt||Le)(v.\u0275\u0275inject(u))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac})}return Le})();const le=/^\)\]\}',?\n/;function ve(Le){if(Le.url)return Le.url;const ut="X-Request-URL".toLocaleLowerCase();return Le.headers.get(ut)}let Ye=(()=>{class Le{constructor(){this.fetchImpl=(0,v.inject)(mt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,v.inject)(v.NgZone)}handle(ot){return new E.c(pt=>{const wt=new AbortController;return this.doRequest(ot,wt.signal,pt).then(ct,Ie=>pt.error(new G({error:Ie}))),()=>wt.abort()})}doRequest(ot,pt,wt){var Ie=this;return(0,t.A)(function*(){const Tt=Ie.createRequestInit(ot);let z;try{const Gn=Ie.fetchImpl(ot.urlWithParams,{signal:pt,...Tt});(function Ct(Le){Le.then(ct,ct)})(Gn),wt.next({type:ee.Sent}),z=yield Gn}catch(Gn){return void wt.error(new G({error:Gn,status:Gn.status??0,statusText:Gn.statusText,url:ot.urlWithParams,headers:Gn.headers}))}const he=new p(z.headers),ce=z.statusText,Ve=ve(z)??ot.urlWithParams;let xt=z.status,cn=null;if(ot.reportProgress&&wt.next(new $({headers:he,status:xt,statusText:ce,url:Ve})),z.body){const Gn=z.headers.get("content-length"),Fn=[],Tn=z.body.getReader();let Qi,fi,ti=0;const sr=typeof Zone<"u"&&Zone.current;yield Ie.ngZone.runOutsideAngular((0,t.A)(function*(){for(;;){const{done:mi,value:Hi}=yield Tn.read();if(mi)break;if(Fn.push(Hi),ti+=Hi.length,ot.reportProgress){fi="text"===ot.responseType?(fi??"")+(Qi??=new TextDecoder).decode(Hi,{stream:!0}):void 0;const On=()=>wt.next({type:ee.DownloadProgress,total:Gn?+Gn:void 0,loaded:ti,partialText:fi});sr?sr.run(On):On()}}}));const _i=Ie.concatChunks(Fn,ti);try{const mi=z.headers.get("Content-Type")??"";cn=Ie.parseBody(ot,_i,mi)}catch(mi){return void wt.error(new G({error:mi,headers:new p(z.headers),status:z.status,statusText:z.statusText,url:ve(z)??ot.urlWithParams}))}}0===xt&&(xt=cn?V.Ok:0),xt>=200&&xt<300?(wt.next(new j({body:cn,headers:he,status:xt,statusText:ce,url:Ve})),wt.complete()):wt.error(new G({error:cn,headers:he,status:xt,statusText:ce,url:Ve}))})()}parseBody(ot,pt,wt){switch(ot.responseType){case"json":const Ie=(new TextDecoder).decode(pt).replace(le,"");return""===Ie?null:JSON.parse(Ie);case"text":return(new TextDecoder).decode(pt);case"blob":return new Blob([pt],{type:wt});case"arraybuffer":return pt.buffer}}createRequestInit(ot){const pt={},wt=ot.withCredentials?"include":void 0;if(ot.headers.forEach((Ie,Tt)=>pt[Ie]=Tt.join(",")),pt.Accept??="application/json, text/plain, */*",!pt["Content-Type"]){const Ie=ot.detectContentTypeHeader();null!==Ie&&(pt["Content-Type"]=Ie)}return{body:ot.serializeBody(),method:ot.method,headers:pt,credentials:wt}}concatChunks(ot,pt){const wt=new Uint8Array(pt);let Ie=0;for(const Tt of ot)wt.set(Tt,Ie),Ie+=Tt.length;return wt}static#e=this.\u0275fac=function(pt){return new(pt||Le)};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac})}return Le})();class mt{}function ct(){}function Pe(Le,ut){return ut(Le)}function Ae(Le,ut){return(ot,pt)=>ut.intercept(ot,{handle:wt=>Le(wt,pt)})}const We=new v.InjectionToken(""),Fe=new v.InjectionToken(""),xe=new v.InjectionToken(""),$e=new v.InjectionToken("");function q(){let Le=null;return(ut,ot)=>{null===Le&&(Le=((0,v.inject)(We,{optional:!0})??[]).reduceRight(Ae,Pe));const pt=(0,v.inject)(v.\u0275PendingTasks),wt=pt.add();return Le(ut,ot).pipe((0,d.j)(()=>pt.remove(wt)))}}let we,vt=(()=>{class Le extends u{constructor(ot,pt){super(),this.backend=ot,this.injector=pt,this.chain=null,this.pendingTasks=(0,v.inject)(v.\u0275PendingTasks);const wt=(0,v.inject)($e,{optional:!0});this.backend=wt??ot}handle(ot){if(null===this.chain){const wt=Array.from(new Set([...this.injector.get(Fe),...this.injector.get(xe,[])]));this.chain=wt.reduceRight((Ie,Tt)=>function me(Le,ut,ot){return(pt,wt)=>(0,v.runInInjectionContext)(ot,()=>ut(pt,Ie=>Le(Ie,wt)))}(Ie,Tt,this.injector),Pe)}const pt=this.pendingTasks.add();return this.chain(ot,wt=>this.backend.handle(wt)).pipe((0,d.j)(()=>this.pendingTasks.remove(pt)))}static#e=this.\u0275fac=function(pt){return new(pt||Le)(v.\u0275\u0275inject(h),v.\u0275\u0275inject(v.EnvironmentInjector))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac})}return Le})(),it=0;class zt{}function Xt(){return"object"==typeof window?window:{}}let dn=(()=>{class Le{constructor(ot,pt){this.callbackMap=ot,this.document=pt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+it++}handle(ot){if("JSONP"!==ot.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ot.responseType)throw new Error("JSONP requests must use Json response type.");if(ot.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new E.c(pt=>{const wt=this.nextCallback(),Ie=ot.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${wt}$1`),Tt=this.document.createElement("script");Tt.src=Ie;let z=null,he=!1;this.callbackMap[wt]=cn=>{delete this.callbackMap[wt],z=cn,he=!0};const ce=()=>{Tt.parentNode&&Tt.parentNode.removeChild(Tt),delete this.callbackMap[wt]};return Tt.addEventListener("load",cn=>{this.resolvedPromise.then(()=>{ce(),he?(pt.next(new j({body:z,status:V.Ok,statusText:"OK",url:Ie})),pt.complete()):pt.error(new G({url:Ie,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Tt.addEventListener("error",cn=>{ce(),pt.error(new G({error:cn,status:0,statusText:"JSONP Error",url:Ie}))}),this.document.body.appendChild(Tt),pt.next({type:ee.Sent}),()=>{he||this.removeListeners(Tt),ce()}})}removeListeners(ot){we??=this.document.implementation.createHTMLDocument(),we.adoptNode(ot)}static#e=this.\u0275fac=function(pt){return new(pt||Le)(v.\u0275\u0275inject(zt),v.\u0275\u0275inject(r.DOCUMENT))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac})}return Le})();function hn(Le,ut){return"JSONP"===Le.method?(0,v.inject)(dn).handle(Le):ut(Le)}let un=(()=>{class Le{constructor(ot){this.injector=ot}intercept(ot,pt){return(0,v.runInInjectionContext)(this.injector,()=>hn(ot,wt=>pt.handle(wt)))}static#e=this.\u0275fac=function(pt){return new(pt||Le)(v.\u0275\u0275inject(v.EnvironmentInjector))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac})}return Le})();const rn=/^\)\]\}',?\n/;let Pt=(()=>{class Le{constructor(ot){this.xhrFactory=ot}handle(ot){if("JSONP"===ot.method)throw new v.\u0275RuntimeError(-2800,!1);const pt=this.xhrFactory;return(pt.\u0275loadImpl?(0,c.H)(pt.\u0275loadImpl()):(0,C.of)(null)).pipe((0,l.n)(()=>new E.c(Ie=>{const Tt=pt.build();if(Tt.open(ot.method,ot.urlWithParams),ot.withCredentials&&(Tt.withCredentials=!0),ot.headers.forEach((Fn,Tn)=>Tt.setRequestHeader(Fn,Tn.join(","))),ot.headers.has("Accept")||Tt.setRequestHeader("Accept","application/json, text/plain, */*"),!ot.headers.has("Content-Type")){const Fn=ot.detectContentTypeHeader();null!==Fn&&Tt.setRequestHeader("Content-Type",Fn)}if(ot.responseType){const Fn=ot.responseType.toLowerCase();Tt.responseType="json"!==Fn?Fn:"text"}const z=ot.serializeBody();let he=null;const ce=()=>{if(null!==he)return he;const Fn=Tt.statusText||"OK",Tn=new p(Tt.getAllResponseHeaders()),ti=function fn(Le){return"responseURL"in Le&&Le.responseURL?Le.responseURL:/^X-Request-URL:/m.test(Le.getAllResponseHeaders())?Le.getResponseHeader("X-Request-URL"):null}(Tt)||ot.url;return he=new $({headers:Tn,status:Tt.status,statusText:Fn,url:ti}),he},Ve=()=>{let{headers:Fn,status:Tn,statusText:ti,url:Qi}=ce(),fi=null;Tn!==V.NoContent&&(fi=typeof Tt.response>"u"?Tt.responseText:Tt.response),0===Tn&&(Tn=fi?V.Ok:0);let sr=Tn>=200&&Tn<300;if("json"===ot.responseType&&"string"==typeof fi){const _i=fi;fi=fi.replace(rn,"");try{fi=""!==fi?JSON.parse(fi):null}catch(mi){fi=_i,sr&&(sr=!1,fi={error:mi,text:fi})}}sr?(Ie.next(new j({body:fi,headers:Fn,status:Tn,statusText:ti,url:Qi||void 0})),Ie.complete()):Ie.error(new G({error:fi,headers:Fn,status:Tn,statusText:ti,url:Qi||void 0}))},xt=Fn=>{const{url:Tn}=ce(),ti=new G({error:Fn,status:Tt.status||0,statusText:Tt.statusText||"Unknown Error",url:Tn||void 0});Ie.error(ti)};let cn=!1;const hi=Fn=>{cn||(Ie.next(ce()),cn=!0);let Tn={type:ee.DownloadProgress,loaded:Fn.loaded};Fn.lengthComputable&&(Tn.total=Fn.total),"text"===ot.responseType&&Tt.responseText&&(Tn.partialText=Tt.responseText),Ie.next(Tn)},Gn=Fn=>{let Tn={type:ee.UploadProgress,loaded:Fn.loaded};Fn.lengthComputable&&(Tn.total=Fn.total),Ie.next(Tn)};return Tt.addEventListener("load",Ve),Tt.addEventListener("error",xt),Tt.addEventListener("timeout",xt),Tt.addEventListener("abort",xt),ot.reportProgress&&(Tt.addEventListener("progress",hi),null!==z&&Tt.upload&&Tt.upload.addEventListener("progress",Gn)),Tt.send(z),Ie.next({type:ee.Sent}),()=>{Tt.removeEventListener("error",xt),Tt.removeEventListener("abort",xt),Tt.removeEventListener("load",Ve),Tt.removeEventListener("timeout",xt),ot.reportProgress&&(Tt.removeEventListener("progress",hi),null!==z&&Tt.upload&&Tt.upload.removeEventListener("progress",Gn)),Tt.readyState!==Tt.DONE&&Tt.abort()}})))}static#e=this.\u0275fac=function(pt){return new(pt||Le)(v.\u0275\u0275inject(r.XhrFactory))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac})}return Le})();const Vt=new v.InjectionToken(""),_e="XSRF-TOKEN",Ze=new v.InjectionToken("",{providedIn:"root",factory:()=>_e}),Qe="X-XSRF-TOKEN",Rt=new v.InjectionToken("",{providedIn:"root",factory:()=>Qe});class et{}let ft=(()=>{class Le{constructor(ot,pt,wt){this.doc=ot,this.platform=pt,this.cookieName=wt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ot=this.doc.cookie||"";return ot!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.\u0275parseCookieValue)(ot,this.cookieName),this.lastCookieString=ot),this.lastToken}static#e=this.\u0275fac=function(pt){return new(pt||Le)(v.\u0275\u0275inject(r.DOCUMENT),v.\u0275\u0275inject(v.PLATFORM_ID),v.\u0275\u0275inject(Ze))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac})}return Le})();function Re(Le,ut){const ot=Le.url.toLowerCase();if(!(0,v.inject)(Vt)||"GET"===Le.method||"HEAD"===Le.method||ot.startsWith("http://")||ot.startsWith("https://"))return ut(Le);const pt=(0,v.inject)(et).getToken(),wt=(0,v.inject)(Rt);return null!=pt&&!Le.headers.has(wt)&&(Le=Le.clone({headers:Le.headers.set(wt,pt)})),ut(Le)}let pe=(()=>{class Le{constructor(ot){this.injector=ot}intercept(ot,pt){return(0,v.runInInjectionContext)(this.injector,()=>Re(ot,wt=>pt.handle(wt)))}static#e=this.\u0275fac=function(pt){return new(pt||Le)(v.\u0275\u0275inject(v.EnvironmentInjector))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac})}return Le})();var Ke=function(Le){return Le[Le.Interceptors=0]="Interceptors",Le[Le.LegacyInterceptors=1]="LegacyInterceptors",Le[Le.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Le[Le.NoXsrfProtection=3]="NoXsrfProtection",Le[Le.JsonpSupport=4]="JsonpSupport",Le[Le.RequestsMadeViaParent=5]="RequestsMadeViaParent",Le[Le.Fetch=6]="Fetch",Le}(Ke||{});function te(Le,ut){return{\u0275kind:Le,\u0275providers:ut}}function de(...Le){const ut=[K,Pt,vt,{provide:u,useExisting:vt},{provide:h,useExisting:Pt},{provide:Fe,useValue:Re,multi:!0},{provide:Vt,useValue:!0},{provide:et,useClass:ft}];for(const ot of Le)ut.push(...ot.\u0275providers);return(0,v.makeEnvironmentProviders)(ut)}function Se(Le){return te(Ke.Interceptors,Le.map(ut=>({provide:Fe,useValue:ut,multi:!0})))}const tt=new v.InjectionToken("");function It(){return te(Ke.LegacyInterceptors,[{provide:tt,useFactory:q},{provide:Fe,useExisting:tt,multi:!0}])}function Kt({cookieName:Le,headerName:ut}){const ot=[];return void 0!==Le&&ot.push({provide:Ze,useValue:Le}),void 0!==ut&&ot.push({provide:Rt,useValue:ut}),te(Ke.CustomXsrfConfiguration,ot)}function ln(){return te(Ke.NoXsrfProtection,[{provide:Vt,useValue:!1}])}function _t(){return te(Ke.JsonpSupport,[dn,{provide:zt,useFactory:Xt},{provide:Fe,useValue:hn,multi:!0}])}function Nt(){return te(Ke.RequestsMadeViaParent,[{provide:h,useFactory:()=>(0,v.inject)(u,{skipSelf:!0,optional:!0})}])}function Je(){return te(Ke.Fetch,[Ye,{provide:h,useExisting:Ye},{provide:$e,useExisting:Ye}])}let Ue=(()=>{class Le{static disable(){return{ngModule:Le,providers:[ln().\u0275providers]}}static withOptions(ot={}){return{ngModule:Le,providers:Kt(ot).\u0275providers}}static#e=this.\u0275fac=function(pt){return new(pt||Le)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:Le});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({providers:[pe,{provide:We,useExisting:pe,multi:!0},{provide:et,useClass:ft},Kt({cookieName:_e,headerName:Qe}).\u0275providers,{provide:Vt,useValue:!0}]})}return Le})(),nt=(()=>{class Le{static#e=this.\u0275fac=function(pt){return new(pt||Le)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:Le});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({providers:[de(It())]})}return Le})(),He=(()=>{class Le{static#e=this.\u0275fac=function(pt){return new(pt||Le)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:Le});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({providers:[_t().\u0275providers]})}return Le})();const dt="b",At="h",en="s",yn="st",Ln="u",Ri="rt",Ei=new v.InjectionToken(""),Vn=["GET","HEAD"];function st(Le,ut){const{isCacheActive:ot,...pt}=(0,v.inject)(Ei),{transferCache:wt,method:Ie}=Le;if(!ot||"POST"===Ie&&!pt.includePostRequests&&!wt||"POST"!==Ie&&!Vn.includes(Ie)||Le.headers.has("authorization")||Le.headers.has("proxy-authorization")||!1===wt||!1===pt.filter?.(Le))return ut(Le);const Tt=(0,v.inject)(v.TransferState),z=function Be(Le){const{params:ut,method:ot,responseType:pt,url:wt,body:Ie}=Le,ce=function at(Le){let ut=0;for(const ot of Le)ut=Math.imul(31,ut)+ot.charCodeAt(0)|0;return ut+=2147483648,ut.toString()}([ot,pt,wt,"string"==typeof Ie?Ie:"",ut.keys().sort().map(Ve=>`${Ve}=${ut.getAll(Ve)}`).join("&")].join("|"));return(0,v.makeStateKey)(ce)}(Le),he=Tt.get(z,null);let ce=pt.includeHeaders;if("object"==typeof wt&&wt.includeHeaders&&(ce=wt.includeHeaders),he){const{[dt]:Ve,[Ri]:xt,[At]:cn,[en]:hi,[yn]:Gn,[Ln]:Fn}=he;let Tn=Ve;switch(xt){case"arraybuffer":Tn=(new TextEncoder).encode(Ve).buffer;break;case"blob":Tn=new Blob([Ve])}let ti=new p(cn);return(0,C.of)(new j({body:Tn,headers:ti,status:hi,statusText:Gn,url:Fn}))}return ut(Le).pipe((0,a.M)(Ve=>{Ve instanceof j&&Tt.set(z,{[dt]:Ve.body,[At]:qt(Ve.headers,ce),[en]:Ve.status,[yn]:Ve.statusText,[Ln]:Ve.url||"",[Ri]:Le.responseType})}))}function qt(Le,ut){if(!ut)return{};const ot={};for(const pt of ut){const wt=Le.getAll(pt);null!==wt&&(ot[pt]=wt)}return ot}function Et(Le){return[{provide:Ei,useFactory:()=>((0,v.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...Le})},{provide:xe,useValue:st,multi:!0,deps:[v.TransferState,Ei]},{provide:v.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const ut=(0,v.inject)(v.ApplicationRef),ot=(0,v.inject)(Ei);return()=>{(0,v.\u0275whenStable)(ut).then(()=>{ot.isCacheActive=!1})}}}]}},4438:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{ANIMATION_MODULE_TYPE:()=>gw,APP_BOOTSTRAP_LISTENER:()=>Im,APP_ID:()=>Pp,APP_INITIALIZER:()=>g1,AfterRenderPhase:()=>ea,ApplicationInitStatus:()=>zu,ApplicationModule:()=>GS,ApplicationRef:()=>ra,Attribute:()=>xp,COMPILER_OPTIONS:()=>x1,CSP_NONCE:()=>_w,CUSTOM_ELEMENTS_SCHEMA:()=>E0,ChangeDetectionStrategy:()=>Zr,ChangeDetectorRef:()=>Om,Compiler:()=>mS,CompilerFactory:()=>pS,Component:()=>OT,ComponentFactory:()=>cu,ComponentFactoryResolver:()=>ec,ComponentRef:()=>Mg,ContentChild:()=>LM,ContentChildren:()=>RM,DEFAULT_CURRENCY_CODE:()=>yS,DebugElement:()=>yc,DebugEventListener:()=>kS,DebugNode:()=>Rm,DefaultIterableDiffer:()=>j1,DestroyRef:()=>pa,Directive:()=>r1,ENVIRONMENT_INITIALIZER:()=>rs,ElementRef:()=>kl,EmbeddedViewRef:()=>AS,EnvironmentInjector:()=>Lr,ErrorHandler:()=>Po,EventEmitter:()=>vo,Host:()=>on,HostAttributeToken:()=>nw,HostBinding:()=>PT,HostListener:()=>FT,INJECTOR:()=>Kr,Inject:()=>St,InjectFlags:()=>Un,Injectable:()=>tw,InjectionToken:()=>Ie,Injector:()=>Ms,Input:()=>LT,IterableDiffers:()=>Um,KeyValueDiffers:()=>Bm,LOCALE_ID:()=>Ku,MissingTranslationStrategy:()=>A1,ModuleWithComponentFactories:()=>E1,NO_ERRORS_SCHEMA:()=>x0,NgModule:()=>UT,NgModuleFactory:()=>S_,NgModuleRef:()=>ba,NgProbeToken:()=>hS,NgZone:()=>gr,Optional:()=>Ot,Output:()=>NT,OutputEmitterRef:()=>wd,PACKAGE_ROOT_URL:()=>pw,PLATFORM_ID:()=>Md,PLATFORM_INITIALIZER:()=>Fp,Pipe:()=>RT,PlatformRef:()=>Am,Query:()=>nc,QueryList:()=>Lc,Renderer2:()=>Gx,RendererFactory2:()=>Ig,RendererStyleFlags2:()=>Kc,Sanitizer:()=>Tg,SecurityContext:()=>_a,Self:()=>jt,SimpleChange:()=>An,SkipSelf:()=>Gt,TRANSLATIONS:()=>CS,TRANSLATIONS_FORMAT:()=>wS,TemplateRef:()=>Zl,Testability:()=>dS,TestabilityRegistry:()=>f1,TransferState:()=>Rl,Type:()=>wn,VERSION:()=>BT,Version:()=>s1,ViewChild:()=>PM,ViewChildren:()=>NM,ViewContainerRef:()=>pu,ViewEncapsulation:()=>Qr,ViewRef:()=>U1,afterNextRender:()=>Ng,afterRender:()=>Lg,asNativeElements:()=>OS,assertInInjectionContext:()=>Ne,assertNotInReactiveContext:()=>Yx,assertPlatform:()=>L1,booleanAttribute:()=>DA,computed:()=>FA,contentChild:()=>SM,contentChildren:()=>AM,createComponent:()=>jA,createEnvironmentInjector:()=>jh,createNgModule:()=>A_,createNgModuleRef:()=>qM,createPlatform:()=>k1,createPlatformFactory:()=>O1,defineInjectable:()=>st,destroyPlatform:()=>ES,effect:()=>gC,enableProdMode:()=>DS,forwardRef:()=>Re,getDebugNode:()=>vl,getModuleFactory:()=>IS,getNgModuleById:()=>TS,getPlatform:()=>Yu,importProvidersFrom:()=>Io,inject:()=>Bn,input:()=>lw,isDevMode:()=>MS,isSignal:()=>Uh,isStandalone:()=>Or,makeEnvironmentProviders:()=>ws,makeStateKey:()=>vw,mergeApplicationConfig:()=>zA,model:()=>OM,numberAttribute:()=>IA,output:()=>ow,platformCore:()=>WS,provideZoneChangeDetection:()=>T1,reflectComponentType:()=>HA,resolveForwardRef:()=>pe,runInInjectionContext:()=>oo,setTestabilityGetter:()=>m1,signal:()=>i_,untracked:()=>UA,viewChild:()=>DM,viewChildren:()=>IM,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>km,\u0275AfterRenderEventManager:()=>Ka,\u0275CONTAINER_HEADER_OFFSET:()=>nr,\u0275ChangeDetectionScheduler:()=>lu,\u0275ComponentFactory:()=>cu,\u0275Console:()=>o1,\u0275DEFAULT_LOCALE_ID:()=>xa,\u0275DEFER_BLOCK_CONFIG:()=>Q_,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>CD,\u0275DeferBlockBehavior:()=>zh,\u0275DeferBlockState:()=>fr,\u0275EffectScheduler:()=>pC,\u0275IMAGE_CONFIG:()=>Bp,\u0275IMAGE_CONFIG_DEFAULTS:()=>Up,\u0275INJECTOR_SCOPE:()=>ks,\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE:()=>Ge,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>Fl,\u0275LContext:()=>g0,\u0275LifecycleHooksFeature:()=>Hg,\u0275LocaleDataIndex:()=>gl,\u0275NG_COMP_DEF:()=>ti,\u0275NG_DIR_DEF:()=>Qi,\u0275NG_ELEMENT_ID:()=>mi,\u0275NG_INJ_DEF:()=>ot,\u0275NG_MOD_DEF:()=>sr,\u0275NG_PIPE_DEF:()=>fi,\u0275NG_PROV_DEF:()=>ut,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>uu,\u0275NO_CHANGE:()=>oi,\u0275NgModuleFactory:()=>bu,\u0275NoopNgZone:()=>Ih,\u0275PendingTasks:()=>Xa,\u0275ReflectionCapabilities:()=>er,\u0275Render3ComponentFactory:()=>Za,\u0275Render3ComponentRef:()=>jg,\u0275Render3NgModuleRef:()=>vu,\u0275RuntimeError:()=>ge,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>$p,\u0275TESTABILITY:()=>d1,\u0275TESTABILITY_GETTER:()=>h1,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>fu,\u0275ViewRef:()=>Wa,\u0275XSS_SECURITY_URL:()=>q,\u0275_sanitizeHtml:()=>a0,\u0275_sanitizeUrl:()=>Hc,\u0275allowSanitizationBypassAndThrow:()=>Ba,\u0275annotateForHydration:()=>yA,\u0275bypassSanitizationTrustHtml:()=>Lw,\u0275bypassSanitizationTrustResourceUrl:()=>Uw,\u0275bypassSanitizationTrustScript:()=>Pw,\u0275bypassSanitizationTrustStyle:()=>Nw,\u0275bypassSanitizationTrustUrl:()=>Fw,\u0275clearResolutionOfComponentResourcesQueue:()=>v_,\u0275compileComponent:()=>Wy,\u0275compileDirective:()=>Em,\u0275compileNgModule:()=>By,\u0275compileNgModuleDefs:()=>$y,\u0275compileNgModuleFactory:()=>M1,\u0275compilePipe:()=>t1,\u0275convertToBitFlags:()=>zr,\u0275createInjector:()=>yd,\u0275defaultIterableDiffers:()=>HS,\u0275defaultKeyValueDiffers:()=>zS,\u0275depsTracker:()=>Ya,\u0275detectChangesInViewIfRequired:()=>w1,\u0275devModeEqual:()=>R_,\u0275findLocaleData:()=>If,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>Fy,\u0275formatRuntimeError:()=>Oe,\u0275generateStandaloneInDeclarationsError:()=>Vy,\u0275getAsyncClassMetadataFn:()=>nD,\u0275getDebugNode:()=>vl,\u0275getDeferBlocks:()=>jm,\u0275getDirectives:()=>uy,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>gi,\u0275getHostElement:()=>_m,\u0275getInjectableDef:()=>Be,\u0275getLContext:()=>cs,\u0275getLocaleCurrencyCode:()=>oI,\u0275getLocalePluralCase:()=>eb,\u0275getOutputDestroyRef:()=>sw,\u0275getSanitizationBypassType:()=>Xp,\u0275getUnknownElementStrictMode:()=>pE,\u0275getUnknownPropertyStrictMode:()=>_E,\u0275global:()=>fn,\u0275injectChangeDetectorRef:()=>F1,\u0275internalAfterNextRender:()=>du,\u0275internalCreateApplication:()=>lA,\u0275isBoundToModule:()=>v1,\u0275isComponentDefPendingResolution:()=>UM,\u0275isEnvironmentProviders:()=>Tn,\u0275isInjectable:()=>at,\u0275isNgModule:()=>ta,\u0275isPromise:()=>Dm,\u0275isSubscribable:()=>p1,\u0275noSideEffects:()=>rt,\u0275patchComponentDefWithScope:()=>Cm,\u0275performanceMarkFeature:()=>Zs,\u0275provideZonelessChangeDetection:()=>uA,\u0275queueStateUpdate:()=>mC,\u0275readHydrationInfo:()=>Nd,\u0275registerLocaleData:()=>sI,\u0275renderDeferBlockState:()=>$o,\u0275resetCompiledComponents:()=>CT,\u0275resetJitOptions:()=>vT,\u0275resolveComponentResources:()=>g_,\u0275restoreComponentResolutionQueue:()=>BM,\u0275setAllowDuplicateNgModuleIdsForTest:()=>zM,\u0275setAlternateWeakRefImpl:()=>rA,\u0275setClassDebugInfo:()=>Py,\u0275setClassMetadata:()=>O_,\u0275setClassMetadataAsync:()=>iD,\u0275setCurrentInjector:()=>mr,\u0275setDocument:()=>fw,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>Ro,\u0275setInjectorProfilerContext:()=>he,\u0275setLocaleId:()=>Tf,\u0275setUnknownElementStrictMode:()=>mE,\u0275setUnknownPropertyStrictMode:()=>gE,\u0275store:()=>$b,\u0275stringify:()=>Qe,\u0275transitiveScopesFor:()=>Ma,\u0275triggerResourceLoading:()=>Tu,\u0275truncateMiddle:()=>et,\u0275unregisterLocaleData:()=>aI,\u0275unwrapSafeValue:()=>Fo,\u0275unwrapWritableSignal:()=>EM,\u0275whenStable:()=>C1,\u0275withDomHydration:()=>fA,\u0275withI18nHydration:()=>mA,\u0275\u0275CopyDefinitionFeature:()=>E_,\u0275\u0275FactoryTarget:()=>oe,\u0275\u0275HostDirectivesFeature:()=>x_,\u0275\u0275InheritDefinitionFeature:()=>Vh,\u0275\u0275InputFlags:()=>Xr,\u0275\u0275InputTransformsFeature:()=>T_,\u0275\u0275NgOnChangesFeature:()=>zn,\u0275\u0275ProvidersFeature:()=>ty,\u0275\u0275StandaloneFeature:()=>ny,\u0275\u0275advance:()=>K0,\u0275\u0275attribute:()=>qh,\u0275\u0275attributeInterpolate1:()=>ef,\u0275\u0275attributeInterpolate2:()=>tf,\u0275\u0275attributeInterpolate3:()=>nf,\u0275\u0275attributeInterpolate4:()=>rf,\u0275\u0275attributeInterpolate5:()=>sf,\u0275\u0275attributeInterpolate6:()=>af,\u0275\u0275attributeInterpolate7:()=>lf,\u0275\u0275attributeInterpolate8:()=>cf,\u0275\u0275attributeInterpolateV:()=>uf,\u0275\u0275classMap:()=>Dv,\u0275\u0275classMapInterpolate1:()=>Rv,\u0275\u0275classMapInterpolate2:()=>Lv,\u0275\u0275classMapInterpolate3:()=>Nv,\u0275\u0275classMapInterpolate4:()=>Pv,\u0275\u0275classMapInterpolate5:()=>Fv,\u0275\u0275classMapInterpolate6:()=>Uv,\u0275\u0275classMapInterpolate7:()=>Bv,\u0275\u0275classMapInterpolate8:()=>$v,\u0275\u0275classMapInterpolateV:()=>Vv,\u0275\u0275classProp:()=>_f,\u0275\u0275componentInstance:()=>jv,\u0275\u0275conditional:()=>Gv,\u0275\u0275contentQuery:()=>Rb,\u0275\u0275contentQuerySignal:()=>Fb,\u0275\u0275defer:()=>J_,\u0275\u0275deferEnableTimerScheduling:()=>X_,\u0275\u0275deferOnHover:()=>av,\u0275\u0275deferOnIdle:()=>tv,\u0275\u0275deferOnImmediate:()=>iv,\u0275\u0275deferOnInteraction:()=>cv,\u0275\u0275deferOnTimer:()=>sv,\u0275\u0275deferOnViewport:()=>dv,\u0275\u0275deferPrefetchOnHover:()=>lv,\u0275\u0275deferPrefetchOnIdle:()=>nv,\u0275\u0275deferPrefetchOnImmediate:()=>rv,\u0275\u0275deferPrefetchOnInteraction:()=>uv,\u0275\u0275deferPrefetchOnTimer:()=>ov,\u0275\u0275deferPrefetchOnViewport:()=>hv,\u0275\u0275deferPrefetchWhen:()=>ev,\u0275\u0275deferWhen:()=>q_,\u0275\u0275defineComponent:()=>eo,\u0275\u0275defineDirective:()=>Jr,\u0275\u0275defineInjectable:()=>Vn,\u0275\u0275defineInjector:()=>qt,\u0275\u0275defineNgModule:()=>Fs,\u0275\u0275definePipe:()=>zo,\u0275\u0275directiveInject:()=>ja,\u0275\u0275disableBindings:()=>Ym,\u0275\u0275element:()=>Ef,\u0275\u0275elementContainer:()=>xf,\u0275\u0275elementContainerEnd:()=>Lu,\u0275\u0275elementContainerStart:()=>Ru,\u0275\u0275elementEnd:()=>Ou,\u0275\u0275elementStart:()=>ku,\u0275\u0275enableBindings:()=>Km,\u0275\u0275getComponentDepsFactory:()=>Ny,\u0275\u0275getCurrentView:()=>qv,\u0275\u0275getInheritedFactory:()=>wp,\u0275\u0275hostProperty:()=>Mf,\u0275\u0275i18n:()=>xb,\u0275\u0275i18nApply:()=>Db,\u0275\u0275i18nAttributes:()=>Mb,\u0275\u0275i18nEnd:()=>Of,\u0275\u0275i18nExp:()=>Rf,\u0275\u0275i18nPostprocess:()=>Ib,\u0275\u0275i18nStart:()=>kf,\u0275\u0275inject:()=>Li,\u0275\u0275injectAttribute:()=>Oc,\u0275\u0275invalidFactory:()=>Z0,\u0275\u0275invalidFactoryDep:()=>is,\u0275\u0275listener:()=>Lf,\u0275\u0275loadQuery:()=>Pb,\u0275\u0275namespaceHTML:()=>lp,\u0275\u0275namespaceMathML:()=>ap,\u0275\u0275namespaceSVG:()=>op,\u0275\u0275nextContext:()=>Ab,\u0275\u0275ngDeclareClassMetadata:()=>SA,\u0275\u0275ngDeclareComponent:()=>AA,\u0275\u0275ngDeclareDirective:()=>TA,\u0275\u0275ngDeclareFactory:()=>kA,\u0275\u0275ngDeclareInjectable:()=>RA,\u0275\u0275ngDeclareInjector:()=>LA,\u0275\u0275ngDeclareNgModule:()=>NA,\u0275\u0275ngDeclarePipe:()=>PA,\u0275\u0275pipe:()=>Ty,\u0275\u0275pipeBind1:()=>Sy,\u0275\u0275pipeBind2:()=>Ay,\u0275\u0275pipeBind3:()=>ky,\u0275\u0275pipeBind4:()=>Oy,\u0275\u0275pipeBindV:()=>Ry,\u0275\u0275projection:()=>Ob,\u0275\u0275projectionDef:()=>kb,\u0275\u0275property:()=>mf,\u0275\u0275propertyInterpolate:()=>Ff,\u0275\u0275propertyInterpolate1:()=>Bu,\u0275\u0275propertyInterpolate2:()=>Uf,\u0275\u0275propertyInterpolate3:()=>Bf,\u0275\u0275propertyInterpolate4:()=>$f,\u0275\u0275propertyInterpolate5:()=>Vf,\u0275\u0275propertyInterpolate6:()=>jf,\u0275\u0275propertyInterpolate7:()=>Hf,\u0275\u0275propertyInterpolate8:()=>zf,\u0275\u0275propertyInterpolateV:()=>Wf,\u0275\u0275pureFunction0:()=>fy,\u0275\u0275pureFunction1:()=>my,\u0275\u0275pureFunction2:()=>py,\u0275\u0275pureFunction3:()=>gy,\u0275\u0275pureFunction4:()=>_y,\u0275\u0275pureFunction5:()=>vy,\u0275\u0275pureFunction6:()=>by,\u0275\u0275pureFunction7:()=>yy,\u0275\u0275pureFunction8:()=>Cy,\u0275\u0275pureFunctionV:()=>wy,\u0275\u0275queryAdvance:()=>Bb,\u0275\u0275queryRefresh:()=>Nb,\u0275\u0275reference:()=>Vb,\u0275\u0275registerNgModuleType:()=>$h,\u0275\u0275repeater:()=>Qv,\u0275\u0275repeaterCreate:()=>Zv,\u0275\u0275repeaterTrackByIdentity:()=>Yv,\u0275\u0275repeaterTrackByIndex:()=>Kv,\u0275\u0275resetView:()=>Qm,\u0275\u0275resolveBody:()=>Xd,\u0275\u0275resolveDocument:()=>T0,\u0275\u0275resolveWindow:()=>I0,\u0275\u0275restoreView:()=>Zm,\u0275\u0275sanitizeHtml:()=>l0,\u0275\u0275sanitizeResourceUrl:()=>zd,\u0275\u0275sanitizeScript:()=>u0,\u0275\u0275sanitizeStyle:()=>c0,\u0275\u0275sanitizeUrl:()=>Hd,\u0275\u0275sanitizeUrlOrResourceUrl:()=>f0,\u0275\u0275setComponentScope:()=>iy,\u0275\u0275setNgModuleScope:()=>ry,\u0275\u0275styleMap:()=>Qs,\u0275\u0275styleMapInterpolate1:()=>jb,\u0275\u0275styleMapInterpolate2:()=>Hb,\u0275\u0275styleMapInterpolate3:()=>zb,\u0275\u0275styleMapInterpolate4:()=>Wb,\u0275\u0275styleMapInterpolate5:()=>Gb,\u0275\u0275styleMapInterpolate6:()=>Kb,\u0275\u0275styleMapInterpolate7:()=>Yb,\u0275\u0275styleMapInterpolate8:()=>Zb,\u0275\u0275styleMapInterpolateV:()=>Qb,\u0275\u0275styleProp:()=>gf,\u0275\u0275stylePropInterpolate1:()=>Gf,\u0275\u0275stylePropInterpolate2:()=>Kf,\u0275\u0275stylePropInterpolate3:()=>Yf,\u0275\u0275stylePropInterpolate4:()=>Zf,\u0275\u0275stylePropInterpolate5:()=>Qf,\u0275\u0275stylePropInterpolate6:()=>Xf,\u0275\u0275stylePropInterpolate7:()=>Jf,\u0275\u0275stylePropInterpolate8:()=>qf,\u0275\u0275stylePropInterpolateV:()=>em,\u0275\u0275syntheticHostListener:()=>Nf,\u0275\u0275syntheticHostProperty:()=>Df,\u0275\u0275template:()=>Ja,\u0275\u0275templateRefExtractor:()=>Ly,\u0275\u0275text:()=>Xb,\u0275\u0275textInterpolate:()=>tm,\u0275\u0275textInterpolate1:()=>$u,\u0275\u0275textInterpolate2:()=>nm,\u0275\u0275textInterpolate3:()=>im,\u0275\u0275textInterpolate4:()=>rm,\u0275\u0275textInterpolate5:()=>sm,\u0275\u0275textInterpolate6:()=>om,\u0275\u0275textInterpolate7:()=>am,\u0275\u0275textInterpolate8:()=>lm,\u0275\u0275textInterpolateV:()=>cm,\u0275\u0275trustConstantHtml:()=>d0,\u0275\u0275trustConstantResourceUrl:()=>h0,\u0275\u0275twoWayBindingSet:()=>qb,\u0275\u0275twoWayListener:()=>dm,\u0275\u0275twoWayProperty:()=>um,\u0275\u0275validateIframeAttribute:()=>C_,\u0275\u0275viewQuery:()=>Lb,\u0275\u0275viewQuerySignal:()=>Ub});var t=g(467);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++;F(C),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function k(e){F(e);for(let n=0;n0}function F(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function S(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function R(e){const n=Object.create(Y);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 N=Symbol("UNSET"),A=Symbol("COMPUTING"),U=Symbol("ERRORED"),Y={...a,value:N,dirty:!0,error:null,equal:v,producerMustRecompute:e=>e.value===N||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!==N&&n!==U&&o!==U&&e.equal(n,o)?e.value=n:(e.value=o,e.version++)}};let ie=function ee(){throw new Error};function $(){ie()}let G=null;function le(e,n){_()||$(),e.equal(e.value,n)||(e.value=n,function Ye(e){e.version++,function u(){c++}(),p(e),G?.()}(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 Ae=g(1413),me=g(8359),We=g(4412),Fe=g(6354),xe=g(1594);const q="https://g.co/ng/security#xss";class ge extends Error{constructor(n,i){super(Oe(n,i)),this.code=n}}function Oe(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}const vt=Symbol("InputSignalNode#UNSET"),it={...ve,transformFn:void 0,applyValueToInputSignal(e,n){le(e,n)}},Ge=Symbol();function Me(e,n){const i=Object.create(it);function o(){if(r(i),i.value===vt)throw new ge(-950,!1);return i.value}return i.value=e,i.transformFn=n?.transform,o[b]=i,o}function rt(e){return{toString:e}.toString()}const Mt="__annotations__",zt="__parameters__",Xt="__prop__metadata__";function dn(e,n,i,o,m){return rt(()=>{const x=hn(n);function P(...B){if(this instanceof P)return x.call(this,...B),this;const J=new P(...B);return function(ke){return m&&m(ke,...B),(ke.hasOwnProperty(Mt)?ke[Mt]:Object.defineProperty(ke,Mt,{value:[]})[Mt]).push(J),o&&o(ke),ke}}return i&&(P.prototype=Object.create(i.prototype)),P.prototype.ngMetadataName=e,P.annotationCls=P,P})}function hn(e){return function(...i){if(e){const o=e(...i);for(const m in o)this[m]=o[m]}}}function un(e,n,i){return rt(()=>{const o=hn(n);function m(...x){if(this instanceof m)return o.apply(this,x),this;const P=new m(...x);return B.annotation=P,B;function B(J,fe,ke){const qe=J.hasOwnProperty(zt)?J[zt]:Object.defineProperty(J,zt,{value:[]})[zt];for(;qe.length<=ke;)qe.push(null);return(qe[ke]=qe[ke]||[]).push(P),J}}return i&&(m.prototype=Object.create(i.prototype)),m.prototype.ngMetadataName=e,m.annotationCls=m,m})}function rn(e,n,i,o){return rt(()=>{const m=hn(n);function x(...P){if(this instanceof x)return m.apply(this,P),this;const B=new x(...P);return function J(fe,ke){if(void 0===fe)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const qe=fe.constructor,Lt=qe.hasOwnProperty(Xt)?qe[Xt]:Object.defineProperty(qe,Xt,{value:{}})[Xt];Lt[ke]=Lt.hasOwnProperty(ke)&&Lt[ke]||[],Lt[ke].unshift(B),o&&o(fe,ke,...P)}}return i&&(x.prototype=Object.create(i.prototype)),x.prototype.ngMetadataName=e,x.annotationCls=x,x})}const fn=globalThis;function _e(e){for(let n in e)if(e[n]===_e)return n;throw Error("Could not find renamed property on target object.")}function Ze(e,n){for(const i in n)n.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=n[i])}function Qe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Qe).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 Rt(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}function et(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)}const ft=_e({__forward_ref__:_e});function Re(e){return e.__forward_ref__=Re,e.toString=function(){return Qe(this())},e}function pe(e){return Ke(e)?e():e}function Ke(e){return"function"==typeof e&&e.hasOwnProperty(ft)&&e.__forward_ref__===Re}function At(e,n,i,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${i} ${o} ${n} <=Actual]`))}function Vn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const st=Vn;function qt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Be(e){return Et(e,ut)||Et(e,pt)}function at(e){return null!==Be(e)}function Et(e,n){return e.hasOwnProperty(n)?e[n]:null}function Le(e){return e&&(e.hasOwnProperty(ot)||e.hasOwnProperty(wt))?e[ot]:null}const ut=_e({\u0275prov:_e}),ot=_e({\u0275inj:_e}),pt=_e({ngInjectableDef:_e}),wt=_e({ngInjectorDef:_e});class Ie{constructor(n,i){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=Vn({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let Tt;function he(e){At("setInjectorProfilerContext should never be called in production mode");const n=Tt;return Tt=e,n}function Tn(e){return e&&!!e.\u0275providers}const ti=_e({\u0275cmp:_e}),Qi=_e({\u0275dir:_e}),fi=_e({\u0275pipe:_e}),sr=_e({\u0275mod:_e}),_i=_e({\u0275fac:_e}),mi=_e({__NG_ELEMENT_ID__:_e}),Hi=_e({__NG_ENV_ID__:_e});function On(e){return"string"==typeof e?e:null==e?"":String(e)}function Cn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():On(e)}function Fi(e,n){throw new ge(-201,!1)}var Un=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}(Un||{});let vn;function Dn(){return vn}function Rn(e){const n=vn;return vn=e,n}function jn(e,n,i){const o=Be(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&Un.Optional?null:void 0!==n?n:void Fi()}const Wi={},ar="__NG_DI_FLAG__",Hr="ngTempTokenPath",wr=/\n/gm,Ar="__source";let Ur;function mr(e){const n=Ur;return Ur=e,n}function ns(e,n=Un.Default){if(void 0===Ur)throw new ge(-203,!1);return null===Ur?jn(e,void 0,n):Ur.get(e,n&Un.Optional?null:void 0,n)}function Li(e,n=Un.Default){return(Dn()||ns)(pe(e),n)}function is(e){throw new ge(202,!1)}function Bn(e,n=Un.Default){return Li(e,zr(n))}function zr(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ds(e){const n=[];for(let i=0;i({token:e})),-1),Ot=br(un("Optional"),8),jt=br(un("Self"),2),Gt=br(un("SkipSelf"),4),on=br(un("Host"),1);function pn(e,n){return e.hasOwnProperty(_i)?e[_i]:null}function In(e){return e.flat(Number.POSITIVE_INFINITY)}function $n(e,n){e.forEach(i=>Array.isArray(i)?$n(i,n):n(i))}function xi(e,n,i){n>=e.length?e.push(i):e.splice(n,0,i)}function Yn(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Ui(e,n){const i=[];for(let o=0;on;)e[m]=e[m-2],m--;e[n]=i,e[n+1]=o}}function vi(e,n,i){let o=Gr(e,n);return o>=0?e[1|o]=i:(o=~o,li(e,o,n,i)),o}function Wr(e,n){const i=Gr(e,n);if(i>=0)return e[1|i]}function Gr(e,n){return function $r(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<n){P=x-1;break}}}for(;x-1){let x;for(;++mx?"":m[ke+1].toLowerCase(),2&o&&fe!==qe){if(kr(o))return!1;P=!0}}}}else{if(!P&&!kr(o)&&!kr(J))return!1;if(P&&kr(J))continue;P=!1,o=J|1&o}}return kr(o)||P}function kr(e){return!(1&e)}function Eo(e,n,i,o){if(null===n)return-1;let m=0;if(o||!i){let x=!1;for(;m-1)for(i++;i0?'="'+B+'"':"")+"]"}else 8&o?m+="."+P:4&o&&(m+=" "+P);else""!==m&&!kr(P)&&(n+=Cs(x,m),m=""),o=P,x=x||!kr(o);i++}return""!==m&&(n+=Cs(x,m)),n}function eo(e){return rt(()=>{const n=to(e),i={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Zr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Qr.Emulated,styles:e.styles||ui,_:null,schemas:e.schemas||null,tView:null,id:""};Us(i);const o=e.dependencies;return i.directiveDefs=Bs(o,!1),i.pipeDefs=Bs(o,!0),i.id=function Do(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 Mo(e){return ei(e)||di(e)}function Ho(e){return null!==e}function Fs(e){return rt(()=>({type:e.type,bootstrap:e.bootstrap||ui,declarations:e.declarations||ui,imports:e.imports||ui,exports:e.exports||ui,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function As(e,n){if(null==e)return Ji;const i={};for(const o in e)if(e.hasOwnProperty(o)){const m=e[o];let x,P,B=Xr.None;Array.isArray(m)?(B=m[0],x=m[1],P=m[2]??x):(x=m,P=m),n?(i[x]=B!==Xr.None?[o,B]:o,n[x]=P):i[x]=o}return i}function Jr(e){return rt(()=>{const n=to(e);return Us(n),n})}function zo(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 ei(e){return e[ti]||null}function di(e){return e[Qi]||null}function lr(e){return e[fi]||null}function Or(e){const n=ei(e)||di(e)||lr(e);return null!==n&&n.standalone}function cr(e,n){const i=e[sr]||null;if(!i&&!0===n)throw new Error(`Type ${Qe(e)} does not have '\u0275mod' property.`);return i}function to(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||Ji,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ui,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:As(e.inputs,n),outputs:As(e.outputs),debugInfo:null}}function Us(e){e.features?.forEach(n=>n(e))}function Bs(e,n){if(!e)return null;const i=n?lr:Mo;return()=>("function"==typeof e?e():e).map(o=>i(o)).filter(Ho)}const aa=new Map;function ws(e){return{\u0275providers:e}}function Io(...e){return{\u0275providers:$s(0,e),\u0275fromNgModule:!0}}function $s(e,...n){const i=[],o=new Set;let m;const x=P=>{i.push(P)};return $n(n,P=>{const B=P;no(B,x,[],o)&&(m||=[],m.push(B))}),void 0!==m&&Wo(m,x),i}function Wo(e,n){for(let i=0;i{n(x,o)})}}function no(e,n,i,o){if(!(e=pe(e)))return!1;let m=null,x=Le(e);const P=!x&&ei(e);if(x||P){if(P&&!P.standalone)return!1;m=e}else{const J=e.ngModule;if(x=Le(J),!x)return!1;m=J}const B=o.has(m);if(P){if(B)return!1;if(o.add(m),P.dependencies){const J="function"==typeof P.dependencies?P.dependencies():P.dependencies;for(const fe of J)no(fe,n,i,o)}}else{if(!x)return!1;{if(null!=x.imports&&!B){let fe;o.add(m);try{$n(x.imports,ke=>{no(ke,n,i,o)&&(fe||=[],fe.push(ke))})}finally{}void 0!==fe&&Wo(fe,n)}if(!B){const fe=pn(m)||(()=>new m);n({provide:m,useFactory:fe,deps:ui},m),n({provide:Vr,useValue:m,multi:!0},m),n({provide:rs,useValue:()=>Li(m),multi:!0},m)}const J=x.providers;if(null!=J&&!B){const fe=e;Vs(J,ke=>{n(ke,fe)})}}}return m!==e&&void 0!==e.providers}function Vs(e,n){for(let i of e)Tn(i)&&(i=i.\u0275providers),Array.isArray(i)?Vs(i,n):n(i)}const hs=_e({provide:String,useValue:_e});function js(e){return null!==e&&"object"==typeof e&&hs in e}function fs(e){return"function"==typeof e}const ks=new Ie(""),Hs={},qr={};let Rr;function Os(){return void 0===Rr&&(Rr=new Yr),Rr}class Lr{}class Rs extends Lr{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,ko(n,P=>this.processProvider(P)),this.records.set(Kr,Es(void 0,this)),m.has("environment")&&this.records.set(Lr,Es(void 0,this));const x=this.records.get(ks);null!=x&&"string"==typeof x.value&&this.scopes.add(x.value),this.injectorDefTypes=new Set(this.get(Vr,ui,Un.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=s(null);try{for(const o of this._ngOnDestroyHooks)o.ngOnDestroy();const i=this._onDestroyHooks;this._onDestroyHooks=[];for(const o of i)o()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),s(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const i=mr(this),o=Rn(void 0);try{return n()}finally{mr(i),Rn(o)}}get(n,i=Wi,o=Un.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Hi))return n[Hi](this);o=zr(o);const x=mr(this),P=Rn(void 0);try{if(!(o&Un.SkipSelf)){let J=this.records.get(n);if(void 0===J){const fe=function ms(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ie}(n)&&Be(n);J=fe&&this.injectableDefInScope(fe)?Es(ro(n),Hs):null,this.records.set(n,J)}if(null!=J)return this.hydrate(n,J)}return(o&Un.Self?Os():this.parent).get(n,i=o&Un.Optional&&i===Wi?null:i)}catch(B){if("NullInjectorError"===B.name){if((B[Hr]=B[Hr]||[]).unshift(Qe(n)),x)throw B;return function Dt(e,n,i,o){const m=e[Hr];throw n[Ar]&&m.unshift(n[Ar]),e.message=function bt(e,n,i,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let m=Qe(n);if(Array.isArray(n))m=n.map(Qe).join(" -> ");else if("object"==typeof n){let x=[];for(let P in n)if(n.hasOwnProperty(P)){let B=n[P];x.push(P+":"+("string"==typeof B?JSON.stringify(B):Qe(B)))}m=`{${x.join(", ")}}`}return`${i}${o?"("+o+")":""}[${m}]: ${e.replace(wr,"\n ")}`}("\n"+e.message,m,i,o),e.ngTokenPath=m,e[Hr]=null,e}(B,n,"R3InjectorError",this.source)}throw B}finally{Rn(P),mr(x)}}resolveInjectorInitializers(){const n=s(null),i=mr(this),o=Rn(void 0);try{const x=this.get(rs,ui,Un.Self);for(const P of x)P()}finally{mr(i),Rn(o),s(n)}}toString(){const n=[],i=this.records;for(const o of i.keys())n.push(Qe(o));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ge(205,!1)}processProvider(n){let i=fs(n=pe(n))?n:pe(n&&n.provide);const o=function Go(e){return js(e)?Es(void 0,e.useValue):Es(Ao(e),Hs)}(n);if(!fs(n)&&!0===n.multi){let m=this.records.get(i);m||(m=Es(void 0,Hs,!0),m.factory=()=>ds(m.multi),this.records.set(i,m)),i=n,m.multi.push(n)}this.records.set(i,o)}hydrate(n,i){const o=s(null);try{return i.value===Hs&&(i.value=qr,i.value=i.factory()),"object"==typeof i.value&&i.value&&function la(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{s(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;const i=pe(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 ro(e){const n=Be(e),i=null!==n?n.factory:pn(e);if(null!==i)return i;if(e instanceof Ie)throw new ge(204,!1);if(e instanceof Function)return function so(e){if(e.length>0)throw new ge(204,!1);const i=function sn(e){return e&&(e[ut]||e[pt])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new ge(204,!1)}function Ao(e,n,i){let o;if(fs(e)){const m=pe(e);return pn(m)||ro(m)}if(js(e))o=()=>pe(e.useValue);else if(function io(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...ds(e.deps||[]));else if(function To(e){return!(!e||!e.useExisting)}(e))o=()=>Li(pe(e.useExisting));else{const m=pe(e&&(e.useClass||e.provide));if(!function Gi(e){return!!e.deps}(e))return pn(m)||ro(m);o=()=>new m(...ds(e.deps))}return o}function Es(e,n,i=!1){return{factory:e,value:n,multi:i?[]:void 0}}function ko(e,n){for(const i of e)Array.isArray(i)?ko(i,n):i&&Tn(i)?ko(i.\u0275providers,n):n(i)}function oo(e,n){e instanceof Rs&&e.assertNotDestroyed();const o=mr(e),m=Rn(void 0);try{return n()}finally{mr(o),Rn(m)}}function X(){return void 0!==Dn()||null!=function Br(){return Ur}()}function Ne(e){if(!X())throw new ge(-203,!1)}var oe=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}(oe||{});function $t(e){const n=fn.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Jt={\u0275\u0275defineInjectable:Vn,\u0275\u0275defineInjector:qt,\u0275\u0275inject:Li,\u0275\u0275invalidFactoryDep:is,resolveForwardRef:pe},wn=Function;function Ci(e){return"function"==typeof e}const ai=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Ai=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,ri=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,ki=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class er{constructor(n){this._reflect=n||fn.Reflect}factory(n){return(...i)=>new n(...i)}_zipTypesAndAnnotations(n,i){let o;o=Ui(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 Di(e){return ai.test(e)||ki.test(e)||Ai.test(e)&&!ri.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 B="function"==typeof m?m():m,J=B.map(ke=>ke&&ke.type),fe=B.map(ke=>ke&&Nr(ke.decorators));return this._zipTypesAndAnnotations(J,fe)}const x=n.hasOwnProperty(zt)&&n[zt],P=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return P||x?this._zipTypesAndAnnotations(P,x):Ui(n.length)}parameters(n){if(!Ci(n))return[];const i=xr(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?Nr(n.decorators):n.hasOwnProperty(Mt)?n[Mt]:null}annotations(n){if(!Ci(n))return[];const i=xr(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]=Nr(o[x])}),m}return n.hasOwnProperty(Xt)?n[Xt]:null}propMetadata(n){if(!Ci(n))return{};const i=xr(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 Ci(n)&&this._ownPropMetadata(n,xr(n))||{}}hasLifecycleHook(n,i){return n instanceof wn&&i in n.prototype}}function Nr(e){return e?e.map(n=>new(0,n.type.annotationCls)(...n.args?n.args:[])):[]}function xr(e){const n=e.prototype?Object.getPrototypeOf(e.prototype):null;return(n?n.constructor:null)||Object}const Ii=0,mn=1,kn=2,Ti=3,dr=4,or=5,tr=6,ao=7,Ki=8,pr=9,ss=10,Wn=11,Pr=12,Ko=13,zs=14,Yi=15,Oo=16,Ws=17,Fr=18,Gs=19,Yo=20,Ls=21,lo=22,Ns=23,Kn=25,co=1,uo=6,ps=7,ho=9,nr=10;var ca=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ca||{});function yr(e){return Array.isArray(e)&&"object"==typeof e[co]}function hr(e){return Array.isArray(e)&&!0===e[co]}function ua(e){return!!(4&e.flags)}function Ks(e){return e.componentOffset>-1}function Qo(e){return!(1&~e.flags)}function os(e){return!!e.template}function da(e){return!!(512&e[kn])}function wl(e){return!(16&~e.type)}function H(e){return!(256&~e[kn])}class An{constructor(n,i,o){this.previousValue=n,this.currentValue=i,this.firstChange=o}isFirstChange(){return this.firstChange}}function gn(e,n,i,o){null!==n?n.applyValueToInputSignal(n,o):e[i]=o}function zn(){return ir}function ir(e){return e.type.prototype.ngOnChanges&&(e.setInput=ci),wi}function wi(){const e=pi(this),n=e?.current;if(n){const i=e.previous;if(i===Ji)e.previous=n;else for(let o in n)i[o]=n[o];e.current=null,this.ngOnChanges(n)}}function ci(e,n,i,o,m){const x=this.declaredInputs[o],P=pi(e)||function Sn(e,n){return e[Pi]=n}(e,{previous:Ji,current:null}),B=P.current||(P.current={}),J=P.previous,fe=J[x];B[x]=new An(fe&&fe.currentValue,i,J===Ji),gn(e,n,m,i)}zn.ngInherit=!0;const Pi="__ngSimpleChanges__";function pi(e){return e[Pi]||null}const Pn=function(e,n,i){},ji="svg",bi="math";let si=!1;function gi(){return si}function Ro(e){si=e}function $i(e){for(;Array.isArray(e);)e=e[Ii];return e}function Xo(e){for(;Array.isArray(e);){if("object"==typeof e[co])return e;e=e[Ii]}return null}function fo(e,n){return $i(n[e])}function as(e,n){return $i(n[e.index])}function xl(e,n){return e.data[n]}function Sa(e,n){return e[n]}function xs(e,n){const i=n[e];return yr(i)?i:i[Ii]}function td(e){return!(128&~e[kn])}function mo(e,n){return null==n?null:e[n]}function Hm(e){e[Ws]=0}function CC(e){1024&e[kn]||(e[kn]|=1024,td(e)&&Ml(e))}function zm(e,n){for(;e>0;)n=n[zs],e--;return n}function nd(e){return!!(9216&e[kn]||e[Ns]?.dirty)}function id(e){e[ss].changeDetectionScheduler?.notify(1),nd(e)?Ml(e):64&e[kn]&&(gi()?(e[kn]|=1024,Ml(e)):e[ss].changeDetectionScheduler?.notify())}function Ml(e){e[ss].changeDetectionScheduler?.notify();let n=ha(e);for(;null!==n&&!(8192&n[kn])&&(n[kn]|=8192,td(n));)n=ha(n)}function Ec(e,n){if(!(256&~e[kn]))throw new ge(911,!1);null===e[Ls]&&(e[Ls]=[]),e[Ls].push(n)}function rd(e,n){if(null===e[Ls])return;const i=e[Ls].indexOf(n);-1!==i&&e[Ls].splice(i,1)}function ha(e){const n=e[Ti];return hr(n)?n[Ti]:n}const Jn={lFrame:ip(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Gm(){return Jn.bindingsEnabled}function Aa(){return null!==Jn.skipHydrationRootTNode}function Km(){Jn.bindingsEnabled=!0}function Ym(){Jn.bindingsEnabled=!1}function tn(){return Jn.lFrame.lView}function yi(){return Jn.lFrame.tView}function Zm(e){return Jn.lFrame.contextLView=e,e[Ki]}function Qm(e){return Jn.lFrame.contextLView=null,e}function Zi(){let e=Xm();for(;null!==e&&64===e.type;)e=e.parent;return e}function Xm(){return Jn.lFrame.currentTNode}function Dl(){const e=Jn.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function po(e,n){const i=Jn.lFrame;i.currentTNode=e,i.isParent=n}function sd(){return Jn.lFrame.isParent}function od(){Jn.lFrame.isParent=!1}function ls(){const e=Jn.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Lo(){return Jn.lFrame.bindingIndex}function qm(e){return Jn.lFrame.bindingIndex=e}function Ys(){return Jn.lFrame.bindingIndex++}function No(e){const n=Jn.lFrame,i=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,i}function ep(e){Jn.lFrame.inI18n=e}function AC(e,n){const i=Jn.lFrame;i.bindingIndex=i.bindingRootIndex=e,ad(n)}function ad(e){Jn.lFrame.currentDirectiveIndex=e}function ld(e){const n=Jn.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function cd(){return Jn.lFrame.currentQueryIndex}function xc(e){Jn.lFrame.currentQueryIndex=e}function OC(e){const n=e[mn];return 2===n.type?n.declTNode:1===n.type?e[or]:null}function tp(e,n,i){if(i&Un.SkipSelf){let m=n,x=e;for(;!(m=m.parent,null!==m||i&Un.Host||(m=OC(x),null===m||(x=x[zs],10&m.type))););if(null===m)return!1;n=m,e=x}const o=Jn.lFrame=np();return o.currentTNode=n,o.lView=e,!0}function ud(e){const n=np(),i=e[mn];Jn.lFrame=n,n.currentTNode=i.firstChild,n.lView=e,n.tView=i,n.contextLView=e,n.bindingIndex=i.bindingStartIndex,n.inI18n=!1}function np(){const e=Jn.lFrame,n=null===e?null:e.child;return null===n?ip(e):n}function ip(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 rp(){const e=Jn.lFrame;return Jn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const sp=rp;function dd(){const e=rp();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 es(){return Jn.lFrame.selectedIndex}function fa(e){Jn.lFrame.selectedIndex=e}function rr(){const e=Jn.lFrame;return xl(e.tView,e.selectedIndex)}function op(){Jn.lFrame.currentNamespace=ji}function ap(){Jn.lFrame.currentNamespace=bi}function lp(){!function LC(){Jn.lFrame.currentNamespace=null}()}function cp(){return Jn.lFrame.currentNamespace}let up=!0;function Il(){return up}function go(e){up=e}function Mc(e,n){for(let i=n.directiveStart,o=n.directiveEnd;i=o)break}else n[J]<0&&(e[Ws]+=65536),(B>14>16&&(3&e[kn])===n&&(e[kn]+=16384,hp(B,x)):hp(B,x)}const ka=-1;class Tl{constructor(n,i,o){this.factory=n,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=o}}function UC(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function md(e){return e!==ka}function Sl(e){return 32767&e}function Al(e,n){let i=function VC(e){return e>>16}(e),o=n;for(;i>0;)o=o[zs],i--;return o}let pd=!0;function Tc(e){const n=pd;return pd=e,n}const fp=255,mp=5;let jC=0;const _o={};function Sc(e,n){const i=pp(e,n);if(-1!==i)return i;const o=n[mn];o.firstCreatePass&&(e.injectorIndex=n.length,gd(o.data,e),gd(n,null),gd(o.blueprint,null));const m=Ac(e,n),x=e.injectorIndex;if(md(m)){const P=Sl(m),B=Al(m,n),J=B[mn].data;for(let fe=0;fe<8;fe++)n[x+fe]=B[P+fe]|J[P+fe]}return n[x+8]=m,x}function gd(e,n){e.push(0,0,0,0,0,0,0,0,n)}function pp(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Ac(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=Ep(m),null===o)return ka;if(i++,m=m[zs],-1!==o.injectorIndex)return o.injectorIndex|i<<16}return ka}function _d(e,n,i){!function HC(e,n,i){let o;"string"==typeof i?o=i.charCodeAt(0)||0:i.hasOwnProperty(mi)&&(o=i[mi]),null==o&&(o=i[mi]=jC++);const m=o&fp;n.data[e+(m>>mp)]|=1<=0?n&fp:KC:n}(i);if("function"==typeof x){if(!tp(n,e,o))return o&Un.Host?gp(m,0,o):_p(n,i,o,m);try{let P;if(P=x(o),null!=P||o&Un.Optional)return P;Fi()}finally{sp()}}else if("number"==typeof x){let P=null,B=pp(e,n),J=ka,fe=o&Un.Host?n[Yi][or]:null;for((-1===B||o&Un.SkipSelf)&&(J=-1===B?Ac(e,n):n[B+8],J!==ka&&Cp(o,!1)?(P=n[mn],B=Sl(J),n=Al(J,n)):B=-1);-1!==B;){const ke=n[mn];if(yp(x,B,ke.data)){const qe=WC(B,n,i,P,o,fe);if(qe!==_o)return qe}J=n[B+8],J!==ka&&Cp(o,n[mn].data[B+8]===fe)&&yp(x,B,n)?(P=ke,B=Sl(J),n=Al(J,n)):B=-1}}return m}function WC(e,n,i,o,m,x){const P=n[mn],B=P.data[e+8],ke=kc(B,P,i,null==o?Ks(B)&&pd:o!=P&&!!(3&B.type),m&Un.Host&&x===B);return null!==ke?ma(n,P,ke,B):_o}function kc(e,n,i,o,m){const x=e.providerIndexes,P=n.data,B=1048575&x,J=e.directiveStart,ke=x>>20,Lt=m?B+ke:e.directiveEnd;for(let Ut=o?B:B+ke;Ut=J&&Ht.type===i)return Ut}if(m){const Ut=P[J];if(Ut&&os(Ut)&&Ut.type===i)return J}return null}function ma(e,n,i,o){let m=e[i];const x=n.data;if(function FC(e){return e instanceof Tl}(m)){const P=m;P.resolving&&function Qn(e,n){throw n&&n.join(" > "),new ge(-200,e)}(Cn(x[i]));const B=Tc(P.canSeeViewProviders);P.resolving=!0;const fe=P.injectImpl?Rn(P.injectImpl):null;tp(e,o,Un.Default);try{m=e[i]=P.factory(void 0,x,e,o),n.firstCreatePass&&i>=o.directiveStart&&function NC(e,n,i){const{ngOnChanges:o,ngOnInit:m,ngDoCheck:x}=n.type.prototype;if(o){const P=ir(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!==fe&&Rn(fe),Tc(B),P.resolving=!1,sp()}}return m}function yp(e,n,i){return!!(i[n+(e>>mp)]&1<{const n=e.prototype.constructor,i=n[_i]||vd(n),o=Object.prototype;let m=Object.getPrototypeOf(e.prototype).constructor;for(;m&&m!==o;){const x=m[_i]||vd(m);if(x&&x!==i)return x;m=Object.getPrototypeOf(m)}return x=>new x})}function vd(e){return Ke(e)?()=>{const n=vd(pe(e));return n&&n()}:pn(e)}function Ep(e){const n=e[mn],i=n.type;return 2===i?n.declTNode:1===i?e[or]:null}function Oc(e){return function zC(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__:()=>Oc(e)}));let Mp=null;function bd(){return Mp=Mp||new er}function Rc(e){return Dp(bd().parameters(e))}function Dp(e){return e.map(n=>function ZC(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 QC(e,n){let i=null,o=null;e.hasOwnProperty(ut)||Object.defineProperty(e,ut,{get:()=>(null===i&&(i=$t().compileInjectable(Jt,`ng:///${e.name}/\u0275prov.js`,function ew(e,n){const i=n||{providedIn:null},o={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Ip(i)||Tp(i))&&void 0!==i.deps&&(o.deps=Dp(i.deps)),Ip(i)?o.useClass=i.useClass:function JC(e){return XC in e}(i)?o.useValue=i.useValue:Tp(i)?o.useFactory=i.useFactory:function qC(e){return void 0!==e.useExisting}(i)&&(o.useExisting=i.useExisting),o}(e,n))),i)}),e.hasOwnProperty(_i)||Object.defineProperty(e,_i,{get:()=>{if(null===o){const m=$t();o=m.compileFactory(Jt,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Rc(e),target:m.FactoryTarget.Injectable})}return o},configurable:!0})}(e,n));function yd(e,n=null,i=null,o){const m=Sp(e,n,i,o);return m.resolveInjectorInitializers(),m}function Sp(e,n=null,i=null,o,m=new Set){const x=[i||ui,Io(e)];return o=o||("object"==typeof e?void 0:Qe(e)),new Rs(x,n||Os(),o||null,m)}let Ms=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Wi;static#t=this.NULL=new Yr;static create(i,o){if(Array.isArray(i))return yd({name:""},o,i,"");{const m=i.name??"";return yd({name:m},i.parent,i.providers,m)}}static#n=this.\u0275prov=Vn({token:e,providedIn:"any",factory:()=>Li(Kr)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();class nw{constructor(n){this.attributeName=n,this.__NG_ELEMENT_ID__=()=>Oc(this.attributeName)}toString(){return`HostAttributeToken ${this.attributeName}`}}function Cd(e){return e.ngOriginalError}class Po{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&&Cd(n);for(;i&&Cd(i);)i=Cd(i);return i||null}}const kp=new Ie("",{providedIn:"root",factory:()=>Bn(Po).handleError.bind(void 0)});let pa=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=rw;static#t=this.__NG_ENV_ID__=i=>i}return e})();class iw extends pa{constructor(n){super(),this._lView=n}onDestroy(n){return Ec(this._lView,n),()=>rd(this._lView,n)}}function rw(){return new iw(tn())}class wd{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=Bn(Po,{optional:!0}),this.destroyRef=Bn(pa),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new ge(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{const i=this.listeners?.indexOf(n);void 0!==i&&-1!==i&&this.listeners?.splice(i,1)}}}emit(n){if(this.destroyed)throw new ge(953,!1);if(null===this.listeners)return;const i=s(null);try{for(const o of this.listeners)try{o(n)}catch(m){this.errorHandler?.handleError(m)}}finally{s(i)}}}function sw(e){return e.destroyRef}function ow(e){return new wd}function Op(e,n){return Me(e,n)}const lw=(Op.required=function aw(e){return Me(vt,e)},Op);function cw(){return La(Zi(),tn())}function La(e,n){return new kl(as(e,n))}let kl=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=cw}return e})();function Rp(e){return e instanceof kl?e.nativeElement:e}function Ed(e){return n=>{setTimeout(e,void 0,n)}}const vo=class uw extends Ae.B{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,X()&&(this.destroyRef=Bn(pa,{optional:!0})??void 0)}emit(n){const i=s(null);try{super.next(n)}finally{s(i)}}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=Ed(x),m&&(m=Ed(m)),P&&(P=Ed(P)));const B=super.subscribe({next:m,error:x,complete:P});return n instanceof me.yU&&n.add(B),B}};function dw(){return this._results[Symbol.iterator]()}class Lc{static#e=Symbol.iterator;get changes(){return this._changes??=new vo}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const i=Lc.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=dw)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,i){return this._results.reduce(n,i)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,i){this.dirty=!1;const o=In(n);(this._changesDetected=!function bn(e,n,i){if(e.length!==n.length)return!1;for(let o=0;omw}),mw="ng",Fp=new Ie(""),Md=new Ie("",{providedIn:"platform",factory:()=>"unknown"}),pw=new Ie(""),gw=new Ie(""),_w=new Ie("",{providedIn:"root",factory:()=>Jo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Up={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Bp=new Ie("",{providedIn:"root",factory:()=>Up});function vw(e){return e}function bw(){const e=new Rl;return"browser"===Bn(Md)&&(e.store=function yw(e,n){const i=e.getElementById(n+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(o){console.warn("Exception while restoring TransferState for app "+n,o)}return{}}(Jo(),Bn(Pp))),e}let Rl=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Vn({token:e,providedIn:"root",factory:bw});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 Cw(e,n,i=!1){let o=e.getAttribute(Nl);if(null==o)return null;const[m,x]=o.split("|");if(o=i?x:m,!o)return null;const B=i?m:x?`|${x}`:"";let J={};if(""!==o){const ke=n.get(Rl,null,{optional:!0});null!==ke&&(J=ke.get(Od,[])[Number(o)])}const fe={data:J,firstChild:e.firstChild??null};return i&&(fe.firstChild=e,Bc(fe,0,e.nextSibling)),B?e.setAttribute(Nl,B):e.removeAttribute(Nl),fe}function Rd(e,n,i=!1){return Vp(e,n,i)}function jp(e){let n=e._lView;return 2===n[mn].type?null:(da(n)&&(n=n[Kn]),n)}const Hp="__ngDebugHydrationInfo__";function Nd(e){return e[Hp]??null}function Bc(e,n,i){e.segmentHeads??={},e.segmentHeads[n]=i}function Pd(e,n){return e.segmentHeads?.[n]??null}function zp(e,n){return e.data[Ll]?.[n]??null}function Fd(e,n){const i=zp(e,n)??[];let o=0;for(let m of i)o+=m[Pa]*(m[Fc]??1);return o}function $c(e,n){if(typeof e.disconnectedNodes>"u"){const i=e.data[Uc];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(n)}const Fl=new Ie(""),Gp=new Ie("",{providedIn:"root",factory:()=>!1}),Kp=new Ie("");let Vc,jc;function Ud(){if(void 0===Vc&&(Vc=null,fn.trustedTypes))try{Vc=fn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Vc}function Ua(e){return Ud()?.createHTML(e)||e}function Bd(){if(void 0===jc&&(jc=null,fn.trustedTypes))try{jc=fn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return jc}function Yp(e){return Bd()?.createHTML(e)||e}function Zp(e){return Bd()?.createScript(e)||e}function Qp(e){return Bd()?.createScriptURL(e)||e}class ga{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${q})`}}class Sw extends ga{getTypeName(){return"HTML"}}class Aw extends ga{getTypeName(){return"Style"}}class kw extends ga{getTypeName(){return"Script"}}class Ow extends ga{getTypeName(){return"URL"}}class Rw extends ga{getTypeName(){return"ResourceURL"}}function Fo(e){return e instanceof ga?e.changingThisBreaksApplicationSecurity:e}function Ba(e,n){const i=Xp(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 Xp(e){return e instanceof ga&&e.getTypeName()||null}function Lw(e){return new Sw(e)}function Nw(e){return new Aw(e)}function Pw(e){return new kw(e)}function Fw(e){return new Ow(e)}function Uw(e){return new Rw(e)}function Jp(e){const n=new $w(e);return function Vw(){try{return!!(new window.DOMParser).parseFromString(Ua(""),"text/html")}catch{return!1}}()?new Bw(n):n}class Bw{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const i=(new window.DOMParser).parseFromString(Ua(n),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(n):(i.removeChild(i.firstChild),i)}catch{return null}}}class $w{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const i=this.inertDocument.createElement("template");return i.innerHTML=Ua(n),i}}const jw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hc(e){return(e=String(e)).match(jw)?e:"unsafe:"+e}function Uo(e){const n={};for(const i of e.split(","))n[i]=!0;return n}function Ul(...e){const n={};for(const i of e)for(const o in i)i.hasOwnProperty(o)&&(n[o]=!0);return n}const qp=Uo("area,br,col,hr,img,wbr"),e0=Uo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),t0=Uo("rp,rt"),$d=Ul(qp,Ul(e0,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")),Ul(t0,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")),Ul(t0,e0)),Vd=Uo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),n0=Ul(Vd,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")),Hw=Uo("script,style,template");class zw{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let i=n.firstChild,o=!0,m=[];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)m.push(i),i=Kw(i);else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let x=Gw(i);if(x){i=x;break}i=m.pop()}return this.buf.join("")}startElement(n){const i=r0(n).toLowerCase();if(!$d.hasOwnProperty(i))return this.sanitizedSomething=!0,!Hw.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const o=n.attributes;for(let m=0;m"),!0}endElement(n){const i=r0(n).toLowerCase();$d.hasOwnProperty(i)&&!qp.hasOwnProperty(i)&&(this.buf.push(""))}chars(n){this.buf.push(o0(n))}}function Gw(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw s0(n);return n}function Kw(e){const n=e.firstChild;if(n&&function Ww(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw s0(n);return n}function r0(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function s0(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const Yw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zw=/([^\#-~ |!])/g;function o0(e){return e.replace(/&/g,"&").replace(Yw,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Zw,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let zc;function a0(e,n){let i=null;try{zc=zc||Jp(e);let o=n?String(n):"";i=zc.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=zc.getInertBodyElement(o)}while(o!==x);return Ua((new zw).sanitizeChildren(jd(i)||i))}finally{if(i){const o=jd(i)||i;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function jd(e){return"content"in e&&function Qw(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var _a=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}(_a||{});function l0(e){const n=Bl();return n?Yp(n.sanitize(_a.HTML,e)||""):Ba(e,"HTML")?Yp(Fo(e)):a0(Jo(),On(e))}function c0(e){const n=Bl();return n?n.sanitize(_a.STYLE,e)||"":Ba(e,"Style")?Fo(e):On(e)}function Hd(e){const n=Bl();return n?n.sanitize(_a.URL,e)||"":Ba(e,"URL")?Fo(e):Hc(On(e))}function zd(e){const n=Bl();if(n)return Qp(n.sanitize(_a.RESOURCE_URL,e)||"");if(Ba(e,"ResourceURL"))return Qp(Fo(e));throw new ge(904,!1)}function u0(e){const n=Bl();if(n)return Zp(n.sanitize(_a.SCRIPT,e)||"");if(Ba(e,"Script"))return Zp(Fo(e));throw new ge(905,!1)}function d0(e){return Ua(e[0])}function h0(e){return function Tw(e){return Ud()?.createScriptURL(e)||e}(e[0])}function f0(e,n,i){return function Xw(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?zd:Hd}(n,i)(e)}function Bl(){const e=tn();return e&&e[ss].sanitizer}const Jw=/^>|^->||--!>|)/g,eE="\u200b$1\u200b";const Wd=new Map;let sE=0;function p0(e){return Wd.get(e)||null}class g0{get lView(){return p0(this.lViewId)}constructor(n,i,o){this.lViewId=n,this.nodeIndex=i,this.native=o}}function cs(e){let n=$l(e);if(n){if(yr(n)){const i=n;let o,m,x;if(b0(e)){if(o=function C0(e,n){const i=e[mn].components;if(i)for(let o=0;o=0){const B=$i(x[P]),J=Gd(x,P,B);ts(B,J),n=J;break}}}}return n||null}function Gd(e,n,i){return new g0(e[Gs],n,i)}const Kd="__ngContext__";function ts(e,n){yr(n)?(e[Kd]=n[Gs],function aE(e){Wd.set(e[Gs],e)}(n)):e[Kd]=n}function $l(e){const n=e[Kd];return"number"==typeof n?p0(n):n||null}function b0(e){return e&&e.constructor&&e.constructor.\u0275cmp}function y0(e,n){const i=e[mn];for(let o=Kn;on.replace(qw,eE))}(n))}function Yc(e,n,i){return e.createElement(n,i)}function R0(e,n){n[ss].changeDetectionScheduler?.notify(1),Jc(e,n,n[Wn],2,null,null)}function L0(e,n){const i=e[ho],o=i.indexOf(n);i.splice(o,1)}function Vl(e,n){if(e.length<=nr)return;const i=nr+n,o=e[i];if(o){const m=o[Oo];null!==m&&m!==e&&L0(m,o),n>0&&(e[i-1][dr]=o[dr]);const x=Yn(e,nr+n);!function CE(e,n){R0(e,n),n[Ii]=null,n[or]=null}(o[mn],o);const P=x[Fr];null!==P&&P.detachView(x[mn]),o[Ti]=null,o[dr]=null,o[kn]&=-129}return o}function Zc(e,n){if(!(256&n[kn])){const i=n[Wn];i.destroyNode&&Jc(e,n,i,3,null,null),function EE(e){let n=e[Pr];if(!n)return nh(e[mn],e);for(;n;){let i=null;if(yr(n))i=n[Pr];else{const o=n[nr];o&&(i=o)}if(!i){for(;n&&!n[dr]&&n!==e;)yr(n)&&nh(n[mn],n),n=n[Ti];null===n&&(n=e),yr(n)&&nh(n[mn],n),i=n&&n[dr]}n=i}}(n)}}function nh(e,n){if(256&n[kn])return;const i=s(null);try{n[kn]&=-129,n[kn]|=256,n[Ns]&&I(n[Ns]),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[ao]=null);const m=n[Ls];if(null!==m){n[Ls]=null;for(let x=0;x-1){const{encapsulation:x}=e.data[o.directiveStart+m];if(x===Qr.None||x===Qr.Emulated)return null}return as(o,i)}}function va(e,n,i,o,m){e.insertBefore(n,i,o,m)}function P0(e,n,i){e.appendChild(n,i)}function F0(e,n,i,o,m){null!==o?va(e,n,i,o,m):P0(e,n,i)}function Qc(e,n){return e.parentNode(n)}function U0(e,n,i){return $0(e,n,i)}function B0(e,n,i){return 40&e.type?as(e,i):null}let rh,$0=B0;function V0(e,n){$0=e,rh=n}function Xc(e,n,i,o){const m=ih(e,o,n),x=n[Wn],B=U0(o.parent||n[or],o,n);if(null!=m)if(Array.isArray(i))for(let J=0;JKn&&Y0(e,n,Kn,!1),Pn(P?2:0,m),i(o,m)}finally{fa(x),Pn(P?3:1,m)}}function lh(e,n,i){if(ua(n)){const o=s(null);try{const x=n.directiveEnd;for(let P=n.directiveStart;Pnull;function UE(e){Np(e)?H0(e):function xw(e){const n=Jo(),i=n.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(x){const P=function Ew(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 eg(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 B,J=Xr.None;Array.isArray(P)?(B=P[0],J=P[1]):B=P;let fe=x;if(null!==m){if(!m.hasOwnProperty(x))continue;fe=m[x]}0===e?tg(o,i,fe,B,J):tg(o,i,fe,B)}return o}function tg(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 gs(e,n,i,o,m,x,P,B){const J=as(n,i);let ke,fe=n.inputs;!B&&null!=fe&&(ke=fe[o])?(gh(e,i,ke,o,m),Ks(n)&&function zE(e,n){const i=xs(n,e);16&i[kn]||(i[kn]|=64)}(i,n.index)):3&n.type&&(o=function HE(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 hh(e,n,i,o){if(Gm()){const m=null===o?null:{"":-1},x=function QE(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)!=B&&P.push(B),P.push(i,o,x)}}(e,n,o,zl(e,i,m.hostVars,oi),m)}function bo(e,n,i,o,m,x){const P=as(e,n);mh(n[Wn],P,x,e.value,i,o,m)}function mh(e,n,i,o,m,x,P){if(null==x)e.removeAttribute(n,m,i);else{const B=null==P?On(x):P(x,o||"",m);e.setAttribute(n,m,B,i)}}function nx(e,n,i,o,m,x){const P=x[n];if(null!==P)for(let B=0;B0&&(i[m-1][dr]=n),o{Ml(e.lView)},consumerOnSignalRead(){this.lView[Ns]=this}};function hg(e){return mg(e[Pr])}function fg(e){return mg(e[dr])}function mg(e){for(;null!==e&&!hr(e);)e=e[dr];return e}const pg=100;function nu(e,n=!0,i=0){const o=e[ss],m=o.rendererFactory;m.begin?.();try{!function fx(e,n){bh(e,n);let i=0;for(;nd(e);){if(i===pg)throw new ge(103,!1);i++,bh(e,1)}}(e,i)}catch(P){throw n&&tu(e,P),P}finally{m.end?.(),o.inlineEffectRunner?.flush()}}function mx(e,n,i,o){const m=n[kn];if(!(256&~m))return;n[ss].inlineEffectRunner?.flush(),ud(n);let P=null,B=null;(function px(e){return 2!==e.type})(e)&&(B=function ax(e){return e[Ns]??function lx(e){const n=dg.pop()??Object.create(ux);return n.lView=e,n}(e)}(n),P=M(B));try{Hm(n),qm(e.bindingStartIndex),null!==i&&X0(e,n,i,2,o);const J=!(3&~m);if(J){const qe=e.preOrderCheckHooks;null!==qe&&Dc(n,qe,null)}else{const qe=e.preOrderHooks;null!==qe&&Ic(n,qe,0,null),hd(n,0)}if(function gx(e){for(let n=hg(e);null!==n;n=fg(n)){if(!(n[kn]&ca.HasTransplantedViews))continue;const i=n[ho];for(let o=0;o-1&&(Vl(n,o),Yn(i,o))}this._attachedToViewContainer=!1}Zc(this._lView[mn],this._lView)}onDestroy(n){Ec(this._lView,n)}markForCheck(){Yl(this._cdRefInjectingView||this._lView)}detach(){this._lView[kn]&=-129}reattach(){id(this._lView),this._lView[kn]|=128}detectChanges(){this._lView[kn]|=1024,nu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ge(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,R0(this._lView[mn],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new ge(902,!1);this._appRef=n,id(this._lView)}}let Zl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=yx}return e})();const vx=Zl,bx=class extends vx{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=Wl(this._declarationLView,this._declarationTContainer,n,{injector:i,dehydratedView:o});return new Wa(m)}};function yx(){return iu(Zi(),tn())}function iu(e,n){return 4&e.type?new bx(n,e,La(e,n)):null}const yh="<-- AT THIS LOCATION";function xx(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 ru(e){const n=" ";let i="";const o=e;return o.previousSibling&&(i+=" \u2026\n",i+=n+Ql(o.previousSibling)+"\n"),i+=n+Ql(o)+` ${yh}\n`,e.nextSibling&&(i+=" \u2026\n"),e.parentNode&&(i=Ql(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 ge(-503,o)}const Dx=new Set(["ngh","ng-version","ng-server-context"]);function Ch(e,n="\u2026"){switch(e.type){case 1:return"#text"+(e.value?`(${e.value})`:"");case 2:const o=function Mx(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 Cx(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 Ql(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 Tx(e){return e.replace(/\s+/gm,"")}(e)).length>n?`${e.substring(0,n-1)}\u2026`:e:""}function Cg(e){const n=e[uo]??[],o=e[Ti][Wn];for(const m of n)Sx(m,o);e[uo]=ui}function Sx(e,n){let i=0,o=e.firstChild;if(o){const m=e.data[Pa];for(;i0&&i[m-1]===o?i[m]=(i[m]||1)+1:i.push(o,"")}return i.join("")}(i,o)}function $x(e,n){let o,m,x,i=e.parent;for(;null!==i&&ql(i,n);)i=i.parent;null!==i&&3&i.type?(o=i.index,m=$i(n[o]),x=On(o-Kn)):(o=x=Dd,m=n[Yi][Ii]);let P=$i(n[e.index]);if(12&e.type){const J=jl(n,e);J&&(P=J)}let B=Eg(m,P,x);if(null===B&&m!==P&&(B=Eg(m.ownerDocument.body,P,Id),null===B))throw function Ex(e,n){const o=`${function wh(e,n,i){const o=" ";let m="";n.prev?(m+=" \u2026\n",m+=o+Ch(n.prev)+"\n"):n.type&&12&n.type&&(m+=" \u2026\n"),i?(m+=o+Ch(n)+"\n",m+=o+`\x3c!-- container --\x3e ${yh}\n`):m+=o+Ch(n)+` ${yh}\n`,m+=" \u2026\n";const x=n.type?ih(e[mn],n,e):null;return x&&(m=Ql(x,"\n"+m)),m}(e,n,!1)}\n\n`,m=function Xl(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 ge(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+o+m)}(n,e);return B}let xg=()=>null;function jx(e,n){const i=e[uo];return n&&null!==i&&0!==i.length?i[0].data[Ad]===n?i.shift():(Cg(e),null):null}function Ga(e,n){return xg(e,n)}class lu{}class Mg{}class cu{}class Wx{resolveComponentFactory(n){throw function zx(e){const n=Error(`No component factory found for ${Qe(e)}.`);return n.ngComponent=e,n}(n)}}let ec=(()=>{class e{static#e=this.NULL=new Wx}return e})();class Ig{}let Gx=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Kx(){const e=tn(),i=xs(Zi().index,e);return(yr(i)?i:e)[Wn]}()}return e})(),Tg=(()=>{class e{static#e=this.\u0275prov=Vn({token:e,providedIn:"root",factory:()=>null})}return e})();const uu={};function Yx(e,n){if(null!==function f(){return C}())throw new ge(-602,!1)}const Sg=new Set;function Zs(e){Sg.has(e)||(Sg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Ag(...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 vo(!1),this.onMicrotaskEmpty=new vo(!1),this.onStable=new vo(!1),this.onError=new vo(!1),typeof Zone>"u")throw new ge(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 fn.requestAnimationFrame;let n=fn[e?"requestAnimationFrame":"setTimeout"],i=fn[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 Jx(e){const n=()=>{!function Xx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(fn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Dh(e),e.isCheckStableRunning=!0,Mh(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Dh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,o,m,x,P,B)=>{if(function qx(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(B))return i.invokeTask(m,x,P,B);try{return kg(e),i.invokeTask(m,x,P,B)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===x.type||e.shouldCoalesceRunChangeDetection)&&n(),Og(e)}},onInvoke:(i,o,m,x,P,B,J)=>{try{return kg(e),i.invoke(m,x,P,B,J)}finally{e.shouldCoalesceRunChangeDetection&&n(),Og(e)}},onHasTask:(i,o,m,x)=>{i.hasTask(m,x),o===m&&("microTask"==x.change?(e._hasPendingMicrotasks=x.microTask,Dh(e),Mh(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 ge(909,!1)}static assertNotInAngularZone(){if(gr.isInAngularZone())throw new ge(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,Qx,Ag,Ag);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 Qx={};function Mh(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 Dh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function kg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Og(e){e._nesting--,Mh(e)}class Ih{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new vo,this.onMicrotaskEmpty=new vo,this.onStable=new vo,this.onError=new vo}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 ea=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ea||{});const Rg={destroy(){}};function du(e,n){const i=n?.injector??Bn(Ms);(n?.runOnServer||qo(i))&&i.get(Ka).internalCallbacks.push(e)}function Lg(e,n){!n&&Ne();const i=n?.injector??Bn(Ms);if(!qo(i))return Rg;Zs("NgAfterRender");const o=i.get(Ka),m=o.handler??=new Fg,x=n?.phase??ea.MixedReadWrite,P=()=>{m.unregister(J),B()},B=i.get(pa).onDestroy(P),J=oo(i,()=>new Pg(x,e));return m.register(J),{destroy:P}}function Ng(e,n){!n&&Ne();const i=n?.injector??Bn(Ms);if(!qo(i))return Rg;Zs("NgAfterNextRender");const o=i.get(Ka),m=o.handler??=new Fg,x=n?.phase??ea.MixedReadWrite,P=()=>{m.unregister(J),B()},B=i.get(pa).onDestroy(P),J=oo(i,()=>new Pg(x,()=>{P(),e()}));return m.register(J),{destroy:P}}class Pg{constructor(n,i){this.phase=n,this.callbackFn=i,this.zone=Bn(gr),this.errorHandler=Bn(Po,{optional:!0}),Bn(lu,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class Fg{constructor(){this.executingCallbacks=!1,this.buckets={[ea.EarlyRead]:new Set,[ea.Write]:new Set,[ea.MixedReadWrite]:new Set,[ea.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 Ka=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const i=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of i)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Vn({token:e,providedIn:"root",factory:()=>new e})}return e})();function Th(e){return void 0!==e.ngModule}function ta(e){return!!cr(e)}function hu(e){return!!lr(e)}function Ug(e){return!!di(e)}function tc(e){return!!ei(e)}function nM(e,n){if(Ke(e)&&!(e=pe(e)))throw new Error(`Expected forwardRef function, imported from "${Cn(n)}", to return a standalone entity or NgModule but got "${Cn(e)||e}".`);if(null==cr(e)){const i=ei(e)||di(e)||lr(e);if(null==i)throw Th(e)?new Error(`A module with providers was imported from "${Cn(n)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Cn(e)}" type, imported from "${Cn(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 "${Cn(e)}" ${function tM(e){return ei(e)?"component":di(e)?"directive":lr(e)?"pipe":"type"}(e)}, imported from "${Cn(n)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const fu=!0;class Bg{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=cr(n);if(i?.declarations)for(const o of Ds(i.declarations))tc(o)&&this.ownerNgModule.set(o,n)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(n,i){this.resolveNgModulesDecls();const o=ei(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(!ta(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=cr(n,!0),o={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const m of Ds(i.imports))if(ta(m)){const x=this.getNgModuleScope(m);na(x.exported.directives,o.compilation.directives),na(x.exported.pipes,o.compilation.pipes)}else{if(!Or(m)){o.compilation.isPoisoned=!0;break}if(Ug(m)||tc(m))o.compilation.directives.add(m);else{if(!hu(m))throw new ge(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 Ds(i.declarations)){if(ta(m)||Or(m)){o.compilation.isPoisoned=!0;break}hu(m)?o.compilation.pipes.add(m):o.compilation.directives.add(m)}for(const m of Ds(i.exports))if(ta(m)){const x=this.getNgModuleScope(m);na(x.exported.directives,o.exported.directives),na(x.exported.pipes,o.exported.pipes),na(x.exported.directives,o.compilation.directives),na(x.exported.pipes,o.compilation.pipes)}else hu(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 In(i??[])){const x=pe(m);try{nM(x,n)}catch{return o.compilation.isPoisoned=!0,o}if(ta(x)){o.compilation.ngModules.add(x);const P=this.getNgModuleScope(x);if(P.exported.isPoisoned)return o.compilation.isPoisoned=!0,o;na(P.exported.directives,o.compilation.directives),na(P.exported.pipes,o.compilation.pipes)}else if(hu(x))o.compilation.pipes.add(x);else{if(!Ug(x)&&!tc(x))return o.compilation.isPoisoned=!0,o;o.compilation.directives.add(x)}}return o}isOrphanComponent(n){const i=ei(n);return!(!i||i.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(n)))}}function na(e,n){for(const i of e)n.add(i)}const Ya=new Bg;function mu(e,n,i){let o=i?e.styles:null,m=i?e.classes:null,x=0;if(null!==n)for(let P=0;P0&&W0(e,i,x.join(" "))}}(Ut,Tr,nn,o),void 0!==i&&function uM(e,n,i){const o=e.projection=[];for(let m=0;m{class e{static#e=this.__NG_ELEMENT_ID__=dM}return e})();function dM(){return Gg(Zi(),tn())}const hM=pu,zg=class extends hM{constructor(n,i,o){super(),this._lContainer=n,this._hostTNode=i,this._hostLView=o}get element(){return La(this._hostTNode,this._hostLView)}get injector(){return new Mr(this._hostTNode,this._hostLView)}get parentInjector(){const n=Ac(this._hostTNode,this._hostLView);if(md(n)){const i=Al(n,this._hostLView),o=Sl(n);return new Mr(i[mn].data[o+8],i)}return new Mr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const i=Wg(this._lContainer);return null!==i&&i[n]||null}get length(){return this._lContainer.length-nr}createEmbeddedView(n,i,o){let m,x;"number"==typeof o?m=o:null!=o&&(m=o.index,x=o.injector);const P=Ga(this._lContainer,n.ssrId),B=n.createEmbeddedViewImpl(i||{},x,P);return this.insertImpl(B,m,za(this._hostTNode,P)),B}createComponent(n,i,o,m,x){const P=n&&!Ci(n);let B;if(P)B=i;else{const Ht=i||{};B=Ht.index,o=Ht.injector,m=Ht.projectableNodes,x=Ht.environmentInjector||Ht.ngModuleRef}const J=P?n:new Za(ei(n)),fe=o||this.parentInjector;if(!x&&null==J.ngModule){const nn=(P?fe:this.parentInjector).get(Lr,null);nn&&(x=nn)}const ke=ei(J.componentType??{}),qe=Ga(this._lContainer,ke?.id??null),Ut=J.create(fe,m,qe?.firstChild??null,x);return this.insertImpl(Ut.hostView,B,za(this._hostTNode,qe)),Ut}insert(n,i){return this.insertImpl(n,i,!0)}insertImpl(n,i,o){const m=n._lView;if(function yC(e){return hr(e[Ti])}(m)){const B=this.indexOf(n);if(-1!==B)this.detach(B);else{const J=m[Ti],fe=new zg(J,J[or],J[Ti]);fe.detach(fe.indexOf(n))}}const x=this._adjustIndex(i),P=this._lContainer;return Gl(P,m,x,o),n.attachToViewContainerRef(),xi(Sh(P),x,n),n}move(n,i){return this.insert(n,i)}indexOf(n){const i=Wg(this._lContainer);return null!==i?i.indexOf(n):-1}remove(n){const i=this._adjustIndex(n,-1),o=Vl(this._lContainer,i);o&&(Yn(Sh(this._lContainer),i),Zc(o[mn],o))}detach(n){const i=this._adjustIndex(n,-1),o=Vl(this._lContainer,i);return o&&null!=Yn(Sh(this._lContainer),i)?new Wa(o):null}_adjustIndex(n,i=0){return n??this.length+i}};function Wg(e){return e[8]}function Sh(e){return e[8]||(e[8]=[])}function Gg(e,n){let i;const o=n[e.index];return hr(o)?i=o:(i=rg(o,n,null,e),n[e.index]=i,eu(n,i)),Kg(i,n,e,o),new zg(i,e,n)}let Kg=Zg,Ah=()=>!1;function Yg(e,n,i){return Ah(e,n,i)}function Zg(e,n,i,o){if(e[ps])return;let m;m=8&i.type?$i(o):function fM(e,n){const i=e[Wn],o=i.createComment(""),m=as(n,e);return va(i,Qc(i,m),o,function SE(e,n){return e.nextSibling(n)}(i,m),!1),o}(n,i),e[ps]=m}function mM(e,n,i){if(e[ps]&&e[uo])return!0;const o=i[tr],m=n.index-Kn;if(!o||Pc(n)||$c(o,m))return!1;const P=Pd(o,m),B=o.data[Ll]?.[m],[J,fe]=function Vx(e,n){const i=[];for(const o of n)for(let m=0;m<(o[Fc]??1);m++){const x={data:o,firstChild:null};o[Pa]>0&&(x.firstChild=e,e=au(o[Pa],e)),i.push(x)}return[e,i]}(P,B);return e[ps]=J,e[uo]=fe,!0}function pM(e,n,i,o){Ah(e,i,n)||Zg(e,n,i,o)}class kh{constructor(n){this.queryList=n,this.matches=null}clone(){return new kh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Oh{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 Rh{constructor(n=[]){this.queries=n}elementStart(n,i){for(let o=0;o0)o.push(P[B/2]);else{const fe=x[B+1],ke=n[-J];for(let qe=nr;qe(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){_()||$(),le(e,n(e.value))}(o,m),i.asReadonly=r_.bind(i),i}function r_(){const e=this[b];if(void 0===e.readonlyFn){const n=()=>this();n[b]=e,e.readonlyFn=n}return e.readonlyFn}function s_(e){return Uh(e)&&"function"==typeof e.set}function Bh(e,n){let i;const o=R(()=>{i._dirtyCounter();const m=function xM(e,n){const i=e._lView,o=e._queryIndex;if(void 0===i||void 0===o||4&i[kn])return n?void 0:ui;const m=Ph(i,o),x=n_(i,o);return m.reset(x,Rp),n?m.first:m._changesDetected||void 0===e._flatValue?e._flatValue=m.toArray():e._flatValue}(i,e);if(n&&void 0===m)throw new ge(-951,!1);return m});return i=o[b],i._dirtyCounter=i_(0),i._flatValue=void 0,o}function o_(){return Bh(!0,!1)}function a_(){return Bh(!0,!0)}function l_(){return Bh(!1,!1)}function c_(e,n){const i=e[b];i._lView=tn(),i._queryIndex=n,i._queryList=Ph(i._lView,n),i._queryList.onDirty(()=>i._dirtyCounter.update(o=>o+1))}function u_(e,n){return o_()}const DM=(u_.required=function MM(e,n){return a_()},u_);function IM(e,n){return l_()}function d_(e,n){return o_()}const SM=(d_.required=function TM(e,n){return a_()},d_);function AM(e,n){return l_()}function h_(e){const n=Object.create(it),i=new wd;function o(){return r(n),f_(n.value),n.value}return n.value=e,o[b]=n,o.asReadonly=r_.bind(o),o.set=m=>{n.equal(n.value,m)||(le(n,m),i.emit(m))},o.update=m=>{f_(n.value),o.set(m(n.value))},o.subscribe=i.subscribe.bind(i),o.destroyRef=i.destroyRef,o}function f_(e){if(e===vt)throw new ge(-952,!1)}function m_(e){return h_(e)}const OM=(m_.required=function kM(){return h_(vt)},m_);class nc{}const RM=rn("ContentChildren",(e,n={})=>({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...n}),nc),LM=rn("ContentChild",(e,n={})=>({selector:e,first:!0,isViewQuery:!1,descendants:!0,...n}),nc),NM=rn("ViewChildren",(e,n={})=>({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...n}),nc),PM=rn("ViewChild",(e,n)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...n}),nc);function g_(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(VM))}return x}return Qa.forEach((m,x)=>{const P=[];m.templateUrl&&P.push(o(m.templateUrl).then(fe=>{m.template=fe}));const B="string"==typeof m.styles?[m.styles]:m.styles||[];if(m.styles=B,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 fe=m.styles.length,ke=m.styleUrls;m.styleUrls.forEach((qe,Lt)=>{B.push(""),P.push(o(qe).then(Ut=>{B[fe+Lt]=Ut,ke.splice(ke.indexOf(qe),1),0==ke.length&&(m.styleUrls=void 0)}))})}else m.styleUrl&&P.push(o(m.styleUrl).then(fe=>{B.push(fe),m.styleUrl=void 0}));const J=Promise.all(P).then(()=>function jM(e){ic.delete(e)}(x));n.push(J)}),v_(),Promise.all(n).then(()=>{})}let Qa=new Map;const ic=new Set;function UM(e){return ic.has(e)}function __(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length||e.styleUrl)}function v_(){const e=Qa;return Qa=new Map,e}function BM(e){ic.clear(),e.forEach((n,i)=>ic.add(i)),Qa=e}function VM(e){return"string"==typeof e?e:e.text()}const gu=new Map;let b_=!0;function $h(e,n){(function HM(e,n,i){if(n&&n!==i&&b_)throw new Error(`Duplicate module registered for ${e} - ${Qe(n)} vs ${Qe(n.name)}`)})(n,gu.get(n)||null,e),gu.set(n,e)}function y_(e){return gu.get(e)}function zM(e){b_=!e}function C_(e,n,i){const o=tn(),m=rr(),x=as(m,o);if(2===m.type&&"iframe"===n.toLowerCase()){const P=x;throw P.src="",P.srcdoc=Ua(""),Hl(o[Wn],P),new ge(-910,!1)}return e}function w_(e){return Object.getPrototypeOf(e.prototype).constructor}function Vh(e){let n=w_(e.type),i=!0;const o=[e];for(;n;){let m;if(os(e))m=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new ge(903,!1);m=n.\u0275dir}if(m){if(i){o.push(m);const P=e;P.inputs=_u(e.inputs),P.inputTransforms=_u(e.inputTransforms),P.declaredInputs=_u(e.declaredInputs),P.outputs=_u(e.outputs);const B=m.hostBindings;B&&ZM(e,B);const J=m.viewQuery,fe=m.contentQueries;if(J&&KM(e,J),fe&&YM(e,fe),WM(e,m),Ze(e.outputs,m.outputs),os(m)&&m.data.animation){const ke=e.data;ke.animation=(ke.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=je(m.hostAttrs,i=je(i,m.hostAttrs))}}(o)}function WM(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 _u(e){return e===Ji?{}:e===ui?[]:e}function KM(e,n){const i=e.viewQuery;e.viewQuery=i?(o,m)=>{n(o,m),i(o,m)}:n}function YM(e,n){const i=e.contentQueries;e.contentQueries=i?(o,m,x)=>{n(o,m,x),i(o,m,x)}:n}function ZM(e,n){const i=e.hostBindings;e.hostBindings=i?(o,m)=>{n(o,m),i(o,m)}:n}const QM=["providersResolver"],XM=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function E_(e){let i,n=w_(e.type);i=os(e)?n.\u0275cmp:n.\u0275dir;const o=e;for(const m of QM)o[m]=i[m];if(os(i))for(const m of XM)o[m]=i[m]}function x_(e){const n=i=>{const o=(Array.isArray(e)?e:e()).map(m=>"function"==typeof m?{directive:pe(m),inputs:Ji,outputs:Ji}:{directive:pe(m.directive),inputs:D_(m.inputs),outputs:D_(m.outputs)});null===i.hostDirectives?(i.findHostDirectiveDefs=M_,i.hostDirectives=o):i.hostDirectives.unshift(...o)};return n.ngInherit=!0,n}function M_(e,n,i){if(null!==e.hostDirectives)for(const o of e.hostDirectives){const m=di(o.directive);JM(m.declaredInputs,o.inputs),M_(m,n,i),i.set(m,o),n.push(m)}}function D_(e){if(void 0===e||0===e.length)return Ji;const n={};for(let i=0;ii()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class bu extends S_{constructor(n){super(),this.moduleType=n}create(n){return new vu(this.moduleType,n,[])}}class k_ extends ba{constructor(n){super(),this.componentFactoryResolver=new $g(this),this.instance=null;const i=new Rs([...n.providers,{provide:ba,useValue:this},{provide:ec,useValue:this.componentFactoryResolver}],n.parent||Os(),n.debugName,new Set(["environment"]));this.injector=i,n.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function jh(e,n,i=null){return new k_({providers:e,parent:n,debugName:i,runEnvironmentInitializers:!0}).injector}let tD=(()=>{class e{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(i,o,m,x){if(!this.cachedInjectors.has(i)){const P=m.length>0?jh(m,o,x):null;this.cachedInjectors.set(i,P)}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=Vn({token:e,providedIn:"environment",factory:()=>new e})}return e})();const yu="__ngAsyncComponentMetadataFn__";function nD(e){return e[yu]??null}function iD(e,n,i){const o=e;return o[yu]=()=>Promise.all(n()).then(m=>(i(...m),o[yu]=null,m)),o[yu]}function O_(e,n,i,o){return rt(()=>{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)})}let Xa=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new We.t(!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=Vn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Cu(e){return!!Hh(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Hh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function R_(e,n){const i=Cu(e),o=Cu(n);return i&&o?function rD(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,R_):!(i||!e||"object"!=typeof e&&"function"!=typeof e||o||!n||"object"!=typeof n&&"function"!=typeof n)||Object.is(e,n)}function yo(e,n,i){return e[n]=i}function rc(e,n){return e[n]}function _r(e,n,i){return!Object.is(e[n],i)&&(e[n]=i,!0)}function ya(e,n,i,o){const m=_r(e,n,i);return _r(e,n+1,o)||m}function wu(e,n,i,o,m){const x=ya(e,n,i,o);return _r(e,n+2,m)||x}function Ps(e,n,i,o,m,x){const P=ya(e,n,i,o);return ya(e,n+2,m,x)||P}function sc(e){return!(32&~e.flags)}function Ja(e,n,i,o,m,x,P,B){const J=tn(),fe=yi(),ke=e+Kn,qe=fe.firstCreatePass?function oD(e,n,i,o,m,x,P,B,J){const fe=n.consts,ke=Ha(n,e,4,P||null,mo(fe,B));hh(n,i,ke,mo(fe,J)),Mc(n,ke);const qe=ke.tView=dh(2,ke,o,m,x,n.directiveRegistry,n.pipeRegistry,null,n.schemas,fe,null);return null!==n.queries&&(n.queries.template(n,ke),qe.queries=n.queries.embeddedTView(ke)),ke}(ke,fe,J,n,i,o,m,x,P):fe.data[ke];po(qe,!1);const Lt=L_(fe,J,qe,e);Il()&&Xc(fe,J,Lt,qe),ts(Lt,J);const Ut=rg(Lt,J,Lt,qe);return J[ke]=Ut,eu(J,Ut),Yg(Ut,qe,J),Qo(qe)&&ch(fe,J,qe),null!=P&&uh(J,qe,B),Ja}let L_=N_;function N_(e,n,i,o){return go(!0),n[Wn].createComment("")}function aD(e,n,i,o){const m=n[tr],x=!m||Aa()||sc(i)||$c(m,o);if(go(x),x)return N_(0,n);const P=m.data[Sd]?.[o]??null;null!==P&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=P);const B=ou(m,e,n,i);return Bc(m,o,B),au(Fd(m,o),B)}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 P_=0,cD=1;var fr=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(fr||{}),oc=function(e){return e[e.Initial=-1]="Initial",e}(oc||{});const qa=0,Eu=1,ac=2,xu=3,F_=4,U_=5;var zh=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(zh||{});function Mu(e,n,i){const o=1===e?U_:F_;null===n[o]&&(n[o]=[]),n[o].push(i)}function Wh(e,n){const i=1===e?U_:F_,o=n[i];if(null!==o){for(const m of o)m();n[i]=null}}function B_(e){Wh(1,e),Wh(0,e)}function Du(e){return e+1}function Ca(e,n){return e[Du(n.index)]}function Is(e,n){const i=Du(n.index);return e.data[i]}function Gh(e,n){return n===fr.Placeholder?e.placeholderBlockConfig?.[P_]??null:n===fr.Loading?e.loadingBlockConfig?.[P_]??null:null}function $_(e){return e.loadingBlockConfig?.[cD]??null}function V_(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 mD(e){return null!==e&&"object"==typeof e&&"number"==typeof e.primaryTmplIndex}const Iu={passive:!0,capture:!0},Kh=new WeakMap,Yh=new WeakMap,el=new WeakMap,j_=["click","keydown"],H_=["mouseenter","focusin"];let tl=null,Zh=0;class Qh{constructor(){this.callbacks=new Set,this.listener=()=>{for(const n of this.callbacks)n()}}}function z_(e,n){let i=Yh.get(e);if(!i){i=new Qh,Yh.set(e,i);for(const o of j_)e.addEventListener(o,i.listener,Iu)}return i.callbacks.add(n),()=>{const{callbacks:o,listener:m}=i;if(o.delete(n),0===o.size){Yh.delete(e);for(const x of j_)e.removeEventListener(x,m,Iu)}}}function W_(e,n){let i=Kh.get(e);if(!i){i=new Qh,Kh.set(e,i);for(const o of H_)e.addEventListener(o,i.listener,Iu)}return i.callbacks.add(n),()=>{const{callbacks:o,listener:m}=i;if(o.delete(n),0===o.size){for(const x of H_)e.removeEventListener(x,m,Iu);Kh.delete(e)}}}function G_(e,n,i){const o=i.get(gr);let m=el.get(e);return tl=tl||o.runOutsideAngular(()=>new IntersectionObserver(x=>{for(const P of x)P.isIntersecting&&el.has(P.target)&&o.run(el.get(P.target).listener)})),m||(m=new Qh,o.runOutsideAngular(()=>tl.observe(e)),el.set(e,m),Zh++),m.callbacks.add(n),()=>{el.has(e)&&(m.callbacks.delete(n),0===m.callbacks.size&&(tl?.unobserve(e),el.delete(e),Zh--),0===Zh&&(tl?.disconnect(),tl=null))}}function nl(e,n,i,o,m,x,P){const B=e[pr];du(function J(){if(H(e))return;const fe=Ca(e,n),ke=fe[Eu];if(ke!==oc.Initial&&ke!==fr.Placeholder)return;const qe=function pD(e,n,i){return null==i?e:i>=0?zm(i,e):e[n.index][nr]??null}(e,n,o);if(!qe)return void du(J,{injector:B});if(H(qe))return;const Lt=function gD(e,n){return fo(Kn+n,e)}(qe,i),Ut=m(Lt,()=>{e!==qe&&rd(qe,Ut),x()},B);e!==qe&&Ec(qe,Ut),Mu(P,fe,Ut)},{injector:B})}function K_(e,n){const o=n[pr].get(bD);return o.add(e),()=>o.remove(e)}let bD=(()=>{class e{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=Bn(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=Vn({token:e,providedIn:"root",factory:()=>new e})}return e})();function Y_(e){return(n,i)=>Z_(e,n,i)}function Z_(e,n,i){const m=i[pr].get(yD);return m.add(e,n),()=>m.remove(n)}let yD=(()=>{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}li(i,x,o,m)}removeFromQueue(i,o){let m=-1;for(let x=0;x-1&&Hn(i,m,2),m}scheduleTimer(){const i=()=>{this.clearTimeout(),this.executingCallbacks=!0;const m=[...this.current],x=Date.now();for(let B=0;B=0&&Hn(this.current,0,P+1),this.executingCallbacks=!1,this.deferred.length>0){for(let B=0;B0){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=Vn({token:e,providedIn:"root",factory:()=>new e})}return e})();const CD=new Ie("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),Q_=new Ie("");function Xh(e){return e.get(Q_,null,{optional:!0})?.behavior!==zh.Manual&&qo(e)}let Jh=null;function X_(e,n,i,o){const m=e.consts;null!=i&&(n.placeholderBlockConfig=mo(m,i)),null!=o&&(n.loadingBlockConfig=mo(m,o)),null===Jh&&(Jh=wD)}function J_(e,n,i,o,m,x,P,B,J){const fe=tn(),ke=yi(),qe=e+Kn;if(Ja(e,null,0,0),ke.firstCreatePass){Zs("NgDefer");const _n={primaryTmplIndex:n,loadingTmplIndex:o??null,placeholderTmplIndex:m??null,errorTmplIndex:x??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:i??null,loadingState:vr.NOT_STARTED,loadingPromise:null,providers:null};J?.(ke,_n,B,P),function dD(e,n,i){const o=Du(n);e.data[o]=i}(ke,qe,_n)}const Lt=Zi();Yg(fe[qe],Lt,fe);const Ht=[null,oc.Initial,null,null,null,null];!function uD(e,n,i){e[Du(n)]=i}(fe,qe,Ht);const nn=()=>B_(Ht);Mu(0,Ht,()=>rd(fe,nn)),Ec(fe,nn)}function q_(e){const n=tn();if(_r(n,Ys(),e)){const o=s(null);try{const m=!!e,x=rr(),B=Ca(n,x)[Eu];!1===m&&B===oc.Initial?il(n,x):!0===m&&(B===oc.Initial||B===fr.Placeholder)&&rl(n,x)}finally{s(o)}}}function ev(e){const n=tn();if(_r(n,Ys(),e)){const o=s(null);try{const m=!!e,x=n[mn],P=rr(),B=Is(x,P);!0===m&&B.loadingState===vr.NOT_STARTED&&lc(B,n,P)}finally{s(o)}}}function tv(){fv(K_)}function nv(){mv(K_)}function iv(){const e=tn(),n=Zi(),o=e[pr],m=Is(e[mn],n);(!Xh(o)||null===m.loadingTmplIndex)&&il(e,n),rl(e,n)}function rv(){const e=tn(),n=Zi(),o=Is(e[mn],n);o.loadingState===vr.NOT_STARTED&&Tu(o,e,n)}function sv(e){fv(Y_(e))}function ov(e){mv(Y_(e))}function av(e,n){const i=tn(),o=Zi();il(i,o),nl(i,o,e,n,W_,()=>rl(i,o),0)}function lv(e,n){const i=tn(),o=Zi(),x=Is(i[mn],o);x.loadingState===vr.NOT_STARTED&&nl(i,o,e,n,W_,()=>lc(x,i,o),1)}function cv(e,n){const i=tn(),o=Zi();il(i,o),nl(i,o,e,n,z_,()=>rl(i,o),0)}function uv(e,n){const i=tn(),o=Zi(),x=Is(i[mn],o);x.loadingState===vr.NOT_STARTED&&nl(i,o,e,n,z_,()=>lc(x,i,o),1)}function dv(e,n){const i=tn(),o=Zi();il(i,o),nl(i,o,e,n,G_,()=>rl(i,o),0)}function hv(e,n){const i=tn(),o=Zi(),x=Is(i[mn],o);x.loadingState===vr.NOT_STARTED&&nl(i,o,e,n,G_,()=>lc(x,i,o),1)}function fv(e){const n=tn(),i=Zi();il(n,i);const o=e(()=>rl(n,i),n);Mu(0,Ca(n,i),o)}function mv(e){const n=tn(),i=Zi(),m=Is(n[mn],i);m.loadingState===vr.NOT_STARTED&&Mu(1,Ca(n,i),e(()=>lc(m,n,i),n))}function $o(e,n,i,o=!1){const m=i[Ti],x=m[mn];if(H(m))return;const P=Ca(m,n);if(_v(P[Eu],e)&&_v(P[qa]??-1,e)){const J=Is(x,n),ke=o||null===$_(J)&&null===Gh(J,fr.Loading)&&!Gh(J,fr.Placeholder)?pv:Jh;try{ke(e,P,i,n,m)}catch(qe){tu(m,qe)}}}function pv(e,n,i,o,m){const x=function hD(e,n,i){const m=Is(n[mn],i);switch(e){case fr.Complete:return m.primaryTmplIndex;case fr.Loading:return m.loadingTmplIndex;case fr.Error:return m.errorTmplIndex;case fr.Placeholder:return m.placeholderTmplIndex;default:return null}}(e,m,o);if(null!==x){n[Eu]=e;const P=m[mn],J=xl(P,x+Kn),fe=0;let ke;if(vh(i,fe),e===fr.Complete){const Ut=Is(P,o),Ht=Ut.providers;if(Ht&&Ht.length>0){const _n=m[pr].get(Lr);ke=_n.get(tD).getOrCreateInjector(Ut,_n,Ht,"")}}const qe=Ga(i,J.tView.ssrId),Lt=Wl(m,J,null,{dehydratedView:qe,injector:ke});Gl(i,Lt,fe,za(J,qe)),Yl(Lt)}}function wD(e,n,i,o,m){const x=Date.now(),B=Is(m[mn],o);if(null===n[ac]||n[ac]<=x){n[ac]=null;const J=$_(B),fe=null!==n[xu];if(e!==fr.Loading||null===J||fe){e>fr.Loading&&fe&&(n[xu](),n[xu]=null,n[qa]=null),pv(e,n,i,o,m);const ke=Gh(B,e);null!==ke&&(n[ac]=x+ke,gv(ke,n,o,i,m))}else{n[qa]=e;const ke=gv(J,n,o,i,m);n[xu]=ke}}else n[qa]=e}function gv(e,n,i,o,m){return Z_(e,()=>{const P=n[qa];n[ac]=null,n[qa]=null,null!==P&&$o(P,i,o)},m)}function _v(e,n){return e{let qe=!1;const Lt=[],Ut=[];for(const Ht of ke){if("fulfilled"!==Ht.status){qe=!0;break}{const nn=Ht.value,_n=ei(nn)||di(nn);if(_n)Lt.push(_n);else{const En=lr(nn);En&&Ut.push(En)}}}if(e.loadingPromise=null,J.remove(fe),qe){if(e.loadingState=vr.FAILED,null===e.errorTmplIndex){Qd(n);const nn=new ge(750,!1);tu(n,nn)}}else{e.loadingState=vr.COMPLETE;const Ht=P.tView;if(Lt.length>0){Ht.directiveRegistry=V_(Ht.directiveRegistry,Lt);const _n=$s(!1,...Lt.map(En=>En.type));e.providers=_n}Ut.length>0&&(Ht.pipeRegistry=V_(Ht.pipeRegistry,Ut))}}):Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=vr.COMPLETE,J.remove(fe)})}function il(e,n){$o(fr.Placeholder,n,e[n.index])}function vv(e,n,i){e.loadingPromise.then(()=>{e.loadingState===vr.COMPLETE?$o(fr.Complete,n,i):e.loadingState===vr.FAILED&&$o(fr.Error,n,i)})}function rl(e,n){const i=e[mn],o=e[n.index];if(!Xh(e[pr]))return;const x=Ca(e,n),P=Is(i,n);switch(B_(x),P.loadingState){case vr.NOT_STARTED:$o(fr.Loading,n,o),Tu(P,e,n),P.loadingState===vr.IN_PROGRESS&&vv(P,n,o);break;case vr.IN_PROGRESS:$o(fr.Loading,n,o),vv(P,n,o);break;case vr.COMPLETE:$o(fr.Complete,n,o);break;case vr.FAILED:$o(fr.Error,n,o)}}function qh(e,n,i,o){const m=tn();return _r(m,Ys(),n)&&(yi(),bo(rr(),m,e,n,i,o)),qh}function sl(e,n){let i=!1,o=Lo();for(let x=1;x>17&32767}function df(e){return 2|e}function wa(e){return(131068&e)>>2}function hf(e,n){return-131069&e|n<<2}function ff(e){return 1|e}function bv(e,n,i,o){const m=e[i+1],x=null===n;let P=o?ia(m):wa(m),B=!1;for(;0!==P&&(!1===B||x);){const fe=e[P+1];TD(e[P],n)&&(B=!0,e[P+1]=o?ff(fe):df(fe)),P=o?ia(fe):wa(fe)}B&&(e[i+1]=o?df(m):ff(m))}function TD(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Gr(e,n)>=0}const Dr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function yv(e){return e.substring(Dr.key,Dr.keyEnd)}function SD(e){return e.substring(Dr.value,Dr.valueEnd)}function Cv(e,n){const i=Dr.textEnd;return i===n?-1:(n=Dr.keyEnd=function OD(e,n,i){for(;n32;)n++;return n}(e,Dr.key=n,i),ml(e,n,i))}function wv(e,n){const i=Dr.textEnd;let o=Dr.key=ml(e,n,i);return i===o?-1:(o=Dr.keyEnd=function RD(e,n,i){let o;for(;n=65&&(-33&o)<=90||o>=48&&o<=57);)n++;return n}(e,o,i),o=xv(e,o,i),o=Dr.value=ml(e,o,i),o=Dr.valueEnd=function LD(e,n,i){let o=-1,m=-1,x=-1,P=n,B=P;for(;P32&&(B=P),x=m,m=o,o=-33&J}return B}(e,o,i),xv(e,o,i))}function Ev(e){Dr.key=0,Dr.keyEnd=0,Dr.value=0,Dr.valueEnd=0,Dr.textEnd=e.length}function ml(e,n,i){for(;n=0;i=wv(n,i))Sv(e,yv(n),SD(n))}function Dv(e){Js(VD,Co,e,!0)}function Co(e,n){for(let i=function AD(e){return Ev(e),Cv(e,ml(e,0,Dr.textEnd))}(n);i>=0;i=Cv(n,i))vi(e,yv(n),!0)}function Xs(e,n,i,o){const m=tn(),x=yi(),P=No(2);x.firstUpdatePass&&Tv(x,e,P,o),n!==oi&&_r(m,P,n)&&Av(x,x.data[es()],m,m[Wn],e,m[P+1]=function HD(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Qe(Fo(e)))),e}(n,i),o,P)}function Js(e,n,i,o){const m=yi(),x=No(2);m.firstUpdatePass&&Tv(m,null,x,o);const P=tn();if(i!==oi&&_r(P,x,i)){const B=m.data[es()];if(Ov(B,o)&&!Iv(m,x)){let J=o?B.classesWithoutHost:B.stylesWithoutHost;null!==J&&(i=Rt(J,i||"")),pf(m,B,P,i,o)}else!function jD(e,n,i,o,m,x,P,B){m===oi&&(m=ui);let J=0,fe=0,ke=0=e.expandoStartIndex}function Tv(e,n,i,o){const m=e.data;if(null===m[i+1]){const x=m[es()],P=Iv(e,i);Ov(x,o)&&null===n&&!P&&(n=!1),n=function PD(e,n,i,o){const m=ld(e);let x=o?n.residualClasses:n.residualStyles;if(null===m)0===(o?n.classBindings:n.styleBindings)&&(i=cc(i=vf(null,e,n,i,o),n.attrs,o),x=null);else{const P=n.directiveStylingLast;if(-1===P||e[P]!==m)if(i=vf(m,e,n,i,o),null===x){let J=function FD(e,n,i){const o=i?n.classBindings:n.styleBindings;if(0!==wa(o))return e[ia(o)]}(e,n,o);void 0!==J&&Array.isArray(J)&&(J=vf(null,e,n,J[1],o),J=cc(J,n.attrs,o),function UD(e,n,i,o){e[ia(i?n.classBindings:n.styleBindings)]=o}(e,n,o,J))}else x=function BD(e,n,i){let o;const m=n.directiveEnd;for(let x=1+n.directiveStylingLast;x0)&&(fe=!0)):ke=i,m)if(0!==J){const Lt=ia(e[B+1]);e[o+1]=Su(Lt,B),0!==Lt&&(e[Lt+1]=hf(e[Lt+1],o)),e[B+1]=function xD(e,n){return 131071&e|n<<17}(e[B+1],o)}else e[o+1]=Su(B,0),0!==B&&(e[B+1]=hf(e[B+1],o)),B=o;else e[o+1]=Su(J,0),0===B?B=o:e[J+1]=hf(e[J+1],o),J=o;fe&&(e[o+1]=df(e[o+1])),bv(e,ke,o,!0),bv(e,ke,o,!1),function ID(e,n,i,o,m){const x=m?e.residualClasses:e.residualStyles;null!=x&&"string"==typeof n&&Gr(x,n)>=0&&(i[o+1]=ff(i[o+1]))}(n,ke,e,o,x),P=Su(B,J),x?n.classBindings=P:n.styleBindings=P}(m,x,n,i,P,o)}}function vf(e,n,i,o,m){let x=null;const P=i.directiveEnd;let B=i.directiveStylingLast;for(-1===B?B=i.directiveStart:B++;B0;){const J=e[m],fe=Array.isArray(J),ke=fe?J[1]:J,qe=null===ke;let Lt=i[m+1];Lt===oi&&(Lt=qe?ui:void 0);let Ut=qe?Wr(Lt,o):ke===o?Lt:void 0;if(fe&&!Au(Ut)&&(Ut=Wr(J,o)),Au(Ut)&&(B=Ut,P))return B;const Ht=e[m+1];m=P?ia(Ht):wa(Ht)}if(null!==n){let J=x?n.residualClasses:n.residualStyles;null!=J&&(B=Wr(J,o))}return B}function Au(e){return void 0!==e}function Ov(e,n){return!!(e.flags&(n?8:16))}function Rv(e,n,i){Js(vi,Co,ol(tn(),e,n,i),!0)}function Lv(e,n,i,o,m){Js(vi,Co,al(tn(),e,n,i,o,m),!0)}function Nv(e,n,i,o,m,x,P){Js(vi,Co,ll(tn(),e,n,i,o,m,x,P),!0)}function Pv(e,n,i,o,m,x,P,B,J){Js(vi,Co,cl(tn(),e,n,i,o,m,x,P,B,J),!0)}function Fv(e,n,i,o,m,x,P,B,J,fe,ke){Js(vi,Co,ul(tn(),e,n,i,o,m,x,P,B,J,fe,ke),!0)}function Uv(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt){Js(vi,Co,dl(tn(),e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt),!0)}function Bv(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht){Js(vi,Co,hl(tn(),e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht),!0)}function $v(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht,nn,_n){Js(vi,Co,fl(tn(),e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht,nn,_n),!0)}function Vv(e){Js(vi,Co,sl(tn(),e),!0)}function jv(){return tn()[Yi][Ki]}class zD{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 bf(e,n,i,o,m){return e===i&&Object.is(n,o)?1:Object.is(m(e,n),m(i,o))?-1:0}function yf(e,n,i,o){return!(void 0===n||!n.has(o)||(e.attach(i,n.get(o)),n.delete(o),0))}function Hv(e,n,i,o,m){if(yf(e,n,o,i(o,m)))e.updateValue(o,m);else{const x=e.create(o,m);e.attach(o,x)}}function zv(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 Wv{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 Gv(e,n,i){Zs("NgControlFlow");const o=tn(),m=Ys(),x=Cf(o,Kn+e);if(_r(o,m,n)){const B=s(null);try{if(vh(x,0),-1!==n){const J=wf(o[mn],Kn+n),fe=Ga(x,J.tView.ssrId);Gl(x,Wl(o,J,i,{dehydratedView:fe}),0,za(J,fe))}}finally{s(B)}}else{const B=cg(x,0);void 0!==B&&(B[Ki]=i)}}class GD{constructor(n,i,o){this.lContainer=n,this.$implicit=i,this.$index=o}get $count(){return this.lContainer.length-nr}}function Kv(e){return e}function Yv(e,n){return n}class KD{constructor(n,i,o){this.hasEmptyBlock=n,this.trackByFn=i,this.liveCollection=o}}function Zv(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt){Zs("NgControlFlow");const Ut=void 0!==J,Ht=tn(),nn=B?P.bind(Ht[Yi][Ki]):P,_n=new KD(Ut,nn);Ht[Kn+e]=_n,Ja(e+1,n,i,o,m,x),Ut&&Ja(e+2,J,fe,ke,qe,Lt)}class YD extends zD{constructor(n,i,o){super(),this.lContainer=n,this.hostLView=i,this.templateTNode=o,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-nr}at(n){return this.getLView(n)[Ki].$implicit}attach(n,i){const o=i[tr];this.needsIndexUpdate||=n!==this.length,Gl(this.lContainer,i,n,za(this.templateTNode,o))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function ZD(e,n){return Vl(e,n)}(this.lContainer,n)}create(n,i){const o=Ga(this.lContainer,this.templateTNode.tView.ssrId);return Wl(this.hostLView,this.templateTNode,new GD(this.lContainer,i,n),{dehydratedView:o})}destroy(n){Zc(n[mn],n)}updateValue(n,i){this.getLView(n)[Ki].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n{e.destroy(B)})}(P,e,x.trackByFn),P.updateIndexes(),x.hasEmptyBlock){const B=Ys(),J=0===P.length;if(_r(o,B,J)){const fe=i+2,ke=Cf(o,fe);if(J){const qe=wf(m,fe),Lt=Ga(ke,qe.tView.ssrId);Gl(ke,Wl(o,qe,void 0,{dehydratedView:Lt}),0,za(qe,Lt))}else vh(ke,0)}}}finally{s(n)}}function Cf(e,n){return e[n]}function wf(e,n){return xl(e,n)}function ku(e,n,i,o){const m=tn(),x=yi(),P=Kn+e,B=m[Wn],J=x.firstCreatePass?function XD(e,n,i,o,m,x){const P=n.consts,J=Ha(n,e,2,o,mo(P,m));return hh(n,i,J,mo(P,x)),null!==J.attrs&&mu(J,J.attrs,!1),null!==J.mergedAttrs&&mu(J,J.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,J),J}(P,x,m,n,i,o):x.data[P],fe=Xv(x,m,J,B,n,e);m[P]=fe;const ke=Qo(J);return po(J,!0),G0(B,fe,J),!sc(J)&&Il()&&Xc(x,m,fe,J),0===function wC(){return Jn.lFrame.elementDepthCount}()&&ts(fe,m),function EC(){Jn.lFrame.elementDepthCount++}(),ke&&(ch(x,m,J),lh(x,J,m)),null!==o&&uh(m,J),ku}function Ou(){let e=Zi();sd()?od():(e=e.parent,po(e,!1));const n=e;(function MC(e){return Jn.skipHydrationRootTNode===e})(n)&&function IC(){Jn.skipHydrationRootTNode=null}(),function xC(){Jn.lFrame.elementDepthCount--}();const i=yi();return i.firstCreatePass&&(Mc(i,e),ua(e)&&i.queries.elementEnd(e)),null!=n.classesWithoutHost&&function BC(e){return!!(8&e.flags)}(n)&&pf(i,n,tn(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function $C(e){return!!(16&e.flags)}(n)&&pf(i,n,tn(),n.stylesWithoutHost,!1),Ou}function Ef(e,n,i,o){return ku(e,n,i,o),Ou(),Ef}let Xv=(e,n,i,o,m,x)=>(go(!0),Yc(o,m,cp()));function JD(e,n,i,o,m,x){const P=n[tr],B=!P||Aa()||sc(i)||$c(P,x);if(go(B),B)return Yc(o,m,cp());const J=ou(P,e,n,i);return zp(P,x)&&Bc(P,x,J.nextSibling),P&&(Lp(i)||Np(J))&&Ks(i)&&(function DC(e){Jn.skipHydrationRootTNode=e}(i),H0(J)),J}function Ru(e,n,i){const o=tn(),m=yi(),x=e+Kn,P=m.firstCreatePass?function eI(e,n,i,o,m){const x=n.consts,P=mo(x,o),B=Ha(n,e,8,"ng-container",P);return null!==P&&mu(B,P,!0),hh(n,i,B,mo(x,m)),null!==n.queries&&n.queries.elementStart(n,B),B}(x,m,o,n,i):m.data[x];po(P,!0);const B=Jv(m,o,P,e);return o[x]=B,Il()&&Xc(m,o,B,P),ts(B,o),Qo(P)&&(ch(m,o,P),lh(m,P,o)),null!=i&&uh(o,P),Ru}function Lu(){let e=Zi();const n=yi();return sd()?od():(e=e.parent,po(e,!1)),n.firstCreatePass&&(Mc(n,e),ua(e)&&n.queries.elementEnd(e)),Lu}function xf(e,n,i){return Ru(e,n,i),Lu(),xf}let Jv=(e,n,i,o)=>(go(!0),th(n[Wn],""));function tI(e,n,i,o){let m;const x=n[tr],P=!x||Aa()||sc(i);if(go(P),P)return th(n[Wn],"");const B=ou(x,e,n,i),J=function Dw(e,n){const i=e.data;let o=i[Td]?.[n]??null;return null===o&&i[Ll]?.[n]&&(o=Fd(e,n)),o}(x,o);return Bc(x,o,B),m=au(J,B),m}function qv(){return tn()}function Mf(e,n,i){const o=tn();return _r(o,Ys(),n)&&gs(yi(),rr(),o,e,n,o[Wn],i,!0),Mf}function Df(e,n,i){const o=tn();if(_r(o,Ys(),n)){const x=yi(),P=rr();gs(x,P,o,e,n,lg(ld(x.data),P,o),i,!0)}return Df}const Ea=void 0;var rI=["en",[["a","p"],["AM","PM"],Ea],[["AM","PM"],Ea,Ea],[["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"]],Ea,[["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"]],Ea,[["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}",Ea,"{1} 'at' {0}",Ea],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function iI(e){const i=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===o?1:5}];let pl={};function sI(e,n,i){"string"!=typeof n&&(i=n,n=e[gl.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),pl[n]=e,i&&(pl[n][gl.ExtraData]=i)}function If(e){const n=function lI(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=tb(n);if(i)return i;const o=n.split("-")[0];if(i=tb(o),i)return i;if("en"===o)return rI;throw new ge(701,!1)}function oI(e){return If(e)[gl.CurrencyCode]||null}function eb(e){return If(e)[gl.PluralCase]}function tb(e){return e in pl||(pl[e]=fn.ng&&fn.ng.common&&fn.ng.common.locales&&fn.ng.common.locales[e]),pl[e]}function aI(){pl={}}var gl=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}(gl||{});const cI=["zero","one","two","few","many"],xa="en-US",Nu={marker:"element"},Pu={marker:"ICU"};var _s=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(_s||{});let nb=xa;function Tf(e){"string"==typeof e&&(nb=e.toLowerCase().replace(/_/g,"-"))}function ib(e,n,i){const o=n.insertBeforeIndex,m=Array.isArray(o)?o[0]:o;return null===m?B0(e,0,i):$i(i[m])}function rb(e,n,i,o,m){const x=n.insertBeforeIndex;if(Array.isArray(x)){let P=o,B=null;if(3&n.type||(B=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];ob(o)||fI(o,n)&&null===mI(o)&&pI(o,n.index)}}function ob(e){return!(64&e.type)}function fI(e,n){return ob(n)||e.index>n.index}function mI(e){const n=e.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function pI(e,n){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=n:(V0(ib,rb),e.insertBeforeIndex=n)}function uc(e,n){const i=e.data[n];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function vI(e,n,i){const o=ah(e,i,64,null,null);return sb(n,o),o}function Fu(e,n){const i=n[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function ab(e){return e>>>17}function lb(e){return(131070&e)>>>1}let dc=0,hc=0;function ub(e,n,i){const o=e[Wn];switch(i){case Node.COMMENT_NODE:return th(o,n);case Node.TEXT_NODE:return eh(o,n);case Node.ELEMENT_NODE:return Yc(o,n,null)}}let fc=(e,n,i,o)=>(go(!0),ub(e,i,o));function wI(e,n,i,o){return go(!0),ub(e,i,o)}function db(e,n,i,o){const m=i[Wn];let P,x=null;for(let B=0;B>>1,i),null,null,Ut,Ht,null)}else switch(J){case Pu:const fe=n[++B],ke=n[++B];null===i[ke]&&ts(i[ke]=fc(i,ke,fe,Node.COMMENT_NODE),i);break;case Nu:const qe=n[++B],Lt=n[++B];null===i[Lt]&&ts(i[Lt]=fc(i,Lt,qe,Node.ELEMENT_NODE),i)}}}function hb(e,n,i,o,m){for(let x=0;x>>2;switch(3&ke){case 1:const Lt=i[++fe],Ut=i[++fe],Ht=e.data[qe];"string"==typeof Ht?mh(n[Wn],n[qe],null,Ht,Lt,J,Ut):gs(e,Ht,n,Lt,J,n[Wn],Ut,!1);break;case 0:const nn=n[qe];null!==nn&&O0(n[Wn],nn,J);break;case 2:MI(e,uc(e,qe),n,J);break;case 3:fb(e,uc(e,qe),o,n)}}}}else{const J=i[x+1];if(J>0&&!(3&~J)){const ke=uc(e,J>>>2);n[ke.currentCaseLViewIndex]<0&&fb(e,ke,o,n)}}x+=B}}function fb(e,n,i,o){let m=o[n.currentCaseLViewIndex];if(null!==m){let x=dc;m<0&&(m=o[n.currentCaseLViewIndex]=~m,x=-1),hb(e,o,n.update[m],i,x)}}function MI(e,n,i,o){const m=function DI(e,n){let i=e.cases.indexOf(n);if(-1===i)switch(e.type){case 1:{const o=function uI(e,n){const i=eb(n)(parseInt(e,10)),o=cI[i];return void 0!==o?o:"other"}(n,function hI(){return nb}());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(Fu(n,i)!==m&&(mb(e,n,i),i[n.currentCaseLViewIndex]=null===m?null:~m,null!==m)){const P=i[n.anchorIdx];P&&db(e,n.create[m],i,P)}}function mb(e,n,i){let o=Fu(n,i);if(null!==o){const m=n.remove[o];for(let x=0;x0){const B=fo(P,i);null!==B&&Hl(i[Wn],B)}else mb(e,uc(e,~P),i)}}}function II(){const e=[];let i,o,n=-1;function x(B,J){n=0;const fe=Fu(B,J);o=null!==fe?B.remove[fe]:ui}function P(){if(n0?i[B]:(e.push(n,o),x(i[mn].data[~B],i),P())}return 0===e.length?null:(o=e.pop(),n=e.pop(),P())}return function m(B,J){for(i=J;e.length;)e.pop();return x(B.value,J),P}}const Uu=/\ufffd(\d+):?\d*\ufffd/gi,TI=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,SI=/\ufffd(\d+)\ufffd/,gb=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,mc="\ufffd",AI=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,kI=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,OI=/\uE500/g;function _b(e,n,i,o,m,x,P){const B=zl(e,o,1,null);let J=B<<_s.SHIFT,fe=Dl();n===fe&&(fe=null),null===fe&&(J|=_s.APPEND_EAGERLY),P&&(J|=_s.COMMENT,function yE(e){void 0===Jd&&(Jd=e())}(II)),m.push(J,null===x?"":x);const ke=ah(e,B,P?32:1,null===x?"":x,null);sb(i,ke);const qe=ke.index;return po(ke,!1),null!==fe&&n!==fe&&function _I(e,n){let i=e.insertBeforeIndex;null===i?(V0(ib,rb),i=e.insertBeforeIndex=[null,n]):(function It(e,n,i){e!=n&&At(i,e,n,"==")}(Array.isArray(i),!0,"Expecting array here"),i.push(n))}(fe,qe),ke}function NI(e,n,i,o,m,x,P,B){const J=B.match(Uu),ke=_b(n,i,o,P,m,J?null:B,!1).index;J&&pc(x,B,ke,null,0,null),e.push({kind:0,index:ke})}function pc(e,n,i,o,m,x){const P=e.length,B=P+1;e.push(null,null);const J=P+2,fe=n.split(Uu);let ke=0;for(let qe=0;qei.length&&i.push(J)}return{type:o,mainBinding:m,cases:n,values:i}}function Sf(e){if(!e)return[];let n=0;const i=[],o=[],m=/[{}]/g;let x;for(m.lastIndex=0;x=m.exec(e);){const B=x.index;if("}"==x[0]){if(i.pop(),0==i.length){const J=e.substring(n,B);gb.test(J)?o.push($I(J)):o.push(J),n=B+1}}else{if(0==i.length){const J=e.substring(n,B);o.push(J),n=B+1}i.push("{")}}const P=e.substring(n);return o.push(P),o}function VI(e,n,i,o,m,x,P,B,J){const fe=[],ke=[],qe=[];i.cases.push(P),i.create.push(fe),i.remove.push(ke),i.update.push(qe);const Ut=Jp(Jo()).getInertBodyElement(B),Ht=jd(Ut)||Ut;return Ht?Cb(e,n,i,o,m,fe,ke,qe,Ht,x,J,0):0}function Cb(e,n,i,o,m,x,P,B,J,fe,ke,qe){let Lt=0,Ut=J.firstChild;for(;Ut;){const Ht=zl(n,o,1,null);switch(Ut.nodeType){case Node.ELEMENT_NODE:const nn=Ut,_n=nn.tagName.toLowerCase();if($d.hasOwnProperty(_n)){Af(x,Nu,_n,fe,Ht),n.data[Ht]=_n;const Oi=nn.attributes;for(let Tr=0;Tr>>_s.SHIFT;let qe=e[ke],Lt=!1;null===qe&&(qe=e[ke]=fc(e,ke,n[x],(P&_s.COMMENT)===_s.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),Lt=Il()),fe&&null!==i&&Lt&&va(m,i,qe,o,!1)}})(m,J.create,ke,B&&8&B.type?m[B.index]:null),ep(!0)}function Of(){ep(!1)}function xb(e,n,i){kf(e,n,i),Of()}function Mb(e,n){const i=yi(),o=mo(i.consts,n);!function PI(e,n,i){const m=Zi().index,x=[];if(e.firstCreatePass&&null===e.data[n]){for(let P=0;P0){const o=e.data[i];hb(e,n,Array.isArray(o)?o:o.update,Lo()-hc-1,dc)}dc=0,hc=0}(yi(),tn(),e+Kn)}function Ib(e,n={}){return function qI(e,n={}){let i=e;if(GI.test(e)){const o={},m=[Eb];i=i.replace(KI,(x,P,B)=>{const J=P||B,fe=o[J]||[];if(fe.length||(J.split("|").forEach(nn=>{const _n=nn.match(JI),En=_n?parseInt(_n[1],10):Eb,an=XI.test(nn);fe.push([En,an,nn])}),o[J]=fe),!fe.length)throw new Error(`i18n postprocess: unmatched placeholder - ${J}`);const ke=m[m.length-1];let qe=0;for(let nn=0;nnn.hasOwnProperty(x)?`${m}${n[x]}${J}`:o),i=i.replace(ZI,(o,m)=>n.hasOwnProperty(m)?n[m]:o),i=i.replace(QI,(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 Lf(e,n,i,o){const m=tn(),x=yi(),P=Zi();return Pf(x,m,m[Wn],P,e,n,o),Lf}function Nf(e,n){const i=Zi(),o=tn(),m=yi();return Pf(m,o,lg(ld(m.data),i,o),i,e,n),Nf}function Pf(e,n,i,o,m,x,P){const B=Qo(o),fe=e.firstCreatePass&&ag(e),ke=n[Ki],qe=og(n);let Lt=!0;if(3&o.type||P){const nn=as(o,n),_n=P?P(nn):nn,En=qe.length,an=P?Oi=>P($i(Oi[o.index])):o.index;let Zn=null;if(!P&&B&&(Zn=function eT(e,n,i,o){const m=e.cleanup;if(null!=m)for(let x=0;xJ?B[J]:null}"string"==typeof P&&(x+=2)}return null}(e,n,m,o.index)),null!==Zn)(Zn.__ngLastListenerFn__||Zn).__ngNextListenerFn__=x,Zn.__ngLastListenerFn__=x,Lt=!1;else{x=Sb(o,n,ke,x,!1);const Oi=i.listen(_n,m,x);qe.push(x,Oi),fe&&fe.push(m,an,En,En+1)}}else x=Sb(o,n,ke,x,!1);const Ut=o.outputs;let Ht;if(Lt&&null!==Ut&&(Ht=Ut[m])){const nn=Ht.length;if(nn)for(let _n=0;_n-1?xs(e.index,n):n);let J=Tb(n,i,o,P),fe=x.__ngNextListenerFn__;for(;fe;)J=Tb(n,i,fe,P)&&J,fe=fe.__ngNextListenerFn__;return m&&!1===J&&P.preventDefault(),J}}function Ab(e=1){return function RC(e){return(Jn.lFrame.contextLView=zm(e,Jn.lFrame.contextLView))[Ki]}(e)}function tT(e,n){let i=null;const o=function Mi(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 Vb(e){return Sa(function TC(){return Jn.lFrame.contextLView}(),Kn+e)}function jb(e,n,i){Qs(ol(tn(),e,n,i))}function Hb(e,n,i,o,m){Qs(al(tn(),e,n,i,o,m))}function zb(e,n,i,o,m,x,P){Qs(ll(tn(),e,n,i,o,m,x,P))}function Wb(e,n,i,o,m,x,P,B,J){Qs(cl(tn(),e,n,i,o,m,x,P,B,J))}function Gb(e,n,i,o,m,x,P,B,J,fe,ke){Qs(ul(tn(),e,n,i,o,m,x,P,B,J,fe,ke))}function Kb(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt){Qs(dl(tn(),e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt))}function Yb(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht){Qs(hl(tn(),e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht))}function Zb(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht,nn,_n){Qs(fl(tn(),e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht,nn,_n))}function Qb(e){Qs(sl(tn(),e))}function Gf(e,n,i,o,m){return Xs(e,ol(tn(),n,i,o),m,!1),Gf}function Kf(e,n,i,o,m,x,P){return Xs(e,al(tn(),n,i,o,m,x),P,!1),Kf}function Yf(e,n,i,o,m,x,P,B,J){return Xs(e,ll(tn(),n,i,o,m,x,P,B),J,!1),Yf}function Zf(e,n,i,o,m,x,P,B,J,fe,ke){return Xs(e,cl(tn(),n,i,o,m,x,P,B,J,fe),ke,!1),Zf}function Qf(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt){return Xs(e,ul(tn(),n,i,o,m,x,P,B,J,fe,ke,qe),Lt,!1),Qf}function Xf(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht){return Xs(e,dl(tn(),n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut),Ht,!1),Xf}function Jf(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht,nn,_n){return Xs(e,hl(tn(),n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht,nn),_n,!1),Jf}function qf(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht,nn,_n,En,an){return Xs(e,fl(tn(),n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht,nn,_n,En),an,!1),qf}function em(e,n,i){return Xs(e,sl(tn(),n),i,!1),em}function Xb(e,n=""){const i=tn(),o=yi(),m=e+Kn,x=o.firstCreatePass?Ha(o,m,1,n,null):o.data[m],P=Jb(o,i,x,n,e);i[m]=P,Il()&&Xc(o,i,P,x),po(x,!1)}let Jb=(e,n,i,o,m)=>(go(!0),eh(n[Wn],o));function nT(e,n,i,o,m){const x=n[tr],P=!x||Aa()||sc(i)||$c(x,m);return go(P),P?eh(n[Wn],o):ou(x,e,n,i)}function tm(e){return $u("",e,""),tm}function $u(e,n,i){const o=tn(),m=ol(o,e,n,i);return m!==oi&&Bo(o,es(),m),$u}function nm(e,n,i,o,m){const x=tn(),P=al(x,e,n,i,o,m);return P!==oi&&Bo(x,es(),P),nm}function im(e,n,i,o,m,x,P){const B=tn(),J=ll(B,e,n,i,o,m,x,P);return J!==oi&&Bo(B,es(),J),im}function rm(e,n,i,o,m,x,P,B,J){const fe=tn(),ke=cl(fe,e,n,i,o,m,x,P,B,J);return ke!==oi&&Bo(fe,es(),ke),rm}function sm(e,n,i,o,m,x,P,B,J,fe,ke){const qe=tn(),Lt=ul(qe,e,n,i,o,m,x,P,B,J,fe,ke);return Lt!==oi&&Bo(qe,es(),Lt),sm}function om(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt){const Ut=tn(),Ht=dl(Ut,e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt);return Ht!==oi&&Bo(Ut,es(),Ht),om}function am(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht){const nn=tn(),_n=hl(nn,e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht);return _n!==oi&&Bo(nn,es(),_n),am}function lm(e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht,nn,_n){const En=tn(),an=fl(En,e,n,i,o,m,x,P,B,J,fe,ke,qe,Lt,Ut,Ht,nn,_n);return an!==oi&&Bo(En,es(),an),lm}function cm(e){const n=tn(),i=sl(n,e);return i!==oi&&Bo(n,es(),i),cm}function um(e,n,i){s_(n)&&(n=n());const o=tn();return _r(o,Ys(),n)&&gs(yi(),rr(),o,e,n,o[Wn],i,!1),um}function qb(e,n){const i=s_(e);return i&&e.set(n),i}function dm(e,n){const i=tn(),o=yi(),m=Zi();return Pf(o,i,i[Wn],m,e,n),dm}function hm(e,n,i,o,m){if(e=pe(e),Array.isArray(e))for(let x=0;x>20;if(fs(e)||!e.multi){const Ut=new Tl(fe,m,ja),Ht=mm(J,n,m?ke:ke+Lt,qe);-1===Ht?(_d(Sc(B,P),x,J),fm(x,e,n.length),n.push(J),B.directiveStart++,B.directiveEnd++,m&&(B.providerIndexes+=1048576),i.push(Ut),P.push(Ut)):(i[Ht]=Ut,P[Ht]=Ut)}else{const Ut=mm(J,n,ke+Lt,qe),Ht=mm(J,n,ke,ke+Lt),_n=Ht>=0&&i[Ht];if(m&&!_n||!m&&!(Ut>=0&&i[Ut])){_d(Sc(B,P),x,J);const En=function aT(e,n,i,o,m){const x=new Tl(e,i,ja);return x.multi=[],x.index=n,x.componentProviders=0,ey(x,m,o&&!i),x}(m?oT:sT,i.length,m,o,fe);!m&&_n&&(i[Ht].providerFactory=En),fm(x,e,n.length,0),n.push(J),B.directiveStart++,B.directiveEnd++,m&&(B.providerIndexes+=1048576),i.push(En),P.push(En)}else fm(x,e,Ut>-1?Ut:Ht,ey(i[m?Ht:Ut],fe,!m&&o));!m&&o&&_n&&i[Ht].componentProviders++}}}function fm(e,n,i,o){const m=fs(n),x=function So(e){return!!e.useClass}(n);if(m||x){const J=(x?pe(n.useClass):n).prototype.ngOnDestroy;if(J){const fe=e.destroyHooks||(e.destroyHooks=[]);if(!m&&n.multi){const ke=fe.indexOf(i);-1===ke?fe.push(i,[o,J]):fe[ke+1].push(o,J)}else fe.push(i,J)}}}function ey(e,n,i){return i&&e.componentProviders++,e.multi.push(n)-1}function mm(e,n,i,o){for(let m=i;m{i.providersResolver=(o,m)=>function rT(e,n,i){const o=yi();if(o.firstCreatePass){const m=os(e);hm(i,o.data,o.blueprint,m,!0),hm(n,o.data,o.blueprint,m,!1)}}(o,m?m(e):e,n)}}let lT=(()=>{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=$s(0,i.type),m=o.length>0?jh([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=Vn({token:e,providedIn:"environment",factory:()=>new e(Li(Lr))})}return e})();function ny(e){Zs("NgStandalone"),e.getStandaloneInjector=n=>n.get(lT).getOrCreateStandaloneInjector(e)}function iy(e,n,i){const o=e.\u0275cmp;o.directiveDefs=Bs(n,!1),o.pipeDefs=Bs(i,!0)}function ry(e,n){return rt(()=>{const i=cr(e,!0);i.declarations=Vu(n.declarations||ui),i.imports=Vu(n.imports||ui),i.exports=Vu(n.exports||ui),n.bootstrap&&(i.bootstrap=Vu(n.bootstrap)),Ya.registerNgModule(e,n)})}function Vu(e){if("function"==typeof e)return e;const n=In(e);return n.some(Ke)?()=>n.map(pe).map(sy):n.map(sy)}function sy(e){return Th(e)?e.ngModule:e}function gm(e){const n=cs(e);if(null===n)return null;if(void 0===n.component){const i=n.lView;if(null===i)return null;n.component=function hE(e,n){const i=n[mn].data[e],{directiveStart:o,componentOffset:m}=i;return m>-1?n[o+m]:null}(n.nodeIndex,i)}return n.component}function uy(e){if(e instanceof Text)return[];const n=cs(e),i=n?n.lView:null;if(null===i)return[];const o=i[mn],m=n.nodeIndex;return o?.data[m]?(void 0===n.directives&&(n.directives=w0(m,i)),null===n.directives?[]:[...n.directives]):[]}function _m(e){return cs(e).native}function hT(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=pn(o.type)),B=Rn(ja);try{const J=Tc(!1),fe=x();return Tc(J),$b(i,tn(),m,fe),fe}finally{Rn(B)}}function Sy(e,n,i){const o=e+Kn,m=tn(),x=Sa(m,o);return _c(m,o)?Ey(m,ls(),n,x.transform,i,x):x.transform(i)}function Ay(e,n,i,o){const m=e+Kn,x=tn(),P=Sa(x,m);return _c(x,m)?xy(x,ls(),n,P.transform,i,o,P):P.transform(i,o)}function ky(e,n,i,o,m){const x=e+Kn,P=tn(),B=Sa(P,x);return _c(P,x)?My(P,ls(),n,B.transform,i,o,m,B):B.transform(i,o,m)}function Oy(e,n,i,o,m,x){const P=e+Kn,B=tn(),J=Sa(B,P);return _c(B,P)?Dy(B,ls(),n,J.transform,i,o,m,x,J):J.transform(i,o,m,x)}function Ry(e,n,i){const o=e+Kn,m=tn(),x=Sa(m,o);return _c(m,o)?Iy(m,ls(),n,x.transform,i,x):x.transform.apply(x,i)}function _c(e,n){return e[mn].data[n].pure}function Ly(e,n){return iu(e,n)}function Ny(e,n){return()=>{try{return Ya.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 Py(e,n){const i=ei(e);null!==i&&(i.debugInfo=n)}const us={\u0275\u0275attribute:qh,\u0275\u0275attributeInterpolate1:ef,\u0275\u0275attributeInterpolate2:tf,\u0275\u0275attributeInterpolate3:nf,\u0275\u0275attributeInterpolate4:rf,\u0275\u0275attributeInterpolate5:sf,\u0275\u0275attributeInterpolate6:af,\u0275\u0275attributeInterpolate7:lf,\u0275\u0275attributeInterpolate8:cf,\u0275\u0275attributeInterpolateV:uf,\u0275\u0275defineComponent:eo,\u0275\u0275defineDirective:Jr,\u0275\u0275defineInjectable:Vn,\u0275\u0275defineInjector:qt,\u0275\u0275defineNgModule:Fs,\u0275\u0275definePipe:zo,\u0275\u0275directiveInject:ja,\u0275\u0275getInheritedFactory:wp,\u0275\u0275inject:Li,\u0275\u0275injectAttribute:Oc,\u0275\u0275invalidFactory:Z0,\u0275\u0275invalidFactoryDep:is,\u0275\u0275templateRefExtractor:Ly,\u0275\u0275resetView:Qm,\u0275\u0275HostDirectivesFeature:x_,\u0275\u0275NgOnChangesFeature:zn,\u0275\u0275ProvidersFeature:ty,\u0275\u0275CopyDefinitionFeature:E_,\u0275\u0275InheritDefinitionFeature:Vh,\u0275\u0275InputTransformsFeature:T_,\u0275\u0275StandaloneFeature:ny,\u0275\u0275nextContext:Ab,\u0275\u0275namespaceHTML:lp,\u0275\u0275namespaceMathML:ap,\u0275\u0275namespaceSVG:op,\u0275\u0275enableBindings:Km,\u0275\u0275disableBindings:Ym,\u0275\u0275elementStart:ku,\u0275\u0275elementEnd:Ou,\u0275\u0275element:Ef,\u0275\u0275elementContainerStart:Ru,\u0275\u0275elementContainerEnd:Lu,\u0275\u0275elementContainer:xf,\u0275\u0275pureFunction0:fy,\u0275\u0275pureFunction1:my,\u0275\u0275pureFunction2:py,\u0275\u0275pureFunction3:gy,\u0275\u0275pureFunction4:_y,\u0275\u0275pureFunction5:vy,\u0275\u0275pureFunction6:by,\u0275\u0275pureFunction7:yy,\u0275\u0275pureFunction8:Cy,\u0275\u0275pureFunctionV:wy,\u0275\u0275getCurrentView:qv,\u0275\u0275restoreView:Zm,\u0275\u0275listener:Lf,\u0275\u0275projection:Ob,\u0275\u0275syntheticHostProperty:Df,\u0275\u0275syntheticHostListener:Nf,\u0275\u0275pipeBind1:Sy,\u0275\u0275pipeBind2:Ay,\u0275\u0275pipeBind3:ky,\u0275\u0275pipeBind4:Oy,\u0275\u0275pipeBindV:Ry,\u0275\u0275projectionDef:kb,\u0275\u0275hostProperty:Mf,\u0275\u0275property:mf,\u0275\u0275propertyInterpolate:Ff,\u0275\u0275propertyInterpolate1:Bu,\u0275\u0275propertyInterpolate2:Uf,\u0275\u0275propertyInterpolate3:Bf,\u0275\u0275propertyInterpolate4:$f,\u0275\u0275propertyInterpolate5:Vf,\u0275\u0275propertyInterpolate6:jf,\u0275\u0275propertyInterpolate7:Hf,\u0275\u0275propertyInterpolate8:zf,\u0275\u0275propertyInterpolateV:Wf,\u0275\u0275pipe:Ty,\u0275\u0275queryRefresh:Nb,\u0275\u0275queryAdvance:Bb,\u0275\u0275viewQuery:Lb,\u0275\u0275viewQuerySignal:Ub,\u0275\u0275loadQuery:Pb,\u0275\u0275contentQuery:Rb,\u0275\u0275contentQuerySignal:Fb,\u0275\u0275reference:Vb,\u0275\u0275classMap:Dv,\u0275\u0275classMapInterpolate1:Rv,\u0275\u0275classMapInterpolate2:Lv,\u0275\u0275classMapInterpolate3:Nv,\u0275\u0275classMapInterpolate4:Pv,\u0275\u0275classMapInterpolate5:Fv,\u0275\u0275classMapInterpolate6:Uv,\u0275\u0275classMapInterpolate7:Bv,\u0275\u0275classMapInterpolate8:$v,\u0275\u0275classMapInterpolateV:Vv,\u0275\u0275styleMap:Qs,\u0275\u0275styleMapInterpolate1:jb,\u0275\u0275styleMapInterpolate2:Hb,\u0275\u0275styleMapInterpolate3:zb,\u0275\u0275styleMapInterpolate4:Wb,\u0275\u0275styleMapInterpolate5:Gb,\u0275\u0275styleMapInterpolate6:Kb,\u0275\u0275styleMapInterpolate7:Yb,\u0275\u0275styleMapInterpolate8:Zb,\u0275\u0275styleMapInterpolateV:Qb,\u0275\u0275styleProp:gf,\u0275\u0275stylePropInterpolate1:Gf,\u0275\u0275stylePropInterpolate2:Kf,\u0275\u0275stylePropInterpolate3:Yf,\u0275\u0275stylePropInterpolate4:Zf,\u0275\u0275stylePropInterpolate5:Qf,\u0275\u0275stylePropInterpolate6:Xf,\u0275\u0275stylePropInterpolate7:Jf,\u0275\u0275stylePropInterpolate8:qf,\u0275\u0275stylePropInterpolateV:em,\u0275\u0275classProp:_f,\u0275\u0275advance:K0,\u0275\u0275template:Ja,\u0275\u0275conditional:Gv,\u0275\u0275defer:J_,\u0275\u0275deferWhen:q_,\u0275\u0275deferOnIdle:tv,\u0275\u0275deferOnImmediate:iv,\u0275\u0275deferOnTimer:sv,\u0275\u0275deferOnHover:av,\u0275\u0275deferOnInteraction:cv,\u0275\u0275deferOnViewport:dv,\u0275\u0275deferPrefetchWhen:ev,\u0275\u0275deferPrefetchOnIdle:nv,\u0275\u0275deferPrefetchOnImmediate:rv,\u0275\u0275deferPrefetchOnTimer:ov,\u0275\u0275deferPrefetchOnHover:lv,\u0275\u0275deferPrefetchOnInteraction:uv,\u0275\u0275deferPrefetchOnViewport:hv,\u0275\u0275deferEnableTimerScheduling:X_,\u0275\u0275repeater:Qv,\u0275\u0275repeaterCreate:Zv,\u0275\u0275repeaterTrackByIndex:Kv,\u0275\u0275repeaterTrackByIdentity:Yv,\u0275\u0275componentInstance:jv,\u0275\u0275text:Xb,\u0275\u0275textInterpolate:tm,\u0275\u0275textInterpolate1:$u,\u0275\u0275textInterpolate2:nm,\u0275\u0275textInterpolate3:im,\u0275\u0275textInterpolate4:rm,\u0275\u0275textInterpolate5:sm,\u0275\u0275textInterpolate6:om,\u0275\u0275textInterpolate7:am,\u0275\u0275textInterpolate8:lm,\u0275\u0275textInterpolateV:cm,\u0275\u0275i18n:xb,\u0275\u0275i18nAttributes:Mb,\u0275\u0275i18nExp:Rf,\u0275\u0275i18nStart:kf,\u0275\u0275i18nEnd:Of,\u0275\u0275i18nApply:Db,\u0275\u0275i18nPostprocess:Ib,\u0275\u0275resolveWindow:I0,\u0275\u0275resolveDocument:T0,\u0275\u0275resolveBody:Xd,\u0275\u0275setComponentScope:iy,\u0275\u0275setNgModuleScope:ry,\u0275\u0275registerNgModuleType:$h,\u0275\u0275getComponentDepsFactory:Ny,\u0275setClassDebugInfo:Py,\u0275\u0275sanitizeHtml:l0,\u0275\u0275sanitizeStyle:c0,\u0275\u0275sanitizeResourceUrl:zd,\u0275\u0275sanitizeScript:u0,\u0275\u0275sanitizeUrl:Hd,\u0275\u0275sanitizeUrlOrResourceUrl:f0,\u0275\u0275trustConstantHtml:d0,\u0275\u0275trustConstantResourceUrl:h0,\u0275\u0275validateIframeAttribute:C_,forwardRef:Re,resolveForwardRef:pe,\u0275\u0275twoWayProperty:um,\u0275\u0275twoWayBindingSet:qb,\u0275\u0275twoWayListener:dm,\u0275\u0275InputFlags:Xr};let _l=null;function vT(){_l=null}const vc=[];let vm=!1;function Fy(){if(!vm){vm=!0;try{for(let e=vc.length-1;e>=0;e--){const{moduleType:n,ngModule:i}=vc[e];i.declarations&&i.declarations.every(Uy)&&(vc.splice(e,1),wT(n,i))}}finally{vm=!1}}}function Uy(e){return Array.isArray(e)?e.every(Uy):!!pe(e)}function By(e,n={}){$y(e,n),void 0!==n.id&&$h(e,n.id),function bT(e,n){vc.push({moduleType:e,ngModule:n})}(e,n)}function $y(e,n,i=!1){const o=In(n.declarations||ui);let m=null;Object.defineProperty(e,sr,{configurable:!0,get:()=>(null===m&&(m=$t().compileNgModule(us,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:In(n.bootstrap||ui).map(pe),declarations:o.map(pe),imports:In(n.imports||ui).map(pe).map(zy),exports:In(n.exports||ui).map(pe).map(zy),schemas:n.schemas?In(n.schemas):null,id:n.id||null}),m.schemas||(m.schemas=[])),m)});let x=null;Object.defineProperty(e,_i,{get:()=>{if(null===x){const B=$t();x=B.compileFactory(us,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Rc(e),target:B.FactoryTarget.NgModule,typeArgumentCount:0})}return x},configurable:!1});let P=null;Object.defineProperty(e,ot,{get:()=>{if(null===P){const B={name:e.name,type:e,providers:n.providers||ui,imports:[(n.imports||ui).map(pe),(n.exports||ui).map(pe)]};P=$t().compileInjector(us,`ng:///${e.name}/\u0275inj.js`,B)}return P},configurable:!1})}function Vy(e,n){return`Unexpected "${Cn(e)}" found in the "declarations" array of the ${n}, "${Cn(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 ju=new WeakMap,ym=new WeakMap;function CT(){ju=new WeakMap,ym=new WeakMap,vc.length=0,aa.clear()}function wT(e,n){const i=In(n.declarations||ui),o=Ma(e);i.forEach(m=>{(m=pe(m)).hasOwnProperty(ti)?Cm(ei(m),o):!m.hasOwnProperty(Qi)&&!m.hasOwnProperty(fi)&&(m.ngSelectorScope=e)})}function Cm(e,n){e.directiveDefs=()=>Array.from(n.compilation.directives).map(i=>i.hasOwnProperty(ti)?ei(i):di(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(n.compilation.pipes).map(i=>lr(i)),e.schemas=n.schemas,e.tView=null}function Ma(e){if(ta(e)){if(fu){const n=Ya.getNgModuleScope(e);return{schemas:cr(e,!0).schemas||null,...n}}return function ET(e){const n=cr(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 Ds(n.imports).forEach(o=>{const m=Ma(o);m.exported.directives.forEach(x=>i.compilation.directives.add(x)),m.exported.pipes.forEach(x=>i.compilation.pipes.add(x))}),Ds(n.declarations).forEach(o=>{lr(o)?i.compilation.pipes.add(o):i.compilation.directives.add(o)}),Ds(n.exports).forEach(o=>{const m=o;if(ta(m)){const x=Ma(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 lr(m)?i.exported.pipes.add(m):i.exported.directives.add(m)}),n.transitiveCompileScopes=i,i}(e)}if(Or(e)){if(null!==(ei(e)||di(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==lr(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 zy(e){return Th(e)?e.ngModule:e}let wm=0;function Wy(e,n){let i=null;(function FM(e,n){__(n)&&(Qa.set(e,n),ic.add(e))})(e,n),Ky(e,n),Object.defineProperty(e,ti,{get:()=>{if(null===i){const o=$t();if(__(n)){const fe=[`Component '${e.name}' is not resolved:`];throw n.templateUrl&&fe.push(` - templateUrl: ${n.templateUrl}`),n.styleUrls&&n.styleUrls.length&&fe.push(` - styleUrls: ${JSON.stringify(n.styleUrls)}`),n.styleUrl&&fe.push(` - styleUrl: ${n.styleUrl}`),fe.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(fe.join("\n"))}const m=function _T(){return _l}();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:Qr.Emulated);const B=n.templateUrl||`ng:///${e.name}/template.html`,J={...Yy(e,n),typeSourceSpan:o.createParseSourceSpan("Component",e.name,B),template:n.template||"",preserveWhitespaces:x,styles:"string"==typeof n.styles?[n.styles]:n.styles||ui,animations:n.animations,declarations:[],changeDetection:n.changeDetection,encapsulation:P,interpolation:n.interpolation,viewProviders:n.viewProviders||null};wm++;try{if(J.usesInheritance&&Zy(e),i=o.compileComponent(us,B,J),n.standalone){const fe=In(n.imports||ui),{directiveDefs:ke,pipeDefs:qe}=function xT(e,n){let i=null,o=null;return{directiveDefs:()=>{if(fu)return tc(e)?[...Ya.getStandaloneComponentScope(e,n).compilation.directives].map(B=>ei(B)||di(B)).filter(B=>null!==B):[];if(null===i){i=[ei(e)];const P=new Set([e]);for(const B of n){const J=pe(B);if(!P.has(J))if(P.add(J),cr(J)){const fe=Ma(J);for(const ke of fe.exported.directives){const qe=ei(ke)||di(ke);qe&&!P.has(ke)&&(P.add(ke),i.push(qe))}}else{const fe=ei(J)||di(J);fe&&i.push(fe)}}}return i},pipeDefs:()=>{if(fu)return tc(e)?[...Ya.getStandaloneComponentScope(e,n).compilation.pipes].map(B=>lr(B)).filter(B=>null!==B):[];if(null===o){o=[];const P=new Set;for(const B of n){const J=pe(B);if(!P.has(J))if(P.add(J),cr(J)){const fe=Ma(J);for(const ke of fe.exported.pipes){const qe=lr(ke);qe&&!P.has(ke)&&(P.add(ke),o.push(qe))}}else{const fe=lr(J);fe&&o.push(fe)}}}return o}}}(e,fe);i.directiveDefs=ke,i.pipeDefs=qe,i.dependencies=()=>fe.map(pe)}}finally{wm--}if(0===wm&&Fy(),function MT(e){return void 0!==e.ngSelectorScope}(e)){const fe=Ma(e.ngSelectorScope);Cm(i,fe)}if(n.schemas){if(!n.standalone)throw new Error(`The 'schemas' was specified for the ${Cn(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 Em(e,n){let i=null;Ky(e,n||{}),Object.defineProperty(e,Qi,{get:()=>{if(null===i){const o=Gy(e,n||{});i=$t().compileDirective(us,o.sourceMapUrl,o.metadata)}return i},configurable:!1})}function Gy(e,n){const i=e&&e.name,o=`ng:///${i}/\u0275dir.js`,m=$t(),x=Yy(e,n);return x.typeSourceSpan=m.createParseSourceSpan("Directive",i,o),x.usesInheritance&&Zy(e),{metadata:x,sourceMapUrl:o}}function Ky(e,n){let i=null;Object.defineProperty(e,_i,{get:()=>{if(null===i){const o=Gy(e,n),m=$t();i=m.compileFactory(us,`ng:///${e.name}/\u0275fac.js`,{name:o.metadata.name,type:o.metadata.type,typeArgumentCount:0,deps:Rc(e),target:m.FactoryTarget.Directive})}return i},configurable:!1})}function DT(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Yy(e,n){const i=bd(),o=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==n.selector?n.selector:null,host:n.host||Ji,propMetadata:o,inputs:n.inputs||ui,outputs:n.outputs||ui,queries:Qy(e,o,Xy),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!DT(e),exportAs:ST(n.exportAs),providers:n.providers||null,viewQueries:Qy(e,o,Jy),isStandalone:!!n.standalone,isSignal:!!n.signals,hostDirectives:n.hostDirectives?.map(m=>"function"==typeof m?{directive:m}:m)||null}}function Zy(e){const n=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==n;)!di(i)&&!ei(i)&&kT(i)&&Em(i,null),i=Object.getPrototypeOf(i)}function IT(e){return"string"==typeof e?e1(e):pe(e)}function TT(e,n){return{propertyName:e,predicate:IT(n.selector),descendants:n.descendants,first:n.first,read:n.read?n.read:null,static:!!n.static,emitDistinctChangesOnly:!!n.emitDistinctChangesOnly,isSignal:!!n.isSignal}}function Qy(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 "${Cn(e)}" since the query selector wasn't defined.`);if(x.some(qy))throw new Error("Cannot combine @Input decorators with query decorators");o.push(TT(m,P))}})}return o}function ST(e){return void 0===e?null:e1(e)}function Xy(e){const n=e.ngMetadataName;return"ContentChild"===n||"ContentChildren"===n}function Jy(e){const n=e.ngMetadataName;return"ViewChild"===n||"ViewChildren"===n}function qy(e){return"Input"===e.ngMetadataName}function e1(e){return e.split(",").map(n=>n.trim())}const AT=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function kT(e){const n=bd();if(AT.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=n1(e,n),x=$t();o=x.compileFactory(us,`ng:///${m.name}/\u0275fac.js`,{name:m.name,type:m.type,typeArgumentCount:0,deps:Rc(e),target:x.FactoryTarget.Pipe})}return o},configurable:!1}),Object.defineProperty(e,fi,{get:()=>{if(null===i){const m=n1(e,n);i=$t().compilePipe(us,`ng:///${m.name}/\u0275pipe.js`,m)}return i},configurable:!1})}function n1(e,n){return{type:e,name:e.name,pipeName:n.name,pure:void 0===n.pure||n.pure,isStandalone:!!n.standalone}}const r1=dn("Directive",(e={})=>e,void 0,void 0,(e,n)=>Em(e,n)),OT=dn("Component",(e={})=>({changeDetection:Zr.Default,...e}),r1,void 0,(e,n)=>Wy(e,n)),RT=dn("Pipe",e=>({pure:!0,...e}),void 0,void 0,(e,n)=>t1(e,n)),LT=rn("Input",e=>e?"string"==typeof e?{alias:e}:e:{}),NT=rn("Output",e=>({alias:e})),PT=rn("HostBinding",e=>({hostPropertyName:e})),FT=rn("HostListener",(e,n)=>({eventName:e,args:n})),UT=dn("NgModule",e=>e,void 0,void 0,(e,n)=>By(e,n));class s1{constructor(n){this.full=n;const i=n.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}}const BT=new s1("17.3.0");let o1=(()=>{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=Vn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const d1=new Ie(""),h1=new Ie("");let Mm,dS=(()=>{class e{constructor(i,o,m){this._ngZone=i,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Mm||(m1(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)(Li(gr),Li(f1),Li(h1))};static#t=this.\u0275prov=Vn({token:e,factory:e.\u0275fac})}return e})(),f1=(()=>{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 Mm?.findTestabilityInTree(this,i,o)??null}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=Vn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function m1(e){Mm=e}function Dm(e){return!!e&&"function"==typeof e.then}function p1(e){return!!e&&"function"==typeof e.subscribe}const g1=new Ie("");let zu=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),this.appInits=Bn(g1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const m of this.appInits){const x=m();if(Dm(x))i.push(x);else if(p1(x)){const P=new Promise((B,J)=>{x.subscribe({complete:B,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=Vn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Im=new Ie("");function _1(){!function j(e){ie=e}(()=>{throw new ge(600,!1)})}function v1(e){return e.isBoundToModule}class hS{constructor(n,i){this.name=n,this.token=i}}function b1(e,n,i){try{const o=i();return Dm(o)?o.catch(m=>{throw n.runOutsideAngular(()=>e.handleError(m)),m}):o}catch(o){throw n.runOutsideAngular(()=>e.handleError(o)),o}}function y1(e,n){return Array.isArray(n)?n.reduce(y1,e):{...e,...n}}let Gu,ra=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Bn(kp),this.afterRenderEffectManager=Bn(Ka),this.externalTestViews=new Set,this.beforeRender=new Ae.B,this.afterTick=new Ae.B,this.componentTypes=[],this.components=[],this.isStable=Bn(Xa).hasPendingTasks.pipe((0,Fe.T)(i=>!i)),this._injector=Bn(Lr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,o){const m=i instanceof cu;if(!this._injector.get(zu).done)throw!m&&Or(i),new ge(405,!1);let P;P=m?i:this._injector.get(ec).resolveComponentFactory(i),this.componentTypes.push(P.componentType);const B=v1(P)?void 0:this._injector.get(ba),fe=P.create(Ms.NULL,[],o||P.selector,B),ke=fe.location.nativeElement,qe=fe.injector.get(d1,null);return qe?.registerApplication(ke),fe.onDestroy(()=>{this.detachView(fe.hostView),Wu(this.components,fe),qe?.unregisterApplication(ke)}),this._loadComponent(fe),fe}tick(){this._tick(!0)}_tick(i){if(this._runningTick)throw new ge(101,!1);const o=s(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(i)}catch(m){this.internalErrorHandler(m)}finally{this.afterTick.next(),this._runningTick=!1,s(o)}}detectChangesInAttachedViews(i){let o=0;const m=this.afterRenderEffectManager;for(;;){if(o===pg)throw new ge(103,!1);if(i){const x=0===o;this.beforeRender.next(x);for(let{_lView:P,notifyErrorHandler:B}of this._views)w1(P,x,B)}if(o++,m.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:x})=>Tm(x))&&(m.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:x})=>Tm(x))))break}}attachView(i){const o=i;this._views.push(o),o.attachToAppRef(this)}detachView(i){const o=i;Wu(this._views,o),o.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const o=this._injector.get(Im,[]);[...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),()=>Wu(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new ge(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=Vn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wu(e,n){const i=e.indexOf(n);i>-1&&e.splice(i,1)}function C1(e){Gu??=new WeakMap;const n=Gu.get(e);if(n)return n;const i=e.isStable.pipe((0,xe.$)(o=>o)).toPromise().then(()=>{});return Gu.set(e,i),e.onDestroy(()=>Gu?.delete(e)),i}function w1(e,n,i){!n&&!Tm(e)||function fS(e,n,i){let o;i?(o=0,e[kn]|=1024):o=64&e[kn]?0:1,nu(e,n,o)}(e,i,n)}function Tm(e){return nd(e)}class E1{constructor(n,i){this.ngModuleFactory=n,this.componentFactories=i}}let mS=(()=>{class e{compileModuleSync(i){return new bu(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const o=this.compileModuleSync(i),x=Ds(cr(i).declarations).reduce((P,B)=>{const J=ei(B);return J&&P.push(new Za(J)),P},[]);return new E1(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=Vn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const x1=new Ie("");class pS{}function M1(e,n,i){const o=new bu(i);return Promise.resolve(o)}let gS=(()=>{class e{constructor(){this.zone=Bn(gr),this.applicationRef=Bn(ra)}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=Vn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function I1(e){return[{provide:gr,useFactory:e},{provide:rs,multi:!0,useFactory:()=>{const n=Bn(gS,{optional:!0});return()=>n.initialize()}},{provide:rs,multi:!0,useFactory:()=>{const n=Bn(vS);return()=>{n.initialize()}}},{provide:kp,useFactory:_S}]}function _S(){const e=Bn(gr),n=Bn(Po);return i=>e.runOutsideAngular(()=>n.handleError(i))}function T1(e){return ws([[],I1(()=>new gr(S1(e)))])}function S1(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let vS=(()=>{class e{constructor(){this.subscription=new me.yU,this.initialized=!1,this.zone=Bn(gr),this.pendingTasks=Bn(Xa)}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=Vn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ku=new Ie("",{providedIn:"root",factory:()=>Bn(Ku,Un.Optional|Un.SkipSelf)||function bS(){return typeof $localize<"u"&&$localize.locale||xa}()}),yS=new Ie("",{providedIn:"root",factory:()=>"USD"}),CS=new Ie(""),wS=new Ie("");var A1=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(A1||{});const Sm=new Ie("");let Am=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,o){const m=function eM(e="zone.js",n){return"noop"===e?new Ih:"zone.js"===e?new gr(n):e}(o?.ngZone,S1({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return m.run(()=>{const x=function eD(e,n,i){return new vu(e,n,i)}(i.moduleType,this.injector,I1(()=>m)),P=x.injector.get(Po,null);return m.runOutsideAngular(()=>{const B=m.onError.subscribe({next:J=>{P.handleError(J)}});x.onDestroy(()=>{Wu(this._modules,x),B.unsubscribe()})}),b1(P,m,()=>{const B=x.injector.get(zu);return B.runInitializers(),B.donePromise.then(()=>(Tf(x.injector.get(Ku,xa)||xa),this._moduleDoBootstrap(x),x))})})}bootstrapModule(i,o=[]){const m=y1({},o);return M1(0,0,i).then(x=>this.bootstrapModuleFactory(x,m))}_moduleDoBootstrap(i){const o=i.injector.get(ra);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(m=>o.bootstrap(m));else{if(!i.instance.ngDoBootstrap)throw new ge(-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 ge(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const i=this._injector.get(Sm,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)(Li(Ms))};static#t=this.\u0275prov=Vn({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),sa=null;const km=new Ie("");function k1(e){if(sa&&!sa.get(km,!1))throw new ge(400,!1);_1(),sa=e;const n=e.get(Am);return N1(e),n}function O1(e,n,i=[]){const o=`Platform: ${n}`,m=new Ie(o);return(x=[])=>{let P=Yu();if(!P||P.injector.get(km,!1)){const B=[...i,...x,{provide:m,useValue:!0}];e?e(B):k1(R1(B,o))}return L1()}}function R1(e=[],n){return Ms.create({name:n,providers:[{provide:ks,useValue:"platform"},{provide:Sm,useValue:new Set([()=>sa=null])},...e]})}function L1(e){const n=Yu();if(!n)throw new ge(401,!1);return n}function Yu(){return sa?.get(Am)??null}function ES(){Yu()?.destroy()}function N1(e){e.get(Fp,null)?.forEach(i=>i())}function MS(){return!1}function DS(){}function IS(e){const n=y_(e);if(!n)throw P1(e);return new bu(n)}function TS(e){const n=y_(e);if(!n)throw P1(e);return n}function P1(e){return new Error(`No module with ID ${e} loaded`)}let Om=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=F1}return e})();function F1(e){return function SS(e,n,i){if(Ks(e)&&!i){const o=xs(e.index,n);return new Wa(o,o)}return 47&e.type?new Wa(n[Yi],n):null}(Zi(),tn(),!(16&~e))}class U1 extends Om{}class AS extends U1{}class kS{constructor(n,i){this.name=n,this.callback=i}}function OS(e){return e.map(n=>n.nativeElement)}class Rm{constructor(n){this.nativeNode=n}get parent(){const n=this.nativeNode.parentNode;return n?new yc(n):null}get injector(){return function cy(e){const n=cs(e),i=n?n.lView:null;return null===i?Ms.NULL:new Mr(i[mn].data[n.nodeIndex],i)}(this.nativeNode)}get componentInstance(){const n=this.nativeNode;return n&&(gm(n)||function ay(e){const n=cs(e);let o,i=n?n.lView:null;if(null===i)return null;for(;2===i[mn].type&&(o=ha(i));)i=o;return 512&i[kn]?null:i[Ki]}(n))}get context(){return gm(this.nativeNode)||function oy(e){!function mT(e){if(typeof Element<"u"&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const n=cs(e),i=n?n.lView:null;return null===i?null:i[Ki]}(this.nativeNode)}get listeners(){return function dy(e){const n=cs(e),i=null===n?null:n.lView;if(null===i)return[];const m=i[ao],x=i[mn].cleanup,P=[];if(x&&m)for(let B=0;B=0?"dom":"output"})}}return P.sort(hT),P}(this.nativeNode).filter(n=>"dom"===n.type)}get references(){return function dT(e){const n=cs(e);if(null===n)return{};if(void 0===n.localRefs){const i=n.lView;if(null===i)return{};n.localRefs=function fE(e,n){const i=e[mn].data[n];if(i&&i.localNames){const o={};let m=i.index+1;for(let x=0;x1){let ke=J[1];for(let qe=1;qen[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 LS(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function B1(e,n,i,o){const m=cs(e.nativeNode),x=m?m.lView:null;null!==x?Da(x[mn].data[m.nodeIndex],x,n,i,o,e.nativeNode):Nm(e.nativeNode,n,i,o)}function Da(e,n,i,o,m,x){const P=function vC(e,n){const i=null===e?-1:e.index;return-1!==i?$i(n[i]):null}(e,n);if(11&e.type){if(Lm(P,i,o,m,x),Ks(e)){const J=xs(e.index,n);J&&J[mn].firstChild&&Da(J[mn].firstChild,J,i,o,m,x)}else e.child&&Da(e.child,n,i,o,m,x),P&&Nm(P,i,o,m);const B=n[e.index];hr(B)&&$1(B,i,o,m,x)}else if(4&e.type){const B=n[e.index];Lm(B[ps],i,o,m,x),$1(B,i,o,m,x)}else if(16&e.type){const B=n[Yi],fe=B[or].projection[e.projection];if(Array.isArray(fe))for(let ke of fe)Lm(ke,i,o,m,x);else if(fe){const ke=B[Ti];Da(ke[mn].data[fe.index],ke,i,o,m,x)}}else e.child&&Da(e.child,n,i,o,m,x);if(x!==P){const B=2&e.flags?e.projectionNext:e.next;B&&Da(B,n,i,o,m,x)}}function $1(e,n,i,o,m){for(let x=nr;xn;class j1{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||PS}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,B),null!==i&&Object.is(i.trackById,P)?(o&&(i=this._verifyReinsertion(i,B,P,m)),Object.is(i.item,B)||this._addIdentityChange(i,B)):(i=this._mismatch(i,B,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 FS(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 H1),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 H1),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 FS{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 US{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 H1{constructor(){this.map=new Map}put(n){const i=n.trackById;let o=this.map.get(i);o||(o=new US,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 z1(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 $S(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 $S{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 G1(){return new Um([new V1])}let Um=(()=>{class e{static#e=this.\u0275prov=Vn({token:e,providedIn:"root",factory:G1});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||G1()),deps:[[e,new Gt,new Ot]]}}find(i){const o=this.factories.find(m=>m.supports(i));if(null!=o)return o;throw new ge(901,!1)}}return e})();function K1(){return new Bm([new W1])}let Bm=(()=>{class e{static#e=this.\u0275prov=Vn({token:e,providedIn:"root",factory:K1});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||K1()),deps:[[e,new Gt,new Ot]]}}find(i){const o=this.factories.find(m=>m.supports(i));if(o)return o;throw new ge(901,!1)}}return e})();const VS=[new W1],HS=new Um([new V1]),zS=new Bm(VS),WS=O1(null,"core",[]);let GS=(()=>{class e{constructor(i){}static#e=this.\u0275fac=function(o){return new(o||e)(Li(ra))};static#t=this.\u0275mod=Fs({type:e});static#n=this.\u0275inj=qt({})}return e})();function rA(e){}function lA(e){try{const{rootComponent:n,appProviders:i,platformProviders:o}=e,m=function xS(e=[]){if(sa)return sa;const n=R1(e);return sa=n,_1(),N1(n),n}(o),x=[T1(),...i||[]],B=new k_({providers:x,parent:m,debugName:"",runEnvironmentInitializers:!1}).injector,J=B.get(gr);return J.run(()=>{B.resolveInjectorInitializers();const fe=B.get(Po,null);let ke;J.runOutsideAngular(()=>{ke=J.onError.subscribe({next:Ut=>{fe.handleError(Ut)}})});const qe=()=>B.destroy(),Lt=m.get(Sm);return Lt.add(qe),B.onDestroy(()=>{ke.unsubscribe(),Lt.delete(qe)}),b1(fe,J,()=>{const Ut=B.get(zu);return Ut.runInitializers(),Ut.donePromise.then(()=>{Tf(B.get(Ku,xa)||xa);const nn=B.get(ra);return void 0!==n&&nn.bootstrap(n),nn})})})}catch(n){return Promise.reject(n)}}let cA=(()=>{class e{constructor(){this.appRef=Bn(ra),this.taskService=Bn(Xa),this.pendingRenderTaskId=null,this.shouldRefreshViews=!1}notify(i=0){this.shouldRefreshViews||=0===i,null===this.pendingRenderTaskId&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){var i=this;return(0,t.A)(function*(){const o=new Promise(x=>setTimeout(x)),m="function"==typeof fn.requestAnimationFrame?new Promise(x=>requestAnimationFrame(()=>x())):null;yield Promise.race([o,m]),i.tick()})()}tick(){try{this.appRef.destroyed||this.appRef._tick(this.shouldRefreshViews)}finally{this.shouldRefreshViews=!1;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=Vn({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uA(){return ws([{provide:lu,useExisting:cA},{provide:gr,useClass:Ih}])}function jm(e,n){const i=e[mn];for(let o=Kn;o{let e=!0;return qo()&&(e=!!Bn(Rl,{optional:!0})?.get(Od,null)),e&&Zs("NgHydration"),e}},{provide:rs,useValue:()=>{aC=!!Bn(Kp,{optional:!0}),qo()&&Bn(Fl)&&(function gA(){const e=Jo();let n;for(const i of e.body.childNodes)if(i.nodeType===Node.COMMENT_NODE&&i.textContent?.trim()===$p){n=i;break}if(!n)throw new ge(-507,!1)}(),function dA(){oC||(oC=!0,function ww(){Vp=Cw}(),function qD(){Xv=JD}(),function iT(){Jb=nT}(),function nI(){Jv=tI}(),function lD(){L_=aD}(),function gM(){Kg=pM,Ah=mM}(),function Hx(){xg=jx}(),function BE(){q0=UE}(),function EI(){fc=wI}())}())},multi:!0},{provide:Gp,useFactory:()=>qo()&&Bn(Fl)},{provide:Im,useFactory:()=>{if(qo()&&Bn(Fl)){const e=Bn(ra);return Bn(Ms),()=>{(function hA(e,n){return C1(e)})(e).then(()=>{gr.assertInAngularZone(),function kx(e){const n=e._views;for(const i of n){const o=jp(i);null!==o&&null!==o[Ii]&&(yr(o)?su(o):(su(o[Ii]),wg(o)))}}(e)})}}return()=>{}},multi:!0}])}function mA(){return ws([{provide:Kp,useValue:!0}])}class _A{constructor(){this.views=[],this.indexByContent=new Map}add(n){const i=JSON.stringify(n);if(!this.indexByContent.has(i)){const o=this.views.length;return this.views.push(n),this.indexByContent.set(i,o),o}return this.indexByContent.get(i)}getAll(){return this.views}}let vA=0;function lC(e){return e.ssrId||(e.ssrId="t"+vA++),e.ssrId}function cC(e,n,i){const o=[];return Kl(e,n,i,o),o.length}function bA(e){const n=[];return ug(e,n),n.length}function uC(e,n){const i=e[Ii];return i&&!i.hasAttribute(Ol)?qu(i,e,n):null}function dC(e,n){const i=Xo(e[Ii]),o=uC(i,n),m=$i(i[Ii]),P=qu(m,e[Ti],n);i[Wn].setAttribute(m,Nl,`${o}|${P}`)}function yA(e,n){const i=new _A,o=new Map,m=e._views;for(const B of m){const J=jp(B);if(null!==J){const fe={serializedViewCollection:i,corruptedTextNodes:o};hr(J)?dC(J,fe):uC(J,fe),xA(o,n)}}const x=i.getAll();e.injector.get(Rl).set(Od,x)}function CA(e,n){const i=[];let o="";for(let m=nr;m0&&fe===o){const ke=i[i.length-1];ke[Fc]??=1,ke[Fc]++}else o=fe,i.push(J)}return i}function Ju(e,n,i){const o=n.index-Kn;e[kd]??={},e[kd][o]=$x(n,i)}function hC(e,n){const i=n.index-Kn;e[Uc]??=[],e[Uc].includes(i)||e[Uc].push(i)}function fC(e,n){const i={},o=e[mn];for(let m=Kn;m{m||o.destroyed||(m=!0,e())};du(x,{injector:i,runOnServer:!0}),queueMicrotask(x)}function DA(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 TA(e){return $t().compileDirectiveDeclaration(us,`ng:///${e.type.name}/\u0275fac.js`,e)}function SA(e){O_(e.type,e.decorators,e.ctorParameters??null,e.propDecorators??null)}function AA(e){return $t().compileComponentDeclaration(us,`ng:///${e.type.name}/\u0275cmp.js`,e)}function kA(e){return $t(function OA(e){switch(e){case oe.Directive:return"directive";case oe.Component:return"component";case oe.Injectable:return"injectable";case oe.Pipe:return"pipe";case oe.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(us,`ng:///${e.type.name}/\u0275fac.js`,e)}function RA(e){return $t().compileInjectableDeclaration(us,`ng:///${e.type.name}/\u0275prov.js`,e)}function LA(e){return $t().compileInjectorDeclaration(us,`ng:///${e.type.name}/\u0275inj.js`,e)}function NA(e){return $t().compileNgModuleDeclaration(us,`ng:///${e.type.name}/\u0275mod.js`,e)}function PA(e){return $t().compilePipeDeclaration(us,`ng:///${e.type.name}/\u0275pipe.js`,e)}function FA(e,n){Zs("NgSignals");const i=R(e);return n?.equal&&(i[b].equal=n.equal),i}function UA(e){const n=s(null);try{return e()}finally{s(n)}}const BA=new Ie("",{providedIn:"root",factory:()=>Bn(pC)});let pC=(()=>{class e{static#e=this.\u0275prov=Vn({token:e,providedIn:"root",factory:()=>new $A})}return e})();class $A{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=Bn(Xa),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),null===this.taskId){const i=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(i),this.taskId=null})}}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 VA{constructor(n,i,o,m,x,P){this.scheduler=n,this.effectFn=i,this.creationZone=o,this.injector=x,this.watcher=function mt(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)||(I(J),J.cleanupFn(),J.fn=null,J.schedule=null,J.cleanupFn=ct)}(o),[b]:o},o.ref}(B=>this.runEffect(B),()=>this.schedule(),P),this.unregisterOnDestroy=m?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(i){this.injector.get(Po,null,{optional:!0})?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function gC(e,n){Zs("NgSignals"),!n?.injector&&Ne();const i=n?.injector??Bn(Ms),o=!0!==n?.manualCleanup?i.get(pa):null,m=new VA(i.get(BA),e,typeof Zone>"u"?null:Zone.current,o,i,n?.allowSignalWrites??!1),x=i.get(Om,null,{optional:!0});return x&&8&x._lView[kn]?(x._lView[lo]??=[]).push(m.watcher.notify):m.watcher.notify(),m}function jA(e,n){const i=ei(e),o=n.elementInjector||Os();return new Za(i).create(o,n.projectableNodes,n.hostElement,n.environmentInjector)}function HA(e){const n=ei(e);if(!n)return null;const i=new Za(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 zA(...e){return e.reduce((n,i)=>Object.assign(n,i,{providers:[...n.providers,...i.providers]}),{providers:[]})}},9417:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{AbstractControl:()=>de,AbstractControlDirective:()=>Pe,AbstractFormGroupDirective:()=>Fn,COMPOSITION_BUFFER_MODE:()=>u,CheckboxControlValueAccessor:()=>l,CheckboxRequiredValidator:()=>$n,ControlContainer:()=>Ae,DefaultValueAccessor:()=>h,EmailValidator:()=>Yn,FormArray:()=>Ji,FormArrayName:()=>Sr,FormBuilder:()=>Vr,FormControl:()=>cn,FormControlDirective:()=>jn,FormControlName:()=>Ar,FormGroup:()=>Se,FormGroupDirective:()=>Xi,FormGroupName:()=>ar,FormRecord:()=>ln,FormsModule:()=>Xr,MaxLengthValidator:()=>li,MaxValidator:()=>jt,MinLengthValidator:()=>Hn,MinValidator:()=>on,NG_ASYNC_VALIDATORS:()=>M,NG_VALIDATORS:()=>y,NG_VALUE_ACCESSOR:()=>f,NgControl:()=>me,NgControlStatus:()=>$e,NgControlStatusGroup:()=>q,NgForm:()=>ce,NgModel:()=>On,NgModelGroup:()=>_i,NgSelectOption:()=>Li,NonNullableFormBuilder:()=>Yr,NumberValueAccessor:()=>Xn,PatternValidator:()=>vi,RadioControlValueAccessor:()=>Fi,RangeValueAccessor:()=>vn,ReactiveFormsModule:()=>wo,RequiredValidator:()=>In,SelectControlValueAccessor:()=>ns,SelectMultipleControlValueAccessor:()=>br,UntypedFormArray:()=>ui,UntypedFormBuilder:()=>Zr,UntypedFormControl:()=>hi,UntypedFormGroup:()=>It,VERSION:()=>Qr,Validators:()=>k,isFormArray:()=>rs,isFormControl:()=>Gn,isFormGroup:()=>Kt,isFormRecord:()=>_t,\u0275InternalFormsSharedModule:()=>$r,\u0275NgNoValidate:()=>Cn,\u0275NgSelectMultipleOption:()=>ys});var t=g(4438),v=g(177),C=g(8455),E=g(7468),c=g(6354);let b=(()=>{class be{constructor(ae,je){this._renderer=ae,this._elementRef=je,this.onChange=kt=>{},this.onTouched=()=>{}}setProperty(ae,je){this._renderer.setProperty(this._elementRef.nativeElement,ae,je)}registerOnTouched(ae){this.onTouched=ae}registerOnChange(ae){this.onChange=ae}setDisabledState(ae){this.setProperty("disabled",ae)}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be})}return be})(),s=(()=>{class be extends b{static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,features:[t.\u0275\u0275InheritDefinitionFeature]})}return be})();const f=new t.InjectionToken(""),d={provide:f,useExisting:(0,t.forwardRef)(()=>l),multi:!0};let l=(()=>{class be extends s{writeValue(ae){this.setProperty("checked",ae)}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(je,kt){1&je&&t.\u0275\u0275listener("change",function(qn){return kt.onChange(qn.target.checked)})("blur",function(){return kt.onTouched()})},features:[t.\u0275\u0275ProvidersFeature([d]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();const a={provide:f,useExisting:(0,t.forwardRef)(()=>h),multi:!0},u=new t.InjectionToken("");let h=(()=>{class be extends b{constructor(ae,je,kt){super(ae,je),this._compositionMode=kt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function r(){const be=(0,v.\u0275getDOM)()?(0,v.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(be.toLowerCase())}())}writeValue(ae){this.setProperty("value",ae??"")}_handleInput(ae){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ae)}_compositionStart(){this._composing=!0}_compositionEnd(ae){this._composing=!1,this._compositionMode&&this.onChange(ae)}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(u,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,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(je,kt){1&je&&t.\u0275\u0275listener("input",function(qn){return kt._handleInput(qn.target.value)})("blur",function(){return kt.onTouched()})("compositionstart",function(){return kt._compositionStart()})("compositionend",function(qn){return kt._compositionEnd(qn.target.value)})},features:[t.\u0275\u0275ProvidersFeature([a]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();function p(be){return null==be||("string"==typeof be||Array.isArray(be))&&0===be.length}function _(be){return null!=be&&"number"==typeof be.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(Te){return I(Te)}static max(Te){return D(Te)}static required(Te){return O(Te)}static requiredTrue(Te){return T(Te)}static email(Te){return F(Te)}static minLength(Te){return S(Te)}static maxLength(Te){return R(Te)}static pattern(Te){return N(Te)}static nullValidator(Te){return null}static compose(Te){return G(Te)}static composeAsync(Te){return W(Te)}}function I(be){return Te=>{if(p(Te.value)||p(be))return null;const ae=parseFloat(Te.value);return!isNaN(ae)&&ae{if(p(Te.value)||p(be))return null;const ae=parseFloat(Te.value);return!isNaN(ae)&&ae>be?{max:{max:be,actual:Te.value}}:null}}function O(be){return p(be.value)?{required:!0}:null}function T(be){return!0===be.value?null:{required:!0}}function F(be){return p(be.value)||w.test(be.value)?null:{email:!0}}function S(be){return Te=>p(Te.value)||!_(Te.value)?null:Te.value.length_(Te.value)&&Te.value.length>be?{maxlength:{requiredLength:be,actualLength:Te.value.length}}:null}function N(be){if(!be)return A;let Te,ae;return"string"==typeof be?(ae="","^"!==be.charAt(0)&&(ae+="^"),ae+=be,"$"!==be.charAt(be.length-1)&&(ae+="$"),Te=new RegExp(ae)):(ae=be.toString(),Te=be),je=>{if(p(je.value))return null;const kt=je.value;return Te.test(kt)?null:{pattern:{requiredPattern:ae,actualValue:kt}}}}function A(be){return null}function U(be){return null!=be}function Y(be){return(0,t.\u0275isPromise)(be)?(0,C.H)(be):be}function ee(be){let Te={};return be.forEach(ae=>{Te=null!=ae?{...Te,...ae}:Te}),0===Object.keys(Te).length?null:Te}function ie(be,Te){return Te.map(ae=>ae(be))}function j(be){return be.map(Te=>function $(be){return!be.validate}(Te)?Te:ae=>Te.validate(ae))}function G(be){if(!be)return null;const Te=be.filter(U);return 0==Te.length?null:function(ae){return ee(ie(ae,Te))}}function V(be){return null!=be?G(j(be)):null}function W(be){if(!be)return null;const Te=be.filter(U);return 0==Te.length?null:function(ae){const je=ie(ae,Te).map(Y);return(0,E.p)(je).pipe((0,c.T)(ee))}}function K(be){return null!=be?W(j(be)):null}function le(be,Te){return null===be?[Te]:Array.isArray(be)?[...be,Te]:[be,Te]}function ue(be){return be._rawValidators}function ve(be){return be._rawAsyncValidators}function Ye(be){return be?Array.isArray(be)?be:[be]:[]}function mt(be,Te){return Array.isArray(be)?be.includes(Te):be===Te}function ct(be,Te){const ae=Ye(Te);return Ye(be).forEach(kt=>{mt(ae,kt)||ae.push(kt)}),ae}function Ct(be,Te){return Ye(Te).filter(ae=>!mt(be,ae))}class Pe{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(Te){this._rawValidators=Te||[],this._composedValidatorFn=V(this._rawValidators)}_setAsyncValidators(Te){this._rawAsyncValidators=Te||[],this._composedAsyncValidatorFn=K(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Te){this._onDestroyCallbacks.push(Te)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Te=>Te()),this._onDestroyCallbacks=[]}reset(Te=void 0){this.control&&this.control.reset(Te)}hasError(Te,ae){return!!this.control&&this.control.hasError(Te,ae)}getError(Te,ae){return this.control?this.control.getError(Te,ae):null}}class Ae extends Pe{get formDirective(){return null}get path(){return null}}class me extends Pe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class We{constructor(Te){this._cd=Te}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 $e=(()=>{class be extends We{constructor(ae){super(ae)}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(me,2))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(je,kt){2&je&&t.\u0275\u0275classProp("ng-untouched",kt.isUntouched)("ng-touched",kt.isTouched)("ng-pristine",kt.isPristine)("ng-dirty",kt.isDirty)("ng-valid",kt.isValid)("ng-invalid",kt.isInvalid)("ng-pending",kt.isPending)},features:[t.\u0275\u0275InheritDefinitionFeature]})}return be})(),q=(()=>{class be extends We{constructor(ae){super(ae)}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(Ae,10))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(je,kt){2&je&&t.\u0275\u0275classProp("ng-untouched",kt.isUntouched)("ng-touched",kt.isTouched)("ng-pristine",kt.isPristine)("ng-dirty",kt.isDirty)("ng-valid",kt.isValid)("ng-invalid",kt.isInvalid)("ng-pending",kt.isPending)("ng-submitted",kt.isSubmitted)},features:[t.\u0275\u0275InheritDefinitionFeature]})}return be})();const Vt="VALID",_e="INVALID",Ze="PENDING",Qe="DISABLED";function Rt(be){return(pe(be)?be.validators:be)||null}function ft(be,Te){return(pe(Te)?Te.asyncValidators:be)||null}function pe(be){return null!=be&&!Array.isArray(be)&&"object"==typeof be}function Ke(be,Te,ae){const je=be.controls;if(!(Te?Object.keys(je):je).length)throw new t.\u0275RuntimeError(1e3,"");if(!je[ae])throw new t.\u0275RuntimeError(1001,"")}function te(be,Te,ae){be._forEachChild((je,kt)=>{if(void 0===ae[kt])throw new t.\u0275RuntimeError(1002,"")})}class de{constructor(Te,ae){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Te),this._assignAsyncValidators(ae)}get validator(){return this._composedValidatorFn}set validator(Te){this._rawValidators=this._composedValidatorFn=Te}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Te){this._rawAsyncValidators=this._composedAsyncValidatorFn=Te}get parent(){return this._parent}get valid(){return this.status===Vt}get invalid(){return this.status===_e}get pending(){return this.status==Ze}get disabled(){return this.status===Qe}get enabled(){return this.status!==Qe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Te){this._assignValidators(Te)}setAsyncValidators(Te){this._assignAsyncValidators(Te)}addValidators(Te){this.setValidators(ct(Te,this._rawValidators))}addAsyncValidators(Te){this.setAsyncValidators(ct(Te,this._rawAsyncValidators))}removeValidators(Te){this.setValidators(Ct(Te,this._rawValidators))}removeAsyncValidators(Te){this.setAsyncValidators(Ct(Te,this._rawAsyncValidators))}hasValidator(Te){return mt(this._rawValidators,Te)}hasAsyncValidator(Te){return mt(this._rawAsyncValidators,Te)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Te={}){this.touched=!0,this._parent&&!Te.onlySelf&&this._parent.markAsTouched(Te)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Te=>Te.markAllAsTouched())}markAsUntouched(Te={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ae=>{ae.markAsUntouched({onlySelf:!0})}),this._parent&&!Te.onlySelf&&this._parent._updateTouched(Te)}markAsDirty(Te={}){this.pristine=!1,this._parent&&!Te.onlySelf&&this._parent.markAsDirty(Te)}markAsPristine(Te={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ae=>{ae.markAsPristine({onlySelf:!0})}),this._parent&&!Te.onlySelf&&this._parent._updatePristine(Te)}markAsPending(Te={}){this.status=Ze,!1!==Te.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Te.onlySelf&&this._parent.markAsPending(Te)}disable(Te={}){const ae=this._parentMarkedDirty(Te.onlySelf);this.status=Qe,this.errors=null,this._forEachChild(je=>{je.disable({...Te,onlySelf:!0})}),this._updateValue(),!1!==Te.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Te,skipPristineCheck:ae}),this._onDisabledChange.forEach(je=>je(!0))}enable(Te={}){const ae=this._parentMarkedDirty(Te.onlySelf);this.status=Vt,this._forEachChild(je=>{je.enable({...Te,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Te.emitEvent}),this._updateAncestors({...Te,skipPristineCheck:ae}),this._onDisabledChange.forEach(je=>je(!1))}_updateAncestors(Te){this._parent&&!Te.onlySelf&&(this._parent.updateValueAndValidity(Te),Te.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Te){this._parent=Te}getRawValue(){return this.value}updateValueAndValidity(Te={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Vt||this.status===Ze)&&this._runAsyncValidator(Te.emitEvent)),!1!==Te.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Te.onlySelf&&this._parent.updateValueAndValidity(Te)}_updateTreeValidity(Te={emitEvent:!0}){this._forEachChild(ae=>ae._updateTreeValidity(Te)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Te.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Qe:Vt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Te){if(this.asyncValidator){this.status=Ze,this._hasOwnPendingAsyncValidator=!0;const ae=Y(this.asyncValidator(this));this._asyncValidationSubscription=ae.subscribe(je=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(je,{emitEvent:Te})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Te,ae={}){this.errors=Te,this._updateControlsErrors(!1!==ae.emitEvent)}get(Te){let ae=Te;return null==ae||(Array.isArray(ae)||(ae=ae.split(".")),0===ae.length)?null:ae.reduce((je,kt)=>je&&je._find(kt),this)}getError(Te,ae){const je=ae?this.get(ae):this;return je&&je.errors?je.errors[Te]:null}hasError(Te,ae){return!!this.getError(Te,ae)}get root(){let Te=this;for(;Te._parent;)Te=Te._parent;return Te}_updateControlsErrors(Te){this.status=this._calculateStatus(),Te&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Te)}_initObservables(){this.valueChanges=new t.EventEmitter,this.statusChanges=new t.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?Qe:this.errors?_e:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ze)?Ze:this._anyControlsHaveStatus(_e)?_e:Vt}_anyControlsHaveStatus(Te){return this._anyControls(ae=>ae.status===Te)}_anyControlsDirty(){return this._anyControls(Te=>Te.dirty)}_anyControlsTouched(){return this._anyControls(Te=>Te.touched)}_updatePristine(Te={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Te.onlySelf&&this._parent._updatePristine(Te)}_updateTouched(Te={}){this.touched=this._anyControlsTouched(),this._parent&&!Te.onlySelf&&this._parent._updateTouched(Te)}_registerOnCollectionChange(Te){this._onCollectionChange=Te}_setUpdateStrategy(Te){pe(Te)&&null!=Te.updateOn&&(this._updateOn=Te.updateOn)}_parentMarkedDirty(Te){return!Te&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Te){return null}_assignValidators(Te){this._rawValidators=Array.isArray(Te)?Te.slice():Te,this._composedValidatorFn=function et(be){return Array.isArray(be)?V(be):be||null}(this._rawValidators)}_assignAsyncValidators(Te){this._rawAsyncValidators=Array.isArray(Te)?Te.slice():Te,this._composedAsyncValidatorFn=function Re(be){return Array.isArray(be)?K(be):be||null}(this._rawAsyncValidators)}}class Se extends de{constructor(Te,ae,je){super(Rt(ae),ft(je,ae)),this.controls=Te,this._initObservables(),this._setUpdateStrategy(ae),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Te,ae){return this.controls[Te]?this.controls[Te]:(this.controls[Te]=ae,ae.setParent(this),ae._registerOnCollectionChange(this._onCollectionChange),ae)}addControl(Te,ae,je={}){this.registerControl(Te,ae),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}removeControl(Te,ae={}){this.controls[Te]&&this.controls[Te]._registerOnCollectionChange(()=>{}),delete this.controls[Te],this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}setControl(Te,ae,je={}){this.controls[Te]&&this.controls[Te]._registerOnCollectionChange(()=>{}),delete this.controls[Te],ae&&this.registerControl(Te,ae),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}contains(Te){return this.controls.hasOwnProperty(Te)&&this.controls[Te].enabled}setValue(Te,ae={}){te(this,0,Te),Object.keys(Te).forEach(je=>{Ke(this,!0,je),this.controls[je].setValue(Te[je],{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae)}patchValue(Te,ae={}){null!=Te&&(Object.keys(Te).forEach(je=>{const kt=this.controls[je];kt&&kt.patchValue(Te[je],{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae))}reset(Te={},ae={}){this._forEachChild((je,kt)=>{je.reset(Te?Te[kt]:null,{onlySelf:!0,emitEvent:ae.emitEvent})}),this._updatePristine(ae),this._updateTouched(ae),this.updateValueAndValidity(ae)}getRawValue(){return this._reduceChildren({},(Te,ae,je)=>(Te[je]=ae.getRawValue(),Te))}_syncPendingControls(){let Te=this._reduceChildren(!1,(ae,je)=>!!je._syncPendingControls()||ae);return Te&&this.updateValueAndValidity({onlySelf:!0}),Te}_forEachChild(Te){Object.keys(this.controls).forEach(ae=>{const je=this.controls[ae];je&&Te(je,ae)})}_setUpControls(){this._forEachChild(Te=>{Te.setParent(this),Te._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Te){for(const[ae,je]of Object.entries(this.controls))if(this.contains(ae)&&Te(je))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ae,je,kt)=>((je.enabled||this.disabled)&&(ae[kt]=je.value),ae))}_reduceChildren(Te,ae){let je=Te;return this._forEachChild((kt,xn)=>{je=ae(je,kt,xn)}),je}_allControlsDisabled(){for(const Te of Object.keys(this.controls))if(this.controls[Te].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Te){return this.controls.hasOwnProperty(Te)?this.controls[Te]:null}}const It=Se,Kt=be=>be instanceof Se;class ln extends Se{}const _t=be=>be instanceof ln,Nt=new t.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>Je}),Je="always";function Ue(be,Te){return[...Te.path,be]}function nt(be,Te,ae=Je){en(be,Te),Te.valueAccessor.writeValue(be.value),(be.disabled||"always"===ae)&&Te.valueAccessor.setDisabledState?.(be.disabled),function Ln(be,Te){Te.valueAccessor.registerOnChange(ae=>{be._pendingValue=ae,be._pendingChange=!0,be._pendingDirty=!0,"change"===be.updateOn&&Ei(be,Te)})}(be,Te),function Vn(be,Te){const ae=(je,kt)=>{Te.valueAccessor.writeValue(je),kt&&Te.viewToModelUpdate(je)};be.registerOnChange(ae),Te._registerOnDestroy(()=>{be._unregisterOnChange(ae)})}(be,Te),function Ri(be,Te){Te.valueAccessor.registerOnTouched(()=>{be._pendingTouched=!0,"blur"===be.updateOn&&be._pendingChange&&Ei(be,Te),"submit"!==be.updateOn&&be.markAsTouched()})}(be,Te),function At(be,Te){if(Te.valueAccessor.setDisabledState){const ae=je=>{Te.valueAccessor.setDisabledState(je)};be.registerOnDisabledChange(ae),Te._registerOnDestroy(()=>{be._unregisterOnDisabledChange(ae)})}}(be,Te)}function He(be,Te,ae=!0){const je=()=>{};Te.valueAccessor&&(Te.valueAccessor.registerOnChange(je),Te.valueAccessor.registerOnTouched(je)),yn(be,Te),be&&(Te._invokeOnDestroyCallbacks(),be._registerOnCollectionChange(()=>{}))}function dt(be,Te){be.forEach(ae=>{ae.registerOnValidatorChange&&ae.registerOnValidatorChange(Te)})}function en(be,Te){const ae=ue(be);null!==Te.validator?be.setValidators(le(ae,Te.validator)):"function"==typeof ae&&be.setValidators([ae]);const je=ve(be);null!==Te.asyncValidator?be.setAsyncValidators(le(je,Te.asyncValidator)):"function"==typeof je&&be.setAsyncValidators([je]);const kt=()=>be.updateValueAndValidity();dt(Te._rawValidators,kt),dt(Te._rawAsyncValidators,kt)}function yn(be,Te){let ae=!1;if(null!==be){if(null!==Te.validator){const kt=ue(be);if(Array.isArray(kt)&&kt.length>0){const xn=kt.filter(qn=>qn!==Te.validator);xn.length!==kt.length&&(ae=!0,be.setValidators(xn))}}if(null!==Te.asyncValidator){const kt=ve(be);if(Array.isArray(kt)&&kt.length>0){const xn=kt.filter(qn=>qn!==Te.asyncValidator);xn.length!==kt.length&&(ae=!0,be.setAsyncValidators(xn))}}}const je=()=>{};return dt(Te._rawValidators,je),dt(Te._rawAsyncValidators,je),ae}function Ei(be,Te){be._pendingDirty&&be.markAsDirty(),be.setValue(be._pendingValue,{emitModelToViewChange:!1}),Te.viewToModelUpdate(be._pendingValue),be._pendingChange=!1}function st(be,Te){en(be,Te)}function ut(be,Te){if(!be.hasOwnProperty("model"))return!1;const ae=be.model;return!!ae.isFirstChange()||!Object.is(Te,ae.currentValue)}function pt(be,Te){be._syncPendingControls(),Te.forEach(ae=>{const je=ae.control;"submit"===je.updateOn&&je._pendingChange&&(ae.viewToModelUpdate(je._pendingValue),je._pendingChange=!1)})}function wt(be,Te){if(!Te)return null;let ae,je,kt;return Array.isArray(Te),Te.forEach(xn=>{xn.constructor===h?ae=xn:function ot(be){return Object.getPrototypeOf(be.constructor)===s}(xn)?je=xn:kt=xn}),kt||je||ae||null}const z={provide:Ae,useExisting:(0,t.forwardRef)(()=>ce)},he=Promise.resolve();let ce=(()=>{class be extends Ae{constructor(ae,je,kt){super(),this.callSetDisabledState=kt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.EventEmitter,this.form=new Se({},V(ae),K(je))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ae){he.then(()=>{const je=this._findContainer(ae.path);ae.control=je.registerControl(ae.name,ae.control),nt(ae.control,ae,this.callSetDisabledState),ae.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ae)})}getControl(ae){return this.form.get(ae.path)}removeControl(ae){he.then(()=>{const je=this._findContainer(ae.path);je&&je.removeControl(ae.name),this._directives.delete(ae)})}addFormGroup(ae){he.then(()=>{const je=this._findContainer(ae.path),kt=new Se({});st(kt,ae),je.registerControl(ae.name,kt),kt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ae){he.then(()=>{const je=this._findContainer(ae.path);je&&je.removeControl(ae.name)})}getFormGroup(ae){return this.form.get(ae.path)}updateModel(ae,je){he.then(()=>{this.form.get(ae.path).setValue(je)})}setValue(ae){this.control.setValue(ae)}onSubmit(ae){return this.submitted=!0,pt(this.form,this._directives),this.ngSubmit.emit(ae),"dialog"===ae?.target?.method}onReset(){this.resetForm()}resetForm(ae=void 0){this.form.reset(ae),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ae){return ae.pop(),ae.length?this.form.get(ae):this.form}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(Nt,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(je,kt){1&je&&t.\u0275\u0275listener("submit",function(qn){return kt.onSubmit(qn)})("reset",function(){return kt.onReset()})},inputs:{options:[t.\u0275\u0275InputFlags.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.\u0275\u0275ProvidersFeature([z]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();function Ve(be,Te){const ae=be.indexOf(Te);ae>-1&&be.splice(ae,1)}function xt(be){return"object"==typeof be&&null!==be&&2===Object.keys(be).length&&"value"in be&&"disabled"in be}const cn=class extends de{constructor(Te=null,ae,je){super(Rt(ae),ft(je,ae)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Te),this._setUpdateStrategy(ae),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pe(ae)&&(ae.nonNullable||ae.initialValueIsDefault)&&(this.defaultValue=xt(Te)?Te.value:Te)}setValue(Te,ae={}){this.value=this._pendingValue=Te,this._onChange.length&&!1!==ae.emitModelToViewChange&&this._onChange.forEach(je=>je(this.value,!1!==ae.emitViewToModelChange)),this.updateValueAndValidity(ae)}patchValue(Te,ae={}){this.setValue(Te,ae)}reset(Te=this.defaultValue,ae={}){this._applyFormState(Te),this.markAsPristine(ae),this.markAsUntouched(ae),this.setValue(this.value,ae),this._pendingChange=!1}_updateValue(){}_anyControls(Te){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Te){this._onChange.push(Te)}_unregisterOnChange(Te){Ve(this._onChange,Te)}registerOnDisabledChange(Te){this._onDisabledChange.push(Te)}_unregisterOnDisabledChange(Te){Ve(this._onDisabledChange,Te)}_forEachChild(Te){}_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(Te){xt(Te)?(this.value=this._pendingValue=Te.value,Te.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Te}},hi=cn,Gn=be=>be instanceof cn;let Fn=(()=>{class be extends Ae{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ue(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 ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,features:[t.\u0275\u0275InheritDefinitionFeature]})}return be})();const sr={provide:Ae,useExisting:(0,t.forwardRef)(()=>_i)};let _i=(()=>{class be extends Fn{constructor(ae,je,kt){super(),this.name="",this._parent=ae,this._setValidators(je),this._setAsyncValidators(kt)}_checkParentType(){}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(Ae,5),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["","ngModelGroup",""]],inputs:{name:[t.\u0275\u0275InputFlags.None,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[t.\u0275\u0275ProvidersFeature([sr]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();const mi={provide:me,useExisting:(0,t.forwardRef)(()=>On)},Hi=Promise.resolve();let On=(()=>{class be extends me{constructor(ae,je,kt,xn,qn,Er){super(),this._changeDetectorRef=qn,this.callSetDisabledState=Er,this.control=new cn,this._registered=!1,this.name="",this.update=new t.EventEmitter,this._parent=ae,this._setValidators(je),this._setAsyncValidators(kt),this.valueAccessor=wt(0,xn)}ngOnChanges(ae){if(this._checkForErrors(),!this._registered||"name"in ae){if(this._registered&&(this._checkName(),this.formDirective)){const je=ae.name.previousValue;this.formDirective.removeControl({name:je,path:this._getPath(je)})}this._setUpControl()}"isDisabled"in ae&&this._updateDisabled(ae),ut(ae,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(ae){this.viewModel=ae,this.update.emit(ae)}_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(){nt(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(ae){Hi.then(()=>{this.control.setValue(ae,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ae){const je=ae.isDisabled.currentValue,kt=0!==je&&(0,t.booleanAttribute)(je);Hi.then(()=>{kt&&!this.control.disabled?this.control.disable():!kt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ae){return this._parent?Ue(ae,this._parent):[ae]}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(Ae,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(Nt,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,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([mi]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return be})(),Cn=(()=>{class be{static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return be})();const Bi={provide:f,useExisting:(0,t.forwardRef)(()=>Xn),multi:!0};let Xn=(()=>{class be extends s{writeValue(ae){this.setProperty("value",ae??"")}registerOnChange(ae){this.onChange=je=>{ae(""==je?null:parseFloat(je))}}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(je,kt){1&je&&t.\u0275\u0275listener("input",function(qn){return kt.onChange(qn.target.value)})("blur",function(){return kt.onTouched()})},features:[t.\u0275\u0275ProvidersFeature([Bi]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();const Qn={provide:f,useExisting:(0,t.forwardRef)(()=>Fi),multi:!0};let zi=(()=>{class be{constructor(){this._accessors=[]}add(ae,je){this._accessors.push([ae,je])}remove(ae){for(let je=this._accessors.length-1;je>=0;--je)if(this._accessors[je][1]===ae)return void this._accessors.splice(je,1)}select(ae){this._accessors.forEach(je=>{this._isSameGroup(je,ae)&&je[1]!==ae&&je[1].fireUncheck(ae.value)})}_isSameGroup(ae,je){return!!ae[0].control&&ae[0]._parent===je._control._parent&&ae[1].name===je.name}static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})(),Fi=(()=>{class be extends s{constructor(ae,je,kt,xn){super(ae,je),this._registry=kt,this._injector=xn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,t.inject)(Nt,{optional:!0})??Je}ngOnInit(){this._control=this._injector.get(me),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ae){this._state=ae===this.value,this.setProperty("checked",this._state)}registerOnChange(ae){this._fn=ae,this.onChange=()=>{ae(this.value),this._registry.select(this)}}setDisabledState(ae){(this.setDisabledStateFired||ae||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",ae),this.setDisabledStateFired=!0}fireUncheck(ae){this.writeValue(ae)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(zi),t.\u0275\u0275directiveInject(t.Injector))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(je,kt){1&je&&t.\u0275\u0275listener("change",function(){return kt.onChange()})("blur",function(){return kt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[t.\u0275\u0275ProvidersFeature([Qn]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();const Un={provide:f,useExisting:(0,t.forwardRef)(()=>vn),multi:!0};let vn=(()=>{class be extends s{writeValue(ae){this.setProperty("value",parseFloat(ae))}registerOnChange(ae){this.onChange=je=>{ae(""==je?null:parseFloat(je))}}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(je,kt){1&je&&t.\u0275\u0275listener("change",function(qn){return kt.onChange(qn.target.value)})("input",function(qn){return kt.onChange(qn.target.value)})("blur",function(){return kt.onTouched()})},features:[t.\u0275\u0275ProvidersFeature([Un]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();const Dn=new t.InjectionToken(""),Rn={provide:me,useExisting:(0,t.forwardRef)(()=>jn)};let jn=(()=>{class be extends me{set isDisabled(ae){}static#e=this._ngModelWarningSentOnce=!1;constructor(ae,je,kt,xn,qn){super(),this._ngModelWarningConfig=xn,this.callSetDisabledState=qn,this.update=new t.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(ae),this._setAsyncValidators(je),this.valueAccessor=wt(0,kt)}ngOnChanges(ae){if(this._isControlChanged(ae)){const je=ae.form.previousValue;je&&He(je,this,!1),nt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ut(ae,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&He(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ae){this.viewModel=ae,this.update.emit(ae)}_isControlChanged(ae){return ae.hasOwnProperty("form")}static#t=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(f,10),t.\u0275\u0275directiveInject(Dn,8),t.\u0275\u0275directiveInject(Nt,8))};static#n=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,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([Rn]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return be})();const Vi={provide:Ae,useExisting:(0,t.forwardRef)(()=>Xi)};let Xi=(()=>{class be extends Ae{constructor(ae,je,kt){super(),this.callSetDisabledState=kt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.EventEmitter,this._setValidators(ae),this._setAsyncValidators(je)}ngOnChanges(ae){this._checkFormPresent(),ae.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(yn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ae){const je=this.form.get(ae.path);return nt(je,ae,this.callSetDisabledState),je.updateValueAndValidity({emitEvent:!1}),this.directives.push(ae),je}getControl(ae){return this.form.get(ae.path)}removeControl(ae){He(ae.control||null,ae,!1),function Ie(be,Te){const ae=be.indexOf(Te);ae>-1&&be.splice(ae,1)}(this.directives,ae)}addFormGroup(ae){this._setUpFormContainer(ae)}removeFormGroup(ae){this._cleanUpFormContainer(ae)}getFormGroup(ae){return this.form.get(ae.path)}addFormArray(ae){this._setUpFormContainer(ae)}removeFormArray(ae){this._cleanUpFormContainer(ae)}getFormArray(ae){return this.form.get(ae.path)}updateModel(ae,je){this.form.get(ae.path).setValue(je)}onSubmit(ae){return this.submitted=!0,pt(this.form,this.directives),this.ngSubmit.emit(ae),"dialog"===ae?.target?.method}onReset(){this.resetForm()}resetForm(ae=void 0){this.form.reset(ae),this.submitted=!1}_updateDomValue(){this.directives.forEach(ae=>{const je=ae.control,kt=this.form.get(ae.path);je!==kt&&(He(je||null,ae),Gn(kt)&&(nt(kt,ae,this.callSetDisabledState),ae.control=kt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ae){const je=this.form.get(ae.path);st(je,ae),je.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ae){if(this.form){const je=this.form.get(ae.path);je&&function qt(be,Te){return yn(be,Te)}(je,ae)&&je.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){en(this.form,this),this._oldForm&&yn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(Nt,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["","formGroup",""]],hostBindings:function(je,kt){1&je&&t.\u0275\u0275listener("submit",function(qn){return kt.onSubmit(qn)})("reset",function(){return kt.onReset()})},inputs:{form:[t.\u0275\u0275InputFlags.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.\u0275\u0275ProvidersFeature([Vi]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return be})();const Wi={provide:Ae,useExisting:(0,t.forwardRef)(()=>ar)};let ar=(()=>{class be extends Fn{constructor(ae,je,kt){super(),this.name=null,this._parent=ae,this._setValidators(je),this._setAsyncValidators(kt)}_checkParentType(){wr(this._parent)}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(Ae,13),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["","formGroupName",""]],inputs:{name:[t.\u0275\u0275InputFlags.None,"formGroupName","name"]},features:[t.\u0275\u0275ProvidersFeature([Wi]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();const Hr={provide:Ae,useExisting:(0,t.forwardRef)(()=>Sr)};let Sr=(()=>{class be extends Ae{constructor(ae,je,kt){super(),this.name=null,this._parent=ae,this._setValidators(je),this._setAsyncValidators(kt)}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 Ue(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){wr(this._parent)}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(Ae,13),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["","formArrayName",""]],inputs:{name:[t.\u0275\u0275InputFlags.None,"formArrayName","name"]},features:[t.\u0275\u0275ProvidersFeature([Hr]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();function wr(be){return!(be instanceof ar||be instanceof Xi||be instanceof Sr)}const bs={provide:me,useExisting:(0,t.forwardRef)(()=>Ar)};let Ar=(()=>{class be extends me{set isDisabled(ae){}static#e=this._ngModelWarningSentOnce=!1;constructor(ae,je,kt,xn,qn){super(),this._ngModelWarningConfig=qn,this._added=!1,this.name=null,this.update=new t.EventEmitter,this._ngModelWarningSent=!1,this._parent=ae,this._setValidators(je),this._setAsyncValidators(kt),this.valueAccessor=wt(0,xn)}ngOnChanges(ae){this._added||this._setUpControl(),ut(ae,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ae){this.viewModel=ae,this.update.emit(ae)}get path(){return Ue(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(je){return new(je||be)(t.\u0275\u0275directiveInject(Ae,13),t.\u0275\u0275directiveInject(y,10),t.\u0275\u0275directiveInject(M,10),t.\u0275\u0275directiveInject(f,10),t.\u0275\u0275directiveInject(Dn,8))};static#n=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,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([bs]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return be})();const Ur={provide:f,useExisting:(0,t.forwardRef)(()=>ns),multi:!0};function Br(be,Te){return null==be?`${Te}`:(Te&&"object"==typeof Te&&(Te="Object"),`${be}: ${Te}`.slice(0,50))}let ns=(()=>{class be extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ae){this._compareWith=ae}writeValue(ae){this.value=ae;const kt=Br(this._getOptionId(ae),ae);this.setProperty("value",kt)}registerOnChange(ae){this.onChange=je=>{this.value=this._getOptionValue(je),ae(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ae){for(const je of this._optionMap.keys())if(this._compareWith(this._optionMap.get(je),ae))return je;return null}_getOptionValue(ae){const je=function mr(be){return be.split(":")[0]}(ae);return this._optionMap.has(je)?this._optionMap.get(je):ae}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(je,kt){1&je&&t.\u0275\u0275listener("change",function(qn){return kt.onChange(qn.target.value)})("blur",function(){return kt.onTouched()})},inputs:{compareWith:"compareWith"},features:[t.\u0275\u0275ProvidersFeature([Ur]),t.\u0275\u0275InheritDefinitionFeature]})}return be})(),Li=(()=>{class be{constructor(ae,je,kt){this._element=ae,this._renderer=je,this._select=kt,this._select&&(this.id=this._select._registerOption())}set ngValue(ae){null!=this._select&&(this._select._optionMap.set(this.id,ae),this._setElementValue(Br(this.id,ae)),this._select.writeValue(this._select.value))}set value(ae){this._setElementValue(ae),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ae){this._renderer.setProperty(this._element.nativeElement,"value",ae)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(ns,9))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return be})();const is={provide:f,useExisting:(0,t.forwardRef)(()=>br),multi:!0};function Bn(be,Te){return null==be?`${Te}`:("string"==typeof Te&&(Te=`'${Te}'`),Te&&"object"==typeof Te&&(Te="Object"),`${be}: ${Te}`.slice(0,50))}let br=(()=>{class be extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ae){this._compareWith=ae}writeValue(ae){let je;if(this.value=ae,Array.isArray(ae)){const kt=ae.map(xn=>this._getOptionId(xn));je=(xn,qn)=>{xn._setSelected(kt.indexOf(qn.toString())>-1)}}else je=(kt,xn)=>{kt._setSelected(!1)};this._optionMap.forEach(je)}registerOnChange(ae){this.onChange=je=>{const kt=[],xn=je.selectedOptions;if(void 0!==xn){const qn=xn;for(let Er=0;Er{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(je,kt){1&je&&t.\u0275\u0275listener("change",function(qn){return kt.onChange(qn.target)})("blur",function(){return kt.onTouched()})},inputs:{compareWith:"compareWith"},features:[t.\u0275\u0275ProvidersFeature([is]),t.\u0275\u0275InheritDefinitionFeature]})}return be})(),ys=(()=>{class be{constructor(ae,je,kt){this._element=ae,this._renderer=je,this._select=kt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ae){null!=this._select&&(this._value=ae,this._setElementValue(Bn(this.id,ae)),this._select.writeValue(this._select.value))}set value(ae){this._select?(this._value=ae,this._setElementValue(Bn(this.id,ae)),this._select.writeValue(this._select.value)):this._setElementValue(ae)}_setElementValue(ae){this._renderer.setProperty(this._element.nativeElement,"value",ae)}_setSelected(ae){this._renderer.setProperty(this._element.nativeElement,"selected",ae)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(je){return new(je||be)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(br,9))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return be})();function Dt(be){return"number"==typeof be?be:parseInt(be,10)}function bt(be){return"number"==typeof be?be:parseFloat(be)}let St=(()=>{class be{constructor(){this._validator=A}ngOnChanges(ae){if(this.inputName in ae){const je=this.normalizeInput(ae[this.inputName].currentValue);this._enabled=this.enabled(je),this._validator=this._enabled?this.createValidator(je):A,this._onChange&&this._onChange()}}validate(ae){return this._validator(ae)}registerOnValidatorChange(ae){this._onChange=ae}enabled(ae){return null!=ae}static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,features:[t.\u0275\u0275NgOnChangesFeature]})}return be})();const Ot={provide:y,useExisting:(0,t.forwardRef)(()=>jt),multi:!0};let jt=(()=>{class be extends St{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ae=>bt(ae),this.createValidator=ae=>D(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(je,kt){2&je&&t.\u0275\u0275attribute("max",kt._enabled?kt.max:null)},inputs:{max:"max"},features:[t.\u0275\u0275ProvidersFeature([Ot]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();const Gt={provide:y,useExisting:(0,t.forwardRef)(()=>on),multi:!0};let on=(()=>{class be extends St{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ae=>bt(ae),this.createValidator=ae=>I(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(je,kt){2&je&&t.\u0275\u0275attribute("min",kt._enabled?kt.min:null)},inputs:{min:"min"},features:[t.\u0275\u0275ProvidersFeature([Gt]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();const pn={provide:y,useExisting:(0,t.forwardRef)(()=>In),multi:!0},bn={provide:y,useExisting:(0,t.forwardRef)(()=>$n),multi:!0};let In=(()=>{class be extends St{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.booleanAttribute,this.createValidator=ae=>O}enabled(ae){return ae}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(je,kt){2&je&&t.\u0275\u0275attribute("required",kt._enabled?"":null)},inputs:{required:"required"},features:[t.\u0275\u0275ProvidersFeature([pn]),t.\u0275\u0275InheritDefinitionFeature]})}return be})(),$n=(()=>{class be extends In{constructor(){super(...arguments),this.createValidator=ae=>T}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(je,kt){2&je&&t.\u0275\u0275attribute("required",kt._enabled?"":null)},features:[t.\u0275\u0275ProvidersFeature([bn]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();const xi={provide:y,useExisting:(0,t.forwardRef)(()=>Yn),multi:!0};let Yn=(()=>{class be extends St{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=t.booleanAttribute,this.createValidator=ae=>F}enabled(ae){return ae}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[t.\u0275\u0275ProvidersFeature([xi]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();const Ui={provide:y,useExisting:(0,t.forwardRef)(()=>Hn),multi:!0};let Hn=(()=>{class be extends St{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ae=>Dt(ae),this.createValidator=ae=>S(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(je,kt){2&je&&t.\u0275\u0275attribute("minlength",kt._enabled?kt.minlength:null)},inputs:{minlength:"minlength"},features:[t.\u0275\u0275ProvidersFeature([Ui]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();const ii={provide:y,useExisting:(0,t.forwardRef)(()=>li),multi:!0};let li=(()=>{class be extends St{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ae=>Dt(ae),this.createValidator=ae=>R(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(je,kt){2&je&&t.\u0275\u0275attribute("maxlength",kt._enabled?kt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[t.\u0275\u0275ProvidersFeature([ii]),t.\u0275\u0275InheritDefinitionFeature]})}return be})();const ur={provide:y,useExisting:(0,t.forwardRef)(()=>vi),multi:!0};let vi=(()=>{class be extends St{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ae=>ae,this.createValidator=ae=>N(ae)}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:be,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(je,kt){2&je&&t.\u0275\u0275attribute("pattern",kt._enabled?kt.pattern:null)},inputs:{pattern:"pattern"},features:[t.\u0275\u0275ProvidersFeature([ur]),t.\u0275\u0275InheritDefinitionFeature]})}return be})(),$r=(()=>{class be{static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:be});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return be})();class Ji extends de{constructor(Te,ae,je){super(Rt(ae),ft(je,ae)),this.controls=Te,this._initObservables(),this._setUpdateStrategy(ae),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Te){return this.controls[this._adjustIndex(Te)]}push(Te,ae={}){this.controls.push(Te),this._registerControl(Te),this.updateValueAndValidity({emitEvent:ae.emitEvent}),this._onCollectionChange()}insert(Te,ae,je={}){this.controls.splice(Te,0,ae),this._registerControl(ae),this.updateValueAndValidity({emitEvent:je.emitEvent})}removeAt(Te,ae={}){let je=this._adjustIndex(Te);je<0&&(je=0),this.controls[je]&&this.controls[je]._registerOnCollectionChange(()=>{}),this.controls.splice(je,1),this.updateValueAndValidity({emitEvent:ae.emitEvent})}setControl(Te,ae,je={}){let kt=this._adjustIndex(Te);kt<0&&(kt=0),this.controls[kt]&&this.controls[kt]._registerOnCollectionChange(()=>{}),this.controls.splice(kt,1),ae&&(this.controls.splice(kt,0,ae),this._registerControl(ae)),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Te,ae={}){te(this,0,Te),Te.forEach((je,kt)=>{Ke(this,!1,kt),this.at(kt).setValue(je,{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae)}patchValue(Te,ae={}){null!=Te&&(Te.forEach((je,kt)=>{this.at(kt)&&this.at(kt).patchValue(je,{onlySelf:!0,emitEvent:ae.emitEvent})}),this.updateValueAndValidity(ae))}reset(Te=[],ae={}){this._forEachChild((je,kt)=>{je.reset(Te[kt],{onlySelf:!0,emitEvent:ae.emitEvent})}),this._updatePristine(ae),this._updateTouched(ae),this.updateValueAndValidity(ae)}getRawValue(){return this.controls.map(Te=>Te.getRawValue())}clear(Te={}){this.controls.length<1||(this._forEachChild(ae=>ae._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Te.emitEvent}))}_adjustIndex(Te){return Te<0?Te+this.length:Te}_syncPendingControls(){let Te=this.controls.reduce((ae,je)=>!!je._syncPendingControls()||ae,!1);return Te&&this.updateValueAndValidity({onlySelf:!0}),Te}_forEachChild(Te){this.controls.forEach((ae,je)=>{Te(ae,je)})}_updateValue(){this.value=this.controls.filter(Te=>Te.enabled||this.disabled).map(Te=>Te.value)}_anyControls(Te){return this.controls.some(ae=>ae.enabled&&Te(ae))}_setUpControls(){this._forEachChild(Te=>this._registerControl(Te))}_allControlsDisabled(){for(const Te of this.controls)if(Te.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Te){Te.setParent(this),Te._registerOnCollectionChange(this._onCollectionChange)}_find(Te){return this.at(Te)??null}}const ui=Ji,rs=be=>be instanceof Ji;function Kr(be){return!!be&&(void 0!==be.asyncValidators||void 0!==be.validators||void 0!==be.updateOn)}let Vr=(()=>{class be{constructor(){this.useNonNullable=!1}get nonNullable(){const ae=new be;return ae.useNonNullable=!0,ae}group(ae,je=null){const kt=this._reduceControls(ae);let xn={};return Kr(je)?xn=je:null!==je&&(xn.validators=je.validator,xn.asyncValidators=je.asyncValidator),new Se(kt,xn)}record(ae,je=null){const kt=this._reduceControls(ae);return new ln(kt,je)}control(ae,je,kt){let xn={};return this.useNonNullable?(Kr(je)?xn=je:(xn.validators=je,xn.asyncValidators=kt),new cn(ae,{...xn,nonNullable:!0})):new cn(ae,je,kt)}array(ae,je,kt){const xn=ae.map(qn=>this._createControl(qn));return new Ji(xn,je,kt)}_reduceControls(ae){const je={};return Object.keys(ae).forEach(kt=>{je[kt]=this._createControl(ae[kt])}),je}_createControl(ae){return ae instanceof cn||ae instanceof de?ae:Array.isArray(ae)?this.control(ae[0],ae.length>1?ae[1]:null,ae.length>2?ae[2]:null):this.control(ae)}static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})(),Yr=(()=>{class be{static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:be,factory:()=>(0,t.inject)(Vr).nonNullable,providedIn:"root"})}return be})(),Zr=(()=>{class be extends Vr{group(ae,je=null){return super.group(ae,je)}control(ae,je,kt){return super.control(ae,je,kt)}array(ae,je,kt){return super.array(ae,je,kt)}static#e=this.\u0275fac=(()=>{let ae;return function(kt){return(ae||(ae=t.\u0275\u0275getInheritedFactory(be)))(kt||be)}})();static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})();const Qr=new t.Version("17.3.0");let Xr=(()=>{class be{static withConfig(ae){return{ngModule:be,providers:[{provide:Nt,useValue:ae.callSetDisabledState??Je}]}}static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:be});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[$r]})}return be})(),wo=(()=>{class be{static withConfig(ae){return{ngModule:be,providers:[{provide:Dn,useValue:ae.warnOnNgModelWithFormControl??"always"},{provide:Nt,useValue:ae.callSetDisabledState??Je}]}}static#e=this.\u0275fac=function(je){return new(je||be)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:be});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[$r]})}return be})()},850:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MAT_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>$,MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>j,MAT_AUTOCOMPLETE_SCROLL_STRATEGY:()=>le,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>ue,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>ve,MAT_AUTOCOMPLETE_VALUE_ACCESSOR:()=>W,MatAutocomplete:()=>G,MatAutocompleteModule:()=>mt,MatAutocompleteOrigin:()=>V,MatAutocompleteSelectedEvent:()=>ie,MatAutocompleteTrigger:()=>Ye,MatOptgroup:()=>v.MatOptgroup,MatOption:()=>v.MatOption,getMatAutocompleteMissingPanelError:()=>K});var t=g(4438),v=g(6600),C=g(177),E=g(5478),c=g(7987),b=g(6039),s=g(4085),f=g(6860),d=g(9969),l=g(8359),a=g(1413),r=g(9030),u=g(7786),h=g(7673),p=g(3726),_=g(7336),y=g(6939),M=g(9417),w=g(2102),k=g(9172),I=g(5558),D=g(6697),O=g(5964),T=g(6354),F=g(8141),S=g(3103),R=g(8203);const N=["panel"],A=["*"];function U(ct,Ct){if(1&ct){const Pe=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",1,0),t.\u0275\u0275listener("@panelAnimation.done",function(me){t.\u0275\u0275restoreView(Pe);const We=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(We._animationDone.next(me))}),t.\u0275\u0275projection(2),t.\u0275\u0275elementEnd()}if(2&ct){const Pe=Ct.id,Ae=t.\u0275\u0275nextContext();t.\u0275\u0275property("id",Ae.id)("ngClass",Ae._classList)("@panelAnimation",Ae.isOpen?"visible":"hidden"),t.\u0275\u0275attribute("aria-label",Ae.ariaLabel||null)("aria-labelledby",Ae._getPanelAriaLabelledby(Pe))}}const Y=(0,d.hZ)("panelAnimation",[(0,d.wk)("void, hidden",(0,d.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,d.kY)(":enter, hidden => visible",[(0,d.Os)([(0,d.i0)("0.03s linear",(0,d.iF)({opacity:1})),(0,d.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,d.iF)({transform:"scaleY(1)"}))])]),(0,d.kY)(":leave, visible => hidden",[(0,d.i0)("0.075s linear",(0,d.iF)({opacity:0}))])]);let ee=0;class ie{constructor(Ct,Pe){this.source=Ct,this.option=Pe}}const $=new t.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:j});function j(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}let G=(()=>{class ct{get isOpen(){return this._isOpen&&this.showPanel}_setColor(Pe){this._color=Pe,this._setThemeClasses(this._classList)}set classList(Pe){this._classList=Pe&&Pe.length?(0,s.cc)(Pe).reduce((Ae,me)=>(Ae[me]=!0,Ae),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Pe){this._hideSingleSelectionIndicator=Pe,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Pe of this.options)Pe._changeDetectorRef.markForCheck()}constructor(Pe,Ae,me,We){this._changeDetectorRef=Pe,this._elementRef=Ae,this._defaults=me,this._activeOptionChanges=l.yU.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=We?.SAFARI||!1,this.autoActiveFirstOption=!!me.autoActiveFirstOption,this.autoSelectActiveOption=!!me.autoSelectActiveOption,this.requireSelection=!!me.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new b.Au(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(Pe=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Pe]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(Pe){this.panel&&(this.panel.nativeElement.scrollTop=Pe)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Pe){const Ae=new ie(this,Pe);this.optionSelected.emit(Ae)}_getPanelAriaLabelledby(Pe){return this.ariaLabel?null:this.ariaLabelledby?(Pe?Pe+" ":"")+this.ariaLabelledby:Pe}_setVisibilityClasses(Pe){Pe[this._visibleClass]=this.showPanel,Pe[this._hiddenClass]=!this.showPanel}_setThemeClasses(Pe){Pe["mat-primary"]="primary"===this._color,Pe["mat-warn"]="warn"===this._color,Pe["mat-accent"]="accent"===this._color}_skipPredicate(){return!1}static#e=this.\u0275fac=function(Ae){return new(Ae||ct)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject($),t.\u0275\u0275directiveInject(f.OD))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:ct,selectors:[["mat-autocomplete"]],contentQueries:function(Ae,me,We){if(1&Ae&&(t.\u0275\u0275contentQuery(We,v.MatOption,5),t.\u0275\u0275contentQuery(We,v.MAT_OPTGROUP,5)),2&Ae){let Fe;t.\u0275\u0275queryRefresh(Fe=t.\u0275\u0275loadQuery())&&(me.options=Fe),t.\u0275\u0275queryRefresh(Fe=t.\u0275\u0275loadQuery())&&(me.optionGroups=Fe)}},viewQuery:function(Ae,me){if(1&Ae&&(t.\u0275\u0275viewQuery(t.TemplateRef,7),t.\u0275\u0275viewQuery(N,5)),2&Ae){let We;t.\u0275\u0275queryRefresh(We=t.\u0275\u0275loadQuery())&&(me.template=We.first),t.\u0275\u0275queryRefresh(We=t.\u0275\u0275loadQuery())&&(me.panel=We.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:A,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"]],template:function(Ae,me){1&Ae&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,U,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;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Y]},changeDetection:0})}return ct})(),V=(()=>{class ct{constructor(Pe){this.elementRef=Pe}static#e=this.\u0275fac=function(Ae){return new(Ae||ct)(t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:ct,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],standalone:!0})}return ct})();const W={provide:M.NG_VALUE_ACCESSOR,useExisting:(0,t.forwardRef)(()=>Ye),multi:!0};function K(){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.hJ);return()=>ct.scrollStrategies.reposition()}});function ue(ct){return()=>ct.scrollStrategies.reposition()}const ve={provide:le,deps:[c.hJ],useFactory:ue};let Ye=(()=>{class ct{constructor(Pe,Ae,me,We,Fe,xe,$e,q,ge,Oe,vt){this._element=Pe,this._overlay=Ae,this._viewContainerRef=me,this._zone=We,this._changeDetectorRef=Fe,this._dir=$e,this._formField=q,this._document=ge,this._viewportRuler=Oe,this._defaults=vt,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=l.yU.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new a.B,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.v)(()=>{const it=this.autocomplete?this.autocomplete.options:null;return it?it.changes.pipe((0,k.Z)(it),(0,I.n)(()=>(0,u.h)(...it.map(we=>we.onSelectionChange)))):this._zone.onStable.pipe((0,D.s)(1),(0,I.n)(()=>this.optionSelections))}),this._handlePanelKeydown=it=>{(it.keyCode===_._f&&!(0,_.rp)(it)||it.keyCode===_.i7&&(0,_.rp)(it,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),it.stopPropagation(),it.preventDefault())},this._trackedModal=null,this._scrollStrategy=xe}ngAfterViewInit(){const Pe=this._getWindow();typeof Pe<"u"&&this._zone.runOutsideAngular(()=>Pe.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Pe){Pe.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Pe=this._getWindow();typeof Pe<"u"&&Pe.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._openPanelInternal()}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.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,u.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,O.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,O.p)(()=>this._overlayAttached)):(0,h.of)()).pipe((0,T.T)(Pe=>Pe instanceof v.MatOptionSelectionChange?Pe:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,u.h)((0,p.R)(this._document,"click"),(0,p.R)(this._document,"auxclick"),(0,p.R)(this._document,"touchend")).pipe((0,O.p)(Pe=>{const Ae=(0,f.Fb)(Pe),me=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,We=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&Ae!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!me||!me.contains(Ae))&&(!We||!We.contains(Ae))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(Ae)}))}writeValue(Pe){Promise.resolve(null).then(()=>this._assignOptionValue(Pe))}registerOnChange(Pe){this._onChange=Pe}registerOnTouched(Pe){this._onTouched=Pe}setDisabledState(Pe){this._element.nativeElement.disabled=Pe}_handleKeydown(Pe){const Ae=Pe.keyCode,me=(0,_.rp)(Pe);if(Ae===_._f&&!me&&Pe.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&Ae===_.Fm&&this.panelOpen&&!me)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Pe.preventDefault();else if(this.autocomplete){const We=this.autocomplete._keyManager.activeItem,Fe=Ae===_.i7||Ae===_.n6;Ae===_.wn||Fe&&!me&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Pe):Fe&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(Fe||this.autocomplete._keyManager.activeItem!==We)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(Pe){let Ae=Pe.target,me=Ae.value;if("number"===Ae.type&&(me=""==me?null:parseFloat(me)),this._previousValue!==me){if(this._previousValue=me,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(me),me){if(this.panelOpen&&!this.autocomplete.requireSelection){const We=this.autocomplete.options?.find(Fe=>Fe.selected);We&&me!==this._getDisplayValue(We.value)&&We.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._document.activeElement===Pe.target){const We=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(We)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(Pe=!1){this._formField&&"auto"===this._formField.floatLabel&&(Pe?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Pe=this._zone.onStable.pipe((0,D.s)(1)),Ae=this.autocomplete.options.changes.pipe((0,F.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,S.c)(0));return(0,u.h)(Pe,Ae).pipe((0,I.n)(()=>(this._zone.run(()=>{const me=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),me!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,D.s)(1)).subscribe(me=>this._setValueAndClose(me))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(Pe){const Ae=this.autocomplete;return Ae&&Ae.displayWith?Ae.displayWith(Pe):Pe}_assignOptionValue(Pe){const Ae=this._getDisplayValue(Pe);null==Pe&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(Ae??"")}_updateNativeInputValue(Pe){this._formField?this._formField._control.value=Pe:this._element.nativeElement.value=Pe,this._previousValue=Pe}_setValueAndClose(Pe){const Ae=this.autocomplete,me=Pe?Pe.source:this._pendingAutoselectedOption;me?(this._clearPreviousSelectedOption(me),this._assignOptionValue(me.value),this._onChange(me.value),Ae._emitSelectEvent(me),this._element.nativeElement.focus()):Ae.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),Ae._animationDone?Ae._animationDone.pipe((0,D.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(Pe,Ae){this.autocomplete?.options?.forEach(me=>{me!==Pe&&me.selected&&me.deselect(Ae)})}_openPanelInternal(Pe=this._element.nativeElement.value){this._attachOverlay(Pe),this._floatLabel(),this._trackedModal&&(0,b.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(Pe){let Ae=this._overlayRef;Ae?(this._positionStrategy.setOrigin(this._getConnectedElement()),Ae.updateSize({width:this._getPanelWidth()})):(this._portal=new y.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Ae=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Ae,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Ae&&Ae.updateSize({width:this._getPanelWidth()})})),Ae&&!Ae.hasAttached()&&(Ae.attach(this._portal),this._valueOnAttach=Pe,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const me=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&me!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const Pe=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=Pe.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=Pe.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new c.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Pe=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Pe),this._positionStrategy=Pe,Pe}_setStrategyPositions(Pe){const Ae=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],me=this._aboveClass,We=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:me},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:me}];let Fe;Fe="above"===this.position?We:"below"===this.position?Ae:[...Ae,...We],Pe.withPositions(Fe)}_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 Pe=this.autocomplete;if(Pe.autoActiveFirstOption){let Ae=-1;for(let me=0;me .cdk-overlay-container [aria-modal="true"]');if(!Pe)return;const Ae=this.autocomplete.id;this._trackedModal&&(0,b.Ae)(this._trackedModal,"aria-owns",Ae),(0,b.px)(Pe,"aria-owns",Ae),this._trackedModal=Pe}_clearFromModal(){this._trackedModal&&((0,b.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(Ae){return new(Ae||ct)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(c.hJ),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(le),t.\u0275\u0275directiveInject(R.dS,8),t.\u0275\u0275directiveInject(w.MAT_FORM_FIELD,9),t.\u0275\u0275directiveInject(C.DOCUMENT,8),t.\u0275\u0275directiveInject(E.Xj),t.\u0275\u0275directiveInject($,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(Ae,me){1&Ae&&t.\u0275\u0275listener("focusin",function(){return me._handleFocus()})("blur",function(){return me._onTouched()})("input",function(Fe){return me._handleInput(Fe)})("keydown",function(Fe){return me._handleKeydown(Fe)})("click",function(){return me._handleClick()}),2&Ae&&t.\u0275\u0275attribute("autocomplete",me.autocompleteAttribute)("role",me.autocompleteDisabled?null:"combobox")("aria-autocomplete",me.autocompleteDisabled?null:"list")("aria-activedescendant",me.panelOpen&&me.activeOption?me.activeOption.id:null)("aria-expanded",me.autocompleteDisabled?null:me.panelOpen.toString())("aria-controls",me.autocompleteDisabled||!me.panelOpen||null==me.autocomplete?null:me.autocomplete.id)("aria-haspopup",me.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([W]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature]})}return ct})(),mt=(()=>{class ct{static#e=this.\u0275fac=function(Ae){return new(Ae||ct)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[ve],imports:[c.z_,v.MatOptionModule,v.MatCommonModule,C.CommonModule,E.Gj,v.MatOptionModule,v.MatCommonModule]})}return ct})()},8834:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MAT_BUTTON_CONFIG:()=>_,MAT_FAB_DEFAULT_OPTIONS:()=>T,MAT_FAB_DEFAULT_OPTIONS_FACTORY:()=>F,MatAnchor:()=>O,MatButton:()=>D,MatButtonModule:()=>ie,MatFabAnchor:()=>A,MatFabButton:()=>R,MatIconAnchor:()=>ee,MatIconButton:()=>Y,MatMiniFabAnchor:()=>U,MatMiniFabButton:()=>N});var t=g(6860),v=g(4438),C=g(6039),E=g(6600);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 ${get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(G){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,G)}get disableRipple(){return this._disableRipple}set disableRipple(G){this._disableRipple=G,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(G){this._disabled=G,this._updateRippleDisabled()}constructor(G,V,W,K){this._elementRef=G,this._platform=V,this._ngZone=W,this._animationMode=K,this._focusMonitor=(0,v.inject)(C.FN),this._rippleLoader=(0,v.inject)(E.MatRippleLoader),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const le=(0,v.inject)(_,{optional:!0}),ue=G.nativeElement,ve=ue.classList;this.disabledInteractive=le?.disabledInteractive??!1,this._rippleLoader?.configureRipple(ue,{className:"mat-mdc-button-ripple"});for(const{attribute:Ye,mdcClasses:mt}of M)ue.hasAttribute(Ye)&&ve.add(...mt)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(G="program",V){G?this._focusMonitor.focusVia(this._elementRef.nativeElement,G,V):this._elementRef.nativeElement.focus(V)}_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(V){v.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:$,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 $})(),I=(()=>{class $ extends w{constructor(G,V,W,K){super(G,V,W,K),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(V){v.\u0275\u0275invalidFactory()};static#t=this.\u0275dir=v.\u0275\u0275defineDirective({type:$,inputs:{tabIndex:[v.\u0275\u0275InputFlags.HasDecoratorInputTransform,"tabIndex","tabIndex",G=>null==G?void 0:(0,v.numberAttribute)(G)]},features:[v.\u0275\u0275InputTransformsFeature,v.\u0275\u0275InheritDefinitionFeature]})}return $})(),D=(()=>{class $ extends w{constructor(G,V,W,K){super(G,V,W,K)}static#e=this.\u0275fac=function(V){return new(V||$)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.OD),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:$,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(V,W){2&V&&(v.\u0275\u0275attribute("disabled",W._getDisabledAttribute())("aria-disabled",W._getAriaDisabled()),v.\u0275\u0275classMap(W.color?"mat-"+W.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",W.disabled)("mat-mdc-button-disabled-interactive",W.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.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(V,W){1&V&&(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&V&&v.\u0275\u0275classProp("mdc-button__ripple",!W._isFab)("mdc-fab__ripple",W._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 $})(),O=(()=>{class $ extends I{constructor(G,V,W,K){super(G,V,W,K)}static#e=this.\u0275fac=function(V){return new(V||$)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.OD),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:$,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(V,W){2&V&&(v.\u0275\u0275attribute("disabled",W._getDisabledAttribute())("tabindex",W.disabled&&!W.disabledInteractive?-1:W.tabIndex)("aria-disabled",W._getDisabledAttribute()),v.\u0275\u0275classMap(W.color?"mat-"+W.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",W.disabled)("mat-mdc-button-disabled-interactive",W.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.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(V,W){1&V&&(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&V&&v.\u0275\u0275classProp("mdc-button__ripple",!W._isFab)("mdc-fab__ripple",W._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 $})();const T=new v.InjectionToken("mat-mdc-fab-default-options",{providedIn:"root",factory:F});function F(){return{color:"accent"}}const S=F();let R=(()=>{class $ extends w{constructor(G,V,W,K,le){super(G,V,W,K),this._options=le,this._isFab=!0,this._options=this._options||S,this.color=this._options.color||S.color}static#e=this.\u0275fac=function(V){return new(V||$)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.OD),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:$,selectors:[["button","mat-fab",""]],hostVars:18,hostBindings:function(V,W){2&V&&(v.\u0275\u0275attribute("disabled",W._getDisabledAttribute())("aria-disabled",W._getAriaDisabled()),v.\u0275\u0275classMap(W.color?"mat-"+W.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",W.disabled)("mat-mdc-button-disabled-interactive",W.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.color)("mat-mdc-button-base",!0)("mdc-fab--extended",W.extended)("mat-mdc-extended-fab",W.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(V,W){1&V&&(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&V&&v.\u0275\u0275classProp("mdc-button__ripple",!W._isFab)("mdc-fab__ripple",W._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 $})(),N=(()=>{class $ extends w{constructor(G,V,W,K,le){super(G,V,W,K),this._options=le,this._isFab=!0,this._options=this._options||S,this.color=this._options.color||S.color}static#e=this.\u0275fac=function(V){return new(V||$)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.OD),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:$,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(V,W){2&V&&(v.\u0275\u0275attribute("disabled",W._getDisabledAttribute())("aria-disabled",W._getAriaDisabled()),v.\u0275\u0275classMap(W.color?"mat-"+W.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",W.disabled)("mat-mdc-button-disabled-interactive",W.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.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(V,W){1&V&&(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&V&&v.\u0275\u0275classProp("mdc-button__ripple",!W._isFab)("mdc-fab__ripple",W._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return $})(),A=(()=>{class $ extends O{constructor(G,V,W,K,le){super(G,V,W,K),this._options=le,this._isFab=!0,this._options=this._options||S,this.color=this._options.color||S.color}static#e=this.\u0275fac=function(V){return new(V||$)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.OD),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:$,selectors:[["a","mat-fab",""]],hostVars:19,hostBindings:function(V,W){2&V&&(v.\u0275\u0275attribute("disabled",W._getDisabledAttribute())("tabindex",W.disabled&&!W.disabledInteractive?-1:W.tabIndex)("aria-disabled",W._getDisabledAttribute()),v.\u0275\u0275classMap(W.color?"mat-"+W.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",W.disabled)("mat-mdc-button-disabled-interactive",W.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.color)("mat-mdc-button-base",!0)("mdc-fab--extended",W.extended)("mat-mdc-extended-fab",W.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(V,W){1&V&&(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&V&&v.\u0275\u0275classProp("mdc-button__ripple",!W._isFab)("mdc-fab__ripple",W._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return $})(),U=(()=>{class $ extends O{constructor(G,V,W,K,le){super(G,V,W,K),this._options=le,this._isFab=!0,this._options=this._options||S,this.color=this._options.color||S.color}static#e=this.\u0275fac=function(V){return new(V||$)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.OD),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:$,selectors:[["a","mat-mini-fab",""]],hostVars:15,hostBindings:function(V,W){2&V&&(v.\u0275\u0275attribute("disabled",W._getDisabledAttribute())("tabindex",W.disabled&&!W.disabledInteractive?-1:W.tabIndex)("aria-disabled",W._getDisabledAttribute()),v.\u0275\u0275classMap(W.color?"mat-"+W.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",W.disabled)("mat-mdc-button-disabled-interactive",W.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.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(V,W){1&V&&(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&V&&v.\u0275\u0275classProp("mdc-button__ripple",!W._isFab)("mdc-fab__ripple",W._isFab)},styles:[r],encapsulation:2,changeDetection:0})}return $})(),Y=(()=>{class $ extends w{constructor(G,V,W,K){super(G,V,W,K),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(V){return new(V||$)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.OD),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:$,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(V,W){2&V&&(v.\u0275\u0275attribute("disabled",W._getDisabledAttribute())("aria-disabled",W._getAriaDisabled()),v.\u0275\u0275classMap(W.color?"mat-"+W.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",W.disabled)("mat-mdc-button-disabled-interactive",W.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.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(V,W){1&V&&(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 $})(),ee=(()=>{class $ extends I{constructor(G,V,W,K){super(G,V,W,K)}static#e=this.\u0275fac=function(V){return new(V||$)(v.\u0275\u0275directiveInject(v.ElementRef),v.\u0275\u0275directiveInject(t.OD),v.\u0275\u0275directiveInject(v.NgZone),v.\u0275\u0275directiveInject(v.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=v.\u0275\u0275defineComponent({type:$,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(V,W){2&V&&(v.\u0275\u0275attribute("disabled",W._getDisabledAttribute())("tabindex",W.disabled&&!W.disabledInteractive?-1:W.tabIndex)("aria-disabled",W._getDisabledAttribute()),v.\u0275\u0275classMap(W.color?"mat-"+W.color:""),v.\u0275\u0275classProp("mat-mdc-button-disabled",W.disabled)("mat-mdc-button-disabled-interactive",W.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.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(V,W){1&V&&(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&V&&v.\u0275\u0275classProp("mdc-button__ripple",!W._isFab)("mdc-fab__ripple",W._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 $})(),ie=(()=>{class ${static#e=this.\u0275fac=function(V){return new(V||$)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:$});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({imports:[E.MatCommonModule,E.MatRippleModule,E.MatCommonModule]})}return $})()},5596:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MAT_CARD_CONFIG:()=>d,MatCard:()=>l,MatCardActions:()=>p,MatCardAvatar:()=>O,MatCardContent:()=>u,MatCardFooter:()=>y,MatCardHeader:()=>_,MatCardImage:()=>M,MatCardLgImage:()=>I,MatCardMdImage:()=>k,MatCardModule:()=>F,MatCardSmImage:()=>w,MatCardSubtitle:()=>h,MatCardTitle:()=>a,MatCardTitleGroup:()=>r,MatCardXlImage:()=>D});var t=g(4438),v=g(177),C=g(6600);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(N){this.appearance=N?.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})(),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-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-mdc-card-lg-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-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})(),F=(()=>{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})()},2765:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{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(4438),v=g(9417),C=g(6600);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(I){const D=new a;return D.source=this,D.checked=I,D}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(I,D,O,T,F,S){this._elementRef=I,this._changeDetectorRef=D,this._ngZone=O,this._animationMode=F,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(I){I.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(I){I!=this.checked&&(this._checked=I,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(I){I!==this.disabled&&(this._disabled=I,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(I){const D=I!=this._indeterminate;this._indeterminate=I,D&&(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(I){this.checked=!!I}registerOnChange(I){this._controlValueAccessorChangeFn=I}registerOnTouched(I){this._onTouched=I}setDisabledState(I){this.disabled=I}validate(I){return this.required&&!0!==I.value?{required:!0}:null}registerOnValidatorChange(I){this._validatorChangeFn=I}_transitionCheckState(I){let D=this._currentCheckState,O=this._getAnimationTargetElement();if(D!==I&&O&&(this._currentAnimationClass&&O.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(D,I),this._currentCheckState=I,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 I=this._options?.clickAction;this.disabled||"noop"===I?!this.disabled&&"noop"===I&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==I&&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(I){I.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(I,D){if("NoopAnimations"===this._animationMode)return"";switch(I){case d.Init:if(D===d.Checked)return this._animationClasses.uncheckedToChecked;if(D==d.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case d.Unchecked:return D===d.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case d.Checked:return D===d.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case d.Indeterminate:return D===d.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(I){const D=this._inputElement;D&&(D.nativeElement.indeterminate=I)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(I){I.target&&this._labelElement.nativeElement.contains(I.target)&&I.stopPropagation()}static#e=this.\u0275fac=function(D){return new(D||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(D,O){if(1&D&&(t.\u0275\u0275viewQuery(E,5),t.\u0275\u0275viewQuery(c,5),t.\u0275\u0275viewQuery(C.MatRipple,5)),2&D){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(D,O){2&D&&(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",I=>null==I?void 0:(0,t.numberAttribute)(I)],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:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[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"]],template:function(D,O){if(1&D){const T=t.\u0275\u0275getCurrentView();t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"div",3),t.\u0275\u0275listener("click",function(S){return t.\u0275\u0275restoreView(T),t.\u0275\u0275resetView(O._preventBubblingFromLabel(S))}),t.\u0275\u0275elementStart(1,"div",4,0)(3,"div",5),t.\u0275\u0275listener("click",function(){return t.\u0275\u0275restoreView(T),t.\u0275\u0275resetView(O._onTouchTargetClick())}),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"input",6,1),t.\u0275\u0275listener("blur",function(){return t.\u0275\u0275restoreView(T),t.\u0275\u0275resetView(O._onBlur())})("click",function(){return t.\u0275\u0275restoreView(T),t.\u0275\u0275resetView(O._onInputClick())})("change",function(S){return t.\u0275\u0275restoreView(T),t.\u0275\u0275resetView(O._onInteractionEvent(S))}),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(6,"div",7),t.\u0275\u0275elementStart(7,"div",8),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(8,"svg",9),t.\u0275\u0275element(9,"path",10),t.\u0275\u0275elementEnd(),t.\u0275\u0275namespaceHTML(),t.\u0275\u0275element(10,"div",11),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(11,"div",12),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(12,"label",13,2),t.\u0275\u0275projection(14),t.\u0275\u0275elementEnd()()}if(2&D){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 I;return function(O){return(I||(I=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(D){return new(D||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(D){return new(D||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})()},6600:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{AnimationCurves:()=>O,AnimationDurations:()=>T,DateAdapter:()=>le,ErrorStateMatcher:()=>We,MATERIAL_SANITY_CHECKS:()=>S,MAT_DATE_FORMATS:()=>ue,MAT_DATE_LOCALE:()=>W,MAT_DATE_LOCALE_FACTORY:()=>K,MAT_NATIVE_DATE_FORMATS:()=>ct,MAT_OPTGROUP:()=>_e,MAT_OPTION_PARENT_COMPONENT:()=>Pt,MAT_RIPPLE_GLOBAL_OPTIONS:()=>dn,MatCommonModule:()=>R,MatLine:()=>Fe,MatLineModule:()=>q,MatNativeDateModule:()=>Pe,MatOptgroup:()=>Ze,MatOption:()=>et,MatOptionModule:()=>pe,MatOptionSelectionChange:()=>Rt,MatPseudoCheckbox:()=>rn,MatPseudoCheckboxModule:()=>fn,MatRipple:()=>hn,MatRippleLoader:()=>Kt,MatRippleModule:()=>un,NativeDateAdapter:()=>mt,NativeDateModule:()=>Ct,RippleRef:()=>Oe,RippleRenderer:()=>zt,RippleState:()=>ge,ShowOnDirtyErrorStateMatcher:()=>me,VERSION:()=>D,_ErrorStateTracker:()=>j,_MatInternalFormField:()=>ln,_countGroupLabelsBeforeOption:()=>ft,_getOptionScrollPosition:()=>Re,defaultRippleAnimationConfig:()=>we,mixinColor:()=>ee,mixinDisableRipple:()=>ie,mixinDisabled:()=>Y,mixinErrorState:()=>G,mixinInitialized:()=>V,mixinTabIndex:()=>$,provideNativeDateAdapter:()=>Ae,setLines:()=>xe});var t=g(4438),v=g(6039),C=g(8203),c=g(177),b=g(6860),s=g(4085),f=g(1985),d=g(1413),l=g(9172),a=g(7336);const r=["*",[["mat-option"],["ng-container"]]],u=["*","mat-option, ng-container"],h=["text"],p=[[["mat-icon"]],"*"],_=["mat-icon","*"];function y(_t,Nt){if(1&_t&&t.\u0275\u0275element(0,"mat-pseudo-checkbox",6),2&_t){const Je=t.\u0275\u0275nextContext();t.\u0275\u0275property("disabled",Je.disabled)("state",Je.selected?"checked":"unchecked")}}function M(_t,Nt){if(1&_t&&t.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&_t){const Je=t.\u0275\u0275nextContext();t.\u0275\u0275property("disabled",Je.disabled)}}function w(_t,Nt){if(1&_t&&(t.\u0275\u0275elementStart(0,"span",4),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&_t){const Je=t.\u0275\u0275nextContext();t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1("(",Je.group.label,")")}}const k=["mat-internal-form-field",""],I=["*"],D=new t.Version("17.3.0");let O=(()=>{class _t{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 _t})(),T=(()=>{class _t{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#n=this.EXITING="195ms"}return _t})();const S=new t.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function F(){return!0}});let R=(()=>{class _t{constructor(Je,Ue,nt){this._sanityChecks=Ue,this._document=nt,this._hasDoneGlobalChecks=!1,Je._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Je){return!(0,b.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Je])}static#e=this.\u0275fac=function(Ue){return new(Ue||_t)(t.\u0275\u0275inject(v.Q_),t.\u0275\u0275inject(S,8),t.\u0275\u0275inject(c.DOCUMENT))};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:_t});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[C.jI,C.jI]})}return _t})();function Y(_t){return class extends _t{get disabled(){return this._disabled}set disabled(Nt){this._disabled=(0,s.he)(Nt)}constructor(...Nt){super(...Nt),this._disabled=!1}}}function ee(_t,Nt){return class extends _t{get color(){return this._color}set color(Je){const Ue=Je||this.defaultColor;Ue!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Ue&&this._elementRef.nativeElement.classList.add(`mat-${Ue}`),this._color=Ue)}constructor(...Je){super(...Je),this.defaultColor=Nt,this.color=Nt}}}function ie(_t){return class extends _t{get disableRipple(){return this._disableRipple}set disableRipple(Nt){this._disableRipple=(0,s.he)(Nt)}constructor(...Nt){super(...Nt),this._disableRipple=!1}}}function $(_t,Nt=0){return class extends _t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Je){this._tabIndex=null!=Je?(0,s.OE)(Je):this.defaultTabIndex}constructor(...Je){super(...Je),this._tabIndex=Nt,this.defaultTabIndex=Nt}}}class j{constructor(Nt,Je,Ue,nt,He){this._defaultMatcher=Nt,this.ngControl=Je,this._parentFormGroup=Ue,this._parentForm=nt,this._stateChanges=He,this.errorState=!1}updateErrorState(){const Nt=this.errorState,Je=this._parentFormGroup||this._parentForm,Ue=this.matcher||this._defaultMatcher,nt=this.ngControl?this.ngControl.control:null,He=Ue?.isErrorState(nt,Je)??!1;He!==Nt&&(this.errorState=He,this._stateChanges.next())}}function G(_t){return class extends _t{get errorState(){return this._getTracker().errorState}set errorState(Nt){this._getTracker().errorState=Nt}get errorStateMatcher(){return this._getTracker().matcher}set errorStateMatcher(Nt){this._getTracker().matcher=Nt}updateErrorState(){this._getTracker().updateErrorState()}_getTracker(){return this._tracker||(this._tracker=new j(this._defaultErrorStateMatcher,this.ngControl,this._parentFormGroup,this._parentForm,this.stateChanges)),this._tracker}constructor(...Nt){super(...Nt)}}}function V(_t){return class extends _t{constructor(...Nt){super(...Nt),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new f.c(Je=>{this._isInitialized?this._notifySubscriber(Je):this._pendingSubscribers.push(Je)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Nt){Nt.next(),Nt.complete()}}}const W=new t.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:K});function K(){return(0,t.inject)(t.LOCALE_ID)}class le{constructor(){this._localeChanges=new d.B,this.localeChanges=this._localeChanges}getValidDateOrNull(Nt){return this.isDateInstance(Nt)&&this.isValid(Nt)?Nt:null}deserialize(Nt){return null==Nt||this.isDateInstance(Nt)&&this.isValid(Nt)?Nt:this.invalid()}setLocale(Nt){this.locale=Nt,this._localeChanges.next()}compareDate(Nt,Je){return this.getYear(Nt)-this.getYear(Je)||this.getMonth(Nt)-this.getMonth(Je)||this.getDate(Nt)-this.getDate(Je)}sameDate(Nt,Je){if(Nt&&Je){let Ue=this.isValid(Nt),nt=this.isValid(Je);return Ue&&nt?!this.compareDate(Nt,Je):Ue==nt}return Nt==Je}clampDate(Nt,Je,Ue){return Je&&this.compareDate(Nt,Je)<0?Je:Ue&&this.compareDate(Nt,Ue)>0?Ue:Nt}}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 Ye(_t,Nt){const Je=Array(_t);for(let Ue=0;Ue<_t;Ue++)Je[Ue]=Nt(Ue);return Je}let mt=(()=>{class _t extends le{constructor(Je){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,t.inject)(W,{optional:!0}),void 0!==Je&&(this._matDateLocale=Je),super.setLocale(this._matDateLocale)}getYear(Je){return Je.getFullYear()}getMonth(Je){return Je.getMonth()}getDate(Je){return Je.getDate()}getDayOfWeek(Je){return Je.getDay()}getMonthNames(Je){const Ue=new Intl.DateTimeFormat(this.locale,{month:Je,timeZone:"utc"});return Ye(12,nt=>this._format(Ue,new Date(2017,nt,1)))}getDateNames(){const Je=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ye(31,Ue=>this._format(Je,new Date(2017,0,Ue+1)))}getDayOfWeekNames(Je){const Ue=new Intl.DateTimeFormat(this.locale,{weekday:Je,timeZone:"utc"});return Ye(7,nt=>this._format(Ue,new Date(2017,0,nt+1)))}getYearName(Je){const Ue=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Ue,Je)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Je){return this.getDate(this._createDateWithOverflow(this.getYear(Je),this.getMonth(Je)+1,0))}clone(Je){return new Date(Je.getTime())}createDate(Je,Ue,nt){let He=this._createDateWithOverflow(Je,Ue,nt);return He.getMonth(),He}today(){return new Date}parse(Je,Ue){return"number"==typeof Je?new Date(Je):Je?new Date(Date.parse(Je)):null}format(Je,Ue){if(!this.isValid(Je))throw Error("NativeDateAdapter: Cannot format invalid date.");const nt=new Intl.DateTimeFormat(this.locale,{...Ue,timeZone:"utc"});return this._format(nt,Je)}addCalendarYears(Je,Ue){return this.addCalendarMonths(Je,12*Ue)}addCalendarMonths(Je,Ue){let nt=this._createDateWithOverflow(this.getYear(Je),this.getMonth(Je)+Ue,this.getDate(Je));return this.getMonth(nt)!=((this.getMonth(Je)+Ue)%12+12)%12&&(nt=this._createDateWithOverflow(this.getYear(nt),this.getMonth(nt),0)),nt}addCalendarDays(Je,Ue){return this._createDateWithOverflow(this.getYear(Je),this.getMonth(Je),this.getDate(Je)+Ue)}toIso8601(Je){return[Je.getUTCFullYear(),this._2digit(Je.getUTCMonth()+1),this._2digit(Je.getUTCDate())].join("-")}deserialize(Je){if("string"==typeof Je){if(!Je)return null;if(ve.test(Je)){let Ue=new Date(Je);if(this.isValid(Ue))return Ue}}return super.deserialize(Je)}isDateInstance(Je){return Je instanceof Date}isValid(Je){return!isNaN(Je.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Je,Ue,nt){const He=new Date;return He.setFullYear(Je,Ue,nt),He.setHours(0,0,0,0),He}_2digit(Je){return("00"+Je).slice(-2)}_format(Je,Ue){const nt=new Date;return nt.setUTCFullYear(Ue.getFullYear(),Ue.getMonth(),Ue.getDate()),nt.setUTCHours(Ue.getHours(),Ue.getMinutes(),Ue.getSeconds(),Ue.getMilliseconds()),Je.format(nt)}static#e=this.\u0275fac=function(Ue){return new(Ue||_t)(t.\u0275\u0275inject(W,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:_t,factory:_t.\u0275fac})}return _t})();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 _t{static#e=this.\u0275fac=function(Ue){return new(Ue||_t)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:_t});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[{provide:le,useClass:mt}]})}return _t})(),Pe=(()=>{class _t{static#e=this.\u0275fac=function(Ue){return new(Ue||_t)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:_t});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[Ae()]})}return _t})();function Ae(_t=ct){return[{provide:le,useClass:mt},{provide:ue,useValue:_t}]}let me=(()=>{class _t{isErrorState(Je,Ue){return!!(Je&&Je.invalid&&(Je.dirty||Ue&&Ue.submitted))}static#e=this.\u0275fac=function(Ue){return new(Ue||_t)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:_t,factory:_t.\u0275fac})}return _t})(),We=(()=>{class _t{isErrorState(Je,Ue){return!!(Je&&Je.invalid&&(Je.touched||Ue&&Ue.submitted))}static#e=this.\u0275fac=function(Ue){return new(Ue||_t)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:_t,factory:_t.\u0275fac,providedIn:"root"})}return _t})(),Fe=(()=>{class _t{static#e=this.\u0275fac=function(Ue){return new(Ue||_t)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:_t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"],standalone:!0})}return _t})();function xe(_t,Nt,Je="mat"){_t.changes.pipe((0,l.Z)(_t)).subscribe(({length:Ue})=>{$e(Nt,`${Je}-2-line`,!1),$e(Nt,`${Je}-3-line`,!1),$e(Nt,`${Je}-multi-line`,!1),2===Ue||3===Ue?$e(Nt,`${Je}-${Ue}-line`,!0):Ue>3&&$e(Nt,`${Je}-multi-line`,!0)})}function $e(_t,Nt,Je){_t.nativeElement.classList.toggle(Nt,Je)}let q=(()=>{class _t{static#e=this.\u0275fac=function(Ue){return new(Ue||_t)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:_t});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[R,R]})}return _t})();var ge=function(_t){return _t[_t.FADING_IN=0]="FADING_IN",_t[_t.VISIBLE=1]="VISIBLE",_t[_t.FADING_OUT=2]="FADING_OUT",_t[_t.HIDDEN=3]="HIDDEN",_t}(ge||{});class Oe{constructor(Nt,Je,Ue,nt=!1){this._renderer=Nt,this.element=Je,this.config=Ue,this._animationForciblyDisabledThroughCss=nt,this.state=ge.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const vt=(0,b.BQ)({passive:!0,capture:!0});class it{constructor(){this._events=new Map,this._delegateEventHandler=Nt=>{const Je=(0,b.Fb)(Nt);Je&&this._events.get(Nt.type)?.forEach((Ue,nt)=>{(nt===Je||nt.contains(Je))&&Ue.forEach(He=>He.handleEvent(Nt))})}}addHandler(Nt,Je,Ue,nt){const He=this._events.get(Je);if(He){const dt=He.get(Ue);dt?dt.add(nt):He.set(Ue,new Set([nt]))}else this._events.set(Je,new Map([[Ue,new Set([nt])]])),Nt.runOutsideAngular(()=>{document.addEventListener(Je,this._delegateEventHandler,vt)})}removeHandler(Nt,Je,Ue){const nt=this._events.get(Nt);if(!nt)return;const He=nt.get(Je);He&&(He.delete(Ue),0===He.size&&nt.delete(Je),0===nt.size&&(this._events.delete(Nt),document.removeEventListener(Nt,this._delegateEventHandler,vt)))}}const we={enterDuration:225,exitDuration:150},Me=(0,b.BQ)({passive:!0,capture:!0}),rt=["mousedown","touchstart"],Mt=["mouseup","mouseleave","touchend","touchcancel"];class zt{static#e=this._eventManager=new it;constructor(Nt,Je,Ue,nt){this._target=Nt,this._ngZone=Je,this._platform=nt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,nt.isBrowser&&(this._containerElement=(0,s.i8)(Ue))}fadeInRipple(Nt,Je,Ue={}){const nt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),He={...we,...Ue.animation};Ue.centered&&(Nt=nt.left+nt.width/2,Je=nt.top+nt.height/2);const dt=Ue.radius||function Xt(_t,Nt,Je){const Ue=Math.max(Math.abs(_t-Je.left),Math.abs(_t-Je.right)),nt=Math.max(Math.abs(Nt-Je.top),Math.abs(Nt-Je.bottom));return Math.sqrt(Ue*Ue+nt*nt)}(Nt,Je,nt),At=Nt-nt.left,en=Je-nt.top,yn=He.enterDuration,Ln=document.createElement("div");Ln.classList.add("mat-ripple-element"),Ln.style.left=At-dt+"px",Ln.style.top=en-dt+"px",Ln.style.height=2*dt+"px",Ln.style.width=2*dt+"px",null!=Ue.color&&(Ln.style.backgroundColor=Ue.color),Ln.style.transitionDuration=`${yn}ms`,this._containerElement.appendChild(Ln);const Ri=window.getComputedStyle(Ln),Vn=Ri.transitionDuration,st="none"===Ri.transitionProperty||"0s"===Vn||"0s, 0s"===Vn||0===nt.width&&0===nt.height,qt=new Oe(this,Ln,Ue,st);Ln.style.transform="scale3d(1, 1, 1)",qt.state=ge.FADING_IN,Ue.persistent||(this._mostRecentTransientRipple=qt);let Be=null;return!st&&(yn||He.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const at=()=>this._finishRippleTransition(qt),Et=()=>this._destroyRipple(qt);Ln.addEventListener("transitionend",at),Ln.addEventListener("transitioncancel",Et),Be={onTransitionEnd:at,onTransitionCancel:Et}}),this._activeRipples.set(qt,Be),(st||!yn)&&this._finishRippleTransition(qt),qt}fadeOutRipple(Nt){if(Nt.state===ge.FADING_OUT||Nt.state===ge.HIDDEN)return;const Je=Nt.element,Ue={...we,...Nt.config.animation};Je.style.transitionDuration=`${Ue.exitDuration}ms`,Je.style.opacity="0",Nt.state=ge.FADING_OUT,(Nt._animationForciblyDisabledThroughCss||!Ue.exitDuration)&&this._finishRippleTransition(Nt)}fadeOutAll(){this._getActiveRipples().forEach(Nt=>Nt.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Nt=>{Nt.config.persistent||Nt.fadeOut()})}setupTriggerEvents(Nt){const Je=(0,s.i8)(Nt);!this._platform.isBrowser||!Je||Je===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Je,rt.forEach(Ue=>{zt._eventManager.addHandler(this._ngZone,Ue,Je,this)}))}handleEvent(Nt){"mousedown"===Nt.type?this._onMousedown(Nt):"touchstart"===Nt.type?this._onTouchStart(Nt):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Mt.forEach(Je=>{this._triggerElement.addEventListener(Je,this,Me)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Nt){Nt.state===ge.FADING_IN?this._startFadeOutTransition(Nt):Nt.state===ge.FADING_OUT&&this._destroyRipple(Nt)}_startFadeOutTransition(Nt){const Je=Nt===this._mostRecentTransientRipple,{persistent:Ue}=Nt.config;Nt.state=ge.VISIBLE,!Ue&&(!Je||!this._isPointerDown)&&Nt.fadeOut()}_destroyRipple(Nt){const Je=this._activeRipples.get(Nt)??null;this._activeRipples.delete(Nt),this._activeRipples.size||(this._containerRect=null),Nt===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Nt.state=ge.HIDDEN,null!==Je&&(Nt.element.removeEventListener("transitionend",Je.onTransitionEnd),Nt.element.removeEventListener("transitioncancel",Je.onTransitionCancel)),Nt.element.remove()}_onMousedown(Nt){const Je=(0,v._G)(Nt),Ue=this._lastTouchStartEvent&&Date.now(){!Nt.config.persistent&&(Nt.state===ge.VISIBLE||Nt.config.terminateOnPointerUp&&Nt.state===ge.FADING_IN)&&Nt.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Nt=this._triggerElement;Nt&&(rt.forEach(Je=>zt._eventManager.removeHandler(Je,Nt,this)),this._pointerUpEventsRegistered&&Mt.forEach(Je=>Nt.removeEventListener(Je,this,Me)))}}const dn=new t.InjectionToken("mat-ripple-global-options");let hn=(()=>{class _t{get disabled(){return this._disabled}set disabled(Je){Je&&this.fadeOutAllNonPersistent(),this._disabled=Je,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Je){this._trigger=Je,this._setupTriggerEventsIfEnabled()}constructor(Je,Ue,nt,He,dt){this._elementRef=Je,this._animationMode=dt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=He||{},this._rippleRenderer=new zt(this,Ue,Je,nt)}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(Je,Ue=0,nt){return"number"==typeof Je?this._rippleRenderer.fadeInRipple(Je,Ue,{...this.rippleConfig,...nt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Je})}static#e=this.\u0275fac=function(Ue){return new(Ue||_t)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(b.OD),t.\u0275\u0275directiveInject(dn,8),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:_t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Ue,nt){2&Ue&&t.\u0275\u0275classProp("mat-ripple-unbounded",nt.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 _t})(),un=(()=>{class _t{static#e=this.\u0275fac=function(Ue){return new(Ue||_t)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:_t});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[R,R]})}return _t})(),rn=(()=>{class _t{constructor(Je){this._animationMode=Je,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(Ue){return new(Ue||_t)(t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:_t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(Ue,nt){2&Ue&&t.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===nt.state)("mat-pseudo-checkbox-checked","checked"===nt.state)("mat-pseudo-checkbox-disabled",nt.disabled)("mat-pseudo-checkbox-minimal","minimal"===nt.appearance)("mat-pseudo-checkbox-full","full"===nt.appearance)("_mat-animation-noopable","NoopAnimations"===nt._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(Ue,nt){},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 _t})(),fn=(()=>{class _t{static#e=this.\u0275fac=function(Ue){return new(Ue||_t)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:_t});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[R]})}return _t})();const Pt=new t.InjectionToken("MAT_OPTION_PARENT_COMPONENT");let Vt=0;const _e=new t.InjectionToken("MatOptgroup");let Ze=(()=>{class _t{constructor(Je){this.disabled=!1,this._labelId="mat-optgroup-label-"+Vt++,this._inert=Je?.inertGroups??!1}static#e=this.\u0275fac=function(Ue){return new(Ue||_t)(t.\u0275\u0275directiveInject(Pt,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:_t,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(Ue,nt){2&Ue&&t.\u0275\u0275attribute("role",nt._inert?null:"group")("aria-disabled",nt._inert?null:nt.disabled.toString())("aria-labelledby",nt._inert?null:nt._labelId)},inputs:{label:"label",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute]},exportAs:["matOptgroup"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:_e,useExisting:_t}]),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(Ue,nt){1&Ue&&(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&Ue&&(t.\u0275\u0275classProp("mdc-list-item--disabled",nt.disabled),t.\u0275\u0275property("id",nt._labelId),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1("",nt.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 _t})(),Qe=0;class Rt{constructor(Nt,Je=!1){this.source=Nt,this.isUserInput=Je}}let et=(()=>{class _t{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(Je){this._disabled=Je}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Je,Ue,nt,He){this._element=Je,this._changeDetectorRef=Ue,this._parent=nt,this.group=He,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Qe++,this.onSelectionChange=new t.EventEmitter,this._stateChanges=new d.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Je=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Je&&this._emitSelectionChangeEvent())}deselect(Je=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Je&&this._emitSelectionChangeEvent())}focus(Je,Ue){const nt=this._getHostElement();"function"==typeof nt.focus&&nt.focus(Ue)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Je){(Je.keyCode===a.Fm||Je.keyCode===a.t6)&&!(0,a.rp)(Je)&&(this._selectViaInteraction(),Je.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 Je=this.viewValue;Je!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Je)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Je=!1){this.onSelectionChange.emit(new Rt(this,Je))}static#e=this.\u0275fac=function(Ue){return new(Ue||_t)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(Pt,8),t.\u0275\u0275directiveInject(_e,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:_t,selectors:[["mat-option"]],viewQuery:function(Ue,nt){if(1&Ue&&t.\u0275\u0275viewQuery(h,7),2&Ue){let He;t.\u0275\u0275queryRefresh(He=t.\u0275\u0275loadQuery())&&(nt._text=He.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(Ue,nt){1&Ue&&t.\u0275\u0275listener("click",function(){return nt._selectViaInteraction()})("keydown",function(dt){return nt._handleKeydown(dt)}),2&Ue&&(t.\u0275\u0275hostProperty("id",nt.id),t.\u0275\u0275attribute("aria-selected",nt.selected)("aria-disabled",nt.disabled.toString()),t.\u0275\u0275classProp("mdc-list-item--selected",nt.selected)("mat-mdc-option-multiple",nt.multiple)("mat-mdc-option-active",nt.active)("mdc-list-item--disabled",nt.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:_,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox"],[1,"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"]],template:function(Ue,nt){1&Ue&&(t.\u0275\u0275projectionDef(p),t.\u0275\u0275template(0,y,1,2,"mat-pseudo-checkbox",1),t.\u0275\u0275projection(1),t.\u0275\u0275elementStart(2,"span",2,0),t.\u0275\u0275projection(4,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(5,M,1,1,"mat-pseudo-checkbox",3)(6,w,2,1,"span",4),t.\u0275\u0275element(7,"div",5)),2&Ue&&(t.\u0275\u0275conditional(0,nt.multiple?0:-1),t.\u0275\u0275advance(5),t.\u0275\u0275conditional(5,nt.multiple||!nt.selected||nt.hideSingleSelectionIndicator?-1:5),t.\u0275\u0275advance(),t.\u0275\u0275conditional(6,nt.group&&nt.group._inert?6:-1),t.\u0275\u0275advance(),t.\u0275\u0275property("matRippleTrigger",nt._getHostElement())("matRippleDisabled",nt.disabled||nt.disableRipple))},dependencies:[rn,hn],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 _t})();function ft(_t,Nt,Je){if(Je.length){let Ue=Nt.toArray(),nt=Je.toArray(),He=0;for(let dt=0;dt<_t+1;dt++)Ue[dt].group&&Ue[dt].group===nt[He]&&He++;return He}return 0}function Re(_t,Nt,Je,Ue){return _tJe+Ue?Math.max(0,_t-Ue+Nt):Je}let pe=(()=>{class _t{static#e=this.\u0275fac=function(Ue){return new(Ue||_t)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:_t});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[un,R,fn]})}return _t})();const Ke={capture:!0},te=["focus","click","mouseenter","touchstart"],de="mat-ripple-loader-uninitialized",Se="mat-ripple-loader-class-name",tt="mat-ripple-loader-centered",It="mat-ripple-loader-disabled";let Kt=(()=>{class _t{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)(dn,{optional:!0}),this._platform=(0,t.inject)(b.OD),this._ngZone=(0,t.inject)(t.NgZone),this._hosts=new Map,this._onInteraction=Je=>{if(!(Je.target instanceof HTMLElement))return;const nt=Je.target.closest(`[${de}]`);nt&&this._createRipple(nt)},this._ngZone.runOutsideAngular(()=>{for(const Je of te)this._document?.addEventListener(Je,this._onInteraction,Ke)})}ngOnDestroy(){const Je=this._hosts.keys();for(const Ue of Je)this.destroyRipple(Ue);for(const Ue of te)this._document?.removeEventListener(Ue,this._onInteraction,Ke)}configureRipple(Je,Ue){Je.setAttribute(de,""),(Ue.className||!Je.hasAttribute(Se))&&Je.setAttribute(Se,Ue.className||""),Ue.centered&&Je.setAttribute(tt,""),Ue.disabled&&Je.setAttribute(It,"")}getRipple(Je){return this._hosts.get(Je)||this._createRipple(Je)}setDisabled(Je,Ue){const nt=this._hosts.get(Je);nt?nt.disabled=Ue:Ue?Je.setAttribute(It,""):Je.removeAttribute(It)}_createRipple(Je){if(!this._document)return;const Ue=this._hosts.get(Je);if(Ue)return Ue;Je.querySelector(".mat-ripple")?.remove();const nt=this._document.createElement("span");nt.classList.add("mat-ripple",Je.getAttribute(Se)),Je.append(nt);const He=new hn(new t.ElementRef(nt),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return He._isInitialized=!0,He.trigger=Je,He.centered=Je.hasAttribute(tt),He.disabled=Je.hasAttribute(It),this.attachRipple(Je,He),He}attachRipple(Je,Ue){Je.removeAttribute(de),this._hosts.set(Je,Ue)}destroyRipple(Je){const Ue=this._hosts.get(Je);Ue&&(Ue.ngOnDestroy(),this._hosts.delete(Je))}static#e=this.\u0275fac=function(Ue){return new(Ue||_t)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:_t,factory:_t.\u0275fac,providedIn:"root"})}return _t})(),ln=(()=>{class _t{static#e=this.\u0275fac=function(Ue){return new(Ue||_t)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:_t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(Ue,nt){2&Ue&&t.\u0275\u0275classProp("mdc-form-field--align-end","before"===nt.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],attrs:k,ngContentSelectors:I,decls:1,vars:0,template:function(Ue,nt){1&Ue&&(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 _t})()},5084:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{DateRange:()=>vt,DefaultMatCalendarRangeStrategy:()=>dn,MAT_DATEPICKER_SCROLL_STRATEGY:()=>Se,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>tt,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>It,MAT_DATEPICKER_VALIDATORS:()=>He,MAT_DATEPICKER_VALUE_ACCESSOR:()=>nt,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>Xt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>Mt,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>zt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Me,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>rt,MatCalendar:()=>Ke,MatCalendarBody:()=>We,MatCalendarCell:()=>ct,MatCalendarHeader:()=>pe,MatDateRangeInput:()=>sn,MatDateRangePicker:()=>Le,MatDateSelectionModel:()=>it,MatDatepicker:()=>_t,MatDatepickerActions:()=>pt,MatDatepickerApply:()=>ut,MatDatepickerCancel:()=>ot,MatDatepickerContent:()=>Kt,MatDatepickerInput:()=>dt,MatDatepickerInputEvent:()=>Nt,MatDatepickerIntl:()=>mt,MatDatepickerModule:()=>wt,MatDatepickerToggle:()=>en,MatDatepickerToggleIcon:()=>At,MatEndDate:()=>at,MatMonthView:()=>fn,MatMultiYearView:()=>_e,MatRangeDateSelectionModel:()=>Ge,MatSingleDateSelectionModel:()=>we,MatStartDate:()=>Be,MatYearView:()=>ft,matDatepickerAnimations:()=>te,yearsPerPage:()=>Pt,yearsPerRow:()=>Vt});var t=g(6039),v=g(7987),C=g(6939),E=g(177),c=g(4438),b=g(8834),s=g(5478),f=g(6600),d=g(1413),l=g(8359),a=g(7786),r=g(7673),u=g(7336),h=g(8203),p=g(6860),_=g(6697),y=g(9172),M=g(5964),w=g(4085),k=g(9969),I=g(9417),D=g(2102),O=g(9631);const T=["mat-calendar-body",""];function F(Ie,Tt){if(1&Ie&&(c.\u0275\u0275elementStart(0,"tr",0)(1,"td",3),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd()()),2&Ie){const z=c.\u0275\u0275nextContext();c.\u0275\u0275advance(),c.\u0275\u0275styleProp("padding-top",z._cellPadding)("padding-bottom",z._cellPadding),c.\u0275\u0275attribute("colspan",z.numCols),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",z.label," ")}}function S(Ie,Tt){if(1&Ie&&(c.\u0275\u0275elementStart(0,"td",3),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Ie){const z=c.\u0275\u0275nextContext(2);c.\u0275\u0275styleProp("padding-top",z._cellPadding)("padding-bottom",z._cellPadding),c.\u0275\u0275attribute("colspan",z._firstRowOffset),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",z._firstRowOffset>=z.labelMinRequiredCells?z.label:""," ")}}function R(Ie,Tt){if(1&Ie){const z=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"td",4)(1,"button",5),c.\u0275\u0275listener("click",function(ce){const Ve=c.\u0275\u0275restoreView(z).$implicit,xt=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(xt._cellClicked(Ve,ce))})("focus",function(ce){const Ve=c.\u0275\u0275restoreView(z).$implicit,xt=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(xt._emitActiveDateChange(Ve,ce))}),c.\u0275\u0275elementStart(2,"span",6),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(4,"span",7),c.\u0275\u0275elementEnd()()}if(2&Ie){const z=Tt.$implicit,he=Tt.$index,ce=c.\u0275\u0275nextContext().$index,Ve=c.\u0275\u0275nextContext();c.\u0275\u0275styleProp("width",Ve._cellWidth)("padding-top",Ve._cellPadding)("padding-bottom",Ve._cellPadding),c.\u0275\u0275attribute("data-mat-row",ce)("data-mat-col",he),c.\u0275\u0275advance(),c.\u0275\u0275classProp("mat-calendar-body-disabled",!z.enabled)("mat-calendar-body-active",Ve._isActiveCell(ce,he))("mat-calendar-body-range-start",Ve._isRangeStart(z.compareValue))("mat-calendar-body-range-end",Ve._isRangeEnd(z.compareValue))("mat-calendar-body-in-range",Ve._isInRange(z.compareValue))("mat-calendar-body-comparison-bridge-start",Ve._isComparisonBridgeStart(z.compareValue,ce,he))("mat-calendar-body-comparison-bridge-end",Ve._isComparisonBridgeEnd(z.compareValue,ce,he))("mat-calendar-body-comparison-start",Ve._isComparisonStart(z.compareValue))("mat-calendar-body-comparison-end",Ve._isComparisonEnd(z.compareValue))("mat-calendar-body-in-comparison-range",Ve._isInComparisonRange(z.compareValue))("mat-calendar-body-preview-start",Ve._isPreviewStart(z.compareValue))("mat-calendar-body-preview-end",Ve._isPreviewEnd(z.compareValue))("mat-calendar-body-in-preview",Ve._isInPreview(z.compareValue)),c.\u0275\u0275property("ngClass",z.cssClasses)("tabindex",Ve._isActiveCell(ce,he)?0:-1),c.\u0275\u0275attribute("aria-label",z.ariaLabel)("aria-disabled",!z.enabled||null)("aria-pressed",Ve._isSelected(z.compareValue))("aria-current",Ve.todayValue===z.compareValue?"date":null)("aria-describedby",Ve._getDescribedby(z.compareValue)),c.\u0275\u0275advance(),c.\u0275\u0275classProp("mat-calendar-body-selected",Ve._isSelected(z.compareValue))("mat-calendar-body-comparison-identical",Ve._isComparisonIdentical(z.compareValue))("mat-calendar-body-today",Ve.todayValue===z.compareValue),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",z.displayValue," ")}}function N(Ie,Tt){if(1&Ie&&(c.\u0275\u0275elementStart(0,"tr",1),c.\u0275\u0275template(1,S,2,6,"td",3),c.\u0275\u0275repeaterCreate(2,R,5,48,"td",4,c.\u0275\u0275repeaterTrackByIdentity),c.\u0275\u0275elementEnd()),2&Ie){const z=Tt.$implicit,he=Tt.$index,ce=c.\u0275\u0275nextContext();c.\u0275\u0275advance(),c.\u0275\u0275conditional(1,0===he&&ce._firstRowOffset?1:-1),c.\u0275\u0275advance(),c.\u0275\u0275repeater(z)}}function A(Ie,Tt){if(1&Ie&&(c.\u0275\u0275elementStart(0,"th",2)(1,"span",5),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(3,"span",6),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()()),2&Ie){const z=Tt.$implicit;c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(z.long),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(z.narrow)}}const U=["*"];function Y(Ie,Tt){}function ee(Ie,Tt){if(1&Ie){const z=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-month-view",2),c.\u0275\u0275twoWayListener("activeDateChange",function(ce){c.\u0275\u0275restoreView(z);const Ve=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(Ve.activeDate,ce)||(Ve.activeDate=ce),c.\u0275\u0275resetView(ce)}),c.\u0275\u0275listener("_userSelection",function(ce){c.\u0275\u0275restoreView(z);const Ve=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ve._dateSelected(ce))})("dragStarted",function(ce){c.\u0275\u0275restoreView(z);const Ve=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ve._dragStarted(ce))})("dragEnded",function(ce){c.\u0275\u0275restoreView(z);const Ve=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ve._dragEnded(ce))}),c.\u0275\u0275elementEnd()}if(2&Ie){const z=c.\u0275\u0275nextContext();c.\u0275\u0275twoWayProperty("activeDate",z.activeDate),c.\u0275\u0275property("selected",z.selected)("dateFilter",z.dateFilter)("maxDate",z.maxDate)("minDate",z.minDate)("dateClass",z.dateClass)("comparisonStart",z.comparisonStart)("comparisonEnd",z.comparisonEnd)("startDateAccessibleName",z.startDateAccessibleName)("endDateAccessibleName",z.endDateAccessibleName)("activeDrag",z._activeDrag)}}function ie(Ie,Tt){if(1&Ie){const z=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-year-view",3),c.\u0275\u0275twoWayListener("activeDateChange",function(ce){c.\u0275\u0275restoreView(z);const Ve=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(Ve.activeDate,ce)||(Ve.activeDate=ce),c.\u0275\u0275resetView(ce)}),c.\u0275\u0275listener("monthSelected",function(ce){c.\u0275\u0275restoreView(z);const Ve=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ve._monthSelectedInYearView(ce))})("selectedChange",function(ce){c.\u0275\u0275restoreView(z);const Ve=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ve._goToDateInView(ce,"month"))}),c.\u0275\u0275elementEnd()}if(2&Ie){const z=c.\u0275\u0275nextContext();c.\u0275\u0275twoWayProperty("activeDate",z.activeDate),c.\u0275\u0275property("selected",z.selected)("dateFilter",z.dateFilter)("maxDate",z.maxDate)("minDate",z.minDate)("dateClass",z.dateClass)}}function $(Ie,Tt){if(1&Ie){const z=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-multi-year-view",4),c.\u0275\u0275twoWayListener("activeDateChange",function(ce){c.\u0275\u0275restoreView(z);const Ve=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(Ve.activeDate,ce)||(Ve.activeDate=ce),c.\u0275\u0275resetView(ce)}),c.\u0275\u0275listener("yearSelected",function(ce){c.\u0275\u0275restoreView(z);const Ve=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ve._yearSelectedInMultiYearView(ce))})("selectedChange",function(ce){c.\u0275\u0275restoreView(z);const Ve=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ve._goToDateInView(ce,"year"))}),c.\u0275\u0275elementEnd()}if(2&Ie){const z=c.\u0275\u0275nextContext();c.\u0275\u0275twoWayProperty("activeDate",z.activeDate),c.\u0275\u0275property("selected",z.selected)("dateFilter",z.dateFilter)("maxDate",z.maxDate)("minDate",z.minDate)("dateClass",z.dateClass)}}function j(Ie,Tt){}const G=["button"],V=[[["","matDatepickerToggleIcon",""]]],W=["[matDatepickerToggleIcon]"];function K(Ie,Tt){1&Ie&&(c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(0,"svg",2),c.\u0275\u0275element(1,"path",3),c.\u0275\u0275elementEnd())}const le=[[["input","matStartDate",""]],[["input","matEndDate",""]]],ue=["input[matStartDate]","input[matEndDate]"];function ve(Ie,Tt){1&Ie&&(c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275projection(1),c.\u0275\u0275elementEnd())}let mt=(()=>{class Ie{constructor(){this.changes=new d.B,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(z,he){return`${z} \u2013 ${he}`}formatYearRangeLabel(z,he){return`${z} to ${he}`}static#e=this.\u0275fac=function(he){return new(he||Ie)};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac,providedIn:"root"})}return Ie})();class ct{constructor(Tt,z,he,ce,Ve={},xt=Tt,cn){this.value=Tt,this.displayValue=z,this.ariaLabel=he,this.enabled=ce,this.cssClasses=Ve,this.compareValue=xt,this.rawValue=cn}}let Ct=1;const Pe=(0,p.BQ)({passive:!1,capture:!0}),Ae=(0,p.BQ)({passive:!0,capture:!0}),me=(0,p.BQ)({passive:!0});let We=(()=>{class Ie{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(z,he){this._elementRef=z,this._ngZone=he,this._platform=(0,c.inject)(p.OD),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=ce=>{if(this._skipNextFocus&&"focus"===ce.type)this._skipNextFocus=!1;else if(ce.target&&this.isRange){const Ve=this._getCellFromElement(ce.target);Ve&&this._ngZone.run(()=>this.previewChange.emit({value:Ve.enabled?Ve:null,event:ce}))}},this._touchmoveHandler=ce=>{if(!this.isRange)return;const Ve=Oe(ce),xt=Ve?this._getCellFromElement(Ve):null;Ve!==ce.target&&(this._didDragSinceMouseDown=!0),xe(ce.target)&&ce.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:xt?.enabled?xt:null,event:ce}))},this._leaveHandler=ce=>{null!==this.previewEnd&&this.isRange&&("blur"!==ce.type&&(this._didDragSinceMouseDown=!0),ce.target&&this._getCellFromElement(ce.target)&&(!ce.relatedTarget||!this._getCellFromElement(ce.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ce})))},this._mousedownHandler=ce=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const Ve=ce.target&&this._getCellFromElement(ce.target);!Ve||!this._isInRange(Ve.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:Ve.rawValue,event:ce})})},this._mouseupHandler=ce=>{if(!this.isRange)return;const Ve=xe(ce.target);Ve?Ve.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const xt=this._getCellFromElement(Ve);this.dragEnded.emit({value:xt?.rawValue??null,event:ce})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:ce})})},this._touchendHandler=ce=>{const Ve=Oe(ce);Ve&&this._mouseupHandler({target:Ve})},this._id="mat-calendar-body-"+Ct++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,he.runOutsideAngular(()=>{const ce=z.nativeElement;ce.addEventListener("touchmove",this._touchmoveHandler,Pe),ce.addEventListener("mouseenter",this._enterHandler,Ae),ce.addEventListener("focus",this._enterHandler,Ae),ce.addEventListener("mouseleave",this._leaveHandler,Ae),ce.addEventListener("blur",this._leaveHandler,Ae),ce.addEventListener("mousedown",this._mousedownHandler,me),ce.addEventListener("touchstart",this._mousedownHandler,me),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(z,he){this._didDragSinceMouseDown||z.enabled&&this.selectedValueChange.emit({value:z.value,event:he})}_emitActiveDateChange(z,he){z.enabled&&this.activeDateChange.emit({value:z.value,event:he})}_isSelected(z){return this.startValue===z||this.endValue===z}ngOnChanges(z){const he=z.numCols,{rows:ce,numCols:Ve}=this;(z.rows||he)&&(this._firstRowOffset=ce&&ce.length&&ce[0].length?Ve-ce[0].length:0),(z.cellAspectRatio||he||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Ve+"%"),(he||!this._cellWidth)&&(this._cellWidth=100/Ve+"%")}ngOnDestroy(){const z=this._elementRef.nativeElement;z.removeEventListener("touchmove",this._touchmoveHandler,Pe),z.removeEventListener("mouseenter",this._enterHandler,Ae),z.removeEventListener("focus",this._enterHandler,Ae),z.removeEventListener("mouseleave",this._leaveHandler,Ae),z.removeEventListener("blur",this._leaveHandler,Ae),z.removeEventListener("mousedown",this._mousedownHandler,me),z.removeEventListener("touchstart",this._mousedownHandler,me),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(z,he){let ce=z*this.numCols+he;return z&&(ce-=this._firstRowOffset),ce==this.activeCell}_focusActiveCell(z=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,_.s)(1)).subscribe(()=>{setTimeout(()=>{const he=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");he&&(z||(this._skipNextFocus=!0),he.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(z){return $e(z,this.startValue,this.endValue)}_isRangeEnd(z){return q(z,this.startValue,this.endValue)}_isInRange(z){return ge(z,this.startValue,this.endValue,this.isRange)}_isComparisonStart(z){return $e(z,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(z,he,ce){if(!this._isComparisonStart(z)||this._isRangeStart(z)||!this._isInRange(z))return!1;let Ve=this.rows[he][ce-1];if(!Ve){const xt=this.rows[he-1];Ve=xt&&xt[xt.length-1]}return Ve&&!this._isRangeEnd(Ve.compareValue)}_isComparisonBridgeEnd(z,he,ce){if(!this._isComparisonEnd(z)||this._isRangeEnd(z)||!this._isInRange(z))return!1;let Ve=this.rows[he][ce+1];if(!Ve){const xt=this.rows[he+1];Ve=xt&&xt[0]}return Ve&&!this._isRangeStart(Ve.compareValue)}_isComparisonEnd(z){return q(z,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(z){return ge(z,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(z){return this.comparisonStart===this.comparisonEnd&&z===this.comparisonStart}_isPreviewStart(z){return $e(z,this.previewStart,this.previewEnd)}_isPreviewEnd(z){return q(z,this.previewStart,this.previewEnd)}_isInPreview(z){return ge(z,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(z){return this.isRange?this.startValue===z&&this.endValue===z?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===z?this._startDateLabelId:this.endValue===z?this._endDateLabelId:null:null}_getCellFromElement(z){const he=xe(z);if(he){const ce=he.getAttribute("data-mat-row"),Ve=he.getAttribute("data-mat-col");if(ce&&Ve)return this.rows[parseInt(ce)][parseInt(Ve)]}return null}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:Ie,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"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(he,ce){1&he&&(c.\u0275\u0275template(0,F,3,6,"tr",0),c.\u0275\u0275repeaterCreate(1,N,4,1,"tr",1,c.\u0275\u0275repeaterTrackByIdentity),c.\u0275\u0275elementStart(3,"label",2),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"label",2),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd()),2&he&&(c.\u0275\u0275conditional(0,ce._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 Ie})();function Fe(Ie){return"TD"===Ie?.nodeName}function xe(Ie){let Tt;return Fe(Ie)?Tt=Ie:Fe(Ie.parentNode)?Tt=Ie.parentNode:Fe(Ie.parentNode?.parentNode)&&(Tt=Ie.parentNode.parentNode),null!=Tt?.getAttribute("data-mat-row")?Tt:null}function $e(Ie,Tt,z){return null!==z&&Tt!==z&&Ie=Tt&&Ie===z}function ge(Ie,Tt,z,he){return he&&null!==Tt&&null!==z&&Tt!==z&&Ie>=Tt&&Ie<=z}function Oe(Ie){const Tt=Ie.changedTouches[0];return document.elementFromPoint(Tt.clientX,Tt.clientY)}class vt{constructor(Tt,z){this.start=Tt,this.end=z}}let it=(()=>{class Ie{constructor(z,he){this.selection=z,this._adapter=he,this._selectionChanged=new d.B,this.selectionChanged=this._selectionChanged,this.selection=z}updateSelection(z,he){const ce=this.selection;this.selection=z,this._selectionChanged.next({selection:z,source:he,oldValue:ce})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(z){return this._adapter.isDateInstance(z)&&this._adapter.isValid(z)}static#e=this.\u0275fac=function(he){c.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac})}return Ie})(),we=(()=>{class Ie extends it{constructor(z){super(null,z)}add(z){super.updateSelection(z,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const z=new Ie(this._adapter);return z.updateSelection(this.selection,this),z}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275inject(f.DateAdapter))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac})}return Ie})(),Ge=(()=>{class Ie extends it{constructor(z){super(new vt(null,null),z)}add(z){let{start:he,end:ce}=this.selection;null==he?he=z:null==ce?ce=z:(he=z,ce=null),super.updateSelection(new vt(he,ce),this)}isValid(){const{start:z,end:he}=this.selection;return null==z&&null==he||(null!=z&&null!=he?this._isValidDateInstance(z)&&this._isValidDateInstance(he)&&this._adapter.compareDate(z,he)<=0:(null==z||this._isValidDateInstance(z))&&(null==he||this._isValidDateInstance(he)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const z=new Ie(this._adapter);return z.updateSelection(this.selection,this),z}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275inject(f.DateAdapter))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac})}return Ie})();function Me(Ie,Tt){return Ie||new we(Tt)}const rt={provide:it,deps:[[new c.Optional,new c.SkipSelf,it],f.DateAdapter],useFactory:Me};function Mt(Ie,Tt){return Ie||new Ge(Tt)}const zt={provide:it,deps:[[new c.Optional,new c.SkipSelf,it],f.DateAdapter],useFactory:Mt},Xt=new c.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let dn=(()=>{class Ie{constructor(z){this._dateAdapter=z}selectionFinished(z,he){let{start:ce,end:Ve}=he;return null==ce?ce=z:null==Ve&&z&&this._dateAdapter.compareDate(z,ce)>=0?Ve=z:(ce=z,Ve=null),new vt(ce,Ve)}createPreview(z,he){let ce=null,Ve=null;return he.start&&!he.end&&z&&(ce=he.start,Ve=z),new vt(ce,Ve)}createDrag(z,he,ce){let Ve=he.start,xt=he.end;if(!Ve||!xt)return null;const cn=this._dateAdapter,hi=0!==cn.compareDate(Ve,xt),Gn=cn.getYear(ce)-cn.getYear(z),Fn=cn.getMonth(ce)-cn.getMonth(z),Tn=cn.getDate(ce)-cn.getDate(z);return hi&&cn.sameDate(z,he.start)?(Ve=ce,cn.compareDate(ce,xt)>0&&(xt=cn.addCalendarYears(xt,Gn),xt=cn.addCalendarMonths(xt,Fn),xt=cn.addCalendarDays(xt,Tn))):hi&&cn.sameDate(z,he.end)?(xt=ce,cn.compareDate(ce,Ve)<0&&(Ve=cn.addCalendarYears(Ve,Gn),Ve=cn.addCalendarMonths(Ve,Fn),Ve=cn.addCalendarDays(Ve,Tn))):(Ve=cn.addCalendarYears(Ve,Gn),Ve=cn.addCalendarMonths(Ve,Fn),Ve=cn.addCalendarDays(Ve,Tn),xt=cn.addCalendarYears(xt,Gn),xt=cn.addCalendarMonths(xt,Fn),xt=cn.addCalendarDays(xt,Tn)),new vt(Ve,xt)}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275inject(f.DateAdapter))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac})}return Ie})();const un={provide:Xt,deps:[[new c.Optional,new c.SkipSelf,Xt],f.DateAdapter],useFactory:function hn(Ie,Tt){return Ie||new dn(Tt)}};let fn=(()=>{class Ie{get activeDate(){return this._activeDate}set activeDate(z){const he=this._activeDate,ce=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ce,this.minDate,this.maxDate),this._hasSameMonthAndYear(he,this._activeDate)||this._init()}get selected(){return this._selected}set selected(z){this._selected=z instanceof vt?z:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(z){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))}get maxDate(){return this._maxDate}set maxDate(z){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))}constructor(z,he,ce,Ve,xt){this._changeDetectorRef=z,this._dateFormats=he,this._dateAdapter=ce,this._dir=Ve,this._rangeStrategy=xt,this._rerenderSubscription=l.yU.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.Z)(null)).subscribe(()=>this._init())}ngOnChanges(z){const he=z.comparisonStart||z.comparisonEnd;he&&!he.firstChange&&this._setRanges(this.selected),z.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(z){const he=z.value,ce=this._getDateFromDayOfMonth(he);let Ve,xt;this._selected instanceof vt?(Ve=this._getDateInCurrentMonth(this._selected.start),xt=this._getDateInCurrentMonth(this._selected.end)):Ve=xt=this._getDateInCurrentMonth(this._selected),(Ve!==he||xt!==he)&&this.selectedChange.emit(ce),this._userSelection.emit({value:ce,event:z.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(z){const ce=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(z.value),this._dateAdapter.compareDate(ce,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(z){const he=this._activeDate,ce=this._isRtl();switch(z.keyCode){case u.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ce?1:-1);break;case u.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ce?-1:1);break;case u.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case u.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case u.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case u.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case u.w_:this.activeDate=z.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case u.dB:this.activeDate=z.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case u.Fm:case u.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&z.preventDefault());case u._f:return void(null!=this._previewEnd&&!(0,u.rp)(z)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:z}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:z})),z.preventDefault(),z.stopPropagation()));default:return}this._dateAdapter.compareDate(he,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),z.preventDefault()}_handleCalendarBodyKeyup(z){(z.keyCode===u.t6||z.keyCode===u.Fm)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:z}),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 z=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(z)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(z){this._matCalendarBody._focusActiveCell(z)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:z,value:he}){if(this._rangeStrategy){const ce=he?he.rawValue:null,Ve=this._rangeStrategy.createPreview(ce,this.selected,z);if(this._previewStart=this._getCellCompareValue(Ve.start),this._previewEnd=this._getCellCompareValue(Ve.end),this.activeDrag&&ce){const xt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,ce,z);xt&&(this._previewStart=this._getCellCompareValue(xt.start),this._previewEnd=this._getCellCompareValue(xt.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(z){if(this.activeDrag)if(z.value){const he=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,z.value,z.event);this.dragEnded.emit({value:he??null,event:z.event})}else this.dragEnded.emit({value:null,event:z.event})}_getDateFromDayOfMonth(z){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),z)}_initWeekdays(){const z=this._dateAdapter.getFirstDayOfWeek(),he=this._dateAdapter.getDayOfWeekNames("narrow");let Ve=this._dateAdapter.getDayOfWeekNames("long").map((xt,cn)=>({long:xt,narrow:he[cn]}));this._weekdays=Ve.slice(z).concat(Ve.slice(0,z))}_createWeekCells(){const z=this._dateAdapter.getNumDaysInMonth(this.activeDate),he=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ce=0,Ve=this._firstWeekOffset;ce=0)&&(!this.maxDate||this._dateAdapter.compareDate(z,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(z))}_getDateInCurrentMonth(z){return z&&this._hasSameMonthAndYear(z,this.activeDate)?this._dateAdapter.getDate(z):null}_hasSameMonthAndYear(z,he){return!(!z||!he||this._dateAdapter.getMonth(z)!=this._dateAdapter.getMonth(he)||this._dateAdapter.getYear(z)!=this._dateAdapter.getYear(he))}_getCellCompareValue(z){if(z){const he=this._dateAdapter.getYear(z),ce=this._dateAdapter.getMonth(z),Ve=this._dateAdapter.getDate(z);return new Date(he,ce,Ve).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(z){z instanceof vt?(this._rangeStart=this._getCellCompareValue(z.start),this._rangeEnd=this._getCellCompareValue(z.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(z),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(z){return!this.dateFilter||this.dateFilter(z)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(h.dS,8),c.\u0275\u0275directiveInject(Xt,8))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:Ie,selectors:[["mat-month-view"]],viewQuery:function(he,ce){if(1&he&&c.\u0275\u0275viewQuery(We,5),2&he){let Ve;c.\u0275\u0275queryRefresh(Ve=c.\u0275\u0275loadQuery())&&(ce._matCalendarBody=Ve.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"],["scope","col"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(he,ce){1&he&&(c.\u0275\u0275elementStart(0,"table",0)(1,"thead",1)(2,"tr"),c.\u0275\u0275repeaterCreate(3,A,5,2,"th",2,c.\u0275\u0275repeaterTrackByIdentity),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"tr"),c.\u0275\u0275element(6,"th",3),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(7,"tbody",4),c.\u0275\u0275listener("selectedValueChange",function(xt){return ce._dateSelected(xt)})("activeDateChange",function(xt){return ce._updateActiveDate(xt)})("previewChange",function(xt){return ce._previewChanged(xt)})("dragStarted",function(xt){return ce.dragStarted.emit(xt)})("dragEnded",function(xt){return ce._dragEnded(xt)})("keyup",function(xt){return ce._handleCalendarBodyKeyup(xt)})("keydown",function(xt){return ce._handleCalendarBodyKeydown(xt)}),c.\u0275\u0275elementEnd()()),2&he&&(c.\u0275\u0275advance(3),c.\u0275\u0275repeater(ce._weekdays),c.\u0275\u0275advance(4),c.\u0275\u0275property("label",ce._monthLabel)("rows",ce._weeks)("todayValue",ce._todayDate)("startValue",ce._rangeStart)("endValue",ce._rangeEnd)("comparisonStart",ce._comparisonRangeStart)("comparisonEnd",ce._comparisonRangeEnd)("previewStart",ce._previewStart)("previewEnd",ce._previewEnd)("isRange",ce._isRange)("labelMinRequiredCells",3)("activeCell",ce._dateAdapter.getDate(ce.activeDate)-1)("startDateAccessibleName",ce.startDateAccessibleName)("endDateAccessibleName",ce.endDateAccessibleName))},dependencies:[We],encapsulation:2,changeDetection:0})}return Ie})();const Pt=24,Vt=4;let _e=(()=>{class Ie{get activeDate(){return this._activeDate}set activeDate(z){let he=this._activeDate;const ce=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ce,this.minDate,this.maxDate),Ze(this._dateAdapter,he,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(z){this._selected=z instanceof vt?z:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z)),this._setSelectedYear(z)}get minDate(){return this._minDate}set minDate(z){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))}get maxDate(){return this._maxDate}set maxDate(z){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))}constructor(z,he,ce){this._changeDetectorRef=z,this._dateAdapter=he,this._dir=ce,this._rerenderSubscription=l.yU.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.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const he=this._dateAdapter.getYear(this._activeDate)-Qe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ce=0,Ve=[];cethis._createCellForYear(xt))),Ve=[]);this._changeDetectorRef.markForCheck()}_yearSelected(z){const he=z.value,ce=this._dateAdapter.createDate(he,0,1),Ve=this._getDateFromYear(he);this.yearSelected.emit(ce),this.selectedChange.emit(Ve)}_updateActiveDate(z){const ce=this._activeDate;this.activeDate=this._getDateFromYear(z.value),this._dateAdapter.compareDate(ce,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(z){const he=this._activeDate,ce=this._isRtl();switch(z.keyCode){case u.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ce?1:-1);break;case u.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ce?-1:1);break;case u.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Vt);break;case u.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Vt);break;case u.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Qe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case u.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Pt-Qe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case u.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,z.altKey?10*-Pt:-Pt);break;case u.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,z.altKey?10*Pt:Pt);break;case u.Fm:case u.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(he,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),z.preventDefault()}_handleCalendarBodyKeyup(z){(z.keyCode===u.t6||z.keyCode===u.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:z}),this._selectionKeyPressed=!1)}_getActiveCell(){return Qe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(z){const he=this._dateAdapter.getMonth(this.activeDate),ce=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(z,he,1));return this._dateAdapter.createDate(z,he,Math.min(this._dateAdapter.getDate(this.activeDate),ce))}_createCellForYear(z){const he=this._dateAdapter.createDate(z,0,1),ce=this._dateAdapter.getYearName(he),Ve=this.dateClass?this.dateClass(he,"multi-year"):void 0;return new ct(z,ce,ce,this._shouldEnableYear(z),Ve)}_shouldEnableYear(z){if(null==z||this.maxDate&&z>this._dateAdapter.getYear(this.maxDate)||this.minDate&&z{class Ie{get activeDate(){return this._activeDate}set activeDate(z){let he=this._activeDate;const ce=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ce,this.minDate,this.maxDate),this._dateAdapter.getYear(he)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(z){this._selected=z instanceof vt?z:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z)),this._setSelectedMonth(z)}get minDate(){return this._minDate}set minDate(z){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))}get maxDate(){return this._maxDate}set maxDate(z){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))}constructor(z,he,ce,Ve){this._changeDetectorRef=z,this._dateFormats=he,this._dateAdapter=ce,this._dir=Ve,this._rerenderSubscription=l.yU.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.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(z){const he=z.value,ce=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),he,1);this.monthSelected.emit(ce);const Ve=this._getDateFromMonth(he);this.selectedChange.emit(Ve)}_updateActiveDate(z){const ce=this._activeDate;this.activeDate=this._getDateFromMonth(z.value),this._dateAdapter.compareDate(ce,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(z){const he=this._activeDate,ce=this._isRtl();switch(z.keyCode){case u.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ce?1:-1);break;case u.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ce?-1:1);break;case u.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case u.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case u.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case u.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case u.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,z.altKey?-10:-1);break;case u.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,z.altKey?10:1);break;case u.Fm:case u.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(he,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),z.preventDefault()}_handleCalendarBodyKeyup(z){(z.keyCode===u.t6||z.keyCode===u.Fm)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:z}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let z=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(he=>he.map(ce=>this._createCellForMonth(ce,z[ce]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(z){return z&&this._dateAdapter.getYear(z)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(z):null}_getDateFromMonth(z){const he=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),z,1),ce=this._dateAdapter.getNumDaysInMonth(he);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),z,Math.min(this._dateAdapter.getDate(this.activeDate),ce))}_createCellForMonth(z,he){const ce=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),z,1),Ve=this._dateAdapter.format(ce,this._dateFormats.display.monthYearA11yLabel),xt=this.dateClass?this.dateClass(ce,"year"):void 0;return new ct(z,he.toLocaleUpperCase(),Ve,this._shouldEnableMonth(z),xt)}_shouldEnableMonth(z){const he=this._dateAdapter.getYear(this.activeDate);if(null==z||this._isYearAndMonthAfterMaxDate(he,z)||this._isYearAndMonthBeforeMinDate(he,z))return!1;if(!this.dateFilter)return!0;for(let Ve=this._dateAdapter.createDate(he,z,1);this._dateAdapter.getMonth(Ve)==z;Ve=this._dateAdapter.addCalendarDays(Ve,1))if(this.dateFilter(Ve))return!0;return!1}_isYearAndMonthAfterMaxDate(z,he){if(this.maxDate){const ce=this._dateAdapter.getYear(this.maxDate),Ve=this._dateAdapter.getMonth(this.maxDate);return z>ce||z===ce&&he>Ve}return!1}_isYearAndMonthBeforeMinDate(z,he){if(this.minDate){const ce=this._dateAdapter.getYear(this.minDate),Ve=this._dateAdapter.getMonth(this.minDate);return z{class Ie{constructor(z,he,ce,Ve,xt){this._intl=z,this.calendar=he,this._dateAdapter=ce,this._dateFormats=Ve,this._id="mat-calendar-header-"+Re++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>xt.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:-Pt)}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:Pt)}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(z,he){return"month"==this.calendar.currentView?this._dateAdapter.getYear(z)==this._dateAdapter.getYear(he)&&this._dateAdapter.getMonth(z)==this._dateAdapter.getMonth(he):"year"==this.calendar.currentView?this._dateAdapter.getYear(z)==this._dateAdapter.getYear(he):Ze(this._dateAdapter,z,he,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const he=this._dateAdapter.getYear(this.calendar.activeDate)-Qe(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ce=he+Pt-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(he,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(ce,0,1))]}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(mt),c.\u0275\u0275directiveInject((0,c.forwardRef)(()=>Ke)),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:Ie,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"],[1,"cdk-visually-hidden",3,"id"],["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,"click","disabled"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"]],template:function(he,ce){1&he&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"label",2),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(4,"button",3),c.\u0275\u0275listener("click",function(){return ce.currentPeriodClicked()}),c.\u0275\u0275elementStart(5,"span",4),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd(),c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(7,"svg",5),c.\u0275\u0275element(8,"polygon",6),c.\u0275\u0275elementEnd()(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275element(9,"div",7),c.\u0275\u0275projection(10),c.\u0275\u0275elementStart(11,"button",8),c.\u0275\u0275listener("click",function(){return ce.previousClicked()}),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(12,"button",9),c.\u0275\u0275listener("click",function(){return ce.nextClicked()}),c.\u0275\u0275elementEnd()()()),2&he&&(c.\u0275\u0275advance(2),c.\u0275\u0275property("id",ce._periodButtonLabelId),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(ce.periodButtonDescription),c.\u0275\u0275advance(),c.\u0275\u0275attribute("aria-label",ce.periodButtonLabel)("aria-describedby",ce._periodButtonLabelId),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(ce.periodButtonText),c.\u0275\u0275advance(),c.\u0275\u0275classProp("mat-calendar-invert","month"!==ce.calendar.currentView),c.\u0275\u0275advance(4),c.\u0275\u0275property("disabled",!ce.previousEnabled()),c.\u0275\u0275attribute("aria-label",ce.prevButtonLabel),c.\u0275\u0275advance(),c.\u0275\u0275property("disabled",!ce.nextEnabled()),c.\u0275\u0275attribute("aria-label",ce.nextButtonLabel))},dependencies:[b.MatButton,b.MatIconButton],encapsulation:2,changeDetection:0})}return Ie})(),Ke=(()=>{class Ie{get startAt(){return this._startAt}set startAt(z){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))}get selected(){return this._selected}set selected(z){this._selected=z instanceof vt?z:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))}get minDate(){return this._minDate}set minDate(z){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))}get maxDate(){return this._maxDate}set maxDate(z){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))}get activeDate(){return this._clampedActiveDate}set activeDate(z){this._clampedActiveDate=this._dateAdapter.clampDate(z,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(z){const he=this._currentView!==z?z:null;this._currentView=z,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),he&&this.viewChanged.emit(he)}constructor(z,he,ce,Ve){this._dateAdapter=he,this._dateFormats=ce,this._changeDetectorRef=Ve,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.B,this._intlChanges=z.changes.subscribe(()=>{Ve.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new C.A8(this.headerComponent||pe),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(z){const he=z.minDate&&!this._dateAdapter.sameDate(z.minDate.previousValue,z.minDate.currentValue)?z.minDate:void 0,ce=z.maxDate&&!this._dateAdapter.sameDate(z.maxDate.previousValue,z.maxDate.currentValue)?z.maxDate:void 0,Ve=he||ce||z.dateFilter;if(Ve&&!Ve.firstChange){const xt=this._getCurrentViewComponent();xt&&(this._changeDetectorRef.detectChanges(),xt._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(z){const he=z.value;(this.selected instanceof vt||he&&!this._dateAdapter.sameDate(he,this.selected))&&this.selectedChange.emit(he),this._userSelection.emit(z)}_yearSelectedInMultiYearView(z){this.yearSelected.emit(z)}_monthSelectedInYearView(z){this.monthSelected.emit(z)}_goToDateInView(z,he){this.activeDate=z,this.currentView=he}_dragStarted(z){this._activeDrag=z}_dragEnded(z){this._activeDrag&&(z.value&&this._userDragDrop.emit(z),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(mt),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:Ie,selectors:[["mat-calendar"]],viewQuery:function(he,ce){if(1&he&&(c.\u0275\u0275viewQuery(fn,5),c.\u0275\u0275viewQuery(ft,5),c.\u0275\u0275viewQuery(_e,5)),2&he){let Ve;c.\u0275\u0275queryRefresh(Ve=c.\u0275\u0275loadQuery())&&(ce.monthView=Ve.first),c.\u0275\u0275queryRefresh(Ve=c.\u0275\u0275loadQuery())&&(ce.yearView=Ve.first),c.\u0275\u0275queryRefresh(Ve=c.\u0275\u0275loadQuery())&&(ce.multiYearView=Ve.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([rt]),c.\u0275\u0275NgOnChangesFeature,c.\u0275\u0275StandaloneFeature],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(he,ce){if(1&he&&(c.\u0275\u0275template(0,Y,0,0,"ng-template",0),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275template(2,ee,1,11)(3,ie,1,6)(4,$,1,6),c.\u0275\u0275elementEnd()),2&he){let Ve;c.\u0275\u0275property("cdkPortalOutlet",ce._calendarHeaderPortal),c.\u0275\u0275advance(2),c.\u0275\u0275conditional(2,"month"===(Ve=ce.currentView)?2:"year"===Ve?3:"multi-year"===Ve?4:-1)}},dependencies:[C.I3,t.vR,fn,ft,_e],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:""}'],encapsulation:2,changeDetection:0})}return Ie})();const te={transformPanel:(0,k.hZ)("transformPanel",[(0,k.kY)("void => enter-dropdown",(0,k.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,k.i7)([(0,k.iF)({opacity:0,transform:"scale(1, 0.8)"}),(0,k.iF)({opacity:1,transform:"scale(1, 1)"})]))),(0,k.kY)("void => enter-dialog",(0,k.i0)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,k.i7)([(0,k.iF)({opacity:0,transform:"scale(0.7)"}),(0,k.iF)({transform:"none",opacity:1})]))),(0,k.kY)("* => void",(0,k.i0)("100ms linear",(0,k.iF)({opacity:0})))]),fadeInCalendar:(0,k.hZ)("fadeInCalendar",[(0,k.wk)("void",(0,k.iF)({opacity:0})),(0,k.wk)("enter",(0,k.iF)({opacity:1})),(0,k.kY)("void => *",(0,k.i0)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let de=0;const Se=new c.InjectionToken("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const Ie=(0,c.inject)(v.hJ);return()=>Ie.scrollStrategies.reposition()}});function tt(Ie){return()=>Ie.scrollStrategies.reposition()}const It={provide:Se,deps:[v.hJ],useFactory:tt};let Kt=(()=>{class Ie{constructor(z,he,ce,Ve,xt,cn){this._elementRef=z,this._changeDetectorRef=he,this._globalModel=ce,this._dateAdapter=Ve,this._rangeSelectionStrategy=xt,this._subscriptions=new l.yU,this._animationDone=new d.B,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=cn.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(z){const he=this._model.selection,ce=z.value,Ve=he instanceof vt;if(Ve&&this._rangeSelectionStrategy){const xt=this._rangeSelectionStrategy.selectionFinished(ce,he,z.event);this._model.updateSelection(xt,this)}else ce&&(Ve||!this._dateAdapter.sameDate(ce,he))&&this._model.add(ce);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(z){this._model.updateSelection(z.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(z){this._isAnimating="start"===z.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(z,he){this._model=z?this._globalModel.clone():this._globalModel,this._actionsPortal=z,he&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(it),c.\u0275\u0275directiveInject(f.DateAdapter),c.\u0275\u0275directiveInject(Xt,8),c.\u0275\u0275directiveInject(mt))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:Ie,selectors:[["mat-datepicker-content"]],viewQuery:function(he,ce){if(1&he&&c.\u0275\u0275viewQuery(Ke,5),2&he){let Ve;c.\u0275\u0275queryRefresh(Ve=c.\u0275\u0275loadQuery())&&(ce._calendar=Ve.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(he,ce){1&he&&c.\u0275\u0275syntheticHostListener("@transformPanel.start",function(xt){return ce._handleAnimationEvent(xt)})("@transformPanel.done",function(xt){return ce._handleAnimationEvent(xt)}),2&he&&(c.\u0275\u0275syntheticHostProperty("@transformPanel",ce._animationState),c.\u0275\u0275classMap(ce.color?"mat-"+ce.color:""),c.\u0275\u0275classProp("mat-datepicker-content-touch",ce.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,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(he,ce){if(1&he&&(c.\u0275\u0275elementStart(0,"div",0)(1,"mat-calendar",1),c.\u0275\u0275listener("yearSelected",function(xt){return ce.datepicker._selectYear(xt)})("monthSelected",function(xt){return ce.datepicker._selectMonth(xt)})("viewChanged",function(xt){return ce.datepicker._viewChanged(xt)})("_userSelection",function(xt){return ce._handleUserSelection(xt)})("_userDragDrop",function(xt){return ce._handleUserDragDrop(xt)}),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(2,j,0,0,"ng-template",2),c.\u0275\u0275elementStart(3,"button",3),c.\u0275\u0275listener("focus",function(){return ce._closeButtonFocused=!0})("blur",function(){return ce._closeButtonFocused=!1})("click",function(){return ce.datepicker.close()}),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()()),2&he){let Ve;c.\u0275\u0275classProp("mat-datepicker-content-container-with-custom-header",ce.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",ce._actionsPortal),c.\u0275\u0275attribute("aria-modal",!0)("aria-labelledby",null!==(Ve=ce._dialogLabelId)&&void 0!==Ve?Ve:void 0),c.\u0275\u0275advance(),c.\u0275\u0275property("id",ce.datepicker.id)("ngClass",ce.datepicker.panelClass)("startAt",ce.datepicker.startAt)("startView",ce.datepicker.startView)("minDate",ce.datepicker._getMinDate())("maxDate",ce.datepicker._getMaxDate())("dateFilter",ce.datepicker._getDateFilter())("headerComponent",ce.datepicker.calendarHeaderComponent)("selected",ce._getSelected())("dateClass",ce.datepicker.dateClass)("comparisonStart",ce.comparisonStart)("comparisonEnd",ce.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",ce.startDateAccessibleName)("endDateAccessibleName",ce.endDateAccessibleName),c.\u0275\u0275advance(),c.\u0275\u0275property("cdkPortalOutlet",ce._actionsPortal),c.\u0275\u0275advance(),c.\u0275\u0275classProp("cdk-visually-hidden",!ce._closeButtonFocused),c.\u0275\u0275property("color",ce.color||"primary"),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(ce._closeButtonText)}},dependencies:[t.kB,Ke,E.NgClass,C.I3,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 Ie})(),ln=(()=>{class Ie{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(z){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(z){this._color=z}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(z){z!==this._disabled&&(this._disabled=z,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(z){this._panelClass=(0,w.cc)(z)}get opened(){return this._opened}set opened(z){z?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(z,he,ce,Ve,xt,cn,hi){this._overlay=z,this._ngZone=he,this._viewContainerRef=ce,this._dateAdapter=xt,this._dir=cn,this._model=hi,this._inputStateChanges=l.yU.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-"+de++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.B,this._scrollStrategy=Ve}ngOnChanges(z){const he=z.xPosition||z.yPosition;if(he&&!he.firstChange&&this._overlayRef){const ce=this._overlayRef.getConfig().positionStrategy;ce instanceof v.rW&&(this._setConnectedPositions(ce),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(z){this._model.add(z)}_selectYear(z){this.yearSelected.emit(z)}_selectMonth(z){this.monthSelected.emit(z)}_viewChanged(z){this.viewChanged.emit(z)}registerInput(z){return this._inputStateChanges.unsubscribe(),this.datepickerInput=z,this._inputStateChanges=z.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(z){this._actionsPortal=z,this._componentRef?.instance._assignActions(z,!0)}removeActions(z){z===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,p.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const z=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,he=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:ce,location:Ve}=this._componentRef;ce._startExitAnimation(),ce._animationDone.pipe((0,_.s)(1)).subscribe(()=>{const xt=this._document.activeElement;z&&(!xt||xt===this._document.activeElement||Ve.nativeElement.contains(xt))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}z?setTimeout(he):he()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(z){z.datepicker=this,z.color=this.color,z._dialogLabelId=this.datepickerInput.getOverlayLabelId(),z._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const z=this.touchUi,he=new C.A8(Kt,this._viewContainerRef),ce=this._overlayRef=this._overlay.create(new v.rR({positionStrategy:z?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[z?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:z?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(z?"dialog":"popup")}));this._getCloseStream(ce).subscribe(Ve=>{Ve&&Ve.preventDefault(),this.close()}),ce.keydownEvents().subscribe(Ve=>{const xt=Ve.keyCode;(xt===u.i7||xt===u.n6||xt===u.UQ||xt===u.LE||xt===u.w_||xt===u.dB)&&Ve.preventDefault()}),this._componentRef=ce.attach(he),this._forwardContentValues(this._componentRef.instance),z||this._ngZone.onStable.pipe((0,_.s)(1)).subscribe(()=>ce.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const z=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(z)}_setConnectedPositions(z){const he="end"===this.xPosition?"end":"start",ce="start"===he?"end":"start",Ve="above"===this.yPosition?"bottom":"top",xt="top"===Ve?"bottom":"top";return z.withPositions([{originX:he,originY:xt,overlayX:he,overlayY:Ve},{originX:he,originY:Ve,overlayX:he,overlayY:xt},{originX:ce,originY:xt,overlayX:ce,overlayY:Ve},{originX:ce,originY:Ve,overlayX:ce,overlayY:xt}])}_getCloseStream(z){const he=["ctrlKey","shiftKey","metaKey"];return(0,a.h)(z.backdropClick(),z.detachments(),z.keydownEvents().pipe((0,M.p)(ce=>ce.keyCode===u._f&&!(0,u.rp)(ce)||this.datepickerInput&&(0,u.rp)(ce,"altKey")&&ce.keyCode===u.i7&&he.every(Ve=>!(0,u.rp)(ce,Ve)))))}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(v.hJ),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(Se),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(h.dS,8),c.\u0275\u0275directiveInject(it))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:Ie,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 Ie})(),_t=(()=>{class Ie extends ln{static#e=this.\u0275fac=(()=>{let z;return function(ce){return(z||(z=c.\u0275\u0275getInheritedFactory(Ie)))(ce||Ie)}})();static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:Ie,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([rt,{provide:ln,useExisting:Ie}]),c.\u0275\u0275InheritDefinitionFeature,c.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(he,ce){},encapsulation:2,changeDetection:0})}return Ie})();class Nt{constructor(Tt,z){this.target=Tt,this.targetElement=z,this.value=this.target.value}}let Je=(()=>{class Ie{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(z){this._assignValueProgrammatically(z)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(z){const he=z,ce=this._elementRef.nativeElement;this._disabled!==he&&(this._disabled=he,this.stateChanges.next(void 0)),he&&this._isInitialized&&ce.blur&&ce.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(z){this._model=z,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(he=>{if(this._shouldHandleChangeEvent(he)){const ce=this._getValueFromModel(he.selection);this._lastValueValid=this._isValidValue(ce),this._cvaOnChange(ce),this._onTouched(),this._formatValue(ce),this.dateInput.emit(new Nt(this,this._elementRef.nativeElement)),this.dateChange.emit(new Nt(this,this._elementRef.nativeElement))}})}constructor(z,he,ce){this._elementRef=z,this._dateAdapter=he,this._dateFormats=ce,this.dateChange=new c.EventEmitter,this.dateInput=new c.EventEmitter,this.stateChanges=new d.B,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=l.yU.EMPTY,this._localeSubscription=l.yU.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Ve=>{const xt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ve.value));return!xt||this._matchesFilter(xt)?null:{matDatepickerFilter:!0}},this._minValidator=Ve=>{const xt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ve.value)),cn=this._getMinDate();return!cn||!xt||this._dateAdapter.compareDate(cn,xt)<=0?null:{matDatepickerMin:{min:cn,actual:xt}}},this._maxValidator=Ve=>{const xt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ve.value)),cn=this._getMaxDate();return!cn||!xt||this._dateAdapter.compareDate(cn,xt)>=0?null:{matDatepickerMax:{max:cn,actual:xt}}},this._lastValueValid=!1,this._localeSubscription=he.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(z){Ue(z,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(z){this._validatorOnChange=z}validate(z){return this._validator?this._validator(z):null}writeValue(z){this._assignValueProgrammatically(z)}registerOnChange(z){this._cvaOnChange=z}registerOnTouched(z){this._onTouched=z}setDisabledState(z){this.disabled=z}_onKeydown(z){(0,u.rp)(z,"altKey")&&z.keyCode===u.n6&&["ctrlKey","shiftKey","metaKey"].every(Ve=>!(0,u.rp)(z,Ve))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),z.preventDefault())}_onInput(z){const he=this._lastValueValid;let ce=this._dateAdapter.parse(z,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ce),ce=this._dateAdapter.getValidDateOrNull(ce);const Ve=!this._dateAdapter.sameDate(ce,this.value);!ce||Ve?this._cvaOnChange(ce):(z&&!this.value&&this._cvaOnChange(ce),he!==this._lastValueValid&&this._validatorOnChange()),Ve&&(this._assignValue(ce),this.dateInput.emit(new Nt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Nt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(z){this._elementRef.nativeElement.value=null!=z?this._dateAdapter.format(z,this._dateFormats.display.dateInput):""}_assignValue(z){this._model?(this._assignValueToModel(z),this._pendingValue=null):this._pendingValue=z}_isValidValue(z){return!z||this._dateAdapter.isValid(z)}_parentDisabled(){return!1}_assignValueProgrammatically(z){z=this._dateAdapter.deserialize(z),this._lastValueValid=this._isValidValue(z),z=this._dateAdapter.getValidDateOrNull(z),this._assignValue(z),this._formatValue(z)}_matchesFilter(z){const he=this._getDateFilter();return!he||he(z)}static#e=this.\u0275fac=function(he){return new(he||Ie)(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:Ie,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 Ie})();function Ue(Ie,Tt){const z=Object.keys(Ie);for(let he of z){const{previousValue:ce,currentValue:Ve}=Ie[he];if(!Tt.isDateInstance(ce)||!Tt.isDateInstance(Ve))return!0;if(!Tt.sameDate(ce,Ve))return!0}return!1}const nt={provide:I.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>dt),multi:!0},He={provide:I.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>dt),multi:!0};let dt=(()=>{class Ie extends Je{set matDatepicker(z){z&&(this._datepicker=z,this._closedSubscription=z.closedStream.subscribe(()=>this._onTouched()),this._registerModel(z.registerInput(this)))}get min(){return this._min}set min(z){const he=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z));this._dateAdapter.sameDate(he,this._min)||(this._min=he,this._validatorOnChange())}get max(){return this._max}set max(z){const he=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z));this._dateAdapter.sameDate(he,this._max)||(this._max=he,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(z){const he=this._matchesFilter(this.value);this._dateFilter=z,this._matchesFilter(this.value)!==he&&this._validatorOnChange()}constructor(z,he,ce,Ve){super(z,he,ce),this._formField=Ve,this._closedSubscription=l.yU.EMPTY,this._validator=I.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(z){return z}_assignValueToModel(z){this._model&&this._model.updateSelection(z,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(z){return z.source!==this}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8),c.\u0275\u0275directiveInject(D.MAT_FORM_FIELD,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:Ie,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(he,ce){1&he&&c.\u0275\u0275listener("input",function(xt){return ce._onInput(xt.target.value)})("change",function(){return ce._onChange()})("blur",function(){return ce._onBlur()})("keydown",function(xt){return ce._onKeydown(xt)}),2&he&&(c.\u0275\u0275hostProperty("disabled",ce.disabled),c.\u0275\u0275attribute("aria-haspopup",ce._datepicker?"dialog":null)("aria-owns",(null==ce._datepicker?null:ce._datepicker.opened)&&ce._datepicker.id||null)("min",ce.min?ce._dateAdapter.toIso8601(ce.min):null)("max",ce.max?ce._dateAdapter.toIso8601(ce.max):null)("data-mat-calendar",ce._datepicker?ce._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([nt,He,{provide:O.MAT_INPUT_VALUE_ACCESSOR,useExisting:Ie}]),c.\u0275\u0275InheritDefinitionFeature]})}return Ie})(),At=(()=>{class Ie{static#e=this.\u0275fac=function(he){return new(he||Ie)};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:Ie,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0})}return Ie})(),en=(()=>{class Ie{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(z){this._disabled=z}constructor(z,he,ce){this._intl=z,this._changeDetectorRef=he,this._stateChanges=l.yU.EMPTY;const Ve=Number(ce);this.tabIndex=Ve||0===Ve?Ve:null}ngOnChanges(z){z.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(z){this.datepicker&&!this.disabled&&(this.datepicker.open(),z.stopPropagation())}_watchStateChanges(){const z=this.datepicker?this.datepicker.stateChanges:(0,r.of)(),he=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,r.of)(),ce=this.datepicker?(0,a.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,r.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,a.h)(this._intl.changes,z,he,ce).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(mt),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275injectAttribute("tabindex"))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:Ie,selectors:[["mat-datepicker-toggle"]],contentQueries:function(he,ce,Ve){if(1&he&&c.\u0275\u0275contentQuery(Ve,At,5),2&he){let xt;c.\u0275\u0275queryRefresh(xt=c.\u0275\u0275loadQuery())&&(ce._customIcon=xt.first)}},viewQuery:function(he,ce){if(1&he&&c.\u0275\u0275viewQuery(G,5),2&he){let Ve;c.\u0275\u0275queryRefresh(Ve=c.\u0275\u0275loadQuery())&&(ce._button=Ve.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(he,ce){1&he&&c.\u0275\u0275listener("click",function(xt){return ce._open(xt)}),2&he&&(c.\u0275\u0275attribute("tabindex",null)("data-mat-calendar",ce.datepicker?ce.datepicker.id:null),c.\u0275\u0275classProp("mat-datepicker-toggle-active",ce.datepicker&&ce.datepicker.opened)("mat-accent",ce.datepicker&&"accent"===ce.datepicker.color)("mat-warn",ce.datepicker&&"warn"===ce.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:W,decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["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,ce){1&he&&(c.\u0275\u0275projectionDef(V),c.\u0275\u0275elementStart(0,"button",1,0),c.\u0275\u0275template(2,K,2,0,":svg:svg",2),c.\u0275\u0275projection(3),c.\u0275\u0275elementEnd()),2&he&&(c.\u0275\u0275property("disabled",ce.disabled)("disableRipple",ce.disableRipple),c.\u0275\u0275attribute("aria-haspopup",ce.datepicker?"dialog":null)("aria-label",ce.ariaLabel||ce._intl.openCalendarLabel)("tabindex",ce.disabled?-1:ce.tabIndex),c.\u0275\u0275advance(2),c.\u0275\u0275conditional(2,ce._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 Ie})();function yn(Ie){return Vn(Ie,!0)}function Ln(Ie){return Ie.nodeType===Node.ELEMENT_NODE}function Vn(Ie,Tt){if(Ln(Ie)&&Tt){const he=(Ie.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((ce,Ve)=>{const xt=document.getElementById(Ve);return xt&&ce.push(xt),ce},[]);if(he.length)return he.map(ce=>Vn(ce,!1)).join(" ")}if(Ln(Ie)){const z=Ie.getAttribute("aria-label")?.trim();if(z)return z}if(function Ri(Ie){return"INPUT"===Ie.nodeName}(Ie)||function Ei(Ie){return"TEXTAREA"===Ie.nodeName}(Ie)){if(Ie.labels?.length)return Array.from(Ie.labels).map(ce=>Vn(ce,!1)).join(" ");const z=Ie.getAttribute("placeholder")?.trim();if(z)return z;const he=Ie.getAttribute("title")?.trim();if(he)return he}return(Ie.textContent||"").replace(/\s+/g," ").trim()}const st=new c.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT");let qt=(()=>{class Ie extends Je{get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(z){this._errorStateTracker.matcher=z}get errorState(){return this._errorStateTracker.errorState}set errorState(z){this._errorStateTracker.errorState=z}constructor(z,he,ce,Ve,xt,cn,hi,Gn){super(he,hi,Gn),this._rangeInput=z,this._elementRef=he,this._defaultErrorStateMatcher=ce,this._injector=Ve,this._parentForm=xt,this._parentFormGroup=cn,this._dir=(0,c.inject)(h.dS,{optional:!0}),this._errorStateTracker=new f._ErrorStateTracker(this._defaultErrorStateMatcher,null,this._parentFormGroup,this._parentForm,this.stateChanges)}ngOnInit(){const z=this._injector.get(I.NgControl,null,{optional:!0,self:!0});z&&(this.ngControl=z,this._errorStateTracker.ngControl=z)}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 z=this._elementRef.nativeElement,he=z.value;return he.length>0?he:z.placeholder}updateErrorState(){this._errorStateTracker.updateErrorState()}_onInput(z){super._onInput(z),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:z}){return z!==this._rangeInput._startInput&&z!==this._rangeInput._endInput}_assignValueProgrammatically(z){super._assignValueProgrammatically(z),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return yn(this._elementRef.nativeElement)}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(st),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.ErrorStateMatcher),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(I.NgForm,8),c.\u0275\u0275directiveInject(I.FormGroupDirective,8),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:Ie,inputs:{errorStateMatcher:"errorStateMatcher"},standalone:!0,features:[c.\u0275\u0275InheritDefinitionFeature]})}return Ie})(),Be=(()=>{class Ie extends qt{constructor(z,he,ce,Ve,xt,cn,hi,Gn){super(z,he,ce,Ve,xt,cn,hi,Gn),this._startValidator=Fn=>{const Tn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Fn.value)),ti=this._model?this._model.selection.end:null;return!Tn||!ti||this._dateAdapter.compareDate(Tn,ti)<=0?null:{matStartDateInvalid:{end:ti,actual:Tn}}},this._validator=I.Validators.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(z){return z.start}_shouldHandleChangeEvent(z){return!(!super._shouldHandleChangeEvent(z)||(z.oldValue?.start?z.selection.start&&!this._dateAdapter.compareDate(z.oldValue.start,z.selection.start):!z.selection.start))}_assignValueToModel(z){if(this._model){const he=new vt(z,this._model.selection.end);this._model.updateSelection(he,this)}}_formatValue(z){super._formatValue(z),this._rangeInput._handleChildValueChange()}_onKeydown(z){const he=this._rangeInput._endInput,ce=this._elementRef.nativeElement,Ve="rtl"!==this._dir?.value;(z.keyCode===u.LE&&Ve||z.keyCode===u.UQ&&!Ve)&&ce.selectionStart===ce.value.length&&ce.selectionEnd===ce.value.length?(z.preventDefault(),he._elementRef.nativeElement.setSelectionRange(0,0),he.focus()):super._onKeydown(z)}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(st),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.ErrorStateMatcher),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(I.NgForm,8),c.\u0275\u0275directiveInject(I.FormGroupDirective,8),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:Ie,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(he,ce){1&he&&c.\u0275\u0275listener("input",function(xt){return ce._onInput(xt.target.value)})("change",function(){return ce._onChange()})("keydown",function(xt){return ce._onKeydown(xt)})("blur",function(){return ce._onBlur()}),2&he&&(c.\u0275\u0275hostProperty("disabled",ce.disabled),c.\u0275\u0275attribute("aria-haspopup",ce._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==ce._rangeInput.rangePicker?null:ce._rangeInput.rangePicker.opened)&&ce._rangeInput.rangePicker.id||null)("min",ce._getMinDate()?ce._dateAdapter.toIso8601(ce._getMinDate()):null)("max",ce._getMaxDate()?ce._dateAdapter.toIso8601(ce._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:I.NG_VALUE_ACCESSOR,useExisting:Ie,multi:!0},{provide:I.NG_VALIDATORS,useExisting:Ie,multi:!0}]),c.\u0275\u0275InheritDefinitionFeature]})}return Ie})(),at=(()=>{class Ie extends qt{constructor(z,he,ce,Ve,xt,cn,hi,Gn){super(z,he,ce,Ve,xt,cn,hi,Gn),this._endValidator=Fn=>{const Tn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Fn.value)),ti=this._model?this._model.selection.start:null;return!Tn||!ti||this._dateAdapter.compareDate(Tn,ti)>=0?null:{matEndDateInvalid:{start:ti,actual:Tn}}},this._validator=I.Validators.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(z){return z.end}_shouldHandleChangeEvent(z){return!(!super._shouldHandleChangeEvent(z)||(z.oldValue?.end?z.selection.end&&!this._dateAdapter.compareDate(z.oldValue.end,z.selection.end):!z.selection.end))}_assignValueToModel(z){if(this._model){const he=new vt(this._model.selection.start,z);this._model.updateSelection(he,this)}}_moveCaretToEndOfStartInput(){const z=this._rangeInput._startInput._elementRef.nativeElement,he=z.value;he.length>0&&z.setSelectionRange(he.length,he.length),z.focus()}_onKeydown(z){const he=this._elementRef.nativeElement,ce="rtl"!==this._dir?.value;z.keyCode!==u.G_||he.value?(z.keyCode===u.UQ&&ce||z.keyCode===u.LE&&!ce)&&0===he.selectionStart&&0===he.selectionEnd?(z.preventDefault(),this._moveCaretToEndOfStartInput()):super._onKeydown(z):this._moveCaretToEndOfStartInput()}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(st),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(f.ErrorStateMatcher),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(I.NgForm,8),c.\u0275\u0275directiveInject(I.FormGroupDirective,8),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(f.MAT_DATE_FORMATS,8))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:Ie,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(he,ce){1&he&&c.\u0275\u0275listener("input",function(xt){return ce._onInput(xt.target.value)})("change",function(){return ce._onChange()})("keydown",function(xt){return ce._onKeydown(xt)})("blur",function(){return ce._onBlur()}),2&he&&(c.\u0275\u0275hostProperty("disabled",ce.disabled),c.\u0275\u0275attribute("aria-haspopup",ce._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==ce._rangeInput.rangePicker?null:ce._rangeInput.rangePicker.opened)&&ce._rangeInput.rangePicker.id||null)("min",ce._getMinDate()?ce._dateAdapter.toIso8601(ce._getMinDate()):null)("max",ce._getMaxDate()?ce._dateAdapter.toIso8601(ce._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[c.\u0275\u0275ProvidersFeature([{provide:I.NG_VALUE_ACCESSOR,useExisting:Ie,multi:!0},{provide:I.NG_VALIDATORS,useExisting:Ie,multi:!0}]),c.\u0275\u0275InheritDefinitionFeature]})}return Ie})(),Et=0,sn=(()=>{class Ie{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const z=this._startInput?._getPlaceholder()||"",he=this._endInput?._getPlaceholder()||"";return z||he?`${z} ${this.separator} ${he}`:""}get rangePicker(){return this._rangePicker}set rangePicker(z){z&&(this._model=z.registerInput(this),this._rangePicker=z,this._closedSubscription.unsubscribe(),this._closedSubscription=z.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(z){this._required=z}get dateFilter(){return this._dateFilter}set dateFilter(z){const he=this._startInput,ce=this._endInput,Ve=he&&he._matchesFilter(he.value),xt=ce&&ce._matchesFilter(he.value);this._dateFilter=z,he&&he._matchesFilter(he.value)!==Ve&&he._validatorOnChange(),ce&&ce._matchesFilter(ce.value)!==xt&&ce._validatorOnChange()}get min(){return this._min}set min(z){const he=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z));this._dateAdapter.sameDate(he,this._min)||(this._min=he,this._revalidate())}get max(){return this._max}set max(z){const he=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z));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(z){z!==this._groupDisabled&&(this._groupDisabled=z,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const z=!!this._startInput&&this._startInput.isEmpty(),he=!!this._endInput&&this._endInput.isEmpty();return z&&he}constructor(z,he,ce,Ve,xt){this._changeDetectorRef=z,this._elementRef=he,this._dateAdapter=Ve,this._formField=xt,this._closedSubscription=l.yU.EMPTY,this.id="mat-date-range-input-"+Et++,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.B,xt?._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=ce}setDescribedByIds(z){this._ariaDescribedBy=z.length?z.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.h)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(z){Ue(z,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(z){const he="start"===z?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 z=this._formField;return z&&z._hasFloatingLabel()?z._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(z){this.focused=null!==z,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(z){this._startInput&&this._startInput._registerModel(z),this._endInput&&this._endInput._registerModel(z)}_isTargetRequired(z){return z?.ngControl?.control?.hasValidator(I.Validators.required)}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(I.ControlContainer,10),c.\u0275\u0275directiveInject(f.DateAdapter,8),c.\u0275\u0275directiveInject(D.MAT_FORM_FIELD,8))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:Ie,selectors:[["mat-date-range-input"]],contentQueries:function(he,ce,Ve){if(1&he&&(c.\u0275\u0275contentQuery(Ve,Be,5),c.\u0275\u0275contentQuery(Ve,at,5)),2&he){let xt;c.\u0275\u0275queryRefresh(xt=c.\u0275\u0275loadQuery())&&(ce._startInput=xt.first),c.\u0275\u0275queryRefresh(xt=c.\u0275\u0275loadQuery())&&(ce._endInput=xt.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(he,ce){2&he&&(c.\u0275\u0275attribute("id",ce.id)("aria-labelledby",ce._getAriaLabelledby())("aria-describedby",ce._ariaDescribedBy)("data-mat-calendar",ce.rangePicker?ce.rangePicker.id:null),c.\u0275\u0275classProp("mat-date-range-input-hide-placeholders",ce._shouldHidePlaceholders())("mat-date-range-input-required",ce.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:D.MatFormFieldControl,useExisting:Ie},{provide:st,useExisting:Ie}]),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,ce){1&he&&(c.\u0275\u0275projectionDef(le),c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275listener("cdkFocusChange",function(xt){return ce._updateFocus(xt)}),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(ce._getInputMirrorValue("start")),c.\u0275\u0275advance(),c.\u0275\u0275classProp("mat-date-range-input-separator-hidden",ce._shouldHideSeparator()),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(ce.separator),c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate(ce._getInputMirrorValue("end")))},dependencies:[t.vR],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 Ie})(),Le=(()=>{class Ie extends ln{_forwardContentValues(z){super._forwardContentValues(z);const he=this.datepickerInput;he&&(z.comparisonStart=he.comparisonStart,z.comparisonEnd=he.comparisonEnd,z.startDateAccessibleName=he._getStartDateAccessibleName(),z.endDateAccessibleName=he._getEndDateAccessibleName())}static#e=this.\u0275fac=(()=>{let z;return function(ce){return(z||(z=c.\u0275\u0275getInheritedFactory(Ie)))(ce||Ie)}})();static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:Ie,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],standalone:!0,features:[c.\u0275\u0275ProvidersFeature([zt,un,{provide:ln,useExisting:Ie}]),c.\u0275\u0275InheritDefinitionFeature,c.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(he,ce){},encapsulation:2,changeDetection:0})}return Ie})(),ut=(()=>{class Ie{constructor(z){this._datepicker=z}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(ln))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:Ie,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(he,ce){1&he&&c.\u0275\u0275listener("click",function(){return ce._applySelection()})},standalone:!0})}return Ie})(),ot=(()=>{class Ie{constructor(z){this._datepicker=z}static#e=this.\u0275fac=function(he){return new(he||Ie)(c.\u0275\u0275directiveInject(ln))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:Ie,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(he,ce){1&he&&c.\u0275\u0275listener("click",function(){return ce._datepicker.close()})},standalone:!0})}return Ie})(),pt=(()=>{class Ie{constructor(z,he){this._datepicker=z,this._viewContainerRef=he}ngAfterViewInit(){this._portal=new C.VA(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||Ie)(c.\u0275\u0275directiveInject(ln),c.\u0275\u0275directiveInject(c.ViewContainerRef))};static#t=this.\u0275cmp=c.\u0275\u0275defineComponent({type:Ie,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(he,ce){if(1&he&&c.\u0275\u0275viewQuery(c.TemplateRef,5),2&he){let Ve;c.\u0275\u0275queryRefresh(Ve=c.\u0275\u0275loadQuery())&&(ce._template=Ve.first)}},standalone:!0,features:[c.\u0275\u0275StandaloneFeature],ngContentSelectors:U,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(he,ce){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 Ie})(),wt=(()=>{class Ie{static#e=this.\u0275fac=function(he){return new(he||Ie)};static#t=this.\u0275mod=c.\u0275\u0275defineNgModule({type:Ie});static#n=this.\u0275inj=c.\u0275\u0275defineInjector({providers:[mt,It],imports:[E.CommonModule,b.MatButtonModule,v.z_,t.Pd,C.jc,f.MatCommonModule,Kt,en,pe,s.Gj]})}return Ie})()},1997:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MatDivider:()=>E,MatDividerModule:()=>c});var t=g(4438),v=g(4085),C=g(6600);let E=(()=>{class b{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(f){this._vertical=(0,v.he)(f)}get inset(){return this._inset}set inset(f){this._inset=(0,v.he)(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})()},2102:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MAT_ERROR:()=>Ct,MAT_FORM_FIELD:()=>dn,MAT_FORM_FIELD_DEFAULT_OPTIONS:()=>hn,MAT_PREFIX:()=>We,MAT_SUFFIX:()=>xe,MatError:()=>Pe,MatFormField:()=>_e,MatFormFieldControl:()=>rt,MatFormFieldModule:()=>Ze,MatHint:()=>me,MatLabel:()=>mt,MatPrefix:()=>Fe,MatSuffix:()=>$e,getMatFormFieldDuplicatedHintError:()=>zt,getMatFormFieldMissingControlError:()=>Xt,getMatFormFieldPlaceholderConflictError:()=>Mt,matFormFieldAnimations:()=>Me});var t=g(4438),v=g(8203),C=g(6860),E=g(8359),c=g(1413),b=g(7786),s=g(6977),f=g(1985),d=g(5964),l=g(4668);class r{constructor(Rt){this._box=Rt,this._destroyed=new c.B,this._resizeSubject=new c.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(et=>this._resizeSubject.next(et)))}observe(Rt){return this._elementObservables.has(Rt)||this._elementObservables.set(Rt,new f.c(et=>{const ft=this._resizeSubject.subscribe(et);return this._resizeObserver?.observe(Rt,{box:this._box}),()=>{this._resizeObserver?.unobserve(Rt),ft.unsubscribe(),this._elementObservables.delete(Rt)}}).pipe((0,d.p)(et=>et.some(ft=>ft.target===Rt)),(0,l.t)({bufferSize:1,refCount:!0}),(0,s.Q)(this._destroyed))),this._elementObservables.get(Rt)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let u=(()=>{class Qe{constructor(){this._observers=new Map,this._ngZone=(0,t.inject)(t.NgZone)}ngOnDestroy(){for(const[,et]of this._observers)et.destroy();this._observers.clear()}observe(et,ft){const Re=ft?.box||"content-box";return this._observers.has(Re)||this._observers.set(Re,new r(Re)),this._observers.get(Re).observe(et)}static#e=this.\u0275fac=function(ft){return new(ft||Qe)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})();var h=g(4085),p=g(9969),_=g(177),y=g(2318),M=g(6600);const w=["notch"],k=["matFormFieldNotchedOutline",""],I=["*"],D=["textField"],O=["iconPrefixContainer"],T=["textPrefixContainer"],F=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],S=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function R(Qe,Rt){1&Qe&&t.\u0275\u0275element(0,"span",17)}function N(Qe,Rt){if(1&Qe&&(t.\u0275\u0275elementStart(0,"label",16),t.\u0275\u0275projection(1,1),t.\u0275\u0275template(2,R,1,0,"span",17),t.\u0275\u0275elementEnd()),2&Qe){const et=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("floating",et._shouldLabelFloat())("monitorResize",et._hasOutline())("id",et._labelId),t.\u0275\u0275attribute("for",et._control.id),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(2,!et.hideRequiredMarker&&et._control.required?2:-1)}}function A(Qe,Rt){if(1&Qe&&t.\u0275\u0275template(0,N,3,5,"label",15),2&Qe){const et=t.\u0275\u0275nextContext();t.\u0275\u0275conditional(0,et._hasFloatingLabel()?0:-1)}}function U(Qe,Rt){1&Qe&&t.\u0275\u0275element(0,"div",5)}function Y(Qe,Rt){}function ee(Qe,Rt){if(1&Qe&&t.\u0275\u0275template(0,Y,0,0,"ng-template",19),2&Qe){t.\u0275\u0275nextContext(2);const et=t.\u0275\u0275reference(1);t.\u0275\u0275property("ngTemplateOutlet",et)}}function ie(Qe,Rt){if(1&Qe&&(t.\u0275\u0275elementStart(0,"div",18),t.\u0275\u0275template(1,ee,1,1),t.\u0275\u0275elementEnd()),2&Qe){const et=t.\u0275\u0275nextContext();t.\u0275\u0275property("matFormFieldNotchedOutlineOpen",et._shouldLabelFloat()),t.\u0275\u0275advance(),t.\u0275\u0275conditional(1,et._forceDisplayInfixLabel()?-1:1)}}function $(Qe,Rt){1&Qe&&(t.\u0275\u0275elementStart(0,"div",8,2),t.\u0275\u0275projection(2,2),t.\u0275\u0275elementEnd())}function j(Qe,Rt){1&Qe&&(t.\u0275\u0275elementStart(0,"div",9,3),t.\u0275\u0275projection(2,3),t.\u0275\u0275elementEnd())}function G(Qe,Rt){}function V(Qe,Rt){if(1&Qe&&t.\u0275\u0275template(0,G,0,0,"ng-template",19),2&Qe){t.\u0275\u0275nextContext();const et=t.\u0275\u0275reference(1);t.\u0275\u0275property("ngTemplateOutlet",et)}}function W(Qe,Rt){1&Qe&&(t.\u0275\u0275elementStart(0,"div",11),t.\u0275\u0275projection(1,4),t.\u0275\u0275elementEnd())}function K(Qe,Rt){1&Qe&&(t.\u0275\u0275elementStart(0,"div",12),t.\u0275\u0275projection(1,5),t.\u0275\u0275elementEnd())}function le(Qe,Rt){1&Qe&&t.\u0275\u0275element(0,"div",13)}function ue(Qe,Rt){if(1&Qe&&(t.\u0275\u0275elementStart(0,"div",20),t.\u0275\u0275projection(1,6),t.\u0275\u0275elementEnd()),2&Qe){const et=t.\u0275\u0275nextContext();t.\u0275\u0275property("@transitionMessages",et._subscriptAnimationState)}}function ve(Qe,Rt){if(1&Qe&&(t.\u0275\u0275elementStart(0,"mat-hint",23),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&Qe){const et=t.\u0275\u0275nextContext(2);t.\u0275\u0275property("id",et._hintLabelId),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate(et.hintLabel)}}function Ye(Qe,Rt){if(1&Qe&&(t.\u0275\u0275elementStart(0,"div",21),t.\u0275\u0275template(1,ve,2,2,"mat-hint"),t.\u0275\u0275projection(2,7),t.\u0275\u0275element(3,"div",22),t.\u0275\u0275projection(4,8),t.\u0275\u0275elementEnd()),2&Qe){const et=t.\u0275\u0275nextContext();t.\u0275\u0275property("@transitionMessages",et._subscriptAnimationState),t.\u0275\u0275advance(),t.\u0275\u0275conditional(1,et.hintLabel?1:-1)}}let mt=(()=>{class Qe{static#e=this.\u0275fac=function(ft){return new(ft||Qe)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Qe,selectors:[["mat-label"]],standalone:!0})}return Qe})(),ct=0;const Ct=new t.InjectionToken("MatError");let Pe=(()=>{class Qe{constructor(et,ft){this.id="mat-mdc-error-"+ct++,et||ft.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(ft){return new(ft||Qe)(t.\u0275\u0275injectAttribute("aria-live"),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Qe,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(ft,Re){2&ft&&t.\u0275\u0275hostProperty("id",Re.id)},inputs:{id:"id"},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ct,useExisting:Qe}])]})}return Qe})(),Ae=0,me=(()=>{class Qe{constructor(){this.align="start",this.id="mat-mdc-hint-"+Ae++}static#e=this.\u0275fac=function(ft){return new(ft||Qe)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Qe,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(ft,Re){2&ft&&(t.\u0275\u0275hostProperty("id",Re.id),t.\u0275\u0275attribute("align",null),t.\u0275\u0275classProp("mat-mdc-form-field-hint-end","end"===Re.align))},inputs:{align:"align",id:"id"},standalone:!0})}return Qe})();const We=new t.InjectionToken("MatPrefix");let Fe=(()=>{class Qe{constructor(){this._isText=!1}set _isTextSelector(et){this._isText=!0}static#e=this.\u0275fac=function(ft){return new(ft||Qe)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Qe,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[t.\u0275\u0275InputFlags.None,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:We,useExisting:Qe}])]})}return Qe})();const xe=new t.InjectionToken("MatSuffix");let $e=(()=>{class Qe{constructor(){this._isText=!1}set _isTextSelector(et){this._isText=!0}static#e=this.\u0275fac=function(ft){return new(ft||Qe)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Qe,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[t.\u0275\u0275InputFlags.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:xe,useExisting:Qe}])]})}return Qe})();const q=new t.InjectionToken("FloatingLabelParent");let ge=(()=>{class Qe{get floating(){return this._floating}set floating(et){this._floating=et,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(et){this._monitorResize=et,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(et){this._elementRef=et,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.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Oe(Qe){if(null!==Qe.offsetParent)return Qe.scrollWidth;const et=Qe.cloneNode(!0);et.style.setProperty("position","absolute"),et.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(et);const ft=et.scrollWidth;return et.remove(),ft}(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(ft){return new(ft||Qe)(t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Qe,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(ft,Re){2&ft&&t.\u0275\u0275classProp("mdc-floating-label--float-above",Re.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return Qe})();const vt="mdc-line-ripple--active",it="mdc-line-ripple--deactivating";let we=(()=>{class Qe{constructor(et,ft){this._elementRef=et,this._handleTransitionEnd=Re=>{const pe=this._elementRef.nativeElement.classList,Ke=pe.contains(it);"opacity"===Re.propertyName&&Ke&&pe.remove(vt,it)},ft.runOutsideAngular(()=>{et.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const et=this._elementRef.nativeElement.classList;et.remove(it),et.add(vt)}deactivate(){this._elementRef.nativeElement.classList.add(it)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(ft){return new(ft||Qe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Qe,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return Qe})(),Ge=(()=>{class Qe{constructor(et,ft){this._elementRef=et,this._ngZone=ft,this.open=!1}ngAfterViewInit(){const et=this._elementRef.nativeElement.querySelector(".mdc-floating-label");et?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(et.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>et.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(et){this._notch.nativeElement.style.width=this.open&&et?`calc(${et}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(ft){return new(ft||Qe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.NgZone))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Qe,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(ft,Re){if(1&ft&&t.\u0275\u0275viewQuery(w,5),2&ft){let pe;t.\u0275\u0275queryRefresh(pe=t.\u0275\u0275loadQuery())&&(Re._notch=pe.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(ft,Re){2&ft&&t.\u0275\u0275classProp("mdc-notched-outline--notched",Re.open)},inputs:{open:[t.\u0275\u0275InputFlags.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[t.\u0275\u0275StandaloneFeature],attrs:k,ngContentSelectors:I,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(ft,Re){1&ft&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275element(0,"div",1),t.\u0275\u0275elementStart(1,"div",2,0),t.\u0275\u0275projection(3),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(4,"div",3))},encapsulation:2,changeDetection:0})}return Qe})();const Me={transitionMessages:(0,p.hZ)("transitionMessages",[(0,p.wk)("enter",(0,p.iF)({opacity:1,transform:"translateY(0%)"})),(0,p.kY)("void => enter",[(0,p.iF)({opacity:0,transform:"translateY(-5px)"}),(0,p.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let rt=(()=>{class Qe{static#e=this.\u0275fac=function(ft){return new(ft||Qe)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:Qe})}return Qe})();function Mt(){return Error("Placeholder attribute and child element were both specified.")}function zt(Qe){return Error(`A hint was already declared for 'align="${Qe}"'.`)}function Xt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const dn=new t.InjectionToken("MatFormField"),hn=new t.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let un=0,_e=(()=>{class Qe{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(et){this._hideRequiredMarker=(0,h.he)(et)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(et){et!==this._floatLabel&&(this._floatLabel=et,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(et){const ft=this._appearance;this._appearance=et||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==ft&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(et){this._subscriptSizing=et||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(et){this._hintLabel=et,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(et){this._explicitFormFieldControl=et}constructor(et,ft,Re,pe,Ke,te,de,Se){this._elementRef=et,this._changeDetectorRef=ft,this._ngZone=Re,this._dir=pe,this._platform=Ke,this._defaults=te,this._animationMode=de,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-"+un++,this._hintLabelId="mat-mdc-hint-"+un++,this._subscriptAnimationState="",this._destroyed=new c.B,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 et=this._control;et.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${et.controlType}`),et.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),et.ngControl&&et.ngControl.valueChanges&&et.ngControl.valueChanges.pipe((0,s.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(et=>!et._isText),this._hasTextPrefix=!!this._prefixChildren.find(et=>et._isText),this._hasIconSuffix=!!this._suffixChildren.find(et=>!et._isText),this._hasTextSuffix=!!this._suffixChildren.find(et=>et._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,b.h)(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.Q)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,s.Q)(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(et){const ft=this._control?this._control.ngControl:null;return ft&&ft[et]}_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 et=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&et.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const ft=this._hintChildren?this._hintChildren.find(pe=>"start"===pe.align):null,Re=this._hintChildren?this._hintChildren.find(pe=>"end"===pe.align):null;ft?et.push(ft.id):this._hintLabel&&et.push(this._hintLabelId),Re&&et.push(Re.id)}else this._errorChildren&&et.push(...this._errorChildren.map(ft=>ft.id));this._control.setDescribedByIds(et)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const et=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(et.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const ft=this._iconPrefixContainer?.nativeElement,Re=this._textPrefixContainer?.nativeElement,pe=ft?.getBoundingClientRect().width??0,Ke=Re?.getBoundingClientRect().width??0;et.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${pe+Ke}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const et=this._elementRef.nativeElement;if(et.getRootNode){const ft=et.getRootNode();return ft&&ft!==et}return document.documentElement.contains(et)}static#e=this.\u0275fac=function(ft){return new(ft||Qe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(v.dS),t.\u0275\u0275directiveInject(C.OD),t.\u0275\u0275directiveInject(hn,8),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8),t.\u0275\u0275directiveInject(_.DOCUMENT))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:Qe,selectors:[["mat-form-field"]],contentQueries:function(ft,Re,pe){if(1&ft&&(t.\u0275\u0275contentQuery(pe,mt,5),t.\u0275\u0275contentQuery(pe,mt,7),t.\u0275\u0275contentQuery(pe,rt,5),t.\u0275\u0275contentQuery(pe,We,5),t.\u0275\u0275contentQuery(pe,xe,5),t.\u0275\u0275contentQuery(pe,Ct,5),t.\u0275\u0275contentQuery(pe,me,5)),2&ft){let Ke;t.\u0275\u0275queryRefresh(Ke=t.\u0275\u0275loadQuery())&&(Re._labelChildNonStatic=Ke.first),t.\u0275\u0275queryRefresh(Ke=t.\u0275\u0275loadQuery())&&(Re._labelChildStatic=Ke.first),t.\u0275\u0275queryRefresh(Ke=t.\u0275\u0275loadQuery())&&(Re._formFieldControl=Ke.first),t.\u0275\u0275queryRefresh(Ke=t.\u0275\u0275loadQuery())&&(Re._prefixChildren=Ke),t.\u0275\u0275queryRefresh(Ke=t.\u0275\u0275loadQuery())&&(Re._suffixChildren=Ke),t.\u0275\u0275queryRefresh(Ke=t.\u0275\u0275loadQuery())&&(Re._errorChildren=Ke),t.\u0275\u0275queryRefresh(Ke=t.\u0275\u0275loadQuery())&&(Re._hintChildren=Ke)}},viewQuery:function(ft,Re){if(1&ft&&(t.\u0275\u0275viewQuery(D,5),t.\u0275\u0275viewQuery(O,5),t.\u0275\u0275viewQuery(T,5),t.\u0275\u0275viewQuery(ge,5),t.\u0275\u0275viewQuery(Ge,5),t.\u0275\u0275viewQuery(we,5)),2&ft){let pe;t.\u0275\u0275queryRefresh(pe=t.\u0275\u0275loadQuery())&&(Re._textField=pe.first),t.\u0275\u0275queryRefresh(pe=t.\u0275\u0275loadQuery())&&(Re._iconPrefixContainer=pe.first),t.\u0275\u0275queryRefresh(pe=t.\u0275\u0275loadQuery())&&(Re._textPrefixContainer=pe.first),t.\u0275\u0275queryRefresh(pe=t.\u0275\u0275loadQuery())&&(Re._floatingLabel=pe.first),t.\u0275\u0275queryRefresh(pe=t.\u0275\u0275loadQuery())&&(Re._notchedOutline=pe.first),t.\u0275\u0275queryRefresh(pe=t.\u0275\u0275loadQuery())&&(Re._lineRipple=pe.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(ft,Re){2&ft&&t.\u0275\u0275classProp("mat-mdc-form-field-label-always-float",Re._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Re._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Re._hasIconSuffix)("mat-form-field-invalid",Re._control.errorState)("mat-form-field-disabled",Re._control.disabled)("mat-form-field-autofilled",Re._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Re._animationMode)("mat-form-field-appearance-fill","fill"==Re.appearance)("mat-form-field-appearance-outline","outline"==Re.appearance)("mat-form-field-hide-placeholder",Re._hasFloatingLabel()&&!Re._shouldLabelFloat())("mat-focused",Re._control.focused)("mat-primary","accent"!==Re.color&&"warn"!==Re.color)("mat-accent","accent"===Re.color)("mat-warn","warn"===Re.color)("ng-untouched",Re._shouldForward("untouched"))("ng-touched",Re._shouldForward("touched"))("ng-pristine",Re._shouldForward("pristine"))("ng-dirty",Re._shouldForward("dirty"))("ng-valid",Re._shouldForward("valid"))("ng-invalid",Re._shouldForward("invalid"))("ng-pending",Re._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:dn,useExisting:Qe},{provide:q,useExisting:Qe}]),t.\u0275\u0275StandaloneFeature],ngContentSelectors:S,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline",""],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel",""],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(ft,Re){if(1&ft){const pe=t.\u0275\u0275getCurrentView();t.\u0275\u0275projectionDef(F),t.\u0275\u0275template(0,A,1,1,"ng-template",null,0,t.\u0275\u0275templateRefExtractor),t.\u0275\u0275elementStart(2,"div",4,1),t.\u0275\u0275listener("click",function(te){return t.\u0275\u0275restoreView(pe),t.\u0275\u0275resetView(Re._control.onContainerClick(te))}),t.\u0275\u0275template(4,U,1,0,"div",5),t.\u0275\u0275elementStart(5,"div",6),t.\u0275\u0275template(6,ie,2,2,"div",7)(7,$,3,0,"div",8)(8,j,3,0,"div",9),t.\u0275\u0275elementStart(9,"div",10),t.\u0275\u0275template(10,V,1,1),t.\u0275\u0275projection(11),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(12,W,2,0,"div",11)(13,K,2,0,"div",12),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(14,le,1,0,"div",13),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(15,"div",14),t.\u0275\u0275template(16,ue,2,1)(17,Ye,5,2),t.\u0275\u0275elementEnd()}if(2&ft){let pe;t.\u0275\u0275advance(2),t.\u0275\u0275classProp("mdc-text-field--filled",!Re._hasOutline())("mdc-text-field--outlined",Re._hasOutline())("mdc-text-field--no-label",!Re._hasFloatingLabel())("mdc-text-field--disabled",Re._control.disabled)("mdc-text-field--invalid",Re._control.errorState),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(4,Re._hasOutline()||Re._control.disabled?-1:4),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(6,Re._hasOutline()?6:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(7,Re._hasIconPrefix?7:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(8,Re._hasTextPrefix?8:-1),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(10,!Re._hasOutline()||Re._forceDisplayInfixLabel()?10:-1),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(12,Re._hasTextSuffix?12:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(13,Re._hasIconSuffix?13:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(14,Re._hasOutline()?-1:14),t.\u0275\u0275advance(),t.\u0275\u0275classProp("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Re.subscriptSizing),t.\u0275\u0275advance(),t.\u0275\u0275conditional(16,"error"===(pe=Re._getDisplayedMessages())?16:"hint"===pe?17:-1)}},dependencies:[ge,Ge,_.NgTemplateOutlet,we,me],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;will-change:auto}.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;will-change: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%;z-index:0}.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:[Me.transitionMessages]},changeDetection:0})}return Qe})(),Ze=(()=>{class Qe{static#e=this.\u0275fac=function(ft){return new(ft||Qe)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:Qe});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[M.MatCommonModule,_.CommonModule,y.w5,M.MatCommonModule]})}return Qe})()},9213:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{ICON_REGISTRY_PROVIDER:()=>R,ICON_REGISTRY_PROVIDER_FACTORY:()=>S,MAT_ICON_DEFAULT_OPTIONS:()=>Y,MAT_ICON_LOCATION:()=>ee,MAT_ICON_LOCATION_FACTORY:()=>ie,MatIcon:()=>V,MatIconModule:()=>W,MatIconRegistry:()=>F,getMatIconFailedToSanitizeLiteralError:()=>O,getMatIconFailedToSanitizeUrlError:()=>D,getMatIconNameNotFoundError:()=>k,getMatIconNoHttpProviderError:()=>I});var t=g(4438),v=g(6600),C=g(177),E=g(7673),c=g(8810),b=g(7468),s=g(8359),f=g(8141),d=g(6354),l=g(9437),a=g(980),r=g(7647),u=g(6697),h=g(1626),p=g(345);const _=["*"];let y;function w(K){return function M(){if(void 0===y&&(y=null,typeof window<"u")){const K=window;void 0!==K.trustedTypes&&(y=K.trustedTypes.createPolicy("angular#components",{createHTML:le=>le}))}return y}()?.createHTML(K)||K}function k(K){return Error(`Unable to find icon with the name "${K}"`)}function I(){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 D(K){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${K}".`)}function O(K){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${K}".`)}class T{constructor(le,ue,ve){this.url=le,this.svgText=ue,this.options=ve}}let F=(()=>{class K{constructor(ue,ve,Ye,mt){this._httpClient=ue,this._sanitizer=ve,this._errorHandler=mt,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=Ye}addSvgIcon(ue,ve,Ye){return this.addSvgIconInNamespace("",ue,ve,Ye)}addSvgIconLiteral(ue,ve,Ye){return this.addSvgIconLiteralInNamespace("",ue,ve,Ye)}addSvgIconInNamespace(ue,ve,Ye,mt){return this._addSvgIconConfig(ue,ve,new T(Ye,null,mt))}addSvgIconResolver(ue){return this._resolvers.push(ue),this}addSvgIconLiteralInNamespace(ue,ve,Ye,mt){const ct=this._sanitizer.sanitize(t.SecurityContext.HTML,Ye);if(!ct)throw O(Ye);const Ct=w(ct);return this._addSvgIconConfig(ue,ve,new T("",Ct,mt))}addSvgIconSet(ue,ve){return this.addSvgIconSetInNamespace("",ue,ve)}addSvgIconSetLiteral(ue,ve){return this.addSvgIconSetLiteralInNamespace("",ue,ve)}addSvgIconSetInNamespace(ue,ve,Ye){return this._addSvgIconSetConfig(ue,new T(ve,null,Ye))}addSvgIconSetLiteralInNamespace(ue,ve,Ye){const mt=this._sanitizer.sanitize(t.SecurityContext.HTML,ve);if(!mt)throw O(ve);const ct=w(mt);return this._addSvgIconSetConfig(ue,new T("",ct,Ye))}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 D(ue);const Ye=this._cachedIconsByUrl.get(ve);return Ye?(0,E.of)(N(Ye)):this._loadSvgIconFromConfig(new T(ue,null)).pipe((0,f.M)(mt=>this._cachedIconsByUrl.set(ve,mt)),(0,d.T)(mt=>N(mt)))}getNamedSvgIcon(ue,ve=""){const Ye=A(ve,ue);let mt=this._svgIconConfigs.get(Ye);if(mt)return this._getSvgFromConfig(mt);if(mt=this._getIconConfigFromResolvers(ve,ue),mt)return this._svgIconConfigs.set(Ye,mt),this._getSvgFromConfig(mt);const ct=this._iconSetConfigs.get(ve);return ct?this._getSvgFromIconSetConfigs(ue,ct):(0,c.$)(k(Ye))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ue){return ue.svgText?(0,E.of)(N(this._svgElementFromConfig(ue))):this._loadSvgIconFromConfig(ue).pipe((0,d.T)(ve=>N(ve)))}_getSvgFromIconSetConfigs(ue,ve){const Ye=this._extractIconWithNameFromAnySet(ue,ve);if(Ye)return(0,E.of)(Ye);const mt=ve.filter(ct=>!ct.svgText).map(ct=>this._loadSvgIconSetFromConfig(ct).pipe((0,l.W)(Ct=>{const Ae=`Loading icon set URL: ${this._sanitizer.sanitize(t.SecurityContext.RESOURCE_URL,ct.url)} failed: ${Ct.message}`;return this._errorHandler.handleError(new Error(Ae)),(0,E.of)(null)})));return(0,b.p)(mt).pipe((0,d.T)(()=>{const ct=this._extractIconWithNameFromAnySet(ue,ve);if(!ct)throw k(ue);return ct}))}_extractIconWithNameFromAnySet(ue,ve){for(let Ye=ve.length-1;Ye>=0;Ye--){const mt=ve[Ye];if(mt.svgText&&mt.svgText.toString().indexOf(ue)>-1){const ct=this._svgElementFromConfig(mt),Ct=this._extractSvgIconFromSet(ct,ue,mt.options);if(Ct)return Ct}}return null}_loadSvgIconFromConfig(ue){return this._fetchIcon(ue).pipe((0,f.M)(ve=>ue.svgText=ve),(0,d.T)(()=>this._svgElementFromConfig(ue)))}_loadSvgIconSetFromConfig(ue){return ue.svgText?(0,E.of)(null):this._fetchIcon(ue).pipe((0,f.M)(ve=>ue.svgText=ve))}_extractSvgIconFromSet(ue,ve,Ye){const mt=ue.querySelector(`[id="${ve}"]`);if(!mt)return null;const ct=mt.cloneNode(!0);if(ct.removeAttribute("id"),"svg"===ct.nodeName.toLowerCase())return this._setSvgAttributes(ct,Ye);if("symbol"===ct.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ct),Ye);const Ct=this._svgElementFromString(w(""));return Ct.appendChild(ct),this._setSvgAttributes(Ct,Ye)}_svgElementFromString(ue){const ve=this._document.createElement("DIV");ve.innerHTML=ue;const Ye=ve.querySelector("svg");if(!Ye)throw Error(" tag not found");return Ye}_toSvgElement(ue){const ve=this._svgElementFromString(w("")),Ye=ue.attributes;for(let mt=0;mtw(Ae)),(0,a.j)(()=>this._inProgressUrlFetches.delete(ct)),(0,r.u)());return this._inProgressUrlFetches.set(ct,Pe),Pe}_addSvgIconConfig(ue,ve,Ye){return this._svgIconConfigs.set(A(ue,ve),Ye),this}_addSvgIconSetConfig(ue,ve){const Ye=this._iconSetConfigs.get(ue);return Ye?Ye.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 Ye=0;Yele?le.pathname+le.search:""}}const $=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],j=$.map(K=>`[${K}]`).join(", "),G=/^url\(['"]?#(.*?)['"]?\)$/;let V=(()=>{class K{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,Ye,mt,ct,Ct){this._elementRef=ue,this._iconRegistry=ve,this._location=mt,this._errorHandler=ct,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=s.yU.EMPTY,Ct&&(Ct.color&&(this.color=this._defaultColor=Ct.color),Ct.fontSet&&(this.fontSet=Ct.fontSet)),Ye||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 Ye=ue.childNodes[ve];(1!==Ye.nodeType||"svg"===Ye.nodeName.toLowerCase())&&Ye.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ue=this._elementRef.nativeElement,ve=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ye=>Ye.length>0);this._previousFontSetClass.forEach(Ye=>ue.classList.remove(Ye)),ve.forEach(Ye=>ue.classList.add(Ye)),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((Ye,mt)=>{Ye.forEach(ct=>{mt.setAttribute(ct.name,`url('${ue}#${ct.value}')`)})})}_cacheChildrenWithExternalReferences(ue){const ve=ue.querySelectorAll(j),Ye=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let mt=0;mt{const Ct=ve[mt],Pe=Ct.getAttribute(ct),Ae=Pe?Pe.match(G):null;if(Ae){let me=Ye.get(Ct);me||(me=[],Ye.set(Ct,me)),me.push({name:ct,value:Ae[1]})}})}_updateSvgIcon(ue){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ue){const[ve,Ye]=this._splitIconName(ue);ve&&(this._svgNamespace=ve),Ye&&(this._svgName=Ye),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ye,ve).pipe((0,u.s)(1)).subscribe(mt=>this._setSvgElement(mt),mt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ve}:${Ye}! ${mt.message}`))})}}static#e=this.\u0275fac=function(ve){return new(ve||K)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(F),t.\u0275\u0275injectAttribute("aria-hidden"),t.\u0275\u0275directiveInject(ee),t.\u0275\u0275directiveInject(t.ErrorHandler),t.\u0275\u0275directiveInject(Y,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:K,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(ve,Ye){2&ve&&(t.\u0275\u0275attribute("data-mat-icon-type",Ye._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ye._svgName||Ye.fontIcon)("data-mat-icon-namespace",Ye._svgNamespace||Ye.fontSet)("fontIcon",Ye._usingFontIcon()?Ye.fontIcon:null),t.\u0275\u0275classMap(Ye.color?"mat-"+Ye.color:""),t.\u0275\u0275classProp("mat-icon-inline",Ye.inline)("mat-icon-no-color","primary"!==Ye.color&&"accent"!==Ye.color&&"warn"!==Ye.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,Ye){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 K})(),W=(()=>{class K{static#e=this.\u0275fac=function(ve){return new(ve||K)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:K});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[v.MatCommonModule,v.MatCommonModule]})}return K})()},9631:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{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(4085),v=g(6860),C=g(4438),E=g(983),c=g(1413);const b=(0,v.BQ)({passive:!0});let s=(()=>{class k{constructor(D,O){this._platform=D,this._ngZone=O,this._monitoredElements=new Map}monitor(D){if(!this._platform.isBrowser)return E.w;const O=(0,t.i8)(D),T=this._monitoredElements.get(O);if(T)return T.subject;const F=new c.B,S="cdk-text-field-autofilled",R=N=>{"cdk-text-field-autofill-start"!==N.animationName||O.classList.contains(S)?"cdk-text-field-autofill-end"===N.animationName&&O.classList.contains(S)&&(O.classList.remove(S),this._ngZone.run(()=>F.next({target:N.target,isAutofilled:!1}))):(O.classList.add(S),this._ngZone.run(()=>F.next({target:N.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{O.addEventListener("animationstart",R,b),O.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(O,{subject:F,unlisten:()=>{O.removeEventListener("animationstart",R,b)}}),F}stopMonitoring(D){const O=(0,t.i8)(D),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((D,O)=>this.stopMonitoring(O))}static#e=this.\u0275fac=function(O){return new(O||k)(C.\u0275\u0275inject(v.OD),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(9417),r=g(6600),u=g(2102);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(D){this._disabled=(0,t.he)(D),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(D){this._id=D||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(a.Validators.required)??!1}set required(D){this._required=(0,t.he)(D)}get type(){return this._type}set type(D){this._type=D||"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(D){this._errorStateTracker.matcher=D}get value(){return this._inputValueAccessor.value}set value(D){D!==this.value&&(this._inputValueAccessor.value=D,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(D){this._readonly=(0,t.he)(D)}get errorState(){return this._errorStateTracker.errorState}set errorState(D){this._errorStateTracker.errorState=D}constructor(D,O,T,F,S,R,N,A,U,Y){this._elementRef=D,this._platform=O,this.ngControl=T,this._autofillMonitor=A,this._formField=Y,this._uid="mat-input-"+y++,this.focused=!1,this.stateChanges=new c.B,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($=>(0,v.MU)().has($)),this._iOSKeyupListener=$=>{const j=$.target;!j.value&&0===j.selectionStart&&0===j.selectionEnd&&(j.setSelectionRange(1,1),j.setSelectionRange(0,0))};const ee=this._elementRef.nativeElement,ie=ee.nodeName.toLowerCase();this._inputValueAccessor=N||ee,this._previousNativeValue=this.value,this.id=this.id,O.IOS&&U.runOutsideAngular(()=>{D.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new r._ErrorStateTracker(R,T,S,F,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ie,this._isTextarea="textarea"===ie,this._isInFormField=!!Y,this._isNativeSelect&&(this.controlType=ee.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(D=>{this.autofilled=D.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(D){this._elementRef.nativeElement.focus(D)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(D){D!==this.focused&&(this.focused=D,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const D=this._elementRef.nativeElement.value;this._previousNativeValue!==D&&(this._previousNativeValue=D,this.stateChanges.next())}_dirtyCheckPlaceholder(){const D=this._getPlaceholder();if(D!==this._previousPlaceholder){const O=this._elementRef.nativeElement;this._previousPlaceholder=D,D?O.setAttribute("placeholder",D):O.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){_.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let D=this._elementRef.nativeElement.validity;return D&&D.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const D=this._elementRef.nativeElement,O=D.options[0];return this.focused||D.multiple||!this.empty||!!(D.selectedIndex>-1&&O&&O.label)}return this.focused||!this.empty}setDescribedByIds(D){D.length?this._elementRef.nativeElement.setAttribute("aria-describedby",D.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const D=this._elementRef.nativeElement;return this._isNativeSelect&&(D.multiple||D.size>1)}static#e=this.\u0275fac=function(O){return new(O||k)(C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(v.OD),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})()},9115:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MAT_MENU_CONTENT:()=>$,MAT_MENU_DEFAULT_OPTIONS:()=>le,MAT_MENU_PANEL:()=>A,MAT_MENU_SCROLL_STRATEGY:()=>Ye,MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>ct,MENU_PANEL_TOP_PADDING:()=>Pe,MatMenu:()=>ve,MatMenuContent:()=>j,MatMenuItem:()=>U,MatMenuModule:()=>me,MatMenuTrigger:()=>Ae,fadeInItems:()=>V,matMenuAnimations:()=>G,transformMenu:()=>W});var t=g(4438),v=g(6039),C=g(7336),E=g(1413),c=g(7786),b=g(8359),s=g(7673),f=g(5007),d=g(9172),l=g(5558),a=g(6697),r=g(6977),u=g(5964),h=g(3103),p=g(177),_=g(6600),y=g(6939),M=g(9969),w=g(8203),k=g(7987),I=g(6860),D=g(5478);const O=["mat-menu-item",""],T=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],F=["mat-icon, [matMenuItemIcon]","*"];function S(We,Fe){1&We&&(t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(0,"svg",2),t.\u0275\u0275element(1,"polygon",3),t.\u0275\u0275elementEnd())}const R=["*"];function N(We,Fe){if(1&We){const xe=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",0),t.\u0275\u0275listener("keydown",function(q){t.\u0275\u0275restoreView(xe);const ge=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(ge._handleKeydown(q))})("click",function(){t.\u0275\u0275restoreView(xe);const q=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(q.closed.emit("click"))})("@transformMenu.start",function(q){t.\u0275\u0275restoreView(xe);const ge=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(ge._onAnimationStart(q))})("@transformMenu.done",function(q){t.\u0275\u0275restoreView(xe);const ge=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(ge._onAnimationDone(q))}),t.\u0275\u0275elementStart(1,"div",1),t.\u0275\u0275projection(2),t.\u0275\u0275elementEnd()()}if(2&We){const xe=t.\u0275\u0275nextContext();t.\u0275\u0275property("id",xe.panelId)("ngClass",xe._classList)("@transformMenu",xe._panelAnimationState),t.\u0275\u0275attribute("aria-label",xe.ariaLabel||null)("aria-labelledby",xe.ariaLabelledby||null)("aria-describedby",xe.ariaDescribedby||null)}}const A=new t.InjectionToken("MAT_MENU_PANEL");let U=(()=>{class We{constructor(xe,$e,q,ge,Oe){this._elementRef=xe,this._document=$e,this._focusMonitor=q,this._parentMenu=ge,this._changeDetectorRef=Oe,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new E.B,this._focused=new E.B,this._highlighted=!1,this._triggersSubmenu=!1,ge?.addItem?.(this)}focus(xe,$e){this._focusMonitor&&xe?this._focusMonitor.focusVia(this._getHostElement(),xe,$e):this._getHostElement().focus($e),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(xe){this.disabled&&(xe.preventDefault(),xe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const xe=this._elementRef.nativeElement.cloneNode(!0),$e=xe.querySelectorAll("mat-icon, .material-icons");for(let q=0;q<$e.length;q++)$e[q].remove();return xe.textContent?.trim()||""}_setHighlighted(xe){this._highlighted=xe,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(xe){this._triggersSubmenu=xe,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function($e){return new($e||We)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(p.DOCUMENT),t.\u0275\u0275directiveInject(v.FN),t.\u0275\u0275directiveInject(A,8),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:We,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function($e,q){1&$e&&t.\u0275\u0275listener("click",function(Oe){return q._checkDisabled(Oe)})("mouseenter",function(){return q._handleMouseEnter()}),2&$e&&(t.\u0275\u0275attribute("role",q.role)("tabindex",q._getTabIndex())("aria-disabled",q.disabled)("disabled",q.disabled||null),t.\u0275\u0275classProp("mat-mdc-menu-item-highlighted",q._highlighted)("mat-mdc-menu-item-submenu-trigger",q._triggersSubmenu))},inputs:{role:"role",disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute],disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute]},exportAs:["matMenuItem"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],attrs:O,ngContentSelectors:F,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function($e,q){1&$e&&(t.\u0275\u0275projectionDef(T),t.\u0275\u0275projection(0),t.\u0275\u0275elementStart(1,"span",0),t.\u0275\u0275projection(2,1),t.\u0275\u0275elementEnd(),t.\u0275\u0275element(3,"div",1),t.\u0275\u0275template(4,S,2,0,":svg:svg",2)),2&$e&&(t.\u0275\u0275advance(3),t.\u0275\u0275property("matRippleDisabled",q.disableRipple||q.disabled)("matRippleTrigger",q._getHostElement()),t.\u0275\u0275advance(),t.\u0275\u0275conditional(4,q._triggersSubmenu?4:-1))},dependencies:[_.MatRipple],encapsulation:2,changeDetection:0})}return We})();const $=new t.InjectionToken("MatMenuContent");let j=(()=>{class We{constructor(xe,$e,q,ge,Oe,vt,it){this._template=xe,this._componentFactoryResolver=$e,this._appRef=q,this._injector=ge,this._viewContainerRef=Oe,this._document=vt,this._changeDetectorRef=it,this._attached=new E.B}attach(xe={}){this._portal||(this._portal=new y.VA(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new y.aI(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const $e=this._template.elementRef.nativeElement;$e.parentNode.insertBefore(this._outlet.outletElement,$e),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,xe),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}static#e=this.\u0275fac=function($e){return new($e||We)(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:We,selectors:[["ng-template","matMenuContent",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:$,useExisting:We}])]})}return We})();const G={transformMenu:(0,M.hZ)("transformMenu",[(0,M.wk)("void",(0,M.iF)({opacity:0,transform:"scale(0.8)"})),(0,M.kY)("void => enter",(0,M.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,M.iF)({opacity:1,transform:"scale(1)"}))),(0,M.kY)("* => void",(0,M.i0)("100ms 25ms linear",(0,M.iF)({opacity:0})))]),fadeInItems:(0,M.hZ)("fadeInItems",[(0,M.wk)("showing",(0,M.iF)({opacity:1})),(0,M.kY)("void => *",[(0,M.iF)({opacity:0}),(0,M.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},V=G.fadeInItems,W=G.transformMenu;let K=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 We{get xPosition(){return this._xPosition}set xPosition(xe){this._xPosition=xe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(xe){this._yPosition=xe,this.setPositionClasses()}set panelClass(xe){const $e=this._previousPanelClass;$e&&$e.length&&$e.split(" ").forEach(q=>{this._classList[q]=!1}),this._previousPanelClass=xe,xe&&xe.length&&(xe.split(" ").forEach(q=>{this._classList[q]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(xe){this.panelClass=xe}constructor(xe,$e,q,ge){this._elementRef=xe,this._ngZone=$e,this._changeDetectorRef=ge,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new t.QueryList,this._classList={},this._panelAnimationState="void",this._animationDone=new E.B,this.closed=new t.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+K++,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.Bu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,d.Z)(this._directDescendantItems),(0,l.n)(xe=>(0,c.h)(...xe.map($e=>$e._focused)))).subscribe(xe=>this._keyManager.updateActiveItem(xe)),this._directDescendantItems.changes.subscribe(xe=>{const $e=this._keyManager;if("enter"===this._panelAnimationState&&$e.activeItem?._hasFocus()){const q=xe.toArray(),ge=Math.max(0,Math.min(q.length-1,$e.activeItemIndex||0));q[ge]&&!q[ge].disabled?$e.setActiveItem(ge):$e.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,d.Z)(this._directDescendantItems),(0,l.n)($e=>(0,c.h)(...$e.map(q=>q._hovered))))}addItem(xe){}removeItem(xe){}_handleKeydown(xe){const $e=xe.keyCode,q=this._keyManager;switch($e){case C._f:(0,C.rp)(xe)||(xe.preventDefault(),this.closed.emit("keydown"));break;case C.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case C.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return($e===C.i7||$e===C.n6)&&q.setFocusOrigin("keyboard"),void q.onKeydown(xe)}xe.stopPropagation()}focusFirstItem(xe="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,a.s)(1)).subscribe(()=>{let $e=null;if(this._directDescendantItems.length&&($e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!$e||!$e.contains(document.activeElement)){const q=this._keyManager;q.setFocusOrigin(xe).setFirstItemActive(),!q.activeItem&&$e&&$e.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(xe){const $e=Math.min(this._baseElevation+xe,24),q=`${this._elevationPrefix}${$e}`,ge=Object.keys(this._classList).find(Oe=>Oe.startsWith(this._elevationPrefix));(!ge||ge===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[q]=!0,this._previousElevation=q)}setPositionClasses(xe=this.xPosition,$e=this.yPosition){const q=this._classList;q["mat-menu-before"]="before"===xe,q["mat-menu-after"]="after"===xe,q["mat-menu-above"]="above"===$e,q["mat-menu-below"]="below"===$e,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(xe){this._animationDone.next(xe),this._isAnimating=!1}_onAnimationStart(xe){this._isAnimating=!0,"enter"===xe.toState&&0===this._keyManager.activeItemIndex&&(xe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.Z)(this._allItems)).subscribe(xe=>{this._directDescendantItems.reset(xe.filter($e=>$e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function($e){return new($e||We)(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:We,selectors:[["mat-menu"]],contentQueries:function($e,q,ge){if(1&$e&&(t.\u0275\u0275contentQuery(ge,$,5),t.\u0275\u0275contentQuery(ge,U,5),t.\u0275\u0275contentQuery(ge,U,4)),2&$e){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($e,q){if(1&$e&&t.\u0275\u0275viewQuery(t.TemplateRef,5),2&$e){let ge;t.\u0275\u0275queryRefresh(ge=t.\u0275\u0275loadQuery())&&(q.templateRef=ge.first)}},hostVars:3,hostBindings:function($e,q){2&$e&&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",xe=>null==xe?null:(0,t.booleanAttribute)(xe)],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:We}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:R,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id","ngClass"],[1,"mat-mdc-menu-content"]],template:function($e,q){1&$e&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,N,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:[G.transformMenu,G.fadeInItems]},changeDetection:0})}return We})();const Ye=new t.InjectionToken("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const We=(0,t.inject)(k.hJ);return()=>We.scrollStrategies.reposition()}}),ct={provide:Ye,deps:[k.hJ],useFactory:function mt(We){return()=>We.scrollStrategies.reposition()}},Ct=(0,I.BQ)({passive:!0}),Pe=8;let Ae=(()=>{class We{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(xe){this.menu=xe}get menu(){return this._menu}set menu(xe){xe!==this._menu&&(this._menu=xe,this._menuCloseSubscription.unsubscribe(),xe&&(this._menuCloseSubscription=xe.close.subscribe($e=>{this._destroyMenu($e),("click"===$e||"tab"===$e)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit($e)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(xe,$e,q,ge,Oe,vt,it,we,Ge){this._overlay=xe,this._element=$e,this._viewContainerRef=q,this._menuItemInstance=vt,this._dir=it,this._focusMonitor=we,this._ngZone=Ge,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=b.yU.EMPTY,this._hoverSubscription=b.yU.EMPTY,this._menuCloseSubscription=b.yU.EMPTY,this._changeDetectorRef=(0,t.inject)(t.ChangeDetectorRef),this._handleTouchStart=Me=>{(0,v.w6)(Me)||(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=ge,this._parentMaterialMenu=Oe instanceof ve?Oe:void 0,$e.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 xe=this.menu;if(this._menuOpen||!xe)return;const $e=this._createOverlay(xe),q=$e.getConfig(),ge=q.positionStrategy;this._setPosition(xe,ge),q.hasBackdrop=null==xe.hasBackdrop?!this.triggersSubmenu():xe.hasBackdrop,$e.attach(this._getPortal(xe)),xe.lazyContent&&xe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(xe),xe instanceof ve&&(xe._startAnimation(),xe._directDescendantItems.changes.pipe((0,r.Q)(xe.close)).subscribe(()=>{ge.withLockedPosition(!1).reapplyLastPosition(),ge.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(xe,$e){this._focusMonitor&&xe?this._focusMonitor.focusVia(this._element,xe,$e):this._element.nativeElement.focus($e)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(xe){if(!this._overlayRef||!this.menuOpen)return;const $e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===xe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,$e instanceof ve?($e._resetAnimation(),$e.lazyContent?$e._animationDone.pipe((0,u.p)(q=>"void"===q.toState),(0,a.s)(1),(0,r.Q)($e.lazyContent._attached)).subscribe({next:()=>$e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),$e?.lazyContent?.detach())}_initMenu(xe){xe.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,xe.direction=this.dir,this._setMenuElevation(xe),xe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(xe){if(xe.setElevation){let $e=0,q=xe.parentMenu;for(;q;)$e++,q=q.parentMenu;xe.setElevation($e)}}_setIsMenuOpen(xe){xe!==this._menuOpen&&(this._menuOpen=xe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(xe),this._changeDetectorRef.markForCheck())}_createOverlay(xe){if(!this._overlayRef){const $e=this._getOverlayConfig(xe);this._subscribeToPositions(xe,$e.positionStrategy),this._overlayRef=this._overlay.create($e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(xe){return new k.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:xe.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:xe.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(xe,$e){xe.setPositionClasses&&$e.positionChanges.subscribe(q=>{const ge="start"===q.connectionPair.overlayX?"after":"before",Oe="top"===q.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>xe.setPositionClasses(ge,Oe)):xe.setPositionClasses(ge,Oe)})}_setPosition(xe,$e){let[q,ge]="before"===xe.xPosition?["end","start"]:["start","end"],[Oe,vt]="above"===xe.yPosition?["bottom","top"]:["top","bottom"],[it,we]=[Oe,vt],[Ge,Me]=[q,ge],rt=0;if(this.triggersSubmenu()){if(Me=q="before"===xe.xPosition?"start":"end",ge=Ge="end"===q?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Mt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Mt?Mt._getHostElement().offsetTop:0}rt="bottom"===Oe?this._parentInnerPadding:-this._parentInnerPadding}}else xe.overlapTrigger||(it="top"===Oe?"bottom":"top",we="top"===vt?"bottom":"top");$e.withPositions([{originX:q,originY:it,overlayX:Ge,overlayY:Oe,offsetY:rt},{originX:ge,originY:it,overlayX:Me,overlayY:Oe,offsetY:rt},{originX:q,originY:we,overlayX:Ge,overlayY:vt,offsetY:-rt},{originX:ge,originY:we,overlayX:Me,overlayY:vt,offsetY:-rt}])}_menuClosingActions(){const xe=this._overlayRef.backdropClick(),$e=this._overlayRef.detachments(),q=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,s.of)(),ge=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,u.p)(Oe=>Oe!==this._menuItemInstance),(0,u.p)(()=>this._menuOpen)):(0,s.of)();return(0,c.h)(xe,q,ge,$e)}_handleMousedown(xe){(0,v._G)(xe)||(this._openedBy=0===xe.button?"mouse":void 0,this.triggersSubmenu()&&xe.preventDefault())}_handleKeydown(xe){const $e=xe.keyCode;($e===C.Fm||$e===C.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&($e===C.LE&&"ltr"===this.dir||$e===C.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(xe){this.triggersSubmenu()?(xe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,u.p)(xe=>xe===this._menuItemInstance&&!xe.disabled),(0,h.c)(0,f.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ve&&this.menu._isAnimating?this.menu._animationDone.pipe((0,a.s)(1),(0,h.c)(0,f.$),(0,r.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(xe){return(!this._portal||this._portal.templateRef!==xe.templateRef)&&(this._portal=new y.VA(xe.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function($e){return new($e||We)(t.\u0275\u0275directiveInject(k.hJ),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(Ye),t.\u0275\u0275directiveInject(A,8),t.\u0275\u0275directiveInject(U,10),t.\u0275\u0275directiveInject(w.dS,8),t.\u0275\u0275directiveInject(v.FN),t.\u0275\u0275directiveInject(t.NgZone))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:We,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function($e,q){1&$e&&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&$e&&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 We})(),me=(()=>{class We{static#e=this.\u0275fac=function($e){return new($e||We)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:We});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[ct],imports:[p.CommonModule,_.MatRippleModule,_.MatCommonModule,k.z_,D.Gj,_.MatCommonModule]})}return We})()},6695:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MAT_PAGINATOR_DEFAULT_OPTIONS:()=>k,MAT_PAGINATOR_INTL_PROVIDER:()=>y,MAT_PAGINATOR_INTL_PROVIDER_FACTORY:()=>_,MatPaginator:()=>D,MatPaginatorIntl:()=>p,MatPaginatorModule:()=>O,PageEvent:()=>w});var t=g(4438),v=g(1413),C=g(2771),E=g(8834),c=g(2798),b=g(4823),s=g(6600),f=g(2102);function d(T,F){if(1&T&&(t.\u0275\u0275elementStart(0,"mat-option",17),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&T){const S=F.$implicit;t.\u0275\u0275property("value",S),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",S," ")}}function l(T,F){if(1&T){const S=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"mat-form-field",15)(1,"mat-select",16),t.\u0275\u0275listener("selectionChange",function(N){t.\u0275\u0275restoreView(S);const A=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(A._changePageSize(N.value))}),t.\u0275\u0275repeaterCreate(2,d,2,2,"mat-option",null,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 a(T,F){if(1&T&&(t.\u0275\u0275elementStart(0,"div",14),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&T){const S=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate(S.pageSize)}}function r(T,F){if(1&T&&(t.\u0275\u0275elementStart(0,"div",2)(1,"div",12),t.\u0275\u0275text(2),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(3,l,4,7,"mat-form-field",13)(4,a,2,1,"div",14),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 u(T,F){if(1&T){const S=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"button",18),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(S);const N=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(N.firstPage())}),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(1,"svg",7),t.\u0275\u0275element(2,"path",19),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 h(T,F){if(1&T){const S=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"button",20),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(S);const N=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(N.lastPage())}),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.lastPageLabel)("matTooltipDisabled",S._nextButtonsDisabled())("matTooltipPosition","above")("disabled",S._nextButtonsDisabled()),t.\u0275\u0275attribute("aria-label",S._intl.lastPageLabel)}}let p=(()=>{class T{constructor(){this.changes=new v.B,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(S,R,N)=>{if(0==N||0==R)return`0 of ${N}`;const A=S*R;return`${A+1} \u2013 ${A<(N=Math.max(N,0))?Math.min(A+R,N):A+R} of ${N}`}}static#e=this.\u0275fac=function(R){return new(R||T)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})();function _(T){return T||new p}const y={provide:p,deps:[[new t.Optional,new t.SkipSelf,p]],useFactory:_};class w{}const k=new t.InjectionToken("MAT_PAGINATOR_DEFAULT_OPTIONS");let I=0,D=(()=>{class T{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(R=>(0,t.numberAttribute)(R,0)),this._updateDisplayedPageSizeOptions()}constructor(S,R,N){if(this._intl=S,this._changeDetectorRef=R,this._pageSizeLabelId="mat-paginator-page-size-label-"+I++,this._isInitialized=!1,this._initializedStream=new C.m(1),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.initialized=this._initializedStream,this._intlChanges=S.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),N){const{pageSize:A,pageSizeOptions:U,hidePageSize:Y,showFirstLastButtons:ee}=N;null!=A&&(this._pageSize=A),null!=U&&(this._pageSizeOptions=U),null!=Y&&(this.hidePageSize=Y),null!=ee&&(this.showFirstLastButtons=ee)}this._formFieldAppearance=N?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),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-R),this._changeDetectorRef.markForCheck())}_emitPageEvent(S){this.page.emit({previousPageIndex:S,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(R){return new(R||T)(t.\u0275\u0275directiveInject(p),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(k,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\u0275StandaloneFeature],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"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",1,"mat-mdc-paginator-navigation-first"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["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,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select"],[1,"mat-mdc-paginator-page-size-value"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["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,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(R,N){1&R&&(t.\u0275\u0275elementStart(0,"div",0)(1,"div",1),t.\u0275\u0275template(2,r,5,4,"div",2),t.\u0275\u0275elementStart(3,"div",3)(4,"div",4),t.\u0275\u0275text(5),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(6,u,3,5,"button",5),t.\u0275\u0275elementStart(7,"button",6),t.\u0275\u0275listener("click",function(){return N.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 N.nextPage()}),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(11,"svg",7),t.\u0275\u0275element(12,"path",10),t.\u0275\u0275elementEnd()(),t.\u0275\u0275template(13,h,3,5,"button",11),t.\u0275\u0275elementEnd()()()),2&R&&(t.\u0275\u0275advance(2),t.\u0275\u0275conditional(2,N.hidePageSize?-1:2),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate1(" ",N._intl.getRangeLabel(N.pageIndex,N.pageSize,N.length)," "),t.\u0275\u0275advance(),t.\u0275\u0275conditional(6,N.showFirstLastButtons?6:-1),t.\u0275\u0275advance(),t.\u0275\u0275property("matTooltip",N._intl.previousPageLabel)("matTooltipDisabled",N._previousButtonsDisabled())("matTooltipPosition","above")("disabled",N._previousButtonsDisabled()),t.\u0275\u0275attribute("aria-label",N._intl.previousPageLabel),t.\u0275\u0275advance(3),t.\u0275\u0275property("matTooltip",N._intl.nextPageLabel)("matTooltipDisabled",N._nextButtonsDisabled())("matTooltipPosition","above")("disabled",N._nextButtonsDisabled()),t.\u0275\u0275attribute("aria-label",N._intl.nextPageLabel),t.\u0275\u0275advance(3),t.\u0275\u0275conditional(13,N.showFirstLastButtons?13:-1))},dependencies:[f.MatFormField,c.MatSelect,s.MatOption,E.MatIconButton,b.oV],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(R){return new(R||T)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:T});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[y],imports:[E.MatButtonModule,c.MatSelectModule,b.uc,D]})}return T})()},9183:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>b,MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>s,MatProgressSpinner:()=>l,MatProgressSpinnerModule:()=>r,MatSpinner:()=>a});var t=g(4438),v=g(177),C=g(6600);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",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(_,y){if(1&_&&(t.\u0275\u0275template(0,c,2,8,"ng-template",null,0,t.\u0275\u0275templateRefExtractor),t.\u0275\u0275elementStart(2,"div",2,1),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})()},5951:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{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(4438),v=g(6600),C=g(6039),E=g(5024),c=g(9417),b=g(177);const s=["input"],f=["formField"],d=["*"];let l=0;class a{constructor(k,I){this.source=k,this.value=I}}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(I){this._name=I,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(I){this._labelPosition="before"===I?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(I){this._value!==I&&(this._value=I,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(I){this._selected=I,this.value=I?I.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(I){this._disabled=I,this._markRadiosForCheck()}get required(){return this._required}set required(I){this._required=I,this._markRadiosForCheck()}constructor(I){this._changeDetector=I,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(I=>I===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(I=>{I.name=this.name,I._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(D=>{D.checked=this.value===D.value,D.checked&&(this._selected=D)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new a(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(I=>I._markForCheck())}writeValue(I){this.value=I,this._changeDetector.markForCheck()}registerOnChange(I){this._controlValueAccessorChangeFn=I}registerOnTouched(I){this.onTouched=I}setDisabledState(I){this.disabled=I,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(D){return new(D||w)(t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:w,selectors:[["mat-radio-group"]],contentQueries:function(D,O,T){if(1&D&&t.\u0275\u0275contentQuery(T,y,5),2&D){let F;t.\u0275\u0275queryRefresh(F=t.\u0275\u0275loadQuery())&&(O._radios=F)}},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(I){this._checked!==I&&(this._checked=I,I&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!I&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),I&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(I){this._value!==I&&(this._value=I,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===I),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(I){this._labelPosition=I}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(I){this._setDisabled(I)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(I){this._required=I}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(I){this._color=I}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(I,D,O,T,F,S,R,N){this._elementRef=D,this._changeDetector=O,this._focusMonitor=T,this._radioDispatcher=F,this._providerOverride=R,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=I,this._noopAnimations="NoopAnimations"===S,N&&(this.tabIndex=(0,t.numberAttribute)(N,0))}focus(I,D){D?this._focusMonitor.focusVia(this._inputElement,D,I):this._inputElement.nativeElement.focus(I)}_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((I,D)=>{I!==this.id&&D===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(I=>{!I&&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(I){I.stopPropagation()}_onInputInteraction(I){if(I.stopPropagation(),!this.checked&&!this.disabled){const D=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),D&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(I){this._onInputInteraction(I),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(I){this._disabled!==I&&(this._disabled=I,this._changeDetector.markForCheck())}_updateTabIndex(){const I=this.radioGroup;let D;if(D=I&&I.selected&&!this.disabled?I.selected===this?this.tabIndex:-1:this.tabIndex,D!==this._previousTabIndex){const O=this._inputElement?.nativeElement;O&&(O.setAttribute("tabindex",D+""),this._previousTabIndex=D)}}static#e=this.\u0275fac=function(D){return new(D||w)(t.\u0275\u0275directiveInject(u,8),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(C.FN),t.\u0275\u0275directiveInject(E.zP),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(D,O){if(1&D&&(t.\u0275\u0275viewQuery(s,5),t.\u0275\u0275viewQuery(f,7,t.ElementRef)),2&D){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(D,O){1&D&&t.\u0275\u0275listener("focus",function(){return O._inputElement.nativeElement.focus()}),2&D&&(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",I=>null==I?0:(0,t.numberAttribute)(I)],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:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[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(D,O){if(1&D){const T=t.\u0275\u0275getCurrentView();t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"div",2,0)(2,"div",3)(3,"div",4),t.\u0275\u0275listener("click",function(S){return t.\u0275\u0275restoreView(T),t.\u0275\u0275resetView(O._onTouchTargetClick(S))}),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"input",5,1),t.\u0275\u0275listener("change",function(S){return t.\u0275\u0275restoreView(T),t.\u0275\u0275resetView(O._onInputInteraction(S))}),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&D&&(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(D){return new(D||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})()},2798:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MAT_SELECT_CONFIG:()=>K,MAT_SELECT_SCROLL_STRATEGY:()=>V,MAT_SELECT_SCROLL_STRATEGY_PROVIDER:()=>le,MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>W,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:()=>Ye,MatSelectChange:()=>ve,MatSelectModule:()=>ct,MatSelectTrigger:()=>mt,MatSuffix:()=>c.MatSuffix,matSelectAnimations:()=>ee});var t=g(7987),v=g(177),C=g(4438),E=g(6600),c=g(2102),b=g(5478),s=g(6039),f=g(8203),d=g(5024),l=g(7336),a=g(9417),r=g(1413),u=g(9030),h=g(7786),p=g(9172),_=g(5558),y=g(5964),M=g(6354),w=g(3294),k=g(6977),I=g(6697),D=g(9969);const O=["trigger"],T=["panel"],F=[[["mat-select-trigger"]],"*"],S=["mat-select-trigger","*"];function R(Ct,Pe){if(1&Ct&&(C.\u0275\u0275elementStart(0,"span",4),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&Ct){const Ae=C.\u0275\u0275nextContext();C.\u0275\u0275advance(),C.\u0275\u0275textInterpolate(Ae.placeholder)}}function N(Ct,Pe){1&Ct&&C.\u0275\u0275projection(0)}function A(Ct,Pe){if(1&Ct&&(C.\u0275\u0275elementStart(0,"span",11),C.\u0275\u0275text(1),C.\u0275\u0275elementEnd()),2&Ct){const Ae=C.\u0275\u0275nextContext(2);C.\u0275\u0275advance(),C.\u0275\u0275textInterpolate(Ae.triggerValue)}}function U(Ct,Pe){if(1&Ct&&(C.\u0275\u0275elementStart(0,"span",10),C.\u0275\u0275template(1,N,1,0)(2,A,2,1),C.\u0275\u0275elementEnd()),2&Ct){const Ae=C.\u0275\u0275nextContext();C.\u0275\u0275advance(),C.\u0275\u0275conditional(1,Ae.customTrigger?1:2)}}function Y(Ct,Pe){if(1&Ct){const Ae=C.\u0275\u0275getCurrentView();C.\u0275\u0275elementStart(0,"div",12,1),C.\u0275\u0275listener("@transformPanel.done",function(We){C.\u0275\u0275restoreView(Ae);const Fe=C.\u0275\u0275nextContext();return C.\u0275\u0275resetView(Fe._panelDoneAnimatingStream.next(We.toState))})("keydown",function(We){C.\u0275\u0275restoreView(Ae);const Fe=C.\u0275\u0275nextContext();return C.\u0275\u0275resetView(Fe._handleKeydown(We))}),C.\u0275\u0275projection(2,1),C.\u0275\u0275elementEnd()}if(2&Ct){const Ae=C.\u0275\u0275nextContext();C.\u0275\u0275classMapInterpolate1("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ae._getPanelTheme(),""),C.\u0275\u0275property("ngClass",Ae.panelClass)("@transformPanel","showing"),C.\u0275\u0275attribute("id",Ae.id+"-panel")("aria-multiselectable",Ae.multiple)("aria-label",Ae.ariaLabel||null)("aria-labelledby",Ae._getPanelAriaLabelledby())}}const ee={transformPanelWrap:(0,D.hZ)("transformPanelWrap",[(0,D.kY)("* => void",(0,D.P)("@transformPanel",[(0,D.MA)()],{optional:!0}))]),transformPanel:(0,D.hZ)("transformPanel",[(0,D.wk)("void",(0,D.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,D.kY)("void => showing",(0,D.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,D.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,D.kY)("* => void",(0,D.i0)("100ms linear",(0,D.iF)({opacity:0})))])};let G=0;const V=new C.InjectionToken("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const Ct=(0,C.inject)(t.hJ);return()=>Ct.scrollStrategies.reposition()}});function W(Ct){return()=>Ct.scrollStrategies.reposition()}const K=new C.InjectionToken("MAT_SELECT_CONFIG"),le={provide:V,deps:[t.hJ],useFactory:W},ue=new C.InjectionToken("MatSelectTrigger");class ve{constructor(Pe,Ae){this.source=Pe,this.value=Ae}}let Ye=(()=>{class Ct{_scrollOptionIntoView(Ae){const me=this.options.toArray()[Ae];if(me){const We=this.panel.nativeElement,Fe=(0,E._countGroupLabelsBeforeOption)(Ae,this.options,this.optionGroups),xe=me._getHostElement();We.scrollTop=0===Ae&&1===Fe?0:(0,E._getOptionScrollPosition)(xe.offsetTop,xe.offsetHeight,We.scrollTop,We.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Ae){return new ve(this,Ae)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Ae){this._hideSingleSelectionIndicator=Ae,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(Ae){this._placeholder=Ae,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(a.Validators.required)??!1}set required(Ae){this._required=Ae,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ae){this._multiple=Ae}get compareWith(){return this._compareWith}set compareWith(Ae){this._compareWith=Ae,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ae){this._assignValue(Ae)&&this._onChange(Ae)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(Ae){this._errorStateTracker.matcher=Ae}get id(){return this._id}set id(Ae){this._id=Ae||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(Ae){this._errorStateTracker.errorState=Ae}constructor(Ae,me,We,Fe,xe,$e,q,ge,Oe,vt,it,we,Ge,Me){this._viewportRuler=Ae,this._changeDetectorRef=me,this._elementRef=xe,this._dir=$e,this._parentFormField=Oe,this.ngControl=vt,this._liveAnnouncer=Ge,this._defaultOptions=Me,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=(rt,Mt)=>rt===Mt,this._uid="mat-select-"+G++,this._triggerAriaLabelledBy=null,this._destroy=new r.B,this.stateChanges=new r.B,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+G++,this._panelDoneAnimatingStream=new r.B,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._initialized=new r.B,this.optionSelectionChanges=(0,u.v)(()=>{const rt=this.options;return rt?rt.changes.pipe((0,p.Z)(rt),(0,_.n)(()=>(0,h.h)(...rt.map(Mt=>Mt.onSelectionChange)))):this._initialized.pipe((0,_.n)(()=>this.optionSelectionChanges))}),this.openedChange=new C.EventEmitter,this._openedStream=this.openedChange.pipe((0,y.p)(rt=>rt),(0,M.T)(()=>{})),this._closedStream=this.openedChange.pipe((0,y.p)(rt=>!rt),(0,M.T)(()=>{})),this.selectionChange=new C.EventEmitter,this.valueChange=new C.EventEmitter,this._trackedModal=null,this._skipPredicate=rt=>!this.panelOpen&&rt.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Me?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=Me.typeaheadDebounceInterval),this._errorStateTracker=new E._ErrorStateTracker(Fe,vt,ge,q,this.stateChanges),this._scrollStrategyFactory=we,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(it)||0,this.id=this.id}ngOnInit(){this._selectionModel=new d.CB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,w.F)(),(0,k.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,k.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,k.Q)(this._destroy)).subscribe(Ae=>{Ae.added.forEach(me=>me.select()),Ae.removed.forEach(me=>me.deselect())}),this.options.changes.pipe((0,p.Z)(null),(0,k.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ae=this._getTriggerAriaLabelledby(),me=this.ngControl;if(Ae!==this._triggerAriaLabelledBy){const We=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ae,Ae?We.setAttribute("aria-labelledby",Ae):We.removeAttribute("aria-labelledby")}me&&(this._previousControl!==me.control&&(void 0!==this._previousControl&&null!==me.disabled&&me.disabled!==this.disabled&&(this.disabled=me.disabled),this._previousControl=me.control),this.updateErrorState())}ngOnChanges(Ae){(Ae.disabled||Ae.userAriaDescribedBy)&&this.stateChanges.next(),Ae.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 Ae=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ae)return;const me=`${this.id}-panel`;this._trackedModal&&(0,s.Ae)(this._trackedModal,"aria-owns",me),(0,s.px)(Ae,"aria-owns",me),this._trackedModal=Ae}_clearFromModal(){this._trackedModal&&((0,s.Ae)(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(Ae){this._assignValue(Ae)}registerOnChange(Ae){this._onChange=Ae}registerOnTouched(Ae){this._onTouched=Ae}setDisabledState(Ae){this.disabled=Ae,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 Ae=this._selectionModel.selected.map(me=>me.viewValue);return this._isRtl()&&Ae.reverse(),Ae.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ae){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ae):this._handleClosedKeydown(Ae))}_handleClosedKeydown(Ae){const me=Ae.keyCode,We=me===l.n6||me===l.i7||me===l.UQ||me===l.LE,Fe=me===l.Fm||me===l.t6,xe=this._keyManager;if(!xe.isTyping()&&Fe&&!(0,l.rp)(Ae)||(this.multiple||Ae.altKey)&&We)Ae.preventDefault(),this.open();else if(!this.multiple){const $e=this.selected;xe.onKeydown(Ae);const q=this.selected;q&&$e!==q&&this._liveAnnouncer.announce(q.viewValue,1e4)}}_handleOpenKeydown(Ae){const me=this._keyManager,We=Ae.keyCode,Fe=We===l.n6||We===l.i7,xe=me.isTyping();if(Fe&&Ae.altKey)Ae.preventDefault(),this.close();else if(xe||We!==l.Fm&&We!==l.t6||!me.activeItem||(0,l.rp)(Ae))if(!xe&&this._multiple&&We===l.A&&Ae.ctrlKey){Ae.preventDefault();const $e=this.options.some(q=>!q.disabled&&!q.selected);this.options.forEach(q=>{q.disabled||($e?q.select():q.deselect())})}else{const $e=me.activeItemIndex;me.onKeydown(Ae),this._multiple&&Fe&&Ae.shiftKey&&me.activeItem&&me.activeItemIndex!==$e&&me.activeItem._selectViaInteraction()}else Ae.preventDefault(),me.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,I.s)(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(Ae){if(this.options.forEach(me=>me.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ae)Array.isArray(Ae),Ae.forEach(me=>this._selectOptionByValue(me)),this._sortValues();else{const me=this._selectOptionByValue(Ae);me?this._keyManager.updateActiveItem(me):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ae){const me=this.options.find(We=>{if(this._selectionModel.isSelected(We))return!1;try{return null!=We.value&&this._compareWith(We.value,Ae)}catch{return!1}});return me&&this._selectionModel.select(me),me}_assignValue(Ae){return!!(Ae!==this._value||this._multiple&&Array.isArray(Ae))&&(this.options&&this._setSelectionByValue(Ae),this._value=Ae,!0)}_getOverlayWidth(Ae){return"auto"===this.panelWidth?(Ae instanceof t.$Q?Ae.elementRef:Ae||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const Ae of this.options)Ae._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new s.Au(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 Ae=(0,h.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,k.Q)(Ae)).subscribe(me=>{this._onSelect(me.source,me.isUserInput),me.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,h.h)(...this.options.map(me=>me._stateChanges)).pipe((0,k.Q)(Ae)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ae,me){const We=this._selectionModel.isSelected(Ae);null!=Ae.value||this._multiple?(We!==Ae.selected&&(Ae.selected?this._selectionModel.select(Ae):this._selectionModel.deselect(Ae)),me&&this._keyManager.setActiveItem(Ae),this.multiple&&(this._sortValues(),me&&this.focus())):(Ae.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ae.value)),We!==this._selectionModel.isSelected(Ae)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ae=this.options.toArray();this._selectionModel.sort((me,We)=>this.sortComparator?this.sortComparator(me,We,Ae):Ae.indexOf(me)-Ae.indexOf(We)),this.stateChanges.next()}}_propagateChanges(Ae){let me;me=this.multiple?this.selected.map(We=>We.value):this.selected?this.selected.value:Ae,this._value=me,this.valueChange.emit(me),this._onChange(me),this.selectionChange.emit(this._getChangeEvent(me)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ae=-1;for(let me=0;me0}focus(Ae){this._elementRef.nativeElement.focus(Ae)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ae=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ae?Ae+" ":"")+this.ariaLabelledby:Ae}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ae=this._parentFormField?.getLabelId();let me=(Ae?Ae+" ":"")+this._valueId;return this.ariaLabelledby&&(me+=" "+this.ariaLabelledby),me}_panelDoneAnimating(Ae){this.openedChange.emit(Ae)}setDescribedByIds(Ae){Ae.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ae.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(me){return new(me||Ct)(C.\u0275\u0275directiveInject(b.Xj),C.\u0275\u0275directiveInject(C.ChangeDetectorRef),C.\u0275\u0275directiveInject(C.NgZone),C.\u0275\u0275directiveInject(E.ErrorStateMatcher),C.\u0275\u0275directiveInject(C.ElementRef),C.\u0275\u0275directiveInject(f.dS,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(V),C.\u0275\u0275directiveInject(s.Ai),C.\u0275\u0275directiveInject(K,8))};static#t=this.\u0275cmp=C.\u0275\u0275defineComponent({type:Ct,selectors:[["mat-select"]],contentQueries:function(me,We,Fe){if(1&me&&(C.\u0275\u0275contentQuery(Fe,ue,5),C.\u0275\u0275contentQuery(Fe,E.MatOption,5),C.\u0275\u0275contentQuery(Fe,E.MAT_OPTGROUP,5)),2&me){let xe;C.\u0275\u0275queryRefresh(xe=C.\u0275\u0275loadQuery())&&(We.customTrigger=xe.first),C.\u0275\u0275queryRefresh(xe=C.\u0275\u0275loadQuery())&&(We.options=xe),C.\u0275\u0275queryRefresh(xe=C.\u0275\u0275loadQuery())&&(We.optionGroups=xe)}},viewQuery:function(me,We){if(1&me&&(C.\u0275\u0275viewQuery(O,5),C.\u0275\u0275viewQuery(T,5),C.\u0275\u0275viewQuery(t.WB,5)),2&me){let Fe;C.\u0275\u0275queryRefresh(Fe=C.\u0275\u0275loadQuery())&&(We.trigger=Fe.first),C.\u0275\u0275queryRefresh(Fe=C.\u0275\u0275loadQuery())&&(We.panel=Fe.first),C.\u0275\u0275queryRefresh(Fe=C.\u0275\u0275loadQuery())&&(We._overlayDir=Fe.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(me,We){1&me&&C.\u0275\u0275listener("keydown",function(xe){return We._handleKeydown(xe)})("focus",function(){return We._onFocus()})("blur",function(){return We._onBlur()}),2&me&&(C.\u0275\u0275attribute("id",We.id)("tabindex",We.disabled?-1:We.tabIndex)("aria-controls",We.panelOpen?We.id+"-panel":null)("aria-expanded",We.panelOpen)("aria-label",We.ariaLabel||null)("aria-required",We.required.toString())("aria-disabled",We.disabled.toString())("aria-invalid",We.errorState)("aria-activedescendant",We._getAriaActiveDescendant()),C.\u0275\u0275classProp("mat-mdc-select-disabled",We.disabled)("mat-mdc-select-invalid",We.errorState)("mat-mdc-select-required",We.required)("mat-mdc-select-empty",We.empty)("mat-mdc-select-multiple",We.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",Ae=>null==Ae?0:(0,C.numberAttribute)(Ae)],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:S,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"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,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(me,We){if(1&me){const Fe=C.\u0275\u0275getCurrentView();C.\u0275\u0275projectionDef(F),C.\u0275\u0275elementStart(0,"div",2,0),C.\u0275\u0275listener("click",function(){return C.\u0275\u0275restoreView(Fe),C.\u0275\u0275resetView(We.open())}),C.\u0275\u0275elementStart(3,"div",3),C.\u0275\u0275template(4,R,2,1,"span",4)(5,U,3,1),C.\u0275\u0275elementEnd(),C.\u0275\u0275elementStart(6,"div",5)(7,"div",6),C.\u0275\u0275namespaceSVG(),C.\u0275\u0275elementStart(8,"svg",7),C.\u0275\u0275element(9,"path",8),C.\u0275\u0275elementEnd()()()(),C.\u0275\u0275template(10,Y,3,9,"ng-template",9),C.\u0275\u0275listener("backdropClick",function(){return C.\u0275\u0275restoreView(Fe),C.\u0275\u0275resetView(We.close())})("attach",function(){return C.\u0275\u0275restoreView(Fe),C.\u0275\u0275resetView(We._onAttached())})("detach",function(){return C.\u0275\u0275restoreView(Fe),C.\u0275\u0275resetView(We.close())})}if(2&me){const Fe=C.\u0275\u0275reference(1);C.\u0275\u0275advance(3),C.\u0275\u0275attribute("id",We._valueId),C.\u0275\u0275advance(),C.\u0275\u0275conditional(4,We.empty?4:5),C.\u0275\u0275advance(6),C.\u0275\u0275property("cdkConnectedOverlayPanelClass",We._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",We._scrollStrategy)("cdkConnectedOverlayOrigin",We._preferredOverlayOrigin||Fe)("cdkConnectedOverlayOpen",We.panelOpen)("cdkConnectedOverlayPositions",We._positions)("cdkConnectedOverlayWidth",We._overlayWidth)}},dependencies:[t.$Q,t.WB,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})(),mt=(()=>{class Ct{static#e=this.\u0275fac=function(me){return new(me||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(me){return new(me||Ct)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:Ct});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({providers:[le],imports:[v.CommonModule,t.z_,E.MatOptionModule,E.MatCommonModule,b.Gj,c.MatFormFieldModule,E.MatOptionModule,E.MatCommonModule]})}return Ct})()},450:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{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(4438),v=g(9417),C=g(6039),E=g(6600);const c=["switch"],b=["*"];function s(y,M){1&y&&(t.\u0275\u0275elementStart(0,"div",10),t.\u0275\u0275namespaceSVG(),t.\u0275\u0275elementStart(1,"svg",12),t.\u0275\u0275element(2,"path",13),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"svg",14),t.\u0275\u0275element(4,"path",15),t.\u0275\u0275elementEnd()())}const 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,I,D,O,T){this._elementRef=w,this._focusMonitor=k,this._changeDetectorRef=I,this.defaults=O,this._onChange=F=>{},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(D)||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.FN),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,I){if(1&k&&t.\u0275\u0275viewQuery(c,5),2&k){let D;t.\u0275\u0275queryRefresh(D=t.\u0275\u0275loadQuery())&&(I._switchElement=D.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(k,I){2&k&&(t.\u0275\u0275hostProperty("id",I.id),t.\u0275\u0275attribute("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),t.\u0275\u0275classMap(I.color?"mat-"+I.color:""),t.\u0275\u0275classProp("mat-mdc-slide-toggle-focused",I._focused)("mat-mdc-slide-toggle-checked",I.checked)("_mat-animation-noopable",I._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:b,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[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"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["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,I){if(1&k){const D=t.\u0275\u0275getCurrentView();t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"div",1)(1,"button",2,0),t.\u0275\u0275listener("click",function(){return t.\u0275\u0275restoreView(D),t.\u0275\u0275resetView(I._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,s,5,0,"div",10),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275elementStart(11,"label",11),t.\u0275\u0275listener("click",function(T){return t.\u0275\u0275restoreView(D),t.\u0275\u0275resetView(T.stopPropagation())}),t.\u0275\u0275projection(12),t.\u0275\u0275elementEnd()()}if(2&k){const D=t.\u0275\u0275reference(2);t.\u0275\u0275property("labelPosition",I.labelPosition),t.\u0275\u0275advance(),t.\u0275\u0275classProp("mdc-switch--selected",I.checked)("mdc-switch--unselected",!I.checked)("mdc-switch--checked",I.checked)("mdc-switch--disabled",I.disabled),t.\u0275\u0275property("tabIndex",I.disabled?-1:I.tabIndex)("disabled",I.disabled),t.\u0275\u0275attribute("id",I.buttonId)("name",I.name)("aria-label",I.ariaLabel)("aria-labelledby",I._getAriaLabelledBy())("aria-describedby",I.ariaDescribedby)("aria-required",I.required||null)("aria-checked",I.checked),t.\u0275\u0275advance(8),t.\u0275\u0275property("matRippleTrigger",D)("matRippleDisabled",I.disableRipple||I.disabled)("matRippleCentered",!0),t.\u0275\u0275advance(),t.\u0275\u0275conditional(10,I.hideIcon?-1:10),t.\u0275\u0275advance(),t.\u0275\u0275property("for",I.buttonId),t.\u0275\u0275attribute("id",I._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--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.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(I){return(w||(w=t.\u0275\u0275getInheritedFactory(y)))(I||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})()},3881:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MatSlider:()=>T,MatSliderChange:()=>D,MatSliderModule:()=>Y,MatSliderRangeThumb:()=>U,MatSliderThumb:()=>A,MatSliderVisualThumb:()=>O});var t=g(8203),v=g(6860),C=g(4438),E=g(6600),c=g(9417),b=g(1413);const s=["knob"],f=["valueIndicatorContainer"];function d(ee,ie){if(1&ee&&(C.\u0275\u0275elementStart(0,"div",2,1)(2,"div",5)(3,"span",6),C.\u0275\u0275text(4),C.\u0275\u0275elementEnd()()()),2&ee){const $=C.\u0275\u0275nextContext();C.\u0275\u0275advance(4),C.\u0275\u0275textInterpolate($.valueIndicatorText)}}const l=["trackActive"],a=["*"];function r(ee,ie){if(1&ee&&C.\u0275\u0275element(0,"div"),2&ee){const $=ie.$implicit,j=ie.$index,G=C.\u0275\u0275nextContext(3);C.\u0275\u0275classMap(0===$?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),C.\u0275\u0275styleProp("transform",G._calcTickMarkTransform(j))}}function u(ee,ie){if(1&ee&&C.\u0275\u0275repeaterCreate(0,r,1,4,"div",null,C.\u0275\u0275repeaterTrackByIdentity),2&ee){const $=C.\u0275\u0275nextContext(2);C.\u0275\u0275repeater($._tickMarks)}}function h(ee,ie){if(1&ee&&(C.\u0275\u0275elementStart(0,"div",6,1),C.\u0275\u0275template(2,u,2,0),C.\u0275\u0275elementEnd()),2&ee){const $=C.\u0275\u0275nextContext();C.\u0275\u0275advance(2),C.\u0275\u0275conditional(2,$._cachedWidth?2:-1)}}function p(ee,ie){if(1&ee&&C.\u0275\u0275element(0,"mat-slider-visual-thumb",7),2&ee){const $=C.\u0275\u0275nextContext();C.\u0275\u0275property("discrete",$.discrete)("thumbPosition",1)("valueIndicatorText",$.startValueIndicatorText)}}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"),I=new C.InjectionToken("_MatSliderVisualThumb");class D{}let O=(()=>{class ee{constructor($,j,G,V){this._cdr=$,this._ngZone=j,this._slider=V,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._platform=(0,C.inject)(v.OD),this._onPointerMove=W=>{if(this._sliderInput._isFocused)return;const K=this._hostElement.getBoundingClientRect(),le=this._slider._isCursorOnSliderThumb(W,K);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=W=>{0===W.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=G.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const $=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{$.addEventListener("pointermove",this._onPointerMove),$.addEventListener("pointerdown",this._onDragStart),$.addEventListener("pointerup",this._onDragEnd),$.addEventListener("pointerleave",this._onMouseLeave),$.addEventListener("focus",this._onFocus),$.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const $=this._sliderInputEl;$&&($.removeEventListener("pointermove",this._onPointerMove),$.removeEventListener("pointerdown",this._onDragStart),$.removeEventListener("pointerup",this._onDragEnd),$.removeEventListener("pointerleave",this._onMouseLeave),$.removeEventListener("focus",this._onFocus),$.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($){return $?.state===E.RippleState.FADING_IN||$?.state===E.RippleState.VISIBLE}_showRipple($,j){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(this.thumbPosition===_.START?_.END:_.START)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||j))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:$,centered:!0,persistent:!0})}_hideRipple($){if($?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const j=this._getSibling();j._isShowingAnyRipple()||(this._hideValueIndicator(),j._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(j){return new(j||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(j,G){if(1&j&&(C.\u0275\u0275viewQuery(E.MatRipple,5),C.\u0275\u0275viewQuery(s,5),C.\u0275\u0275viewQuery(f,5)),2&j){let V;C.\u0275\u0275queryRefresh(V=C.\u0275\u0275loadQuery())&&(G._ripple=V.first),C.\u0275\u0275queryRefresh(V=C.\u0275\u0275loadQuery())&&(G._knob=V.first),C.\u0275\u0275queryRefresh(V=C.\u0275\u0275loadQuery())&&(G._valueIndicatorContainer=V.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:I,useExisting:ee}]),C.\u0275\u0275StandaloneFeature],decls:4,vars:2,consts:[["knob",""],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(j,G){1&j&&(C.\u0275\u0275template(0,d,5,1,"div",2),C.\u0275\u0275element(1,"div",3,0)(3,"div",4)),2&j&&(C.\u0275\u0275conditional(0,G.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($){this._disabled=$;const j=this._getInput(_.END),G=this._getInput(_.START);j&&(j.disabled=this._disabled),G&&(G.disabled=this._disabled)}get discrete(){return this._discrete}set discrete($){this._discrete=$,this._updateValueIndicatorUIs()}get min(){return this._min}set min($){const j=isNaN($)?this._min:$;this._min!==j&&this._updateMin(j)}_updateMin($){const j=this._min;this._min=$,this._isRange?this._updateMinRange({old:j,new:$}):this._updateMinNonRange($),this._onMinMaxOrStepChange()}_updateMinRange($){const j=this._getInput(_.END),G=this._getInput(_.START),V=j.value,W=G.value;G.min=$.new,j.min=Math.max($.new,G.value),G.max=Math.min(j.max,j.value),G._updateWidthInactive(),j._updateWidthInactive(),$.new<$.old?this._onTranslateXChangeBySideEffect(j,G):this._onTranslateXChangeBySideEffect(G,j),V!==j.value&&this._onValueChange(j),W!==G.value&&this._onValueChange(G)}_updateMinNonRange($){const j=this._getInput(_.END);if(j){const G=j.value;j.min=$,j._updateThumbUIByValue(),this._updateTrackUI(j),G!==j.value&&this._onValueChange(j)}}get max(){return this._max}set max($){const j=isNaN($)?this._max:$;this._max!==j&&this._updateMax(j)}_updateMax($){const j=this._max;this._max=$,this._isRange?this._updateMaxRange({old:j,new:$}):this._updateMaxNonRange($),this._onMinMaxOrStepChange()}_updateMaxRange($){const j=this._getInput(_.END),G=this._getInput(_.START),V=j.value,W=G.value;j.max=$.new,G.max=Math.min($.new,j.value),j.min=G.value,j._updateWidthInactive(),G._updateWidthInactive(),$.new>$.old?this._onTranslateXChangeBySideEffect(G,j):this._onTranslateXChangeBySideEffect(j,G),V!==j.value&&this._onValueChange(j),W!==G.value&&this._onValueChange(G)}_updateMaxNonRange($){const j=this._getInput(_.END);if(j){const G=j.value;j.max=$,j._updateThumbUIByValue(),this._updateTrackUI(j),G!==j.value&&this._onValueChange(j)}}get step(){return this._step}set step($){const j=isNaN($)?this._step:$;this._step!==j&&this._updateStep(j)}_updateStep($){this._step=$,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const $=this._getInput(_.END),j=this._getInput(_.START),G=$.value,V=j.value,W=j.value;$.min=this._min,j.max=this._max,$.step=this._step,j.step=this._step,this._platform.SAFARI&&($.value=$.value,j.value=j.value),$.min=Math.max(this._min,j.value),j.max=Math.min(this._max,$.value),j._updateWidthInactive(),$._updateWidthInactive(),$.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.OD),this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===K,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const $=this._getInput(_.END),j=this._getInput(_.START);this._isRange=!!$&&!!j,this._cdr.detectChanges();const G=this._getThumb(_.END);this._rippleRadius=G._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._isRange?this._initUIRange($,j):this._initUINonRange($),this._updateTrackUI($),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange($){$.initProps(),$.initUI(),this._updateValueIndicatorUI($),this._hasViewInitialized=!0,$._updateThumbUIByValue()}_initUIRange($,j){$.initProps(),$.initUI(),j.initProps(),j.initUI(),$._updateMinMax(),j._updateMinMax(),$._updateStaticStyles(),j._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,$._updateThumbUIByValue(),j._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 $=this._getInput(_.END),j=this._getInput(_.START);$._setIsLeftThumb(),j._setIsLeftThumb(),$.translateX=$._calcTranslateXByValue(),j.translateX=j._calcTranslateXByValue(),$._updateStaticStyles(),j._updateStaticStyles(),$._updateWidthInactive(),j._updateWidthInactive(),$._updateThumbUIByValue(),j._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($=_.END){const j=this._getInput($);return j?j.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($){const j=this._trackActive.nativeElement.style;j.left=$.left,j.right=$.right,j.transformOrigin=$.transformOrigin,j.transform=$.transform}_calcTickMarkTransform($){return`translateX(${$*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange($){this._hasViewInitialized&&(this._updateThumbUI($),this._updateTrackUI($),this._updateOverlappingThumbUI($))}_onTranslateXChangeBySideEffect($,j){this._hasViewInitialized&&($._updateThumbUIByValue(),j._updateThumbUIByValue())}_onValueChange($){this._hasViewInitialized&&(this._updateValueIndicatorUI($),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 $=this._getInput(_.END),j=this._getInput(_.START);$._updateThumbUIByValue(),j._updateThumbUIByValue(),$._updateStaticStyles(),j._updateStaticStyles(),$._updateMinMax(),j._updateMinMax(),$._updateWidthInactive(),j._updateWidthInactive()}else{const $=this._getInput(_.END);$&&$._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const $=this._getInput(_.START),j=this._getInput(_.END);return!(!$||!j)&&j.translateX-$.translateX<20}_updateOverlappingThumbClassNames($){const j=$.getSibling(),G=this._getThumb($.thumbPosition);this._getThumb(j.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),G._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI($){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames($))}_updateThumbUI($){this._skipUpdate()||(this._getThumb($.thumbPosition===_.END?_.END:_.START)._hostElement.style.transform=`translateX(${$.translateX}px)`)}_updateValueIndicatorUI($){if(this._skipUpdate())return;const j=this.displayWith($.value);if(this._hasViewInitialized?$._valuetext=j:$._hostElement.setAttribute("aria-valuetext",j),this.discrete){$.thumbPosition===_.START?this.startValueIndicatorText=j:this.endValueIndicatorText=j;const G=this._getThumb($.thumbPosition);j.length<3?G._hostElement.classList.add("mdc-slider__thumb--short-value"):G._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const $=this._getInput(_.END),j=this._getInput(_.START);$&&this._updateValueIndicatorUI($),j&&this._updateValueIndicatorUI(j)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const $=this._step&&this._step>0?this._step:1,G=(Math.floor(this.max/$)*$-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*G-6}_updateTrackUI($){this._skipUpdate()||(this._isRange?this._updateTrackUIRange($):this._updateTrackUINonRange($))}_updateTrackUIRange($){const j=$.getSibling();if(!j||!this._cachedWidth)return;const G=Math.abs(j.translateX-$.translateX)/this._cachedWidth;this._setTrackActiveStyles($._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-j.translateX+"px",transformOrigin:"right",transform:`scaleX(${G})`}:{left:`${j.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${G})`})}_updateTrackUINonRange($){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-$.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${$.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const $=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange($):this._updateTickMarkUINonRange($),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange($){const j=this._getValue();let G=Math.max(Math.floor((j-this.min)/$),0),V=Math.max(Math.floor((this.max-j)/$),0);this._isRtl?G++:V++,this._tickMarks=Array(G).fill(y.ACTIVE).concat(Array(V).fill(y.INACTIVE))}_updateTickMarkUIRange($){const j=this._getValue(),G=this._getValue(_.START),V=Math.max(Math.floor((G-this.min)/$),0),W=Math.max(Math.floor((j-G)/$)+1,0),K=Math.max(Math.floor((this.max-j)/$),0);this._tickMarks=Array(V).fill(y.INACTIVE).concat(Array(W).fill(y.ACTIVE),Array(K).fill(y.INACTIVE))}_getInput($){return $===_.END&&this._input?this._input:this._inputs?.length?$===_.START?this._inputs.first:this._inputs.last:void 0}_getThumb($){return $===_.END?this._thumbs?.last:this._thumbs?.first}_setTransition($){this._hasAnimation=!this._platform.IOS&&$&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb($,j){const G=j.width/2,le=$.clientY-(j.y+G);return Math.pow($.clientX-(j.x+G),2)+Math.pow(le,2)A),multi:!0},N={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($){const j=($=isNaN($)?0:$)+"";this._hasSetInitialValue?this._isActive||this._setValue(j):this._initialValue=j}_setValue($){this._hostElement.value=$,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($){this._translateX=$}get min(){return(0,C.numberAttribute)(this._hostElement.min,0)}set min($){this._hostElement.min=$+"",this._cdr.detectChanges()}get max(){return(0,C.numberAttribute)(this._hostElement.max,0)}set max($){this._hostElement.max=$+"",this._cdr.detectChanges()}get step(){return(0,C.numberAttribute)(this._hostElement.step,0)}set step($){this._hostElement.step=$+"",this._cdr.detectChanges()}get disabled(){return(0,C.booleanAttribute)(this._hostElement.disabled)}set disabled($){this._hostElement.disabled=$,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($){this._isFocused=$}constructor($,j,G,V){this._ngZone=$,this._elementRef=j,this._cdr=G,this._slider=V,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.B,this._skipUIUpdate=!1,this._onTouchedFn=()=>{},this._isControlInitialized=!1,this._platform=(0,C.inject)(v.OD),this._hostElement=j.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._slider._setTransition(!1),this._slider._updateTrackUI(this),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($){if(!this.disabled&&0===$.button){if(this._platform.IOS){const j=this._slider._isCursorOnSliderThumb($,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());return this._isActive=j,this._updateWidthActive(),void this._slider._updateDimensions()}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent($,{withAnimation:!0}),this.disabled||(this._handleValueCorrection($),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection($){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue($)},0)}_fixValue($){const j=$.clientX-this._slider._cachedLeft,G=this._slider._cachedWidth,V=0===this._slider.step?1:this._slider.step,W=Math.floor((this._slider.max-this._slider.min)/V),ue=Math.round((this._slider._isRtl?1-j/G:j/G)*W)/W*(this._slider.max-this._slider.min)+this._slider.min,ve=Math.round(ue/V)*V;if(ve===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent($,{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($,{withAnimation:this._slider._hasAnimation})}_onPointerMove($){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent($)}_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($){const j=this._tickMarkOffset;return Math.max(Math.min($,this._slider._cachedWidth-this._tickMarkOffset),j)}_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($){return $.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($){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI($)}_updateThumbUIByPointerEvent($,j){this.translateX=this._clamp(this._calcTranslateXByPointerEvent($)),this._updateThumbUI(j)}_updateThumbUI($){this._slider._setTransition(!!$?.withAnimation),this._slider._onTranslateXChange(this)}writeValue($){(this._isControlInitialized||null!==$)&&(this.value=$)}registerOnChange($){this._onChangeFn=$,this._isControlInitialized=!0}registerOnTouched($){this._onTouchedFn=$}setDisabledState($){this.disabled=$}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static#e=this.\u0275fac=function(j){return new(j||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(j,G){1&j&&C.\u0275\u0275listener("change",function(){return G._onChange()})("input",function(){return G._onInput()})("blur",function(){return G._onBlur()})("focus",function(){return G._onFocus()}),2&j&&C.\u0275\u0275attribute("aria-valuetext",G._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([R,{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 $=this.getSibling();return!this._isLeftThumb&&$?$.translateX:this._tickMarkOffset}getMaxPos(){const $=this.getSibling();return this._isLeftThumb&&$?$.translateX:this._slider._cachedWidth-this._tickMarkOffset}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}constructor($,j,G,V){super($,G,V,j),this._cdr=V,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($){this.disabled||0!==$.button||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown($))}_onPointerUp(){super._onPointerUp(),this._sibling&&setTimeout(()=>{this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events")})}_onPointerMove($){super._onPointerMove($),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue($){super._fixValue($),this._sibling?._updateMinMax()}_clamp($){return Math.max(Math.min($,this.getMaxPos()),this.getMinPos())}_updateMinMax(){const $=this.getSibling();$&&(this._isEndThumb?(this.min=Math.max(this._slider.min,$.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,$.value)))}_updateWidthActive(){const $=2*this._slider._rippleRadius-2*this._slider._inputPadding;this._hostElement.style.width=`${(this._slider._cachedWidth+this._slider._inputPadding-$-2*this._tickMarkOffset)*(this._slider.min{class ee{static#e=this.\u0275fac=function(j){return new(j||ee)};static#t=this.\u0275mod=C.\u0275\u0275defineNgModule({type:ee});static#n=this.\u0275inj=C.\u0275\u0275defineInjector({imports:[E.MatCommonModule,E.MatRippleModule]})}return ee})()},9159:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MatCell:()=>_t,MatCellDef:()=>de,MatColumnDef:()=>It,MatFooterCell:()=>ln,MatFooterCellDef:()=>tt,MatFooterRow:()=>dt,MatFooterRowDef:()=>Ue,MatHeaderCell:()=>Kt,MatHeaderCellDef:()=>Se,MatHeaderRow:()=>He,MatHeaderRowDef:()=>Je,MatNoDataRow:()=>en,MatRecycleRows:()=>Ke,MatRow:()=>At,MatRowDef:()=>nt,MatTable:()=>te,MatTableDataSource:()=>Vn,MatTableModule:()=>Ri,MatTextColumn:()=>yn});var t=g(4438),v=g(8203),C=g(5024),E=g(6860),c=g(5478),b=g(177),s=g(1413),f=g(8455),d=g(4412),l=g(4402),a=g(7673),r=g(6977),u=g(6697);const h=[[["caption"]],[["colgroup"],["col"]],"*"],p=["caption","colgroup, col","*"];function _(st,qt){1&st&&t.\u0275\u0275projection(0,2)}function y(st,qt){1&st&&(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 M(st,qt){1&st&&t.\u0275\u0275elementContainer(0,1)(1,2)(2,3)(3,4)}function w(st,qt){if(1&st&&(t.\u0275\u0275elementStart(0,"th",3),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&st){const Be=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("text-align",Be.justify),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",Be.headerText," ")}}function k(st,qt){if(1&st&&(t.\u0275\u0275elementStart(0,"td",4),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&st){const Be=qt.$implicit,at=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("text-align",at.justify),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",at.dataAccessor(Be,at.name)," ")}}const I=new t.InjectionToken("CDK_TABLE"),D=new t.InjectionToken("text-column-options");let O=(()=>{class st{constructor(Be){this.template=Be}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","cdkCellDef",""]],standalone:!0})}return st})(),T=(()=>{class st{constructor(Be){this.template=Be}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}return st})(),F=(()=>{class st{constructor(Be){this.template=Be}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}return st})(),S=(()=>{class st{get name(){return this._name}set name(Be){this._setNameInput(Be)}get sticky(){return this._sticky}set sticky(Be){Be!==this._sticky&&(this._sticky=Be,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Be){Be!==this._stickyEnd&&(this._stickyEnd=Be,this._hasStickyChanged=!0)}constructor(Be){this._table=Be,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){const Be=this._hasStickyChanged;return this.resetStickyChanged(),Be}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Be){Be&&(this._name=Be,this.cssClassFriendlyName=Be.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(I,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","cdkColumnDef",""]],contentQueries:function(at,Et,sn){if(1&at&&(t.\u0275\u0275contentQuery(sn,O,5),t.\u0275\u0275contentQuery(sn,T,5),t.\u0275\u0275contentQuery(sn,F,5)),2&at){let Le;t.\u0275\u0275queryRefresh(Le=t.\u0275\u0275loadQuery())&&(Et.cell=Le.first),t.\u0275\u0275queryRefresh(Le=t.\u0275\u0275loadQuery())&&(Et.headerCell=Le.first),t.\u0275\u0275queryRefresh(Le=t.\u0275\u0275loadQuery())&&(Et.footerCell=Le.first)}},inputs:{name:[t.\u0275\u0275InputFlags.None,"cdkColumnDef","name"],sticky:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"sticky","sticky",t.booleanAttribute],stickyEnd:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"stickyEnd","stickyEnd",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:st}]),t.\u0275\u0275InputTransformsFeature]})}return st})();class R{constructor(qt,Be){Be.nativeElement.classList.add(...qt._columnCssClassName)}}let N=(()=>{class st extends R{constructor(Be,at){super(Be,at)}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(S),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return st})(),A=(()=>{class st extends R{constructor(Be,at){super(Be,at);const Et=Be._table?._getCellRole();Et&&at.nativeElement.setAttribute("role",Et)}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(S),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return st})(),U=(()=>{class st extends R{constructor(Be,at){super(Be,at);const Et=Be._table?._getCellRole();Et&&at.nativeElement.setAttribute("role",Et)}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(S),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return st})();class Y{constructor(){this.tasks=[],this.endTasks=[]}}const ee=new t.InjectionToken("_COALESCED_STYLE_SCHEDULER");let ie=(()=>{class st{constructor(Be){this._ngZone=Be,this._currentSchedule=null,this._destroyed=new s.B}schedule(Be){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Be)}scheduleEnd(Be){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Be)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Y,this._getScheduleObservable().pipe((0,r.Q)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Be=this._currentSchedule;this._currentSchedule=new Y;for(const at of Be.tasks)at();for(const at of Be.endTasks)at()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,f.H)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,u.s)(1))}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275inject(t.NgZone))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:st,factory:st.\u0275fac})}return st})(),j=(()=>{class st{constructor(Be,at){this.template=Be,this._differs=at}ngOnChanges(Be){if(!this._columnsDiffer){const at=Be.columns&&Be.columns.currentValue||[];this._columnsDiffer=this._differs.find(at).create(),this._columnsDiffer.diff(at)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Be){return this instanceof G?Be.headerCell.template:this instanceof V?Be.footerCell.template:Be.cell.template}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,features:[t.\u0275\u0275NgOnChangesFeature]})}return st})(),G=(()=>{class st extends j{get sticky(){return this._sticky}set sticky(Be){Be!==this._sticky&&(this._sticky=Be,this._hasStickyChanged=!0)}constructor(Be,at,Et){super(Be,at),this._table=Et,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(Be){super.ngOnChanges(Be)}hasStickyChanged(){const Be=this._hasStickyChanged;return this.resetStickyChanged(),Be}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275directiveInject(I,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"cdkHeaderRowDef","columns"],sticky:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return st})(),V=(()=>{class st extends j{get sticky(){return this._sticky}set sticky(Be){Be!==this._sticky&&(this._sticky=Be,this._hasStickyChanged=!0)}constructor(Be,at,Et){super(Be,at),this._table=Et,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(Be){super.ngOnChanges(Be)}hasStickyChanged(){const Be=this._hasStickyChanged;return this.resetStickyChanged(),Be}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275directiveInject(I,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"cdkFooterRowDef","columns"],sticky:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275NgOnChangesFeature]})}return st})(),W=(()=>{class st extends j{constructor(Be,at,Et){super(Be,at),this._table=Et}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275directiveInject(I,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","cdkRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"cdkRowDefColumns","columns"],when:[t.\u0275\u0275InputFlags.None,"cdkRowDefWhen","when"]},standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return st})(),K=(()=>{class st{static#e=this.mostRecentCellOutlet=null;constructor(Be){this._viewContainer=Be,st.mostRecentCellOutlet=this}ngOnDestroy(){st.mostRecentCellOutlet===this&&(st.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.ViewContainerRef))};static#n=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","cdkCellOutlet",""]],standalone:!0})}return st})(),le=(()=>{class st{static#e=this.\u0275fac=function(at){return new(at||st)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:st,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(at,Et){1&at&&t.\u0275\u0275elementContainer(0,0)},dependencies:[K],encapsulation:2})}return st})(),ue=(()=>{class st{static#e=this.\u0275fac=function(at){return new(at||st)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:st,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(at,Et){1&at&&t.\u0275\u0275elementContainer(0,0)},dependencies:[K],encapsulation:2})}return st})(),ve=(()=>{class st{static#e=this.\u0275fac=function(at){return new(at||st)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:st,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(at,Et){1&at&&t.\u0275\u0275elementContainer(0,0)},dependencies:[K],encapsulation:2})}return st})(),Ye=(()=>{class st{constructor(Be){this.templateRef=Be,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}return st})();const mt=["top","bottom","left","right"];class ct{constructor(qt,Be,at,Et,sn=!0,Le=!0,ut){this._isNativeHtmlTable=qt,this._stickCellCss=Be,this.direction=at,this._coalescedStyleScheduler=Et,this._isBrowser=sn,this._needsPositionStickyOnElement=Le,this._positionListener=ut,this._cachedCellWidths=[],this._borderCellCss={top:`${Be}-border-elem-top`,bottom:`${Be}-border-elem-bottom`,left:`${Be}-border-elem-left`,right:`${Be}-border-elem-right`}}clearStickyPositioning(qt,Be){const at=[];for(const Et of qt)if(Et.nodeType===Et.ELEMENT_NODE){at.push(Et);for(let sn=0;sn{for(const Et of at)this._removeStickyStyle(Et,Be)})}updateStickyColumns(qt,Be,at,Et=!0){qt.length&&this._isBrowser&&(Be.some(sn=>sn)||at.some(sn=>sn))?this._coalescedStyleScheduler.schedule(()=>{const sn=qt[0],Le=sn.children.length,ut=this._getCellWidths(sn,Et),ot=this._getStickyStartColumnPositions(ut,Be),pt=this._getStickyEndColumnPositions(ut,at),wt=Be.lastIndexOf(!0),Ie=at.indexOf(!0),Tt="rtl"===this.direction,z=Tt?"right":"left",he=Tt?"left":"right";for(const ce of qt)for(let Ve=0;VeBe[Ve]?ce:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ie?[]:ut.slice(Ie).map((ce,Ve)=>at[Ve+Ie]?ce:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(qt,Be,at){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const Et="bottom"===at?qt.slice().reverse():qt,sn="bottom"===at?Be.slice().reverse():Be,Le=[],ut=[],ot=[];for(let wt=0,Ie=0;wt{const at=qt.querySelector("tfoot");at&&(Be.some(Et=>!Et)?this._removeStickyStyle(at,["bottom"]):this._addStickyStyle(at,"bottom",0,!1))})}_removeStickyStyle(qt,Be){for(const Et of Be)qt.style[Et]="",qt.classList.remove(this._borderCellCss[Et]);mt.some(Et=>-1===Be.indexOf(Et)&&qt.style[Et])?qt.style.zIndex=this._getCalculatedZIndex(qt):(qt.style.zIndex="",this._needsPositionStickyOnElement&&(qt.style.position=""),qt.classList.remove(this._stickCellCss))}_addStickyStyle(qt,Be,at,Et){qt.classList.add(this._stickCellCss),Et&&qt.classList.add(this._borderCellCss[Be]),qt.style[Be]=`${at}px`,qt.style.zIndex=this._getCalculatedZIndex(qt),this._needsPositionStickyOnElement&&(qt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(qt){const Be={top:100,bottom:10,left:1,right:1};let at=0;for(const Et of mt)qt.style[Et]&&(at+=Be[Et]);return at?`${at}`:""}_getCellWidths(qt,Be=!0){if(!Be&&this._cachedCellWidths.length)return this._cachedCellWidths;const at=[],Et=qt.children;for(let sn=0;sn0;sn--)Be[sn]&&(at[sn]=Et,Et+=qt[sn]);return at}}const q=new t.InjectionToken("CDK_SPL");let Oe=(()=>{class st{constructor(Be,at){this.viewContainer=Be,this.elementRef=at;const Et=(0,t.inject)(I);Et._rowOutlet=this,Et._outletAssigned()}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","rowOutlet",""]],standalone:!0})}return st})(),vt=(()=>{class st{constructor(Be,at){this.viewContainer=Be,this.elementRef=at;const Et=(0,t.inject)(I);Et._headerRowOutlet=this,Et._outletAssigned()}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","headerRowOutlet",""]],standalone:!0})}return st})(),it=(()=>{class st{constructor(Be,at){this.viewContainer=Be,this.elementRef=at;const Et=(0,t.inject)(I);Et._footerRowOutlet=this,Et._outletAssigned()}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","footerRowOutlet",""]],standalone:!0})}return st})(),we=(()=>{class st{constructor(Be,at){this.viewContainer=Be,this.elementRef=at;const Et=(0,t.inject)(I);Et._noDataRowOutlet=this,Et._outletAssigned()}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","noDataRowOutlet",""]],standalone:!0})}return st})(),rt=(()=>{class st{_getCellRole(){if(void 0===this._cellRoleInternal){const Be=this._elementRef.nativeElement.getAttribute("role"),at="grid"===Be||"treegrid"===Be?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===at?null:at}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(Be){this._trackByFn=Be}get dataSource(){return this._dataSource}set dataSource(Be){this._dataSource!==Be&&this._switchDataSource(Be)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Be){this._multiTemplateDataRows=Be,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Be){this._fixedLayout=Be,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(Be,at,Et,sn,Le,ut,ot,pt,wt,Ie,Tt,z){this._differs=Be,this._changeDetectorRef=at,this._elementRef=Et,this._dir=Le,this._platform=ot,this._viewRepeater=pt,this._coalescedStyleScheduler=wt,this._viewportRuler=Ie,this._stickyPositioningListener=Tt,this._ngZone=z,this._onDestroy=new s.B,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.t({start:0,end:Number.MAX_VALUE}),sn||Et.nativeElement.setAttribute("role","table"),this._document=ut,this._isServer=!ot.isBrowser,this._isNativeHtmlTable="TABLE"===Et.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((Be,at)=>this.trackBy?this.trackBy(at.dataIndex,at.data):at),this._viewportRuler.change().pipe((0,r.Q)(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(Be=>{Be?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,C.y4)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Be=this._dataDiffer.diff(this._renderRows);if(!Be)return this._updateNoDataRow(),void this.contentChanged.next();const at=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Be,at,(Et,sn,Le)=>this._getEmbeddedViewArgs(Et.item,Le),Et=>Et.item.data,Et=>{Et.operation===C.Q3.INSERTED&&Et.context&&this._renderCellTemplateForItem(Et.record.item.rowDef,Et.context)}),this._updateRowIndexContext(),Be.forEachIdentityChange(Et=>{at.get(Et.currentIndex).context.$implicit=Et.item.data}),this._updateNoDataRow(),this._ngZone&&t.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,u.s)(1),(0,r.Q)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Be){this._customColumnDefs.add(Be)}removeColumnDef(Be){this._customColumnDefs.delete(Be)}addRowDef(Be){this._customRowDefs.add(Be)}removeRowDef(Be){this._customRowDefs.delete(Be)}addHeaderRowDef(Be){this._customHeaderRowDefs.add(Be),this._headerRowDefChanged=!0}removeHeaderRowDef(Be){this._customHeaderRowDefs.delete(Be),this._headerRowDefChanged=!0}addFooterRowDef(Be){this._customFooterRowDefs.add(Be),this._footerRowDefChanged=!0}removeFooterRowDef(Be){this._customFooterRowDefs.delete(Be),this._footerRowDefChanged=!0}setNoDataRow(Be){this._customNoDataRow=Be}updateStickyHeaderRowStyles(){const Be=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const Et=zt(this._headerRowOutlet,"thead");Et&&(Et.style.display=Be.length?"":"none")}const at=this._headerRowDefs.map(Et=>Et.sticky);this._stickyStyler.clearStickyPositioning(Be,["top"]),this._stickyStyler.stickRows(Be,at,"top"),this._headerRowDefs.forEach(Et=>Et.resetStickyChanged())}updateStickyFooterRowStyles(){const Be=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const Et=zt(this._footerRowOutlet,"tfoot");Et&&(Et.style.display=Be.length?"":"none")}const at=this._footerRowDefs.map(Et=>Et.sticky);this._stickyStyler.clearStickyPositioning(Be,["bottom"]),this._stickyStyler.stickRows(Be,at,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,at),this._footerRowDefs.forEach(Et=>Et.resetStickyChanged())}updateStickyColumnStyles(){const Be=this._getRenderedRows(this._headerRowOutlet),at=this._getRenderedRows(this._rowOutlet),Et=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Be,...at,...Et],["left","right"]),this._stickyColumnStylesNeedReset=!1),Be.forEach((sn,Le)=>{this._addStickyColumnStyles([sn],this._headerRowDefs[Le])}),this._rowDefs.forEach(sn=>{const Le=[];for(let ut=0;ut{this._addStickyColumnStyles([sn],this._footerRowDefs[Le])}),Array.from(this._columnDefsByName.values()).forEach(sn=>sn.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 at=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||at,this._forceRecalculateCellWidths=at,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 Be=[],at=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Et=0;Et{const ut=Et&&Et.has(Le)?Et.get(Le):[];if(ut.length){const ot=ut.shift();return ot.dataIndex=at,ot}return{data:Be,rowDef:Le,dataIndex:at}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Mt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(at=>{this._columnDefsByName.has(at.name),this._columnDefsByName.set(at.name,at)})}_cacheRowDefs(){this._headerRowDefs=Mt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Mt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Mt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Be=this._rowDefs.filter(at=>!at.when);this._defaultRowDef=Be[0]}_renderUpdatedColumns(){const Be=(Le,ut)=>Le||!!ut.getColumnsDiff(),at=this._rowDefs.reduce(Be,!1);at&&this._forceRenderDataRows();const Et=this._headerRowDefs.reduce(Be,!1);Et&&this._forceRenderHeaderRows();const sn=this._footerRowDefs.reduce(Be,!1);return sn&&this._forceRenderFooterRows(),at||Et||sn}_switchDataSource(Be){this._data=[],(0,C.y4)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Be||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=Be}_observeRenderChanges(){if(!this.dataSource)return;let Be;(0,C.y4)(this.dataSource)?Be=this.dataSource.connect(this):(0,l.A)(this.dataSource)?Be=this.dataSource:Array.isArray(this.dataSource)&&(Be=(0,a.of)(this.dataSource)),this._renderChangeSubscription=Be.pipe((0,r.Q)(this._onDestroy)).subscribe(at=>{this._data=at||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Be,at)=>this._renderRow(this._headerRowOutlet,Be,at)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Be,at)=>this._renderRow(this._footerRowOutlet,Be,at)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Be,at){const Et=Array.from(at.columns||[]).map(ut=>this._columnDefsByName.get(ut)),sn=Et.map(ut=>ut.sticky),Le=Et.map(ut=>ut.stickyEnd);this._stickyStyler.updateStickyColumns(Be,sn,Le,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Be){const at=[];for(let Et=0;Et!sn.when||sn.when(at,Be));else{let sn=this._rowDefs.find(Le=>Le.when&&Le.when(at,Be))||this._defaultRowDef;sn&&Et.push(sn)}return Et}_getEmbeddedViewArgs(Be,at){return{templateRef:Be.rowDef.template,context:{$implicit:Be.data},index:at}}_renderRow(Be,at,Et,sn={}){const Le=Be.viewContainer.createEmbeddedView(at.template,sn,Et);return this._renderCellTemplateForItem(at,sn),Le}_renderCellTemplateForItem(Be,at){for(let Et of this._getCellTemplates(Be))K.mostRecentCellOutlet&&K.mostRecentCellOutlet._viewContainer.createEmbeddedView(Et,at);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Be=this._rowOutlet.viewContainer;for(let at=0,Et=Be.length;at{const Et=this._columnDefsByName.get(at);return Be.extractCellTemplate(Et)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Be=(at,Et)=>at||Et.hasStickyChanged();this._headerRowDefs.reduce(Be,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Be,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Be,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new ct(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.Q)(this._onDestroy)).subscribe(at=>{this._stickyStyler.direction=at,this.updateStickyColumnStyles()})}_getOwnDefs(Be){return Be.filter(at=>!at._table||at._table===this)}_updateNoDataRow(){const Be=this._customNoDataRow||this._noDataRow;if(!Be)return;const at=0===this._rowOutlet.viewContainer.length;if(at===this._isShowingNoDataRow)return;const Et=this._noDataRowOutlet.viewContainer;if(at){const sn=Et.createEmbeddedView(Be.templateRef),Le=sn.rootNodes[0];1===sn.rootNodes.length&&Le?.nodeType===this._document.ELEMENT_NODE&&(Le.setAttribute("role","row"),Le.classList.add(Be._contentClassName))}else Et.clear();this._isShowingNoDataRow=at,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(t.IterableDiffers),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275injectAttribute("role"),t.\u0275\u0275directiveInject(v.dS,8),t.\u0275\u0275directiveInject(b.DOCUMENT),t.\u0275\u0275directiveInject(E.OD),t.\u0275\u0275directiveInject(C.sL),t.\u0275\u0275directiveInject(ee),t.\u0275\u0275directiveInject(c.Xj),t.\u0275\u0275directiveInject(q,12),t.\u0275\u0275directiveInject(t.NgZone,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:st,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(at,Et,sn){if(1&at&&(t.\u0275\u0275contentQuery(sn,Ye,5),t.\u0275\u0275contentQuery(sn,S,5),t.\u0275\u0275contentQuery(sn,W,5),t.\u0275\u0275contentQuery(sn,G,5),t.\u0275\u0275contentQuery(sn,V,5)),2&at){let Le;t.\u0275\u0275queryRefresh(Le=t.\u0275\u0275loadQuery())&&(Et._noDataRow=Le.first),t.\u0275\u0275queryRefresh(Le=t.\u0275\u0275loadQuery())&&(Et._contentColumnDefs=Le),t.\u0275\u0275queryRefresh(Le=t.\u0275\u0275loadQuery())&&(Et._contentRowDefs=Le),t.\u0275\u0275queryRefresh(Le=t.\u0275\u0275loadQuery())&&(Et._contentHeaderRowDefs=Le),t.\u0275\u0275queryRefresh(Le=t.\u0275\u0275loadQuery())&&(Et._contentFooterRowDefs=Le)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(at,Et){2&at&&t.\u0275\u0275classProp("cdk-table-fixed-layout",Et.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:I,useExisting:st},{provide:C.sL,useClass:C.xn},{provide:ee,useClass:ie},{provide:q,useValue:null}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:p,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(at,Et){1&at&&(t.\u0275\u0275projectionDef(h),t.\u0275\u0275projection(0),t.\u0275\u0275projection(1,1),t.\u0275\u0275template(2,_,1,0)(3,y,7,0)(4,M,4,0)),2&at&&(t.\u0275\u0275advance(2),t.\u0275\u0275conditional(2,Et._isServer?2:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(3,Et._isNativeHtmlTable?3:4))},dependencies:[vt,Oe,we,it],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return st})();function Mt(st,qt){return st.concat(Array.from(qt))}function zt(st,qt){const Be=qt.toUpperCase();let at=st.viewContainer.element.nativeElement;for(;at;){const Et=1===at.nodeType?at.nodeName:null;if(Et===Be)return at;if("TABLE"===Et)break;at=at.parentNode}return null}let Xt=(()=>{class st{get name(){return this._name}set name(Be){this._name=Be,this._syncColumnDefName()}constructor(Be,at){this._table=Be,this._options=at,this.justify="start",this._options=at||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((Be,at)=>Be[at])),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 Be=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(Be):Be[0].toUpperCase()+Be.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}static#e=this.\u0275fac=function(at){return new(at||st)(t.\u0275\u0275directiveInject(rt,8),t.\u0275\u0275directiveInject(D,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:st,selectors:[["cdk-text-column"]],viewQuery:function(at,Et){if(1&at&&(t.\u0275\u0275viewQuery(S,7),t.\u0275\u0275viewQuery(O,7),t.\u0275\u0275viewQuery(T,7)),2&at){let sn;t.\u0275\u0275queryRefresh(sn=t.\u0275\u0275loadQuery())&&(Et.columnDef=sn.first),t.\u0275\u0275queryRefresh(sn=t.\u0275\u0275loadQuery())&&(Et.cell=sn.first),t.\u0275\u0275queryRefresh(sn=t.\u0275\u0275loadQuery())&&(Et.headerCell=sn.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(at,Et){1&at&&(t.\u0275\u0275elementContainerStart(0,0),t.\u0275\u0275template(1,w,2,3,"th",1)(2,k,2,3,"td",2),t.\u0275\u0275elementContainerEnd())},dependencies:[S,T,N,O,U],encapsulation:2})}return st})(),hn=(()=>{class st{static#e=this.\u0275fac=function(at){return new(at||st)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:st});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[c.E9]})}return st})();var rn=g(6600),fn=g(7786),Pt=g(4572),Vt=g(4085),_e=g(6354);const Ze=[[["caption"]],[["colgroup"],["col"]],"*"],Qe=["caption","colgroup, col","*"];function Rt(st,qt){1&st&&t.\u0275\u0275projection(0,2)}function et(st,qt){1&st&&(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 ft(st,qt){1&st&&t.\u0275\u0275elementContainer(0,1)(1,3)(2,4)(3,5)}function Re(st,qt){if(1&st&&(t.\u0275\u0275elementStart(0,"th",3),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&st){const Be=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("text-align",Be.justify),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",Be.headerText," ")}}function pe(st,qt){if(1&st&&(t.\u0275\u0275elementStart(0,"td",4),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()),2&st){const Be=qt.$implicit,at=t.\u0275\u0275nextContext();t.\u0275\u0275styleProp("text-align",at.justify),t.\u0275\u0275advance(),t.\u0275\u0275textInterpolate1(" ",at.dataAccessor(Be,at.name)," ")}}let Ke=(()=>{class st{static#e=this.\u0275fac=function(at){return new(at||st)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:C.sL,useClass:C.DQ}])]})}return st})(),te=(()=>{class st extends rt{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:st,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(at,Et){2&at&&t.\u0275\u0275classProp("mdc-table-fixed-layout",Et.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:rt,useExisting:st},{provide:I,useExisting:st},{provide:ee,useClass:ie},{provide:C.sL,useClass:C.xn},{provide:q,useValue:null}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:Qe,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(at,Et){1&at&&(t.\u0275\u0275projectionDef(Ze),t.\u0275\u0275projection(0),t.\u0275\u0275projection(1,1),t.\u0275\u0275template(2,Rt,1,0)(3,et,7,0)(4,ft,4,0)),2&at&&(t.\u0275\u0275advance(2),t.\u0275\u0275conditional(2,Et._isServer?2:-1),t.\u0275\u0275advance(),t.\u0275\u0275conditional(3,Et._isNativeHtmlTable?3:4))},dependencies:[vt,Oe,we,it],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 st})(),de=(()=>{class st extends O{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","matCellDef",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:O,useExisting:st}]),t.\u0275\u0275InheritDefinitionFeature]})}return st})(),Se=(()=>{class st extends T{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:T,useExisting:st}]),t.\u0275\u0275InheritDefinitionFeature]})}return st})(),tt=(()=>{class st extends F{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:F,useExisting:st}]),t.\u0275\u0275InheritDefinitionFeature]})}return st})(),It=(()=>{class st extends S{get name(){return this._name}set name(Be){this._setNameInput(Be)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","matColumnDef",""]],inputs:{name:[t.\u0275\u0275InputFlags.None,"matColumnDef","name"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:S,useExisting:st},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:st}]),t.\u0275\u0275InheritDefinitionFeature]})}return st})(),Kt=(()=>{class st extends N{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,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 st})(),ln=(()=>{class st extends A{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,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 st})(),_t=(()=>{class st extends U{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return st})(),Je=(()=>{class st extends G{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"matHeaderRowDef","columns"],sticky:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"matHeaderRowDefSticky","sticky",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:G,useExisting:st}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature]})}return st})(),Ue=(()=>{class st extends V{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","matFooterRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"matFooterRowDef","columns"],sticky:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"matFooterRowDefSticky","sticky",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:V,useExisting:st}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature]})}return st})(),nt=(()=>{class st extends W{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["","matRowDef",""]],inputs:{columns:[t.\u0275\u0275InputFlags.None,"matRowDefColumns","columns"],when:[t.\u0275\u0275InputFlags.None,"matRowDefWhen","when"]},standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:W,useExisting:st}]),t.\u0275\u0275InheritDefinitionFeature]})}return st})(),He=(()=>{class st extends le{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:st,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:le,useExisting:st}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(at,Et){1&at&&t.\u0275\u0275elementContainer(0,0)},dependencies:[K],encapsulation:2})}return st})(),dt=(()=>{class st extends ue{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:st,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:ue,useExisting:st}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(at,Et){1&at&&t.\u0275\u0275elementContainer(0,0)},dependencies:[K],encapsulation:2})}return st})(),At=(()=>{class st extends ve{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:st,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:ve,useExisting:st}]),t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(at,Et){1&at&&t.\u0275\u0275elementContainer(0,0)},dependencies:[K],encapsulation:2})}return st})(),en=(()=>{class st extends Ye{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:st,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ye,useExisting:st}]),t.\u0275\u0275InheritDefinitionFeature]})}return st})(),yn=(()=>{class st extends Xt{static#e=this.\u0275fac=(()=>{let Be;return function(Et){return(Be||(Be=t.\u0275\u0275getInheritedFactory(st)))(Et||st)}})();static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:st,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(at,Et){1&at&&(t.\u0275\u0275elementContainerStart(0,0),t.\u0275\u0275template(1,Re,2,3,"th",1)(2,pe,2,3,"td",2),t.\u0275\u0275elementContainerEnd())},dependencies:[It,Se,Kt,de,_t],encapsulation:2})}return st})(),Ri=(()=>{class st{static#e=this.\u0275fac=function(at){return new(at||st)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:st});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[rn.MatCommonModule,hn,rn.MatCommonModule]})}return st})();class Vn extends C.qS{get data(){return this._data.value}set data(qt){qt=Array.isArray(qt)?qt:[],this._data.next(qt),this._renderChangesSubscription||this._filterData(qt)}get filter(){return this._filter.value}set filter(qt){this._filter.next(qt),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(qt){this._sort=qt,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(qt){this._paginator=qt,this._updateChangeSubscription()}constructor(qt=[]){super(),this._renderData=new d.t([]),this._filter=new d.t(""),this._internalPageChanges=new s.B,this._renderChangesSubscription=null,this.sortingDataAccessor=(Be,at)=>{const Et=Be[at];if((0,Vt.o1)(Et)){const sn=Number(Et);return sn<9007199254740991?sn:Et}return Et},this.sortData=(Be,at)=>{const Et=at.active,sn=at.direction;return Et&&""!=sn?Be.sort((Le,ut)=>{let ot=this.sortingDataAccessor(Le,Et),pt=this.sortingDataAccessor(ut,Et);const wt=typeof ot,Ie=typeof pt;wt!==Ie&&("number"===wt&&(ot+=""),"number"===Ie&&(pt+=""));let Tt=0;return null!=ot&&null!=pt?ot>pt?Tt=1:ot{const Et=Object.keys(Be).reduce((Le,ut)=>Le+Be[ut]+"\u25ec","").toLowerCase(),sn=at.trim().toLowerCase();return-1!=Et.indexOf(sn)},this._data=new d.t(qt),this._updateChangeSubscription()}_updateChangeSubscription(){const qt=this._sort?(0,fn.h)(this._sort.sortChange,this._sort.initialized):(0,a.of)(null),Be=this._paginator?(0,fn.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,a.of)(null),Et=(0,Pt.z)([this._data,this._filter]).pipe((0,_e.T)(([ut])=>this._filterData(ut))),sn=(0,Pt.z)([Et,qt]).pipe((0,_e.T)(([ut])=>this._orderData(ut))),Le=(0,Pt.z)([sn,Be]).pipe((0,_e.T)(([ut])=>this._pageData(ut)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Le.subscribe(ut=>this._renderData.next(ut))}_filterData(qt){return this.filteredData=null==this.filter||""===this.filter?qt:qt.filter(Be=>this.filterPredicate(Be,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(qt){return this.sort?this.sortData(qt.slice(),this.sort):qt}_pageData(qt){if(!this.paginator)return qt;const Be=this.paginator.pageIndex*this.paginator.pageSize;return qt.slice(Be,Be+this.paginator.pageSize)}_updatePaginator(qt){Promise.resolve().then(()=>{const Be=this.paginator;if(Be&&(Be.length=qt,Be.pageIndex>0)){const at=Math.ceil(Be.length/Be.pageSize)-1||0,Et=Math.min(Be.pageIndex,at);Et!==Be.pageIndex&&(Be.pageIndex=Et,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},6850:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MAT_TAB:()=>Fe,MAT_TABS_CONFIG:()=>hn,MAT_TAB_CONTENT:()=>Ae,MAT_TAB_GROUP:()=>$e,MAT_TAB_LABEL:()=>We,MatInkBar:()=>vt,MatPaginatedTabHeader:()=>Xt,MatTab:()=>q,MatTabBody:()=>fn,MatTabBodyPortal:()=>rn,MatTabChangeEvent:()=>Ze,MatTabContent:()=>me,MatTabGroup:()=>_e,MatTabHeader:()=>dn,MatTabLabel:()=>xe,MatTabLabelWrapper:()=>Me,MatTabLink:()=>et,MatTabNav:()=>Rt,MatTabNavPanel:()=>ft,MatTabsModule:()=>Re,_MAT_INK_BAR_POSITIONER:()=>Ge,_MAT_INK_BAR_POSITIONER_FACTORY:()=>we,matTabsAnimations:()=>un});var t=g(4438),v=g(6600),C=g(6939),E=g(1413),c=g(3726),b=g(7673),s=g(7786),f=g(983),d=g(1985),l=g(1807),a=g(8359),r=g(4412),u=g(5478),h=g(6860),p=g(8203),_=g(6039),y=g(7336),M=g(6977),w=g(6697),k=g(9172),I=g(5558),D=g(5245),O=g(5964),T=g(3294),F=g(2318),S=g(177),R=g(9969);const N=["*"];function A(pe,Ke){1&pe&&t.\u0275\u0275projection(0)}const U=["tabListContainer"],Y=["tabList"],ee=["tabListInner"],ie=["nextPaginator"],$=["previousPaginator"],j=pe=>({animationDuration:pe}),G=(pe,Ke)=>({value:pe,params:Ke});function V(pe,Ke){}const W=["tabBodyWrapper"],K=["tabHeader"];function le(pe,Ke){}function ue(pe,Ke){if(1&pe&&t.\u0275\u0275template(0,le,0,0,"ng-template",12),2&pe){const te=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275property("cdkPortalOutlet",te.templateLabel)}}function ve(pe,Ke){if(1&pe&&t.\u0275\u0275text(0),2&pe){const te=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275textInterpolate(te.textLabel)}}function Ye(pe,Ke){if(1&pe){const te=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",7,2),t.\u0275\u0275listener("click",function(){const Se=t.\u0275\u0275restoreView(te),tt=Se.$implicit,It=Se.$index,Kt=t.\u0275\u0275nextContext(),ln=t.\u0275\u0275reference(1);return t.\u0275\u0275resetView(Kt._handleClick(tt,ln,It))})("cdkFocusChange",function(Se){const tt=t.\u0275\u0275restoreView(te).$index,It=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(It._tabFocusChanged(Se,tt))}),t.\u0275\u0275element(2,"span",8)(3,"div",9),t.\u0275\u0275elementStart(4,"span",10)(5,"span",11),t.\u0275\u0275template(6,ue,1,1)(7,ve,1,1),t.\u0275\u0275elementEnd()()()}if(2&pe){const te=Ke.$implicit,de=Ke.$index,Se=t.\u0275\u0275reference(1),tt=t.\u0275\u0275nextContext();t.\u0275\u0275classProp("mdc-tab--active",tt.selectedIndex===de),t.\u0275\u0275property("id",tt._getTabLabelId(de))("ngClass",te.labelClass)("disabled",te.disabled)("fitInkBarToContent",tt.fitInkBarToContent),t.\u0275\u0275attribute("tabIndex",tt._getTabIndex(de))("aria-posinset",de+1)("aria-setsize",tt._tabs.length)("aria-controls",tt._getTabContentId(de))("aria-selected",tt.selectedIndex===de)("aria-label",te.ariaLabel||null)("aria-labelledby",!te.ariaLabel&&te.ariaLabelledby?te.ariaLabelledby:null),t.\u0275\u0275advance(3),t.\u0275\u0275property("matRippleTrigger",Se)("matRippleDisabled",te.disabled||tt.disableRipple),t.\u0275\u0275advance(3),t.\u0275\u0275conditional(6,te.templateLabel?6:7)}}function mt(pe,Ke){1&pe&&t.\u0275\u0275projection(0)}function ct(pe,Ke){if(1&pe){const te=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"mat-tab-body",13),t.\u0275\u0275listener("_onCentered",function(){t.\u0275\u0275restoreView(te);const Se=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(Se._removeTabBodyWrapperHeight())})("_onCentering",function(Se){t.\u0275\u0275restoreView(te);const tt=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(tt._setTabBodyWrapperHeight(Se))}),t.\u0275\u0275elementEnd()}if(2&pe){const te=Ke.$implicit,de=Ke.$index,Se=t.\u0275\u0275nextContext();t.\u0275\u0275classProp("mat-mdc-tab-body-active",Se.selectedIndex===de),t.\u0275\u0275property("id",Se._getTabContentId(de))("ngClass",te.bodyClass)("content",te.content)("position",te.position)("origin",te.origin)("animationDuration",Se.animationDuration)("preserveContent",Se.preserveContent),t.\u0275\u0275attribute("tabindex",null!=Se.contentTabIndex&&Se.selectedIndex===de?Se.contentTabIndex:null)("aria-labelledby",Se._getTabLabelId(de))("aria-hidden",Se.selectedIndex!==de)}}const Ct=["mat-tab-nav-bar",""],Pe=["mat-tab-link",""],Ae=new t.InjectionToken("MatTabContent");let me=(()=>{class pe{constructor(te){this.template=te}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275directiveInject(t.TemplateRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:pe,selectors:[["","matTabContent",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:Ae,useExisting:pe}])]})}return pe})();const We=new t.InjectionToken("MatTabLabel"),Fe=new t.InjectionToken("MAT_TAB");let xe=(()=>{class pe extends C.bV{constructor(te,de,Se){super(te,de),this._closestTab=Se}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275directiveInject(t.TemplateRef),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject(Fe,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:pe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[t.\u0275\u0275ProvidersFeature([{provide:We,useExisting:pe}]),t.\u0275\u0275InheritDefinitionFeature]})}return pe})();const $e=new t.InjectionToken("MAT_TAB_GROUP");let q=(()=>{class pe{get templateLabel(){return this._templateLabel}set templateLabel(te){this._setTemplateLabelInput(te)}get content(){return this._contentPortal}constructor(te,de){this._viewContainerRef=te,this._closestTabGroup=de,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new E.B,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(te){(te.hasOwnProperty("textLabel")||te.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new C.VA(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(te){te&&te._closestTab===this&&(this._templateLabel=te)}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject($e,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:pe,selectors:[["mat-tab"]],contentQueries:function(de,Se,tt){if(1&de&&(t.\u0275\u0275contentQuery(tt,xe,5),t.\u0275\u0275contentQuery(tt,me,7,t.TemplateRef)),2&de){let It;t.\u0275\u0275queryRefresh(It=t.\u0275\u0275loadQuery())&&(Se.templateLabel=It.first),t.\u0275\u0275queryRefresh(It=t.\u0275\u0275loadQuery())&&(Se._explicitContent=It.first)}},viewQuery:function(de,Se){if(1&de&&t.\u0275\u0275viewQuery(t.TemplateRef,7),2&de){let tt;t.\u0275\u0275queryRefresh(tt=t.\u0275\u0275loadQuery())&&(Se._implicitContent=tt.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:Fe,useExisting:pe}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275NgOnChangesFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:N,decls:1,vars:0,template:function(de,Se){1&de&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275template(0,A,1,0,"ng-template"))},encapsulation:2})}return pe})();const ge="mdc-tab-indicator--active",Oe="mdc-tab-indicator--no-transition";class vt{constructor(Ke){this._items=Ke}hide(){this._items.forEach(Ke=>Ke.deactivateInkBar())}alignToElement(Ke){const te=this._items.find(Se=>Se.elementRef.nativeElement===Ke),de=this._currentItem;if(te!==de&&(de?.deactivateInkBar(),te)){const Se=de?.elementRef.nativeElement.getBoundingClientRect?.();te.activateInkBar(Se),this._currentItem=te}}}let it=(()=>{class pe{constructor(){this._elementRef=(0,t.inject)(t.ElementRef),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(te){this._fitToContent!==te&&(this._fitToContent=te,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(te){const de=this._elementRef.nativeElement;if(!te||!de.getBoundingClientRect||!this._inkBarContentElement)return void de.classList.add(ge);const Se=de.getBoundingClientRect(),tt=te.width/Se.width,It=te.left-Se.left;de.classList.add(Oe),this._inkBarContentElement.style.setProperty("transform",`translateX(${It}px) scaleX(${tt})`),de.getBoundingClientRect(),de.classList.remove(Oe),de.classList.add(ge),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(ge)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const te=this._elementRef.nativeElement.ownerDocument||document,de=this._inkBarElement=te.createElement("span"),Se=this._inkBarContentElement=te.createElement("span");de.className="mdc-tab-indicator",Se.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",de.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static#e=this.\u0275fac=function(de){return new(de||pe)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:pe,inputs:{fitInkBarToContent:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",t.booleanAttribute]},features:[t.\u0275\u0275InputTransformsFeature]})}return pe})();function we(){return Ke=>({left:Ke?(Ke.offsetLeft||0)+"px":"0",width:Ke?(Ke.offsetWidth||0)+"px":"0"})}const Ge=new t.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:we});let Me=(()=>{class pe extends it{constructor(te){super(),this.elementRef=te,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(de){return new(de||pe)(t.\u0275\u0275directiveInject(t.ElementRef))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:pe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(de,Se){2&de&&(t.\u0275\u0275attribute("aria-disabled",!!Se.disabled),t.\u0275\u0275classProp("mat-mdc-tab-disabled",Se.disabled))},inputs:{disabled:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disabled","disabled",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature]})}return pe})();const rt=(0,h.BQ)({passive:!0});let Xt=(()=>{class pe{get selectedIndex(){return this._selectedIndex}set selectedIndex(te){const de=isNaN(te)?0:te;this._selectedIndex!=de&&(this._selectedIndexChanged=!0,this._selectedIndex=de,this._keyManager&&this._keyManager.updateActiveItem(de))}constructor(te,de,Se,tt,It,Kt,ln){this._elementRef=te,this._changeDetectorRef=de,this._viewportRuler=Se,this._dir=tt,this._ngZone=It,this._platform=Kt,this._animationMode=ln,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new E.B,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new E.B,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.EventEmitter,this.indexFocused=new t.EventEmitter,It.runOutsideAngular(()=>{(0,c.R)(te.nativeElement,"mouseleave").pipe((0,M.Q)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,c.R)(this._previousPaginator.nativeElement,"touchstart",rt).pipe((0,M.Q)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,c.R)(this._nextPaginator.nativeElement,"touchstart",rt).pipe((0,M.Q)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const te=this._dir?this._dir.change:(0,b.of)("ltr"),de=this._viewportRuler.change(150),Se=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new _.Bu(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,w.s)(1)).subscribe(Se),(0,s.h)(te,de,this._items.changes,this._itemsResized()).pipe((0,M.Q)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Se()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(tt=>{this.indexFocused.emit(tt),this._setTabFocus(tt)})}_itemsResized(){return"function"!=typeof ResizeObserver?f.w:this._items.changes.pipe((0,k.Z)(this._items),(0,I.n)(te=>new d.c(de=>this._ngZone.runOutsideAngular(()=>{const Se=new ResizeObserver(tt=>de.next(tt));return te.forEach(tt=>Se.observe(tt.elementRef.nativeElement)),()=>{Se.disconnect()}}))),(0,D.i)(1),(0,O.p)(te=>te.some(de=>de.contentRect.width>0&&de.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(te){if(!(0,y.rp)(te))switch(te.keyCode){case y.Fm:case y.t6:if(this.focusIndex!==this.selectedIndex){const de=this._items.get(this.focusIndex);de&&!de.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(te))}break;default:this._keyManager.onKeydown(te)}}_onContentChanges(){const te=this._elementRef.nativeElement.textContent;te!==this._currentTextContent&&(this._currentTextContent=te||"",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(te){!this._isValidIndex(te)||this.focusIndex===te||!this._keyManager||this._keyManager.setActiveItem(te)}_isValidIndex(te){return!this._items||!!this._items.toArray()[te]}_setTabFocus(te){if(this._showPaginationControls&&this._scrollToLabel(te),this._items&&this._items.length){this._items.toArray()[te].focus();const de=this._tabListContainer.nativeElement;de.scrollLeft="ltr"==this._getLayoutDirection()?0:de.scrollWidth-de.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const te=this.scrollDistance,de="ltr"===this._getLayoutDirection()?-te:te;this._tabList.nativeElement.style.transform=`translateX(${Math.round(de)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(te){this._scrollTo(te)}_scrollHeader(te){return this._scrollTo(this._scrollDistance+("before"==te?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(te){this._stopInterval(),this._scrollHeader(te)}_scrollToLabel(te){if(this.disablePagination)return;const de=this._items?this._items.toArray()[te]:null;if(!de)return;const Se=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:tt,offsetWidth:It}=de.elementRef.nativeElement;let Kt,ln;"ltr"==this._getLayoutDirection()?(Kt=tt,ln=Kt+It):(ln=this._tabListInner.nativeElement.offsetWidth-tt,Kt=ln-It);const _t=this.scrollDistance,Nt=this.scrollDistance+Se;Kt<_t?this.scrollDistance-=_t-Kt:ln>Nt&&(this.scrollDistance+=Math.min(ln-Nt,Kt-_t))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const te=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;te||(this.scrollDistance=0),te!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=te}}_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 te=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,de=te?te.elementRef.nativeElement:null;de?this._inkBar.alignToElement(de):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(te,de){de&&null!=de.button&&0!==de.button||(this._stopInterval(),(0,l.O)(650,100).pipe((0,M.Q)((0,s.h)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Se,distance:tt}=this._scrollHeader(te);(0===tt||tt>=Se)&&this._stopInterval()}))}_scrollTo(te){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const de=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(de,te)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:de,distance:this._scrollDistance}}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(u.Xj),t.\u0275\u0275directiveInject(p.dS,8),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(h.OD),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})(),dn=(()=>{class pe extends Xt{constructor(te,de,Se,tt,It,Kt,ln){super(te,de,Se,tt,It,Kt,ln),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new vt(this._items),super.ngAfterContentInit()}_itemSelected(te){te.preventDefault()}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(u.Xj),t.\u0275\u0275directiveInject(p.dS,8),t.\u0275\u0275directiveInject(t.NgZone),t.\u0275\u0275directiveInject(h.OD),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:pe,selectors:[["mat-tab-header"]],contentQueries:function(de,Se,tt){if(1&de&&t.\u0275\u0275contentQuery(tt,Me,4),2&de){let It;t.\u0275\u0275queryRefresh(It=t.\u0275\u0275loadQuery())&&(Se._items=It)}},viewQuery:function(de,Se){if(1&de&&(t.\u0275\u0275viewQuery(U,7),t.\u0275\u0275viewQuery(Y,7),t.\u0275\u0275viewQuery(ee,7),t.\u0275\u0275viewQuery(ie,5),t.\u0275\u0275viewQuery($,5)),2&de){let tt;t.\u0275\u0275queryRefresh(tt=t.\u0275\u0275loadQuery())&&(Se._tabListContainer=tt.first),t.\u0275\u0275queryRefresh(tt=t.\u0275\u0275loadQuery())&&(Se._tabList=tt.first),t.\u0275\u0275queryRefresh(tt=t.\u0275\u0275loadQuery())&&(Se._tabListInner=tt.first),t.\u0275\u0275queryRefresh(tt=t.\u0275\u0275loadQuery())&&(Se._nextPaginator=tt.first),t.\u0275\u0275queryRefresh(tt=t.\u0275\u0275loadQuery())&&(Se._previousPaginator=tt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(de,Se){2&de&&t.\u0275\u0275classProp("mat-mdc-tab-header-pagination-controls-enabled",Se._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Se._getLayoutDirection())},inputs:{disableRipple:[t.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableRipple","disableRipple",t.booleanAttribute]},standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:N,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(de,Se){if(1&de){const tt=t.\u0275\u0275getCurrentView();t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"button",5,0),t.\u0275\u0275listener("click",function(){return t.\u0275\u0275restoreView(tt),t.\u0275\u0275resetView(Se._handlePaginatorClick("before"))})("mousedown",function(Kt){return t.\u0275\u0275restoreView(tt),t.\u0275\u0275resetView(Se._handlePaginatorPress("before",Kt))})("touchend",function(){return t.\u0275\u0275restoreView(tt),t.\u0275\u0275resetView(Se._stopInterval())}),t.\u0275\u0275element(2,"div",6),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"div",7,1),t.\u0275\u0275listener("keydown",function(Kt){return t.\u0275\u0275restoreView(tt),t.\u0275\u0275resetView(Se._handleKeydown(Kt))}),t.\u0275\u0275elementStart(5,"div",8,2),t.\u0275\u0275listener("cdkObserveContent",function(){return t.\u0275\u0275restoreView(tt),t.\u0275\u0275resetView(Se._onContentChanges())}),t.\u0275\u0275elementStart(7,"div",9,3),t.\u0275\u0275projection(9),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275elementStart(10,"button",10,4),t.\u0275\u0275listener("mousedown",function(Kt){return t.\u0275\u0275restoreView(tt),t.\u0275\u0275resetView(Se._handlePaginatorPress("after",Kt))})("click",function(){return t.\u0275\u0275restoreView(tt),t.\u0275\u0275resetView(Se._handlePaginatorClick("after"))})("touchend",function(){return t.\u0275\u0275restoreView(tt),t.\u0275\u0275resetView(Se._stopInterval())}),t.\u0275\u0275element(12,"div",6),t.\u0275\u0275elementEnd()}2&de&&(t.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Se._disableScrollBefore),t.\u0275\u0275property("matRippleDisabled",Se._disableScrollBefore||Se.disableRipple)("disabled",Se._disableScrollBefore||null),t.\u0275\u0275advance(3),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Se._animationMode),t.\u0275\u0275advance(7),t.\u0275\u0275classProp("mat-mdc-tab-header-pagination-disabled",Se._disableScrollAfter),t.\u0275\u0275property("matRippleDisabled",Se._disableScrollAfter||Se.disableRipple)("disabled",Se._disableScrollAfter||null))},dependencies:[v.MatRipple,F.Wv],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 hn=new t.InjectionToken("MAT_TABS_CONFIG"),un={translateTab:(0,R.hZ)("translateTab",[(0,R.wk)("center, void, left-origin-center, right-origin-center",(0,R.iF)({transform:"none"})),(0,R.wk)("left",(0,R.iF)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,R.wk)("right",(0,R.iF)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,R.kY)("* => left, * => right, left => center, right => center",(0,R.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,R.kY)("void => left-origin-center",[(0,R.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,R.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,R.kY)("void => right-origin-center",[(0,R.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,R.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let rn=(()=>{class pe extends C.I3{constructor(te,de,Se,tt){super(te,de,tt),this._host=Se,this._centeringSub=a.yU.EMPTY,this._leavingSub=a.yU.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,k.Z)(this._host._isCenterPosition(this._host._position))).subscribe(te=>{te&&!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(de){return new(de||pe)(t.\u0275\u0275directiveInject(t.ComponentFactoryResolver),t.\u0275\u0275directiveInject(t.ViewContainerRef),t.\u0275\u0275directiveInject((0,t.forwardRef)(()=>fn)),t.\u0275\u0275directiveInject(S.DOCUMENT))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:pe,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[t.\u0275\u0275InheritDefinitionFeature]})}return pe})(),fn=(()=>{class pe{set position(te){this._positionIndex=te,this._computePositionAnimationState()}constructor(te,de,Se){this._elementRef=te,this._dir=de,this._dirChangeSubscription=a.yU.EMPTY,this._translateTabComplete=new E.B,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,de&&(this._dirChangeSubscription=de.change.subscribe(tt=>{this._computePositionAnimationState(tt),Se.markForCheck()})),this._translateTabComplete.pipe((0,T.F)((tt,It)=>tt.fromState===It.fromState&&tt.toState===It.toState)).subscribe(tt=>{this._isCenterPosition(tt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(tt.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(te){const de=this._isCenterPosition(te.toState);this._beforeCentering.emit(de),de&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(te){return"center"==te||"left-origin-center"==te||"right-origin-center"==te}_computePositionAnimationState(te=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==te?"left":"right":this._positionIndex>0?"ltr"==te?"right":"left":"center"}_computePositionFromOrigin(te){const de=this._getLayoutDirection();return"ltr"==de&&te<=0||"rtl"==de&&te>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(p.dS,8),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:pe,selectors:[["mat-tab-body"]],viewQuery:function(de,Se){if(1&de&&t.\u0275\u0275viewQuery(C.I3,5),2&de){let tt;t.\u0275\u0275queryRefresh(tt=t.\u0275\u0275loadQuery())&&(Se._portalHost=tt.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:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(de,Se){if(1&de){const tt=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",1,0),t.\u0275\u0275listener("@translateTab.start",function(Kt){return t.\u0275\u0275restoreView(tt),t.\u0275\u0275resetView(Se._onTranslateTabStarted(Kt))})("@translateTab.done",function(Kt){return t.\u0275\u0275restoreView(tt),t.\u0275\u0275resetView(Se._translateTabComplete.next(Kt))}),t.\u0275\u0275template(2,V,0,0,"ng-template",2),t.\u0275\u0275elementEnd()}2&de&&t.\u0275\u0275property("@translateTab",t.\u0275\u0275pureFunction2(3,G,Se._position,t.\u0275\u0275pureFunction1(1,j,Se.animationDuration)))},dependencies:[rn,u.uv],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:[un.translateTab]}})}return pe})(),Pt=0,_e=(()=>{class pe{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(te){this._fitInkBarToContent=te,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(te){this._indexToSelect=isNaN(te)?null:te}get animationDuration(){return this._animationDuration}set animationDuration(te){const de=te+"";this._animationDuration=/^\d+$/.test(de)?te+"ms":de}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(te){this._contentTabIndex=isNaN(te)?null:te}get backgroundColor(){return this._backgroundColor}set backgroundColor(te){const de=this._elementRef.nativeElement.classList;de.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),te&&de.add("mat-tabs-with-background",`mat-background-${te}`),this._backgroundColor=te}constructor(te,de,Se,tt){this._elementRef=te,this._changeDetectorRef=de,this._animationMode=tt,this._tabs=new t.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=a.yU.EMPTY,this._tabLabelSubscription=a.yU.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.OD).isBrowser,this._groupId=Pt++,this.animationDuration=Se&&Se.animationDuration?Se.animationDuration:"500ms",this.disablePagination=!(!Se||null==Se.disablePagination)&&Se.disablePagination,this.dynamicHeight=!(!Se||null==Se.dynamicHeight)&&Se.dynamicHeight,null!=Se?.contentTabIndex&&(this.contentTabIndex=Se.contentTabIndex),this.preserveContent=!!Se?.preserveContent,this.fitInkBarToContent=!(!Se||null==Se.fitInkBarToContent)&&Se.fitInkBarToContent,this.stretchTabs=!Se||null==Se.stretchTabs||Se.stretchTabs}ngAfterContentChecked(){const te=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=te){const de=null==this._selectedIndex;if(!de){this.selectedTabChange.emit(this._createChangeEvent(te));const Se=this._tabBodyWrapper.nativeElement;Se.style.minHeight=Se.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Se,tt)=>Se.isActive=tt===te),de||(this.selectedIndexChange.emit(te),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((de,Se)=>{de.position=Se-te,null!=this._selectedIndex&&0==de.position&&!de.origin&&(de.origin=te-this._selectedIndex)}),this._selectedIndex!==te&&(this._selectedIndex=te,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const te=this._clampTabIndex(this._indexToSelect);if(te===this._selectedIndex){const de=this._tabs.toArray();let Se;for(let tt=0;tt{de[te].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(te))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,k.Z)(this._allTabs)).subscribe(te=>{this._tabs.reset(te.filter(de=>de._closestTabGroup===this||!de._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(te){const de=this._tabHeader;de&&(de.focusIndex=te)}_focusChanged(te){this._lastFocusedTabIndex=te,this.focusChange.emit(this._createChangeEvent(te))}_createChangeEvent(te){const de=new Ze;return de.index=te,this._tabs&&this._tabs.length&&(de.tab=this._tabs.toArray()[te]),de}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,s.h)(...this._tabs.map(te=>te._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(te){return Math.min(this._tabs.length-1,Math.max(te||0,0))}_getTabLabelId(te){return`mat-tab-label-${this._groupId}-${te}`}_getTabContentId(te){return`mat-tab-content-${this._groupId}-${te}`}_setTabBodyWrapperHeight(te){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;const de=this._tabBodyWrapper.nativeElement;de.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(de.style.height=te+"px")}_removeTabBodyWrapperHeight(){const te=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=te.clientHeight,te.style.height="",this.animationDone.emit()}_handleClick(te,de,Se){de.focusIndex=Se,te.disabled||(this.selectedIndex=Se)}_getTabIndex(te){return te===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(te,de){te&&"mouse"!==te&&"touch"!==te&&(this._tabHeader.focusIndex=de)}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(hn,8),t.\u0275\u0275directiveInject(t.ANIMATION_MODULE_TYPE,8))};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:pe,selectors:[["mat-tab-group"]],contentQueries:function(de,Se,tt){if(1&de&&t.\u0275\u0275contentQuery(tt,q,5),2&de){let It;t.\u0275\u0275queryRefresh(It=t.\u0275\u0275loadQuery())&&(Se._allTabs=It)}},viewQuery:function(de,Se){if(1&de&&(t.\u0275\u0275viewQuery(W,5),t.\u0275\u0275viewQuery(K,5)),2&de){let tt;t.\u0275\u0275queryRefresh(tt=t.\u0275\u0275loadQuery())&&(Se._tabBodyWrapper=tt.first),t.\u0275\u0275queryRefresh(tt=t.\u0275\u0275loadQuery())&&(Se._tabHeader=tt.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(de,Se){2&de&&(t.\u0275\u0275classMap("mat-"+(Se.color||"primary")),t.\u0275\u0275styleProp("--mat-tab-animation-duration",Se.animationDuration),t.\u0275\u0275classProp("mat-mdc-tab-group-dynamic-height",Se.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Se.headerPosition)("mat-mdc-tab-group-stretch-tabs",Se.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:$e,useExisting:pe}]),t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275StandaloneFeature],ngContentSelectors:N,decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","ngClass","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function(de,Se){if(1&de){const tt=t.\u0275\u0275getCurrentView();t.\u0275\u0275projectionDef(),t.\u0275\u0275elementStart(0,"mat-tab-header",3,0),t.\u0275\u0275listener("indexFocused",function(Kt){return t.\u0275\u0275restoreView(tt),t.\u0275\u0275resetView(Se._focusChanged(Kt))})("selectFocusedIndex",function(Kt){return t.\u0275\u0275restoreView(tt),t.\u0275\u0275resetView(Se.selectedIndex=Kt)}),t.\u0275\u0275repeaterCreate(2,Ye,8,16,"div",4,t.\u0275\u0275repeaterTrackByIdentity),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,mt,1,0),t.\u0275\u0275elementStart(5,"div",5,1),t.\u0275\u0275repeaterCreate(7,ct,1,12,"mat-tab-body",6,t.\u0275\u0275repeaterTrackByIdentity),t.\u0275\u0275elementEnd()}2&de&&(t.\u0275\u0275property("selectedIndex",Se.selectedIndex||0)("disableRipple",Se.disableRipple)("disablePagination",Se.disablePagination),t.\u0275\u0275advance(2),t.\u0275\u0275repeater(Se._tabs),t.\u0275\u0275advance(2),t.\u0275\u0275conditional(4,Se._isServer?4:-1),t.\u0275\u0275advance(),t.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Se._animationMode),t.\u0275\u0275advance(2),t.\u0275\u0275repeater(Se._tabs))},dependencies:[dn,Me,_.vR,S.NgClass,v.MatRipple,C.I3,fn],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 Ze{}let Qe=0,Rt=(()=>{class pe extends Xt{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(te){this._fitInkBarToContent.next(te),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(te){const de=te+"";this._animationDuration=/^\d+$/.test(de)?te+"ms":de}get backgroundColor(){return this._backgroundColor}set backgroundColor(te){const de=this._elementRef.nativeElement.classList;de.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),te&&de.add("mat-tabs-with-background",`mat-background-${te}`),this._backgroundColor=te}constructor(te,de,Se,tt,It,Kt,ln,_t){super(te,tt,It,de,Se,Kt,ln),this._fitInkBarToContent=new r.t(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=!(!_t||null==_t.disablePagination)&&_t.disablePagination,this.fitInkBarToContent=!(!_t||null==_t.fitInkBarToContent)&&_t.fitInkBarToContent,this.stretchTabs=!_t||null==_t.stretchTabs||_t.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new vt(this._items),this._items.changes.pipe((0,k.Z)(null),(0,M.Q)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const te=this._items.toArray();for(let de=0;de.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})(),et=(()=>{class pe extends it{get active(){return this._isActive}set active(te){te!==this._isActive&&(this._isActive=te,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(te,de,Se,tt,It,Kt){super(),this._tabNavBar=te,this.elementRef=de,this._focusMonitor=It,this._destroyed=new E.B,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id="mat-tab-link-"+Qe++,this.rippleConfig=Se||{},this.tabIndex=parseInt(tt)||0,"NoopAnimations"===Kt&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),te._fitInkBarToContent.pipe((0,M.Q)(this._destroyed)).subscribe(ln=>{this.fitInkBarToContent=ln})}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(te){(te.keyCode===y.t6||te.keyCode===y.Fm)&&(this.disabled?te.preventDefault():this._tabNavBar.tabPanel&&(te.keyCode===y.t6&&te.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(de){return new(de||pe)(t.\u0275\u0275directiveInject(Rt),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(v.MAT_RIPPLE_GLOBAL_OPTIONS,8),t.\u0275\u0275injectAttribute("tabindex"),t.\u0275\u0275directiveInject(_.FN),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(de,Se){1&de&&t.\u0275\u0275listener("focus",function(){return Se._handleFocus()})("keydown",function(It){return Se._handleKeydown(It)}),2&de&&(t.\u0275\u0275attribute("aria-controls",Se._getAriaControls())("aria-current",Se._getAriaCurrent())("aria-disabled",Se.disabled)("aria-selected",Se._getAriaSelected())("id",Se.id)("tabIndex",Se._getTabIndex())("role",Se._getRole()),t.\u0275\u0275classProp("mat-mdc-tab-disabled",Se.disabled)("mdc-tab--active",Se.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",te=>null==te?0:(0,t.numberAttribute)(te)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[t.\u0275\u0275InputTransformsFeature,t.\u0275\u0275InheritDefinitionFeature,t.\u0275\u0275StandaloneFeature],attrs:Pe,ngContentSelectors:N,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(de,Se){1&de&&(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&de&&(t.\u0275\u0275advance(),t.\u0275\u0275property("matRippleTrigger",Se.elementRef.nativeElement)("matRippleDisabled",Se.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})(),ft=(()=>{class pe{constructor(){this.id="mat-tab-nav-panel-"+Qe++}static#e=this.\u0275fac=function(de){return new(de||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(de,Se){2&de&&t.\u0275\u0275attribute("aria-labelledby",Se._activeTabId)("id",Se.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],ngContentSelectors:N,decls:1,vars:0,template:function(de,Se){1&de&&(t.\u0275\u0275projectionDef(),t.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0})}return pe})(),Re=(()=>{class pe{static#e=this.\u0275fac=function(de){return new(de||pe)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:pe});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({imports:[v.MatCommonModule,v.MatCommonModule]})}return pe})()},5911:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MatToolbar:()=>f,MatToolbarModule:()=>l,MatToolbarRow:()=>s,throwToolbarMixedModesError:()=>d});var t=g(4438),v=g(6600),C=g(6860),E=g(177);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.OD),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})()},4823:(De,ne,g)=>{"use strict";g.d(ne,{oV:()=>Y,uc:()=>$});var t=g(6977),v=g(6697),C=g(4085),E=g(7336),c=g(4438),b=g(177),s=g(6860),f=g(6039),d=g(8203),l=g(7987),a=g(5478),r=g(6939),u=g(1413),p=(g(9969),g(6600));const _=["tooltip"],w=new c.InjectionToken("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const j=(0,c.inject)(l.hJ);return()=>j.scrollStrategies.reposition({scrollThrottle:20})}}),I={provide:w,deps:[l.hJ],useFactory:function k(j){return()=>j.scrollStrategies.reposition({scrollThrottle:20})}},O=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function D(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),F="tooltip-panel",S=(0,s.BQ)({passive:!0});let Y=(()=>{class j{get position(){return this._position}set position(V){V!==this._position&&(this._position=V,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(V){this._positionAtOrigin=(0,C.he)(V),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(V){this._disabled=(0,C.he)(V),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(V){this._showDelay=(0,C.OE)(V)}get hideDelay(){return this._hideDelay}set hideDelay(V){this._hideDelay=(0,C.OE)(V),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(V){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=V?String(V).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(V){this._tooltipClass=V,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(V,W,K,le,ue,ve,Ye,mt,ct,Ct,Pe,Ae){this._overlay=V,this._elementRef=W,this._scrollDispatcher=K,this._viewContainerRef=le,this._ngZone=ue,this._platform=ve,this._ariaDescriber=Ye,this._focusMonitor=mt,this._dir=Ct,this._defaultOptions=Pe,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=ee,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new u.B,this._scrollStrategy=ct,this._document=Ae,Pe&&(this._showDelay=Pe.showDelay,this._hideDelay=Pe.hideDelay,Pe.position&&(this.position=Pe.position),Pe.positionAtOrigin&&(this.positionAtOrigin=Pe.positionAtOrigin),Pe.touchGestures&&(this.touchGestures=Pe.touchGestures)),Ct.change.pipe((0,t.Q)(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.Q)(this._destroyed)).subscribe(V=>{V?"keyboard"===V&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const V=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([W,K])=>{V.removeEventListener(W,K,S)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(V,this.message,"tooltip"),this._focusMonitor.stopMonitoring(V)}show(V=this.showDelay,W){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const K=this._createOverlay(W);this._detach(),this._portal=this._portal||new r.A8(this._tooltipComponent,this._viewContainerRef);const le=this._tooltipInstance=K.attach(this._portal).instance;le._triggerElement=this._elementRef.nativeElement,le._mouseLeaveHideDelay=this._hideDelay,le.afterHidden().pipe((0,t.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),le.show(V)}hide(V=this.hideDelay){const W=this._tooltipInstance;W&&(W.isVisible()?W.hide(V):(W._cancelPendingAnimations(),this._detach()))}toggle(V){this._isTooltipVisible()?this.hide():this.show(void 0,V)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(V){if(this._overlayRef){const le=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!V)&&le._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const W=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),K=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&V||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(W);return K.positionChanges.pipe((0,t.Q)(this._destroyed)).subscribe(le=>{this._updateCurrentPositionClass(le.connectionPair),this._tooltipInstance&&le.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:K,panelClass:`${this._cssClassPrefix}-${F}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,t.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,t.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,t.Q)(this._destroyed)).subscribe(le=>{this._isTooltipVisible()&&le.keyCode===E._f&&!(0,E.rp)(le)&&(le.preventDefault(),le.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(V){const W=V.getConfig().positionStrategy,K=this._getOrigin(),le=this._getOverlayPosition();W.withPositions([this._addOffset({...K.main,...le.main}),this._addOffset({...K.fallback,...le.fallback})])}_addOffset(V){const K=!this._dir||"ltr"==this._dir.value;return"top"===V.originY?V.offsetY=-8:"bottom"===V.originY?V.offsetY=8:"start"===V.originX?V.offsetX=K?-8:8:"end"===V.originX&&(V.offsetX=K?8:-8),V}_getOrigin(){const V=!this._dir||"ltr"==this._dir.value,W=this.position;let K;"above"==W||"below"==W?K={originX:"center",originY:"above"==W?"top":"bottom"}:"before"==W||"left"==W&&V||"right"==W&&!V?K={originX:"start",originY:"center"}:("after"==W||"right"==W&&V||"left"==W&&!V)&&(K={originX:"end",originY:"center"});const{x:le,y:ue}=this._invertPosition(K.originX,K.originY);return{main:K,fallback:{originX:le,originY:ue}}}_getOverlayPosition(){const V=!this._dir||"ltr"==this._dir.value,W=this.position;let K;"above"==W?K={overlayX:"center",overlayY:"bottom"}:"below"==W?K={overlayX:"center",overlayY:"top"}:"before"==W||"left"==W&&V||"right"==W&&!V?K={overlayX:"end",overlayY:"center"}:("after"==W||"right"==W&&V||"left"==W&&!V)&&(K={overlayX:"start",overlayY:"center"});const{x:le,y:ue}=this._invertPosition(K.overlayX,K.overlayY);return{main:K,fallback:{overlayX:le,overlayY:ue}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,v.s)(1),(0,t.Q)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(V){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=V,this._tooltipInstance._markForCheck())}_invertPosition(V,W){return"above"===this.position||"below"===this.position?"top"===W?W="bottom":"bottom"===W&&(W="top"):"end"===V?V="start":"start"===V&&(V="end"),{x:V,y:W}}_updateCurrentPositionClass(V){const{overlayY:W,originX:K,originY:le}=V;let ue;if(ue="center"===W?this._dir&&"rtl"===this._dir.value?"end"===K?"left":"right":"start"===K?"left":"right":"bottom"===W&&"top"===le?"above":"below",ue!==this._currentPosition){const ve=this._overlayRef;if(ve){const Ye=`${this._cssClassPrefix}-${F}-`;ve.removePanelClass(Ye+this._currentPosition),ve.addPanelClass(Ye+ue)}this._currentPosition=ue}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",V=>{let W;this._setupPointerExitEventsIfNeeded(),void 0!==V.x&&void 0!==V.y&&(W=V),this.show(void 0,W)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",V=>{const W=V.targetTouches?.[0],K=W?{x:W.clientX,y:W.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,K),this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const V=[];if(this._platformSupportsMouseEvents())V.push(["mouseleave",W=>{const K=W.relatedTarget;(!K||!this._overlayRef?.overlayElement.contains(K))&&this.hide()}],["wheel",W=>this._wheelListener(W)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const W=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};V.push(["touchend",W],["touchcancel",W])}this._addListeners(V),this._passiveListeners.push(...V)}_addListeners(V){V.forEach(([W,K])=>{this._elementRef.nativeElement.addEventListener(W,K,S)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(V){if(this._isTooltipVisible()){const W=this._document.elementFromPoint(V.clientX,V.clientY),K=this._elementRef.nativeElement;W!==K&&!K.contains(W)&&this.hide()}}_disableNativeGesturesIfNecessary(){const V=this.touchGestures;if("off"!==V){const W=this._elementRef.nativeElement,K=W.style;("on"===V||"INPUT"!==W.nodeName&&"TEXTAREA"!==W.nodeName)&&(K.userSelect=K.msUserSelect=K.webkitUserSelect=K.MozUserSelect="none"),("on"===V||!W.draggable)&&(K.webkitUserDrag="none"),K.touchAction="none",K.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(W){return new(W||j)(c.\u0275\u0275directiveInject(l.hJ),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(a.R),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(s.OD),c.\u0275\u0275directiveInject(f.vr),c.\u0275\u0275directiveInject(f.FN),c.\u0275\u0275directiveInject(w),c.\u0275\u0275directiveInject(d.dS),c.\u0275\u0275directiveInject(O,8),c.\u0275\u0275directiveInject(b.DOCUMENT))};static#t=this.\u0275dir=c.\u0275\u0275defineDirective({type:j,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(W,K){2&W&&c.\u0275\u0275classProp("mat-mdc-tooltip-disabled",K.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 j})(),ee=(()=>{class j{constructor(V,W,K){this._changeDetectorRef=V,this._elementRef=W,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new u.B,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===K}show(V){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},V)}hide(V){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},V)}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:V}){(!V||!this._triggerElement.contains(V))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const V=this._elementRef.nativeElement.getBoundingClientRect();return V.height>24&&V.width>=200}_handleAnimationEnd({animationName:V}){(V===this._showAnimation||V===this._hideAnimation)&&this._finalizeAnimation(V===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(V){V?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(V){const W=this._tooltip.nativeElement,K=this._showAnimation,le=this._hideAnimation;if(W.classList.remove(V?le:K),W.classList.add(V?K:le),this._isVisible=V,V&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const ue=getComputedStyle(W);("0s"===ue.getPropertyValue("animation-duration")||"none"===ue.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}V&&this._onShow(),this._animationsDisabled&&(W.classList.add("_mat-animation-noopable"),this._finalizeAnimation(V))}static#e=this.\u0275fac=function(W){return new(W||j)(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:j,selectors:[["mat-tooltip-component"]],viewQuery:function(W,K){if(1&W&&c.\u0275\u0275viewQuery(_,7),2&W){let le;c.\u0275\u0275queryRefresh(le=c.\u0275\u0275loadQuery())&&(K._tooltip=le.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(W,K){1&W&&c.\u0275\u0275listener("mouseleave",function(ue){return K._handleMouseLeave(ue)}),2&W&&c.\u0275\u0275styleProp("zoom",K.isVisible()?1:null)},standalone:!0,features:[c.\u0275\u0275StandaloneFeature],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(W,K){if(1&W){const le=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",1,0),c.\u0275\u0275listener("animationend",function(ve){return c.\u0275\u0275restoreView(le),c.\u0275\u0275resetView(K._handleAnimationEnd(ve))}),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd()()}2&W&&(c.\u0275\u0275classProp("mdc-tooltip--multiline",K._isMultiline),c.\u0275\u0275property("ngClass",K.tooltipClass),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(K.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 j})(),$=(()=>{class j{static#e=this.\u0275fac=function(W){return new(W||j)};static#t=this.\u0275mod=c.\u0275\u0275defineNgModule({type:j});static#n=this.\u0275inj=c.\u0275\u0275defineInjector({providers:[I],imports:[f.Pd,b.CommonModule,l.z_,p.MatCommonModule,p.MatCommonModule,a.Gj]})}return j})()},345:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{BrowserModule:()=>Fe,By:()=>Me,DomSanitizer:()=>rn,EVENT_MANAGER_PLUGINS:()=>a,EventManager:()=>r,EventManagerPlugin:()=>u,HAMMER_GESTURE_CONFIG:()=>zt,HAMMER_LOADER:()=>Xt,HammerGestureConfig:()=>dn,HammerModule:()=>un,HydrationFeatureKind:()=>Pt,Meta:()=>xe,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>D,Title:()=>q,TransferState:()=>Re,VERSION:()=>et,bootstrapApplication:()=>K,createApplication:()=>le,disableDebugTools:()=>Ge,enableDebugTools:()=>we,makeStateKey:()=>ft,platformBrowser:()=>Pe,provideClientHydration:()=>Rt,provideProtractorTestingSupport:()=>ve,withHttpTransferCacheOptions:()=>Ze,withNoHttpTransferCache:()=>_e,\u0275BrowserDomAdapter:()=>c,\u0275BrowserGetTestability:()=>d,\u0275DomEventsPlugin:()=>$,\u0275DomRendererFactory2:()=>S,\u0275DomSanitizerImpl:()=>fn,\u0275HammerGesturesPlugin:()=>hn,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>Ct,\u0275KeyEventsPlugin:()=>W,\u0275SharedStylesHost:()=>p,\u0275getDOM:()=>v.\u0275getDOM,\u0275initDomAdapter:()=>Ye});var t=g(4438),v=g(177),C=g(1626);class E extends v.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class c extends E{static makeCurrent(){(0,v.\u0275setRootDomAdapter)(new c)}onAndCancel(Ke,te,de){return Ke.addEventListener(te,de),()=>{Ke.removeEventListener(te,de)}}dispatchEvent(Ke,te){Ke.dispatchEvent(te)}remove(Ke){Ke.parentNode&&Ke.parentNode.removeChild(Ke)}createElement(Ke,te){return(te=te||this.getDefaultDocument()).createElement(Ke)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ke){return Ke.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ke){return Ke instanceof DocumentFragment}getGlobalEventTarget(Ke,te){return"window"===te?window:"document"===te?Ke:"body"===te?Ke.body:null}getBaseHref(Ke){const te=function s(){return b=b||document.querySelector("base"),b?b.getAttribute("href"):null}();return null==te?null:function f(pe){return new URL(pe,document.baseURI).pathname}(te)}resetBaseElement(){b=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ke){return(0,v.\u0275parseCookieValue)(document.cookie,Ke)}}let b=null;class d{addToWindow(Ke){t.\u0275global.getAngularTestability=(de,Se=!0)=>{const tt=Ke.findTestabilityInTree(de,Se);if(null==tt)throw new t.\u0275RuntimeError(5103,!1);return tt},t.\u0275global.getAllAngularTestabilities=()=>Ke.getAllTestabilities(),t.\u0275global.getAllAngularRootElements=()=>Ke.getAllRootElements(),t.\u0275global.frameworkStabilizers||(t.\u0275global.frameworkStabilizers=[]),t.\u0275global.frameworkStabilizers.push(de=>{const Se=t.\u0275global.getAllAngularTestabilities();let tt=Se.length;const It=function(){tt--,0==tt&&de()};Se.forEach(Kt=>{Kt.whenStable(It)})})}findTestabilityInTree(Ke,te,de){return null==te?null:Ke.getTestability(te)??(de?(0,v.\u0275getDOM)().isShadowRoot(te)?this.findTestabilityInTree(Ke,te.host,!0):this.findTestabilityInTree(Ke,te.parentElement,!0):null)}}let l=(()=>{class pe{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(de){return new(de||pe)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:pe,factory:pe.\u0275fac})}return pe})();const a=new t.InjectionToken("");let r=(()=>{class pe{constructor(te,de){this._zone=de,this._eventNameToPlugin=new Map,te.forEach(Se=>{Se.manager=this}),this._plugins=te.slice().reverse()}addEventListener(te,de,Se){return this._findPluginFor(de).addEventListener(te,de,Se)}getZone(){return this._zone}_findPluginFor(te){let de=this._eventNameToPlugin.get(te);if(de)return de;if(de=this._plugins.find(tt=>tt.supports(te)),!de)throw new t.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(te,de),de}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275inject(a),t.\u0275\u0275inject(t.NgZone))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:pe,factory:pe.\u0275fac})}return pe})();class u{constructor(Ke){this._doc=Ke}}const h="ng-app-id";let p=(()=>{class pe{constructor(te,de,Se,tt={}){this.doc=te,this.appId=de,this.nonce=Se,this.platformId=tt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,v.isPlatformServer)(tt),this.resetHostNodes()}addStyles(te){for(const de of te)1===this.changeUsageCount(de,1)&&this.onStyleAdded(de)}removeStyles(te){for(const de of te)this.changeUsageCount(de,-1)<=0&&this.onStyleRemoved(de)}ngOnDestroy(){const te=this.styleNodesInDOM;te&&(te.forEach(de=>de.remove()),te.clear());for(const de of this.getAllStyles())this.onStyleRemoved(de);this.resetHostNodes()}addHost(te){this.hostNodes.add(te);for(const de of this.getAllStyles())this.addStyleToHost(te,de)}removeHost(te){this.hostNodes.delete(te)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(te){for(const de of this.hostNodes)this.addStyleToHost(de,te)}onStyleRemoved(te){const de=this.styleRef;de.get(te)?.elements?.forEach(Se=>Se.remove()),de.delete(te)}collectServerRenderedStyles(){const te=this.doc.head?.querySelectorAll(`style[${h}="${this.appId}"]`);if(te?.length){const de=new Map;return te.forEach(Se=>{null!=Se.textContent&&de.set(Se.textContent,Se)}),de}return null}changeUsageCount(te,de){const Se=this.styleRef;if(Se.has(te)){const tt=Se.get(te);return tt.usage+=de,tt.usage}return Se.set(te,{usage:de,elements:[]}),de}getStyleElement(te,de){const Se=this.styleNodesInDOM,tt=Se?.get(de);if(tt?.parentNode===te)return Se.delete(de),tt.removeAttribute(h),tt;{const It=this.doc.createElement("style");return this.nonce&&It.setAttribute("nonce",this.nonce),It.textContent=de,this.platformIsServer&&It.setAttribute(h,this.appId),te.appendChild(It),It}}addStyleToHost(te,de){const Se=this.getStyleElement(te,de),tt=this.styleRef,It=tt.get(de)?.elements;It?It.push(Se):tt.set(de,{elements:[Se],usage:1})}resetHostNodes(){const te=this.hostNodes;te.clear(),te.add(this.doc.head)}static#e=this.\u0275fac=function(de){return new(de||pe)(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:pe,factory:pe.\u0275fac})}return pe})();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}`,D=new t.InjectionToken("",{providedIn:"root",factory:()=>!0});function F(pe,Ke){return Ke.map(te=>te.replace(y,pe))}let S=(()=>{class pe{constructor(te,de,Se,tt,It,Kt,ln,_t=null){this.eventManager=te,this.sharedStylesHost=de,this.appId=Se,this.removeStylesOnCompDestroy=tt,this.doc=It,this.platformId=Kt,this.ngZone=ln,this.nonce=_t,this.rendererByCompId=new Map,this.platformIsServer=(0,v.isPlatformServer)(Kt),this.defaultRenderer=new R(te,It,ln,this.platformIsServer)}createRenderer(te,de){if(!te||!de)return this.defaultRenderer;this.platformIsServer&&de.encapsulation===t.ViewEncapsulation.ShadowDom&&(de={...de,encapsulation:t.ViewEncapsulation.Emulated});const Se=this.getOrCreateRenderer(te,de);return Se instanceof ie?Se.applyToHost(te):Se instanceof ee&&Se.applyStyles(),Se}getOrCreateRenderer(te,de){const Se=this.rendererByCompId;let tt=Se.get(de.id);if(!tt){const It=this.doc,Kt=this.ngZone,ln=this.eventManager,_t=this.sharedStylesHost,Nt=this.removeStylesOnCompDestroy,Je=this.platformIsServer;switch(de.encapsulation){case t.ViewEncapsulation.Emulated:tt=new ie(ln,_t,de,this.appId,Nt,It,Kt,Je);break;case t.ViewEncapsulation.ShadowDom:return new Y(ln,_t,te,de,It,Kt,this.nonce,Je);default:tt=new ee(ln,_t,de,Nt,It,Kt,Je)}Se.set(de.id,tt)}return tt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275inject(r),t.\u0275\u0275inject(p),t.\u0275\u0275inject(t.APP_ID),t.\u0275\u0275inject(D),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:pe,factory:pe.\u0275fac})}return pe})();class R{constructor(Ke,te,de,Se){this.eventManager=Ke,this.doc=te,this.ngZone=de,this.platformIsServer=Se,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Ke,te){return te?this.doc.createElementNS(_[te]||te,Ke):this.doc.createElement(Ke)}createComment(Ke){return this.doc.createComment(Ke)}createText(Ke){return this.doc.createTextNode(Ke)}appendChild(Ke,te){(U(Ke)?Ke.content:Ke).appendChild(te)}insertBefore(Ke,te,de){Ke&&(U(Ke)?Ke.content:Ke).insertBefore(te,de)}removeChild(Ke,te){Ke&&Ke.removeChild(te)}selectRootElement(Ke,te){let de="string"==typeof Ke?this.doc.querySelector(Ke):Ke;if(!de)throw new t.\u0275RuntimeError(-5104,!1);return te||(de.textContent=""),de}parentNode(Ke){return Ke.parentNode}nextSibling(Ke){return Ke.nextSibling}setAttribute(Ke,te,de,Se){if(Se){te=Se+":"+te;const tt=_[Se];tt?Ke.setAttributeNS(tt,te,de):Ke.setAttribute(te,de)}else Ke.setAttribute(te,de)}removeAttribute(Ke,te,de){if(de){const Se=_[de];Se?Ke.removeAttributeNS(Se,te):Ke.removeAttribute(`${de}:${te}`)}else Ke.removeAttribute(te)}addClass(Ke,te){Ke.classList.add(te)}removeClass(Ke,te){Ke.classList.remove(te)}setStyle(Ke,te,de,Se){Se&(t.RendererStyleFlags2.DashCase|t.RendererStyleFlags2.Important)?Ke.style.setProperty(te,de,Se&t.RendererStyleFlags2.Important?"important":""):Ke.style[te]=de}removeStyle(Ke,te,de){de&t.RendererStyleFlags2.DashCase?Ke.style.removeProperty(te):Ke.style[te]=""}setProperty(Ke,te,de){null!=Ke&&(Ke[te]=de)}setValue(Ke,te){Ke.nodeValue=te}listen(Ke,te,de){if("string"==typeof Ke&&!(Ke=(0,v.\u0275getDOM)().getGlobalEventTarget(this.doc,Ke)))throw new Error(`Unsupported event target ${Ke} for event ${te}`);return this.eventManager.addEventListener(Ke,te,this.decoratePreventDefault(de))}decoratePreventDefault(Ke){return te=>{if("__ngUnwrap__"===te)return Ke;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Ke(te)):Ke(te))&&te.preventDefault()}}}function U(pe){return"TEMPLATE"===pe.tagName&&void 0!==pe.content}class Y extends R{constructor(Ke,te,de,Se,tt,It,Kt,ln){super(Ke,tt,It,ln),this.sharedStylesHost=te,this.hostEl=de,this.shadowRoot=de.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const _t=F(Se.id,Se.styles);for(const Nt of _t){const Je=document.createElement("style");Kt&&Je.setAttribute("nonce",Kt),Je.textContent=Nt,this.shadowRoot.appendChild(Je)}}nodeOrShadowRoot(Ke){return Ke===this.hostEl?this.shadowRoot:Ke}appendChild(Ke,te){return super.appendChild(this.nodeOrShadowRoot(Ke),te)}insertBefore(Ke,te,de){return super.insertBefore(this.nodeOrShadowRoot(Ke),te,de)}removeChild(Ke,te){return super.removeChild(this.nodeOrShadowRoot(Ke),te)}parentNode(Ke){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ke)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ee extends R{constructor(Ke,te,de,Se,tt,It,Kt,ln){super(Ke,tt,It,Kt),this.sharedStylesHost=te,this.removeStylesOnCompDestroy=Se,this.styles=ln?F(ln,de.styles):de.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ie extends ee{constructor(Ke,te,de,Se,tt,It,Kt,ln){const _t=Se+"-"+de.id;super(Ke,te,de,tt,It,Kt,ln,_t),this.contentAttr=function O(pe){return k.replace(y,pe)}(_t),this.hostAttr=function T(pe){return w.replace(y,pe)}(_t)}applyToHost(Ke){this.applyStyles(),this.setAttribute(Ke,this.hostAttr,"")}createElement(Ke,te){const de=super.createElement(Ke,te);return super.setAttribute(de,this.contentAttr,""),de}}let $=(()=>{class pe extends u{constructor(te){super(te)}supports(te){return!0}addEventListener(te,de,Se){return te.addEventListener(de,Se,!1),()=>this.removeEventListener(te,de,Se)}removeEventListener(te,de,Se){return te.removeEventListener(de,Se)}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:pe,factory:pe.\u0275fac})}return pe})();const j=["alt","control","meta","shift"],G={"\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"},V={alt:pe=>pe.altKey,control:pe=>pe.ctrlKey,meta:pe=>pe.metaKey,shift:pe=>pe.shiftKey};let W=(()=>{class pe extends u{constructor(te){super(te)}supports(te){return null!=pe.parseEventName(te)}addEventListener(te,de,Se){const tt=pe.parseEventName(de),It=pe.eventCallback(tt.fullKey,Se,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,v.\u0275getDOM)().onAndCancel(te,tt.domEventName,It))}static parseEventName(te){const de=te.toLowerCase().split("."),Se=de.shift();if(0===de.length||"keydown"!==Se&&"keyup"!==Se)return null;const tt=pe._normalizeKey(de.pop());let It="",Kt=de.indexOf("code");if(Kt>-1&&(de.splice(Kt,1),It="code."),j.forEach(_t=>{const Nt=de.indexOf(_t);Nt>-1&&(de.splice(Nt,1),It+=_t+".")}),It+=tt,0!=de.length||0===tt.length)return null;const ln={};return ln.domEventName=Se,ln.fullKey=It,ln}static matchEventFullKeyCode(te,de){let Se=G[te.key]||te.key,tt="";return de.indexOf("code.")>-1&&(Se=te.code,tt="code."),!(null==Se||!Se)&&(Se=Se.toLowerCase()," "===Se?Se="space":"."===Se&&(Se="dot"),j.forEach(It=>{It!==Se&&(0,V[It])(te)&&(tt+=It+".")}),tt+=Se,tt===de)}static eventCallback(te,de,Se){return tt=>{pe.matchEventFullKeyCode(tt,te)&&Se.runGuarded(()=>de(tt))}}static _normalizeKey(te){return"esc"===te?"escape":te}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:pe,factory:pe.\u0275fac})}return pe})();function K(pe,Ke){return(0,t.\u0275internalCreateApplication)({rootComponent:pe,...ue(Ke)})}function le(pe){return(0,t.\u0275internalCreateApplication)(ue(pe))}function ue(pe){return{appProviders:[...We,...pe?.providers??[]],platformProviders:Ct}}function ve(){return[...me]}function Ye(){c.makeCurrent()}const Ct=[{provide:t.PLATFORM_ID,useValue:v.\u0275PLATFORM_BROWSER_ID},{provide:t.PLATFORM_INITIALIZER,useValue:Ye,multi:!0},{provide:v.DOCUMENT,useFactory:function ct(){return(0,t.\u0275setDocument)(document),document},deps:[]}],Pe=(0,t.createPlatformFactory)(t.platformCore,"browser",Ct),Ae=new t.InjectionToken(""),me=[{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]}],We=[{provide:t.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:t.ErrorHandler,useFactory:function mt(){return new t.ErrorHandler},deps:[]},{provide:a,useClass:$,multi:!0,deps:[v.DOCUMENT,t.NgZone,t.PLATFORM_ID]},{provide:a,useClass:W,multi:!0,deps:[v.DOCUMENT]},S,p,r,{provide:t.RendererFactory2,useExisting:S},{provide:v.XhrFactory,useClass:l,deps:[]},[]];let Fe=(()=>{class pe{constructor(te){}static withServerTransition(te){return{ngModule:pe,providers:[{provide:t.APP_ID,useValue:te.appId}]}}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275inject(Ae,12))};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:pe});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[...We,...me],imports:[v.CommonModule,t.ApplicationModule]})}return pe})(),xe=(()=>{class pe{constructor(te){this._doc=te,this._dom=(0,v.\u0275getDOM)()}addTag(te,de=!1){return te?this._getOrCreateElement(te,de):null}addTags(te,de=!1){return te?te.reduce((Se,tt)=>(tt&&Se.push(this._getOrCreateElement(tt,de)),Se),[]):[]}getTag(te){return te&&this._doc.querySelector(`meta[${te}]`)||null}getTags(te){if(!te)return[];const de=this._doc.querySelectorAll(`meta[${te}]`);return de?[].slice.call(de):[]}updateTag(te,de){if(!te)return null;de=de||this._parseSelector(te);const Se=this.getTag(de);return Se?this._setMetaElementAttributes(te,Se):this._getOrCreateElement(te,!0)}removeTag(te){this.removeTagElement(this.getTag(te))}removeTagElement(te){te&&this._dom.remove(te)}_getOrCreateElement(te,de=!1){if(!de){const It=this._parseSelector(te),Kt=this.getTags(It).filter(ln=>this._containsAttributes(te,ln))[0];if(void 0!==Kt)return Kt}const Se=this._dom.createElement("meta");return this._setMetaElementAttributes(te,Se),this._doc.getElementsByTagName("head")[0].appendChild(Se),Se}_setMetaElementAttributes(te,de){return Object.keys(te).forEach(Se=>de.setAttribute(this._getMetaKeyMap(Se),te[Se])),de}_parseSelector(te){const de=te.name?"name":"property";return`${de}="${te[de]}"`}_containsAttributes(te,de){return Object.keys(te).every(Se=>de.getAttribute(this._getMetaKeyMap(Se))===te[Se])}_getMetaKeyMap(te){return $e[te]||te}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();const $e={httpEquiv:"http-equiv"};let q=(()=>{class pe{constructor(te){this._doc=te}getTitle(){return this._doc.title}setTitle(te){this._doc.title=te||""}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();function ge(pe,Ke){(typeof COMPILED>"u"||!COMPILED)&&((t.\u0275global.ng=t.\u0275global.ng||{})[pe]=Ke)}class Oe{constructor(Ke,te){this.msPerTick=Ke,this.numTicks=te}}class vt{constructor(Ke){this.appRef=Ke.injector.get(t.ApplicationRef)}timeChangeDetection(Ke){const te=Ke&&Ke.record,de="Change Detection";te&&"profile"in console&&"function"==typeof console.profile&&console.profile(de);const Se=performance.now();let tt=0;for(;tt<5||performance.now()-Se<500;)this.appRef.tick(),tt++;const It=performance.now();te&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(de);const Kt=(It-Se)/tt;return console.log(`ran ${tt} change detection cycles`),console.log(`${Kt.toFixed(2)} ms per check`),new Oe(Kt,tt)}}const it="profiler";function we(pe){return ge(it,new vt(pe)),pe}function Ge(){ge(it,null)}class Me{static all(){return()=>!0}static css(Ke){return te=>null!=te.nativeElement&&function rt(pe,Ke){return!!(0,v.\u0275getDOM)().isElementNode(pe)&&(pe.matches&&pe.matches(Ke)||pe.msMatchesSelector&&pe.msMatchesSelector(Ke)||pe.webkitMatchesSelector&&pe.webkitMatchesSelector(Ke))}(te.nativeElement,Ke)}static directive(Ke){return te=>-1!==te.providerTokens.indexOf(Ke)}}const Mt={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},zt=new t.InjectionToken("HammerGestureConfig"),Xt=new t.InjectionToken("HammerLoader");let dn=(()=>{class pe{constructor(){this.events=[],this.overrides={}}buildHammer(te){const de=new Hammer(te,this.options);de.get("pinch").set({enable:!0}),de.get("rotate").set({enable:!0});for(const Se in this.overrides)de.get(Se).set(this.overrides[Se]);return de}static#e=this.\u0275fac=function(de){return new(de||pe)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:pe,factory:pe.\u0275fac})}return pe})(),hn=(()=>{class pe extends u{constructor(te,de,Se,tt){super(te),this._config=de,this.console=Se,this.loader=tt,this._loaderPromise=null}supports(te){return!(!Mt.hasOwnProperty(te.toLowerCase())&&!this.isCustomEvent(te)||!window.Hammer&&!this.loader)}addEventListener(te,de,Se){const tt=this.manager.getZone();if(de=de.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||tt.runOutsideAngular(()=>this.loader());let It=!1,Kt=()=>{It=!0};return tt.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?It||(Kt=this.addEventListener(te,de,Se)):Kt=()=>{}}).catch(()=>{Kt=()=>{}})),()=>{Kt()}}return tt.runOutsideAngular(()=>{const It=this._config.buildHammer(te),Kt=function(ln){tt.runGuarded(function(){Se(ln)})};return It.on(de,Kt),()=>{It.off(de,Kt),"function"==typeof It.destroy&&It.destroy()}})}isCustomEvent(te){return this._config.events.indexOf(te)>-1}static#e=this.\u0275fac=function(de){return new(de||pe)(t.\u0275\u0275inject(v.DOCUMENT),t.\u0275\u0275inject(zt),t.\u0275\u0275inject(t.\u0275Console),t.\u0275\u0275inject(Xt,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:pe,factory:pe.\u0275fac})}return pe})(),un=(()=>{class pe{static#e=this.\u0275fac=function(de){return new(de||pe)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:pe});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({providers:[{provide:a,useClass:hn,multi:!0,deps:[v.DOCUMENT,zt,t.\u0275Console,[new t.Optional,Xt]]},{provide:zt,useClass:dn,deps:[]}]})}return pe})(),rn=(()=>{class pe{static#e=this.\u0275fac=function(de){return new(de||pe)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:pe,factory:function(de){let Se=null;return Se=de?new(de||pe):t.\u0275\u0275inject(fn),Se},providedIn:"root"})}return pe})(),fn=(()=>{class pe extends rn{constructor(te){super(),this._doc=te}sanitize(te,de){if(null==de)return null;switch(te){case t.SecurityContext.NONE:return de;case t.SecurityContext.HTML:return(0,t.\u0275allowSanitizationBypassAndThrow)(de,"HTML")?(0,t.\u0275unwrapSafeValue)(de):(0,t.\u0275_sanitizeHtml)(this._doc,String(de)).toString();case t.SecurityContext.STYLE:return(0,t.\u0275allowSanitizationBypassAndThrow)(de,"Style")?(0,t.\u0275unwrapSafeValue)(de):de;case t.SecurityContext.SCRIPT:if((0,t.\u0275allowSanitizationBypassAndThrow)(de,"Script"))return(0,t.\u0275unwrapSafeValue)(de);throw new t.\u0275RuntimeError(5200,!1);case t.SecurityContext.URL:return(0,t.\u0275allowSanitizationBypassAndThrow)(de,"URL")?(0,t.\u0275unwrapSafeValue)(de):(0,t.\u0275_sanitizeUrl)(String(de));case t.SecurityContext.RESOURCE_URL:if((0,t.\u0275allowSanitizationBypassAndThrow)(de,"ResourceURL"))return(0,t.\u0275unwrapSafeValue)(de);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(de){return new(de||pe)(t.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();var Pt=function(pe){return pe[pe.NoHttpTransferCache=0]="NoHttpTransferCache",pe[pe.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",pe}(Pt||{});function Vt(pe,Ke=[],te={}){return{\u0275kind:pe,\u0275providers:Ke}}function _e(){return Vt(Pt.NoHttpTransferCache)}function Ze(pe){return Vt(Pt.HttpTransferCacheOptions,(0,C.\u0275withHttpTransferCache)(pe))}function Rt(...pe){const Ke=[],te=new Set,de=te.has(Pt.HttpTransferCacheOptions);for(const{\u0275providers:Se,\u0275kind:tt}of pe)te.add(tt),Se.length&&Ke.push(Se);return(0,t.makeEnvironmentProviders)([[],(0,t.\u0275withDomHydration)(),te.has(Pt.NoHttpTransferCache)||de?[]:(0,C.\u0275withHttpTransferCache)({}),Ke])}const et=new t.Version("17.3.0"),ft=t.makeStateKey,Re=t.TransferState},7901:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{ActivatedRoute:()=>jn,ActivatedRouteSnapshot:()=>Xi,ActivationEnd:()=>_i,ActivationStart:()=>sr,BaseRouteReuseStrategy:()=>X,ChildActivationEnd:()=>fi,ChildActivationStart:()=>Qi,ChildrenOutletContexts:()=>Xn,DefaultTitleStrategy:()=>Hs,DefaultUrlSerializer:()=>zt,EventType:()=>ot,GuardsCheckEnd:()=>hi,GuardsCheckStart:()=>cn,NavigationCancel:()=>he,NavigationCancellationCode:()=>Tt,NavigationEnd:()=>Ie,NavigationError:()=>Ve,NavigationSkipped:()=>ce,NavigationSkippedCode:()=>z,NavigationStart:()=>wt,NoPreloading:()=>Ii,OutletContext:()=>Bi,PRIMARY_OUTLET:()=>V,PreloadAllModules:()=>xr,PreloadingStrategy:()=>Nr,ROUTER_CONFIGURATION:()=>qr,ROUTER_INITIALIZER:()=>hr,ROUTES:()=>Rr,ResolveEnd:()=>Fn,ResolveStart:()=>Gn,RouteConfigLoadEnd:()=>ti,RouteConfigLoadStart:()=>Tn,RouteReuseStrategy:()=>oo,Router:()=>ai,RouterEvent:()=>pt,RouterLink:()=>ki,RouterLinkActive:()=>Di,RouterLinkWithHref:()=>ki,RouterModule:()=>ps,RouterOutlet:()=>Ar,RouterPreloader:()=>mn,RouterState:()=>vn,RouterStateSnapshot:()=>Wi,RoutesRecognized:()=>xt,Scroll:()=>mi,TitleStrategy:()=>ks,UrlHandlingStrategy:()=>so,UrlSegment:()=>we,UrlSegmentGroup:()=>it,UrlSerializer:()=>Mt,UrlTree:()=>vt,VERSION:()=>El,convertToParamMap:()=>le,createUrlTreeFromSnapshot:()=>Nt,defaultUrlMatcher:()=>ue,mapToCanActivate:()=>Qo,mapToCanActivateChild:()=>os,mapToCanDeactivate:()=>da,mapToCanMatch:()=>Ks,mapToResolve:()=>wl,provideRouter:()=>dr,provideRoutes:()=>pr,withComponentInputBinding:()=>lo,withDebugTracing:()=>Oo,withDisabledInitialNavigation:()=>Yi,withEnabledBlockingInitialNavigation:()=>zs,withHashLocation:()=>Yo,withInMemoryScrolling:()=>ss,withNavigationErrorHandler:()=>Ls,withPreloading:()=>Fr,withRouterConfig:()=>Gs,withViewTransitions:()=>Ns,\u0275EmptyOutletComponent:()=>bt,\u0275ROUTER_PROVIDERS:()=>uo,\u0275afterNextNavigation:()=>$t,\u0275loadChildren:()=>Lr});var t=g(4438),v=g(4402),C=g(8455),E=g(7673),c=g(4412),b=g(4572),s=g(9350),f=g(2688),d=g(9030),l=g(1203),a=g(8810),r=g(983),u=g(17),h=g(1413),p=g(8359),_=g(177),y=g(6354),M=g(5558),w=g(6697),k=g(9172),I=g(5964),D=g(3028),O=g(1594),T=g(274),F=g(8141),S=g(9437),R=g(1943),N=g(9901),A=g(7018),U=g(5109),Y=g(3703),ee=g(980),ie=g(9898),$=g(6977),j=g(6365),G=g(345);const V="primary",W=Symbol("RouteTitle");class K{constructor(re){this.params=re||{}}has(re){return Object.prototype.hasOwnProperty.call(this.params,re)}get(re){if(this.has(re)){const Q=this.params[re];return Array.isArray(Q)?Q[0]:Q}return null}getAll(re){if(this.has(re)){const Q=this.params[re];return Array.isArray(Q)?Q:[Q]}return[]}get keys(){return Object.keys(this.params)}}function le(H){return new K(H)}function ue(H,re,Q){const se=Q.path.split("/");if(se.length>H.length||"full"===Q.pathMatch&&(re.hasChildren()||se.lengthse[ze]===Ee)}return H===re}function Ct(H){return H.length>0?H[H.length-1]:null}function Pe(H){return(0,v.A)(H)?H:(0,t.\u0275isPromise)(H)?(0,C.H)(Promise.resolve(H)):(0,E.of)(H)}const Ae={exact:function xe(H,re,Q){if(!Me(H.segments,re.segments)||!Oe(H.segments,re.segments,Q)||H.numberOfChildren!==re.numberOfChildren)return!1;for(const se in re.children)if(!H.children[se]||!xe(H.children[se],re.children[se],Q))return!1;return!0},subset:q},me={exact:function Fe(H,re){return Ye(H,re)},subset:function $e(H,re){return Object.keys(re).length<=Object.keys(H).length&&Object.keys(re).every(Q=>ct(H[Q],re[Q]))},ignored:()=>!0};function We(H,re,Q){return Ae[Q.paths](H.root,re.root,Q.matrixParams)&&me[Q.queryParams](H.queryParams,re.queryParams)&&!("exact"===Q.fragment&&H.fragment!==re.fragment)}function q(H,re,Q){return ge(H,re,re.segments,Q)}function ge(H,re,Q,se){if(H.segments.length>Q.length){const Ee=H.segments.slice(0,Q.length);return!(!Me(Ee,Q)||re.hasChildren()||!Oe(Ee,Q,se))}if(H.segments.length===Q.length){if(!Me(H.segments,Q)||!Oe(H.segments,Q,se))return!1;for(const Ee in re.children)if(!H.children[Ee]||!q(H.children[Ee],re.children[Ee],se))return!1;return!0}{const Ee=Q.slice(0,H.segments.length),ze=Q.slice(H.segments.length);return!!(Me(H.segments,Ee)&&Oe(H.segments,Ee,se)&&H.children[V])&&ge(H.children[V],re,ze,se)}}function Oe(H,re,Q){return re.every((se,Ee)=>me[Q](H[Ee].parameters,se.parameters))}class vt{constructor(re=new it([],{}),Q={},se=null){this.root=re,this.queryParams=Q,this.fragment=se}get queryParamMap(){return this._queryParamMap??=le(this.queryParams),this._queryParamMap}toString(){return Xt.serialize(this)}}class it{constructor(re,Q){this.segments=re,this.children=Q,this.parent=null,Object.values(Q).forEach(se=>se.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dn(this)}}class we{constructor(re,Q){this.path=re,this.parameters=Q}get parameterMap(){return this._parameterMap??=le(this.parameters),this._parameterMap}toString(){return Ze(this)}}function Me(H,re){return H.length===re.length&&H.every((Q,se)=>Q.path===re[se].path)}let Mt=(()=>{class H{static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:()=>new zt,providedIn:"root"})}return H})();class zt{parse(re){const Q=new tt(re);return new vt(Q.parseRootSegment(),Q.parseQueryParams(),Q.parseFragment())}serialize(re){const Q=`/${hn(re.root,!0)}`,se=function Rt(H){const re=Object.entries(H).map(([Q,se])=>Array.isArray(se)?se.map(Ee=>`${rn(Q)}=${rn(Ee)}`).join("&"):`${rn(Q)}=${rn(se)}`).filter(Q=>Q);return re.length?`?${re.join("&")}`:""}(re.queryParams);return`${Q}${se}${"string"==typeof re.fragment?`#${function fn(H){return encodeURI(H)}(re.fragment)}`:""}`}}const Xt=new zt;function dn(H){return H.segments.map(re=>Ze(re)).join("/")}function hn(H,re){if(!H.hasChildren())return dn(H);if(re){const Q=H.children[V]?hn(H.children[V],!1):"",se=[];return Object.entries(H.children).forEach(([Ee,ze])=>{Ee!==V&&se.push(`${Ee}:${hn(ze,!1)}`)}),se.length>0?`${Q}(${se.join("//")})`:Q}{const Q=function rt(H,re){let Q=[];return Object.entries(H.children).forEach(([se,Ee])=>{se===V&&(Q=Q.concat(re(Ee,se)))}),Object.entries(H.children).forEach(([se,Ee])=>{se!==V&&(Q=Q.concat(re(Ee,se)))}),Q}(H,(se,Ee)=>Ee===V?[hn(H.children[V],!1)]:[`${Ee}:${hn(se,!1)}`]);return 1===Object.keys(H.children).length&&null!=H.children[V]?`${dn(H)}/${Q[0]}`:`${dn(H)}/(${Q.join("//")})`}}function un(H){return encodeURIComponent(H).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function rn(H){return un(H).replace(/%3B/gi,";")}function Pt(H){return un(H).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vt(H){return decodeURIComponent(H)}function _e(H){return Vt(H.replace(/\+/g,"%20"))}function Ze(H){return`${Pt(H.path)}${function Qe(H){return Object.entries(H).map(([re,Q])=>`;${Pt(re)}=${Pt(Q)}`).join("")}(H.parameters)}`}const et=/^[^\/()?;#]+/;function ft(H){const re=H.match(et);return re?re[0]:""}const Re=/^[^\/()?;=#]+/,Ke=/^[^=?&#]+/,de=/^[^&#]+/;class tt{constructor(re){this.url=re,this.remaining=re}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new it([],{}):new it([],this.parseChildren())}parseQueryParams(){const re={};if(this.consumeOptional("?"))do{this.parseQueryParam(re)}while(this.consumeOptional("&"));return re}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const re=[];for(this.peekStartsWith("(")||re.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),re.push(this.parseSegment());let Q={};this.peekStartsWith("/(")&&(this.capture("/"),Q=this.parseParens(!0));let se={};return this.peekStartsWith("(")&&(se=this.parseParens(!1)),(re.length>0||Object.keys(Q).length>0)&&(se[V]=new it(re,Q)),se}parseSegment(){const re=ft(this.remaining);if(""===re&&this.peekStartsWith(";"))throw new t.\u0275RuntimeError(4009,!1);return this.capture(re),new we(Vt(re),this.parseMatrixParams())}parseMatrixParams(){const re={};for(;this.consumeOptional(";");)this.parseParam(re);return re}parseParam(re){const Q=function pe(H){const re=H.match(Re);return re?re[0]:""}(this.remaining);if(!Q)return;this.capture(Q);let se="";if(this.consumeOptional("=")){const Ee=ft(this.remaining);Ee&&(se=Ee,this.capture(se))}re[Vt(Q)]=Vt(se)}parseQueryParam(re){const Q=function te(H){const re=H.match(Ke);return re?re[0]:""}(this.remaining);if(!Q)return;this.capture(Q);let se="";if(this.consumeOptional("=")){const yt=function Se(H){const re=H.match(de);return re?re[0]:""}(this.remaining);yt&&(se=yt,this.capture(se))}const Ee=_e(Q),ze=_e(se);if(re.hasOwnProperty(Ee)){let yt=re[Ee];Array.isArray(yt)||(yt=[yt],re[Ee]=yt),yt.push(ze)}else re[Ee]=ze}parseParens(re){const Q={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const se=ft(this.remaining),Ee=this.remaining[se.length];if("/"!==Ee&&")"!==Ee&&";"!==Ee)throw new t.\u0275RuntimeError(4010,!1);let ze;se.indexOf(":")>-1?(ze=se.slice(0,se.indexOf(":")),this.capture(ze),this.capture(":")):re&&(ze=V);const yt=this.parseChildren();Q[ze]=1===Object.keys(yt).length?yt[V]:new it([],yt),this.consumeOptional("//")}return Q}peekStartsWith(re){return this.remaining.startsWith(re)}consumeOptional(re){return!!this.peekStartsWith(re)&&(this.remaining=this.remaining.substring(re.length),!0)}capture(re){if(!this.consumeOptional(re))throw new t.\u0275RuntimeError(4011,!1)}}function It(H){return H.segments.length>0?new it([],{[V]:H}):H}function Kt(H){const re={};for(const[se,Ee]of Object.entries(H.children)){const ze=Kt(Ee);if(se===V&&0===ze.segments.length&&ze.hasChildren())for(const[yt,Zt]of Object.entries(ze.children))re[yt]=Zt;else(ze.segments.length>0||ze.hasChildren())&&(re[se]=ze)}return function ln(H){if(1===H.numberOfChildren&&H.children[V]){const re=H.children[V];return new it(H.segments.concat(re.segments),re.children)}return H}(new it(H.segments,re))}function _t(H){return H instanceof vt}function Nt(H,re,Q=null,se=null){return Ue(Je(H),re,Q,se)}function Je(H){let re;const Ee=It(function Q(ze){const yt={};for(const Wt of ze.children){const Mn=Q(Wt);yt[Wt.outlet]=Mn}const Zt=new it(ze.url,yt);return ze===H&&(re=Zt),Zt}(H.root));return re??Ee}function Ue(H,re,Q,se){let Ee=H;for(;Ee.parent;)Ee=Ee.parent;if(0===re.length)return dt(Ee,Ee,Ee,Q,se);const ze=function yn(H){if("string"==typeof H[0]&&1===H.length&&"/"===H[0])return new en(!0,0,H);let re=0,Q=!1;const se=H.reduce((Ee,ze,yt)=>{if("object"==typeof ze&&null!=ze){if(ze.outlets){const Zt={};return Object.entries(ze.outlets).forEach(([Wt,Mn])=>{Zt[Wt]="string"==typeof Mn?Mn.split("/"):Mn}),[...Ee,{outlets:Zt}]}if(ze.segmentPath)return[...Ee,ze.segmentPath]}return"string"!=typeof ze?[...Ee,ze]:0===yt?(ze.split("/").forEach((Zt,Wt)=>{0==Wt&&"."===Zt||(0==Wt&&""===Zt?Q=!0:".."===Zt?re++:""!=Zt&&Ee.push(Zt))}),Ee):[...Ee,ze]},[]);return new en(Q,re,se)}(re);if(ze.toRoot())return dt(Ee,Ee,new it([],{}),Q,se);const yt=function Ri(H,re,Q){if(H.isAbsolute)return new Ln(re,!0,0);if(!Q)return new Ln(re,!1,NaN);if(null===Q.parent)return new Ln(Q,!0,0);const se=nt(H.commands[0])?0:1;return function Ei(H,re,Q){let se=H,Ee=re,ze=Q;for(;ze>Ee;){if(ze-=Ee,se=se.parent,!se)throw new t.\u0275RuntimeError(4005,!1);Ee=se.segments.length}return new Ln(se,!1,Ee-ze)}(Q,Q.segments.length-1+se,H.numberOfDoubleDots)}(ze,Ee,H),Zt=yt.processChildren?qt(yt.segmentGroup,yt.index,ze.commands):st(yt.segmentGroup,yt.index,ze.commands);return dt(Ee,yt.segmentGroup,Zt,Q,se)}function nt(H){return"object"==typeof H&&null!=H&&!H.outlets&&!H.segmentPath}function He(H){return"object"==typeof H&&null!=H&&H.outlets}function dt(H,re,Q,se,Ee){let yt,ze={};se&&Object.entries(se).forEach(([Wt,Mn])=>{ze[Wt]=Array.isArray(Mn)?Mn.map(L=>`${L}`):`${Mn}`}),yt=H===re?Q:At(H,re,Q);const Zt=It(Kt(yt));return new vt(Zt,ze,Ee)}function At(H,re,Q){const se={};return Object.entries(H.children).forEach(([Ee,ze])=>{se[Ee]=ze===re?Q:At(ze,re,Q)}),new it(H.segments,se)}class en{constructor(re,Q,se){if(this.isAbsolute=re,this.numberOfDoubleDots=Q,this.commands=se,re&&se.length>0&&nt(se[0]))throw new t.\u0275RuntimeError(4003,!1);const Ee=se.find(He);if(Ee&&Ee!==Ct(se))throw new t.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ln{constructor(re,Q,se){this.segmentGroup=re,this.processChildren=Q,this.index=se}}function st(H,re,Q){if(H??=new it([],{}),0===H.segments.length&&H.hasChildren())return qt(H,re,Q);const se=function Be(H,re,Q){let se=0,Ee=re;const ze={match:!1,pathIndex:0,commandIndex:0};for(;Ee=Q.length)return ze;const yt=H.segments[Ee],Zt=Q[se];if(He(Zt))break;const Wt=`${Zt}`,Mn=se0&&void 0===Wt)break;if(Wt&&Mn&&"object"==typeof Mn&&void 0===Mn.outlets){if(!Le(Wt,Mn,yt))return ze;se+=2}else{if(!Le(Wt,{},yt))return ze;se++}Ee++}return{match:!0,pathIndex:Ee,commandIndex:se}}(H,re,Q),Ee=Q.slice(se.commandIndex);if(se.match&&se.pathIndexze!==V)&&H.children[V]&&1===H.numberOfChildren&&0===H.children[V].segments.length){const ze=qt(H.children[V],re,Q);return new it(H.segments,ze.children)}return Object.entries(se).forEach(([ze,yt])=>{"string"==typeof yt&&(yt=[yt]),null!==yt&&(Ee[ze]=st(H.children[ze],re,yt))}),Object.entries(H.children).forEach(([ze,yt])=>{void 0===se[ze]&&(Ee[ze]=yt)}),new it(H.segments,Ee)}}function at(H,re,Q){const se=H.segments.slice(0,re);let Ee=0;for(;Ee{"string"==typeof se&&(se=[se]),null!==se&&(re[Q]=at(new it([],{}),0,se))}),re}function sn(H){const re={};return Object.entries(H).forEach(([Q,se])=>re[Q]=`${se}`),re}function Le(H,re,Q){return H==Q.path&&Ye(re,Q.parameters)}const ut="imperative";var ot=function(H){return H[H.NavigationStart=0]="NavigationStart",H[H.NavigationEnd=1]="NavigationEnd",H[H.NavigationCancel=2]="NavigationCancel",H[H.NavigationError=3]="NavigationError",H[H.RoutesRecognized=4]="RoutesRecognized",H[H.ResolveStart=5]="ResolveStart",H[H.ResolveEnd=6]="ResolveEnd",H[H.GuardsCheckStart=7]="GuardsCheckStart",H[H.GuardsCheckEnd=8]="GuardsCheckEnd",H[H.RouteConfigLoadStart=9]="RouteConfigLoadStart",H[H.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",H[H.ChildActivationStart=11]="ChildActivationStart",H[H.ChildActivationEnd=12]="ChildActivationEnd",H[H.ActivationStart=13]="ActivationStart",H[H.ActivationEnd=14]="ActivationEnd",H[H.Scroll=15]="Scroll",H[H.NavigationSkipped=16]="NavigationSkipped",H}(ot||{});class pt{constructor(re,Q){this.id=re,this.url=Q}}class wt extends pt{constructor(re,Q,se="imperative",Ee=null){super(re,Q),this.type=ot.NavigationStart,this.navigationTrigger=se,this.restoredState=Ee}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ie extends pt{constructor(re,Q,se){super(re,Q),this.urlAfterRedirects=se,this.type=ot.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Tt=function(H){return H[H.Redirect=0]="Redirect",H[H.SupersededByNewNavigation=1]="SupersededByNewNavigation",H[H.NoDataFromResolver=2]="NoDataFromResolver",H[H.GuardRejected=3]="GuardRejected",H}(Tt||{}),z=function(H){return H[H.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",H[H.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",H}(z||{});class he extends pt{constructor(re,Q,se,Ee){super(re,Q),this.reason=se,this.code=Ee,this.type=ot.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ce extends pt{constructor(re,Q,se,Ee){super(re,Q),this.reason=se,this.code=Ee,this.type=ot.NavigationSkipped}}class Ve extends pt{constructor(re,Q,se,Ee){super(re,Q),this.error=se,this.target=Ee,this.type=ot.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class xt extends pt{constructor(re,Q,se,Ee){super(re,Q),this.urlAfterRedirects=se,this.state=Ee,this.type=ot.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cn extends pt{constructor(re,Q,se,Ee){super(re,Q),this.urlAfterRedirects=se,this.state=Ee,this.type=ot.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hi extends pt{constructor(re,Q,se,Ee,ze){super(re,Q),this.urlAfterRedirects=se,this.state=Ee,this.shouldActivate=ze,this.type=ot.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Gn extends pt{constructor(re,Q,se,Ee){super(re,Q),this.urlAfterRedirects=se,this.state=Ee,this.type=ot.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fn extends pt{constructor(re,Q,se,Ee){super(re,Q),this.urlAfterRedirects=se,this.state=Ee,this.type=ot.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tn{constructor(re){this.route=re,this.type=ot.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ti{constructor(re){this.route=re,this.type=ot.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Qi{constructor(re){this.snapshot=re,this.type=ot.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(re){this.snapshot=re,this.type=ot.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sr{constructor(re){this.snapshot=re,this.type=ot.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _i{constructor(re){this.snapshot=re,this.type=ot.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mi{constructor(re,Q,se){this.routerEvent=re,this.position=Q,this.anchor=se,this.type=ot.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Hi{}class On{constructor(re){this.url=re}}class Bi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Xn,this.attachRef=null}}let Xn=(()=>{class H{constructor(){this.contexts=new Map}onChildOutletCreated(Q,se){const Ee=this.getOrCreateContext(Q);Ee.outlet=se,this.contexts.set(Q,Ee)}onChildOutletDestroyed(Q){const se=this.getContext(Q);se&&(se.outlet=null,se.attachRef=null)}onOutletDeactivated(){const Q=this.contexts;return this.contexts=new Map,Q}onOutletReAttached(Q){this.contexts=Q}getOrCreateContext(Q){let se=this.getContext(Q);return se||(se=new Bi,this.contexts.set(Q,se)),se}getContext(Q){return this.contexts.get(Q)||null}static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();class Qn{constructor(re){this._root=re}get root(){return this._root.value}parent(re){const Q=this.pathFromRoot(re);return Q.length>1?Q[Q.length-2]:null}children(re){const Q=ni(re,this._root);return Q?Q.children.map(se=>se.value):[]}firstChild(re){const Q=ni(re,this._root);return Q&&Q.children.length>0?Q.children[0].value:null}siblings(re){const Q=zi(re,this._root);return Q.length<2?[]:Q[Q.length-2].children.map(Ee=>Ee.value).filter(Ee=>Ee!==re)}pathFromRoot(re){return zi(re,this._root).map(Q=>Q.value)}}function ni(H,re){if(H===re.value)return re;for(const Q of re.children){const se=ni(H,Q);if(se)return se}return null}function zi(H,re){if(H===re.value)return[re];for(const Q of re.children){const se=zi(H,Q);if(se.length)return se.unshift(re),se}return[]}class Fi{constructor(re,Q){this.value=re,this.children=Q}toString(){return`TreeNode(${this.value})`}}function Un(H){const re={};return H&&H.children.forEach(Q=>re[Q.value.outlet]=Q),re}class vn extends Qn{constructor(re,Q){super(re),this.snapshot=Q,ar(this,re)}toString(){return this.snapshot.toString()}}function Dn(H){const re=function Rn(H){const ze=new Xi([],{},{},"",{},V,H,null,{});return new Wi("",new Fi(ze,[]))}(H),Q=new c.t([new we("",{})]),se=new c.t({}),Ee=new c.t({}),ze=new c.t({}),yt=new c.t(""),Zt=new jn(Q,se,ze,yt,Ee,V,H,re.root);return Zt.snapshot=re.root,new vn(new Fi(Zt,[]),re)}class jn{constructor(re,Q,se,Ee,ze,yt,Zt,Wt){this.urlSubject=re,this.paramsSubject=Q,this.queryParamsSubject=se,this.fragmentSubject=Ee,this.dataSubject=ze,this.outlet=yt,this.component=Zt,this._futureSnapshot=Wt,this.title=this.dataSubject?.pipe((0,y.T)(Mn=>Mn[W]))??(0,E.of)(void 0),this.url=re,this.params=Q,this.queryParams=se,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.T)(re=>le(re))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,y.T)(re=>le(re))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Vi(H,re,Q="emptyOnly"){let se;const{routeConfig:Ee}=H;return se=null===re||"always"!==Q&&""!==Ee?.path&&(re.component||re.routeConfig?.loadComponent)?{params:{...H.params},data:{...H.data},resolve:{...H.data,...H._resolvedData??{}}}:{params:{...re.params,...H.params},data:{...re.data,...H.data},resolve:{...H.data,...re.data,...Ee?.data,...H._resolvedData}},Ee&&bs(Ee)&&(se.resolve[W]=Ee.title),se}class Xi{get title(){return this.data?.[W]}constructor(re,Q,se,Ee,ze,yt,Zt,Wt,Mn){this.url=re,this.params=Q,this.queryParams=se,this.fragment=Ee,this.data=ze,this.outlet=yt,this.component=Zt,this.routeConfig=Wt,this._resolve=Mn}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(se=>se.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Wi extends Qn{constructor(re,Q){super(Q),this.url=re,ar(this,Q)}toString(){return Hr(this._root)}}function ar(H,re){re.value._routerState=H,re.children.forEach(Q=>ar(H,Q))}function Hr(H){const re=H.children.length>0?` { ${H.children.map(Hr).join(", ")} } `:"";return`${H.value}${re}`}function Sr(H){if(H.snapshot){const re=H.snapshot,Q=H._futureSnapshot;H.snapshot=Q,Ye(re.queryParams,Q.queryParams)||H.queryParamsSubject.next(Q.queryParams),re.fragment!==Q.fragment&&H.fragmentSubject.next(Q.fragment),Ye(re.params,Q.params)||H.paramsSubject.next(Q.params),function ve(H,re){if(H.length!==re.length)return!1;for(let Q=0;QYe(Q.parameters,re[se].parameters))}(H.url,re.url);return Q&&!(!H.parent!=!re.parent)&&(!H.parent||wr(H.parent,re.parent))}function bs(H){return"string"==typeof H.title||null===H.title}let Ar=(()=>{class H{constructor(){this.activated=null,this._activatedRoute=null,this.name=V,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)(Xn),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)(Br,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Q){if(Q.name){const{firstChange:se,previousValue:Ee}=Q.name;if(se)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(Q){return this.parentContexts.getContext(Q)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Q=this.parentContexts.getContext(this.name);Q?.route&&(Q.attachRef?this.attach(Q.attachRef,Q.route):this.activateWith(Q.route,Q.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 Q=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Q.instance),Q}attach(Q,se){this.activated=Q,this._activatedRoute=se,this.location.insert(Q.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Q.instance)}deactivate(){if(this.activated){const Q=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Q)}}activateWith(Q,se){if(this.isActivated)throw new t.\u0275RuntimeError(4013,!1);this._activatedRoute=Q;const Ee=this.location,yt=Q.snapshot.component,Zt=this.parentContexts.getOrCreateContext(this.name).children,Wt=new Ur(Q,Zt,Ee.injector);this.activated=Ee.createComponent(yt,{index:Ee.length,injector:Wt,environmentInjector:se??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:H,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return H})();class Ur{constructor(re,Q,se){this.route=re,this.childContexts=Q,this.parent=se}get(re,Q){return re===jn?this.route:re===Xn?this.childContexts:this.parent.get(re,Q)}}const Br=new t.InjectionToken("");let mr=(()=>{class H{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Q){this.unsubscribeFromRouteData(Q),this.subscribeToRouteData(Q)}unsubscribeFromRouteData(Q){this.outletDataSubscriptions.get(Q)?.unsubscribe(),this.outletDataSubscriptions.delete(Q)}subscribeToRouteData(Q){const{activatedRoute:se}=Q,Ee=(0,b.z)([se.queryParams,se.params,se.data]).pipe((0,M.n)(([ze,yt,Zt],Wt)=>(Zt={...ze,...yt,...Zt},0===Wt?(0,E.of)(Zt):Promise.resolve(Zt)))).subscribe(ze=>{if(!Q.isActivated||!Q.activatedComponentRef||Q.activatedRoute!==se||null===se.component)return void this.unsubscribeFromRouteData(Q);const yt=(0,t.reflectComponentType)(se.component);if(yt)for(const{templateName:Zt}of yt.inputs)Q.activatedComponentRef.setInput(Zt,ze[Zt]);else this.unsubscribeFromRouteData(Q)});this.outletDataSubscriptions.set(Q,Ee)}static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac})}return H})();function Li(H,re,Q){if(Q&&H.shouldReuseRoute(re.value,Q.value.snapshot)){const se=Q.value;se._futureSnapshot=re.value;const Ee=function is(H,re,Q){return re.children.map(se=>{for(const Ee of Q.children)if(H.shouldReuseRoute(se.value,Ee.value.snapshot))return Li(H,se,Ee);return Li(H,se)})}(H,re,Q);return new Fi(se,Ee)}{if(H.shouldAttach(re.value)){const ze=H.retrieve(re.value);if(null!==ze){const yt=ze.route;return yt.value._futureSnapshot=re.value,yt.children=re.children.map(Zt=>Li(H,Zt)),yt}}const se=function Bn(H){return new jn(new c.t(H.url),new c.t(H.params),new c.t(H.queryParams),new c.t(H.fragment),new c.t(H.data),H.outlet,H.component,H)}(re.value),Ee=re.children.map(ze=>Li(H,ze));return new Fi(se,Ee)}}const zr="ngNavigationCancelingError";function ds(H,re){const{redirectTo:Q,navigationBehaviorOptions:se}=_t(re)?{redirectTo:re,navigationBehaviorOptions:void 0}:re,Ee=br(!1,Tt.Redirect);return Ee.url=Q,Ee.navigationBehaviorOptions=se,Ee}function br(H,re){const Q=new Error(`NavigationCancelingError: ${H||""}`);return Q[zr]=!0,Q.cancellationCode=re,Q}function Dt(H){return!!H&&H[zr]}let bt=(()=>{class H{static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275cmp=t.\u0275\u0275defineComponent({type:H,selectors:[["ng-component"]],standalone:!0,features:[t.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(se,Ee){1&se&&t.\u0275\u0275element(0,"router-outlet")},dependencies:[Ar],encapsulation:2})}return H})();function xi(H){const re=H.children&&H.children.map(xi),Q=re?{...H,children:re}:{...H};return!Q.component&&!Q.loadComponent&&(re||Q.loadChildren)&&Q.outlet&&Q.outlet!==V&&(Q.component=bt),Q}function Yn(H){return H.outlet||V}function Hn(H){if(!H)return null;if(H.routeConfig?._injector)return H.routeConfig._injector;for(let re=H.parent;re;re=re.parent){const Q=re.routeConfig;if(Q?._loadedInjector)return Q._loadedInjector;if(Q?._injector)return Q._injector}return null}class ur{constructor(re,Q,se,Ee,ze){this.routeReuseStrategy=re,this.futureState=Q,this.currState=se,this.forwardEvent=Ee,this.inputBindingEnabled=ze}activate(re){const Q=this.futureState._root,se=this.currState?this.currState._root:null;this.deactivateChildRoutes(Q,se,re),Sr(this.futureState.root),this.activateChildRoutes(Q,se,re)}deactivateChildRoutes(re,Q,se){const Ee=Un(Q);re.children.forEach(ze=>{const yt=ze.value.outlet;this.deactivateRoutes(ze,Ee[yt],se),delete Ee[yt]}),Object.values(Ee).forEach(ze=>{this.deactivateRouteAndItsChildren(ze,se)})}deactivateRoutes(re,Q,se){const Ee=re.value,ze=Q?Q.value:null;if(Ee===ze)if(Ee.component){const yt=se.getContext(Ee.outlet);yt&&this.deactivateChildRoutes(re,Q,yt.children)}else this.deactivateChildRoutes(re,Q,se);else ze&&this.deactivateRouteAndItsChildren(Q,se)}deactivateRouteAndItsChildren(re,Q){re.value.component&&this.routeReuseStrategy.shouldDetach(re.value.snapshot)?this.detachAndStoreRouteSubtree(re,Q):this.deactivateRouteAndOutlet(re,Q)}detachAndStoreRouteSubtree(re,Q){const se=Q.getContext(re.value.outlet),Ee=se&&re.value.component?se.children:Q,ze=Un(re);for(const yt of Object.values(ze))this.deactivateRouteAndItsChildren(yt,Ee);if(se&&se.outlet){const yt=se.outlet.detach(),Zt=se.children.onOutletDeactivated();this.routeReuseStrategy.store(re.value.snapshot,{componentRef:yt,route:re,contexts:Zt})}}deactivateRouteAndOutlet(re,Q){const se=Q.getContext(re.value.outlet),Ee=se&&re.value.component?se.children:Q,ze=Un(re);for(const yt of Object.values(ze))this.deactivateRouteAndItsChildren(yt,Ee);se&&(se.outlet&&(se.outlet.deactivate(),se.children.onOutletDeactivated()),se.attachRef=null,se.route=null)}activateChildRoutes(re,Q,se){const Ee=Un(Q);re.children.forEach(ze=>{this.activateRoutes(ze,Ee[ze.value.outlet],se),this.forwardEvent(new _i(ze.value.snapshot))}),re.children.length&&this.forwardEvent(new fi(re.value.snapshot))}activateRoutes(re,Q,se){const Ee=re.value,ze=Q?Q.value:null;if(Sr(Ee),Ee===ze)if(Ee.component){const yt=se.getOrCreateContext(Ee.outlet);this.activateChildRoutes(re,Q,yt.children)}else this.activateChildRoutes(re,Q,se);else if(Ee.component){const yt=se.getOrCreateContext(Ee.outlet);if(this.routeReuseStrategy.shouldAttach(Ee.snapshot)){const Zt=this.routeReuseStrategy.retrieve(Ee.snapshot);this.routeReuseStrategy.store(Ee.snapshot,null),yt.children.onOutletReAttached(Zt.contexts),yt.attachRef=Zt.componentRef,yt.route=Zt.route.value,yt.outlet&&yt.outlet.attach(Zt.componentRef,Zt.route.value),Sr(Zt.route.value),this.activateChildRoutes(re,null,yt.children)}else{const Zt=Hn(Ee.snapshot);yt.attachRef=null,yt.route=Ee,yt.injector=Zt,yt.outlet&&yt.outlet.activateWith(Ee,yt.injector),this.activateChildRoutes(re,null,yt.children)}}else this.activateChildRoutes(re,null,se)}}class vi{constructor(re){this.path=re,this.route=this.path[this.path.length-1]}}class Wr{constructor(re,Q){this.component=re,this.route=Q}}function Gr(H,re,Q){const se=H._root;return Ji(se,re?re._root:null,Q,[se.value])}function $r(H,re){const Q=Symbol(),se=re.get(H,Q);return se===Q?"function"!=typeof H||(0,t.\u0275isInjectable)(H)?re.get(H):H:se}function Ji(H,re,Q,se,Ee={canDeactivateChecks:[],canActivateChecks:[]}){const ze=Un(re);return H.children.forEach(yt=>{(function ui(H,re,Q,se,Ee={canDeactivateChecks:[],canActivateChecks:[]}){const ze=H.value,yt=re?re.value:null,Zt=Q?Q.getContext(H.value.outlet):null;if(yt&&ze.routeConfig===yt.routeConfig){const Wt=function rs(H,re,Q){if("function"==typeof Q)return Q(H,re);switch(Q){case"pathParamsChange":return!Me(H.url,re.url);case"pathParamsOrQueryParamsChange":return!Me(H.url,re.url)||!Ye(H.queryParams,re.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!wr(H,re)||!Ye(H.queryParams,re.queryParams);default:return!wr(H,re)}}(yt,ze,ze.routeConfig.runGuardsAndResolvers);Wt?Ee.canActivateChecks.push(new vi(se)):(ze.data=yt.data,ze._resolvedData=yt._resolvedData),Ji(H,re,ze.component?Zt?Zt.children:null:Q,se,Ee),Wt&&Zt&&Zt.outlet&&Zt.outlet.isActivated&&Ee.canDeactivateChecks.push(new Wr(Zt.outlet.component,yt))}else yt&&Kr(re,Zt,Ee),Ee.canActivateChecks.push(new vi(se)),Ji(H,null,ze.component?Zt?Zt.children:null:Q,se,Ee)})(yt,ze[yt.value.outlet],Q,se.concat([yt.value]),Ee),delete ze[yt.value.outlet]}),Object.entries(ze).forEach(([yt,Zt])=>Kr(Zt,Q.getContext(yt),Ee)),Ee}function Kr(H,re,Q){const se=Un(H),Ee=H.value;Object.entries(se).forEach(([ze,yt])=>{Kr(yt,Ee.component?re?re.children.getContext(ze):null:re,Q)}),Q.canDeactivateChecks.push(new Wr(Ee.component&&re&&re.outlet&&re.outlet.isActivated?re.outlet.component:null,Ee))}function Vr(H){return"function"==typeof H}function Te(H){return H instanceof s.G||"EmptyError"===H?.name}const ae=Symbol("INITIAL_VALUE");function je(){return(0,M.n)(H=>(0,b.z)(H.map(re=>re.pipe((0,w.s)(1),(0,k.Z)(ae)))).pipe((0,y.T)(re=>{for(const Q of re)if(!0!==Q){if(Q===ae)return ae;if(!1===Q||Q instanceof vt)return Q}return!0}),(0,I.p)(re=>re!==ae),(0,w.s)(1)))}function Mi(H){return(0,l.F)((0,F.M)(re=>{if(_t(re))throw ds(0,re)}),(0,y.T)(re=>!0===re))}class jo{constructor(re){this.segmentGroup=re||null}}class xo extends Error{constructor(re){super(),this.urlTree=re}}function Cs(H){return(0,a.$)(new jo(H))}class eo{constructor(re,Q){this.urlSerializer=re,this.urlTree=Q}lineralizeSegments(re,Q){let se=[],Ee=Q.root;for(;;){if(se=se.concat(Ee.segments),0===Ee.numberOfChildren)return(0,E.of)(se);if(Ee.numberOfChildren>1||!Ee.children[V])return(0,a.$)(new t.\u0275RuntimeError(4e3,!1));Ee=Ee.children[V]}}applyRedirectCommands(re,Q,se){const Ee=this.applyRedirectCreateUrlTree(Q,this.urlSerializer.parse(Q),re,se);if(Q.startsWith("/"))throw new xo(Ee);return Ee}applyRedirectCreateUrlTree(re,Q,se,Ee){const ze=this.createSegmentGroup(re,Q.root,se,Ee);return new vt(ze,this.createQueryParams(Q.queryParams,this.urlTree.queryParams),Q.fragment)}createQueryParams(re,Q){const se={};return Object.entries(re).forEach(([Ee,ze])=>{if("string"==typeof ze&&ze.startsWith(":")){const Zt=ze.substring(1);se[Ee]=Q[Zt]}else se[Ee]=ze}),se}createSegmentGroup(re,Q,se,Ee){const ze=this.createSegments(re,Q.segments,se,Ee);let yt={};return Object.entries(Q.children).forEach(([Zt,Wt])=>{yt[Zt]=this.createSegmentGroup(re,Wt,se,Ee)}),new it(ze,yt)}createSegments(re,Q,se,Ee){return Q.map(ze=>ze.path.startsWith(":")?this.findPosParam(re,ze,Ee):this.findOrReturn(ze,se))}findPosParam(re,Q,se){const Ee=se[Q.path.substring(1)];if(!Ee)throw new t.\u0275RuntimeError(4001,!1);return Ee}findOrReturn(re,Q){let se=0;for(const Ee of Q){if(Ee.path===re.path)return Q.splice(se),Ee;se++}return re}}const Mo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ho(H,re,Q,se,Ee){const ze=Fs(H,re,Q);return ze.matched?(se=function St(H,re){return H.providers&&!H._injector&&(H._injector=(0,t.createEnvironmentInjector)(H.providers,re,`Route: ${H.path}`)),H._injector??re}(re,se),function Vo(H,re,Q,se){const Ee=re.canMatch;if(!Ee||0===Ee.length)return(0,E.of)(!0);const ze=Ee.map(yt=>{const Zt=$r(yt,H);return Pe(function be(H){return H&&Vr(H.canMatch)}(Zt)?Zt.canMatch(re,Q):(0,t.runInInjectionContext)(H,()=>Zt(re,Q)))});return(0,E.of)(ze).pipe(je(),Mi())}(se,re,Q).pipe((0,y.T)(yt=>!0===yt?ze:{...Mo}))):(0,E.of)(ze)}function Fs(H,re,Q){if("**"===re.path)return function As(H){return{matched:!0,parameters:H.length>0?Ct(H).parameters:{},consumedSegments:H,remainingSegments:[],positionalParamSegments:{}}}(Q);if(""===re.path)return"full"===re.pathMatch&&(H.hasChildren()||Q.length>0)?{...Mo}:{matched:!0,consumedSegments:[],remainingSegments:Q,parameters:{},positionalParamSegments:{}};const Ee=(re.matcher||ue)(Q,H,re);if(!Ee)return{...Mo};const ze={};Object.entries(Ee.posParams??{}).forEach(([Zt,Wt])=>{ze[Zt]=Wt.path});const yt=Ee.consumed.length>0?{...ze,...Ee.consumed[Ee.consumed.length-1].parameters}:ze;return{matched:!0,consumedSegments:Ee.consumed,remainingSegments:Q.slice(Ee.consumed.length),parameters:yt,positionalParamSegments:Ee.posParams??{}}}function Jr(H,re,Q,se){return Q.length>0&&function di(H,re,Q){return Q.some(se=>Or(H,re,se)&&Yn(se)!==V)}(H,Q,se)?{segmentGroup:new it(re,ei(se,new it(Q,H.children))),slicedSegments:[]}:0===Q.length&&function lr(H,re,Q){return Q.some(se=>Or(H,re,se))}(H,Q,se)?{segmentGroup:new it(H.segments,zo(H,Q,se,H.children)),slicedSegments:Q}:{segmentGroup:new it(H.segments,H.children),slicedSegments:Q}}function zo(H,re,Q,se){const Ee={};for(const ze of Q)if(Or(H,re,ze)&&!se[Yn(ze)]){const yt=new it([],{});Ee[Yn(ze)]=yt}return{...se,...Ee}}function ei(H,re){const Q={};Q[V]=re;for(const se of H)if(""===se.path&&Yn(se)!==V){const Ee=new it([],{});Q[Yn(se)]=Ee}return Q}function Or(H,re,Q){return(!(H.hasChildren()||re.length>0)||"full"!==Q.pathMatch)&&""===Q.path}class Us{}class Do{constructor(re,Q,se,Ee,ze,yt,Zt){this.injector=re,this.configLoader=Q,this.rootComponentType=se,this.config=Ee,this.urlTree=ze,this.paramsInheritanceStrategy=yt,this.urlSerializer=Zt,this.applyRedirects=new eo(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(re){return new t.\u0275RuntimeError(4002,`'${re.segmentGroup}'`)}recognize(){const re=Jr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(re).pipe((0,y.T)(Q=>{const se=new Xi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},V,this.rootComponentType,null,{}),Ee=new Fi(se,Q),ze=new Wi("",Ee),yt=Nt(se,[],this.urlTree.queryParams,this.urlTree.fragment);return yt.queryParams=this.urlTree.queryParams,ze.url=this.urlSerializer.serialize(yt),this.inheritParamsAndData(ze._root,null),{state:ze,tree:yt}}))}match(re){return this.processSegmentGroup(this.injector,this.config,re,V).pipe((0,S.W)(se=>{if(se instanceof xo)return this.urlTree=se.urlTree,this.match(se.urlTree.root);throw se instanceof jo?this.noMatchError(se):se}))}inheritParamsAndData(re,Q){const se=re.value,Ee=Vi(se,Q,this.paramsInheritanceStrategy);se.params=Object.freeze(Ee.params),se.data=Object.freeze(Ee.data),re.children.forEach(ze=>this.inheritParamsAndData(ze,se))}processSegmentGroup(re,Q,se,Ee){return 0===se.segments.length&&se.hasChildren()?this.processChildren(re,Q,se):this.processSegment(re,Q,se,se.segments,Ee,!0).pipe((0,y.T)(ze=>ze instanceof Fi?[ze]:[]))}processChildren(re,Q,se){const Ee=[];for(const ze of Object.keys(se.children))"primary"===ze?Ee.unshift(ze):Ee.push(ze);return(0,C.H)(Ee).pipe((0,T.H)(ze=>{const yt=se.children[ze],Zt=function Ui(H,re){const Q=H.filter(se=>Yn(se)===re);return Q.push(...H.filter(se=>Yn(se)!==re)),Q}(Q,ze);return this.processSegmentGroup(re,Zt,yt,ze)}),(0,R.S)((ze,yt)=>(ze.push(...yt),ze)),(0,N.U)(null),(0,A.H)(),(0,D.Z)(ze=>{if(null===ze)return Cs(se);const yt=$s(ze);return function ws(H){H.sort((re,Q)=>re.value.outlet===V?-1:Q.value.outlet===V?1:re.value.outlet.localeCompare(Q.value.outlet))}(yt),(0,E.of)(yt)}))}processSegment(re,Q,se,Ee,ze,yt){return(0,C.H)(Q).pipe((0,T.H)(Zt=>this.processSegmentAgainstRoute(Zt._injector??re,Q,Zt,se,Ee,ze,yt).pipe((0,S.W)(Wt=>{if(Wt instanceof jo)return(0,E.of)(null);throw Wt}))),(0,O.$)(Zt=>!!Zt),(0,S.W)(Zt=>{if(Te(Zt))return function to(H,re,Q){return 0===re.length&&!H.children[Q]}(se,Ee,ze)?(0,E.of)(new Us):Cs(se);throw Zt}))}processSegmentAgainstRoute(re,Q,se,Ee,ze,yt,Zt){return function cr(H,re,Q,se){return!!(Yn(H)===se||se!==V&&Or(re,Q,H))&&Fs(re,H,Q).matched}(se,Ee,ze,yt)?void 0===se.redirectTo?this.matchSegmentAgainstRoute(re,Ee,se,ze,yt):this.allowRedirects&&Zt?this.expandSegmentAgainstRouteUsingRedirect(re,Ee,Q,se,ze,yt):Cs(Ee):Cs(Ee)}expandSegmentAgainstRouteUsingRedirect(re,Q,se,Ee,ze,yt){const{matched:Zt,consumedSegments:Wt,positionalParamSegments:Mn,remainingSegments:L}=Fs(Q,Ee,ze);if(!Zt)return Cs(Q);Ee.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ce=this.applyRedirects.applyRedirectCommands(Wt,Ee.redirectTo,Mn);return this.applyRedirects.lineralizeSegments(Ee,Ce).pipe((0,D.Z)(Z=>this.processSegment(re,se,Q,Z.concat(L),yt,!1)))}matchSegmentAgainstRoute(re,Q,se,Ee,ze){const yt=Ho(Q,se,Ee,re);return"**"===se.path&&(Q.children={}),yt.pipe((0,M.n)(Zt=>Zt.matched?this.getChildConfig(re=se._injector??re,se,Ee).pipe((0,M.n)(({routes:Wt})=>{const Mn=se._loadedInjector??re,{consumedSegments:L,remainingSegments:Ce,parameters:Z}=Zt,Xe=new Xi(L,Z,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function no(H){return H.data||{}}(se),Yn(se),se.component??se._loadedComponent??null,se,function Ta(H){return H.resolve||{}}(se)),{segmentGroup:gt,slicedSegments:ht}=Jr(Q,L,Ce,Wt);if(0===ht.length&>.hasChildren())return this.processChildren(Mn,Wt,gt).pipe((0,y.T)(Bt=>null===Bt?null:new Fi(Xe,Bt)));if(0===Wt.length&&0===ht.length)return(0,E.of)(new Fi(Xe,[]));const Yt=Yn(se)===ze;return this.processSegment(Mn,Wt,gt,ht,Yt?V:ze,!0).pipe((0,y.T)(Bt=>new Fi(Xe,Bt instanceof Fi?[Bt]:[])))})):Cs(Q)))}getChildConfig(re,Q,se){return Q.children?(0,E.of)({routes:Q.children,injector:re}):Q.loadChildren?void 0!==Q._loadedRoutes?(0,E.of)({routes:Q._loadedRoutes,injector:Q._loadedInjector}):function qs(H,re,Q,se){const Ee=re.canLoad;if(void 0===Ee||0===Ee.length)return(0,E.of)(!0);const ze=Ee.map(yt=>{const Zt=$r(yt,H);return Pe(function Zr(H){return H&&Vr(H.canLoad)}(Zt)?Zt.canLoad(re,Q):(0,t.runInInjectionContext)(H,()=>Zt(re,Q)))});return(0,E.of)(ze).pipe(je(),Mi())}(re,Q,se).pipe((0,D.Z)(Ee=>Ee?this.configLoader.loadChildren(re,Q).pipe((0,F.M)(ze=>{Q._loadedRoutes=ze.routes,Q._loadedInjector=ze.injector})):function Ia(H){return(0,a.$)(br(!1,Tt.GuardRejected))}())):(0,E.of)({routes:[],injector:re})}}function Io(H){const re=H.value.routeConfig;return re&&""===re.path}function $s(H){const re=[],Q=new Set;for(const se of H){if(!Io(se)){re.push(se);continue}const Ee=re.find(ze=>se.value.routeConfig===ze.value.routeConfig);void 0!==Ee?(Ee.children.push(...se.children),Q.add(Ee)):re.push(se)}for(const se of Q){const Ee=$s(se.children);re.push(new Fi(se.value,Ee))}return re.filter(se=>!Q.has(se))}function js(H){const re=H.children.map(Q=>js(Q)).flat();return[H,...re]}function So(H){return(0,M.n)(re=>{const Q=H(re);return Q?(0,C.H)(Q).pipe((0,y.T)(()=>re)):(0,E.of)(re)})}let ks=(()=>{class H{buildTitle(Q){let se,Ee=Q.root;for(;void 0!==Ee;)se=this.getResolvedTitleForRoute(Ee)??se,Ee=Ee.children.find(ze=>ze.outlet===V);return se}getResolvedTitleForRoute(Q){return Q.data[W]}static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:()=>(0,t.inject)(Hs),providedIn:"root"})}return H})(),Hs=(()=>{class H extends ks{constructor(Q){super(),this.title=Q}updateTitle(Q){const se=this.buildTitle(Q);void 0!==se&&this.title.setTitle(se)}static#e=this.\u0275fac=function(se){return new(se||H)(t.\u0275\u0275inject(G.Title))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();const qr=new t.InjectionToken("",{providedIn:"root",factory:()=>({})}),Rr=new t.InjectionToken("");let Os=(()=>{class H{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,t.inject)(t.Compiler)}loadComponent(Q){if(this.componentLoaders.get(Q))return this.componentLoaders.get(Q);if(Q._loadedComponent)return(0,E.of)(Q._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Q);const se=Pe(Q.loadComponent()).pipe((0,y.T)(ro),(0,F.M)(ze=>{this.onLoadEndListener&&this.onLoadEndListener(Q),Q._loadedComponent=ze}),(0,ee.j)(()=>{this.componentLoaders.delete(Q)})),Ee=new u.G(se,()=>new h.B).pipe((0,ie.B)());return this.componentLoaders.set(Q,Ee),Ee}loadChildren(Q,se){if(this.childrenLoaders.get(se))return this.childrenLoaders.get(se);if(se._loadedRoutes)return(0,E.of)({routes:se._loadedRoutes,injector:se._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(se);const ze=Lr(se,this.compiler,Q,this.onLoadEndListener).pipe((0,ee.j)(()=>{this.childrenLoaders.delete(se)})),yt=new u.G(ze,()=>new h.B).pipe((0,ie.B)());return this.childrenLoaders.set(se,yt),yt}static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();function Lr(H,re,Q,se){return Pe(H.loadChildren()).pipe((0,y.T)(ro),(0,D.Z)(Ee=>Ee instanceof t.NgModuleFactory||Array.isArray(Ee)?(0,E.of)(Ee):(0,C.H)(re.compileModuleAsync(Ee))),(0,y.T)(Ee=>{se&&se(H);let ze,yt;return Array.isArray(Ee)?yt=Ee:(ze=Ee.create(Q).injector,yt=ze.get(Rr,[],{optional:!0,self:!0}).flat()),{routes:yt.map(xi),injector:ze}}))}function ro(H){return function Rs(H){return H&&"object"==typeof H&&"default"in H}(H)?H.default:H}let so=(()=>{class H{static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:()=>(0,t.inject)(Go),providedIn:"root"})}return H})(),Go=(()=>{class H{shouldProcessUrl(Q){return!0}extract(Q){return Q}merge(Q,se){return Q}static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();const Ao=new t.InjectionToken(""),Es=new t.InjectionToken("");function Gi(H,re,Q){const se=H.get(Es),Ee=H.get(_.DOCUMENT);return H.get(t.NgZone).runOutsideAngular(()=>{if(!Ee.startViewTransition||se.skipNextTransition)return se.skipNextTransition=!1,Promise.resolve();let ze;const yt=new Promise(Mn=>{ze=Mn}),Zt=Ee.startViewTransition(()=>(ze(),function la(H){return new Promise(re=>{(0,t.afterNextRender)(re,{injector:H})})}(H))),{onViewTransitionCreated:Wt}=se;return Wt&&(0,t.runInInjectionContext)(H,()=>Wt({transition:Zt,from:re,to:Q})),yt})}let ms=(()=>{class H{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new h.B,this.transitionAbortSubject=new h.B,this.configLoader=(0,t.inject)(Os),this.environmentInjector=(0,t.inject)(t.EnvironmentInjector),this.urlSerializer=(0,t.inject)(Mt),this.rootContexts=(0,t.inject)(Xn),this.location=(0,t.inject)(_.Location),this.inputBindingEnabled=null!==(0,t.inject)(Br,{optional:!0}),this.titleStrategy=(0,t.inject)(ks),this.options=(0,t.inject)(qr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,t.inject)(so),this.createViewTransition=(0,t.inject)(Ao,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,E.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Ee=>this.events.next(new ti(Ee)),this.configLoader.onLoadStartListener=Ee=>this.events.next(new Tn(Ee))}complete(){this.transitions?.complete()}handleNavigationRequest(Q){const se=++this.navigationId;this.transitions?.next({...this.transitions.value,...Q,id:se})}setupNavigations(Q,se,Ee){return this.transitions=new c.t({id:0,currentUrlTree:se,currentRawUrl:se,extractedUrl:this.urlHandlingStrategy.extract(se),urlAfterRedirects:this.urlHandlingStrategy.extract(se),rawUrl:se,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ut,restoredState:null,currentSnapshot:Ee.snapshot,targetSnapshot:null,currentRouterState:Ee,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,I.p)(ze=>0!==ze.id),(0,y.T)(ze=>({...ze,extractedUrl:this.urlHandlingStrategy.extract(ze.rawUrl)})),(0,M.n)(ze=>{let yt=!1,Zt=!1;return(0,E.of)(ze).pipe((0,M.n)(Wt=>{if(this.navigationId>ze.id)return this.cancelNavigationTransition(ze,"",Tt.SupersededByNewNavigation),r.w;this.currentTransition=ze,this.currentNavigation={id:Wt.id,initialUrl:Wt.rawUrl,extractedUrl:Wt.extractedUrl,trigger:Wt.source,extras:Wt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Mn=!Q.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Mn&&"reload"!==(Wt.extras.onSameUrlNavigation??Q.onSameUrlNavigation)){const Ce="";return this.events.next(new ce(Wt.id,this.urlSerializer.serialize(Wt.rawUrl),Ce,z.IgnoredSameUrlNavigation)),Wt.resolve(null),r.w}if(this.urlHandlingStrategy.shouldProcessUrl(Wt.rawUrl))return(0,E.of)(Wt).pipe((0,M.n)(Ce=>{const Z=this.transitions?.getValue();return this.events.next(new wt(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),Ce.source,Ce.restoredState)),Z!==this.transitions?.getValue()?r.w:Promise.resolve(Ce)}),function Vs(H,re,Q,se,Ee,ze){return(0,D.Z)(yt=>function Bs(H,re,Q,se,Ee,ze,yt="emptyOnly"){return new Do(H,re,Q,se,Ee,yt,ze).recognize()}(H,re,Q,se,yt.extractedUrl,Ee,ze).pipe((0,y.T)(({state:Zt,tree:Wt})=>({...yt,targetSnapshot:Zt,urlAfterRedirects:Wt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Q.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,F.M)(Ce=>{ze.targetSnapshot=Ce.targetSnapshot,ze.urlAfterRedirects=Ce.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Ce.urlAfterRedirects};const Z=new xt(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),this.urlSerializer.serialize(Ce.urlAfterRedirects),Ce.targetSnapshot);this.events.next(Z)}));if(Mn&&this.urlHandlingStrategy.shouldProcessUrl(Wt.currentRawUrl)){const{id:Ce,extractedUrl:Z,source:Xe,restoredState:gt,extras:ht}=Wt,Yt=new wt(Ce,this.urlSerializer.serialize(Z),Xe,gt);this.events.next(Yt);const Bt=Dn(this.rootComponentType).snapshot;return this.currentTransition=ze={...Wt,targetSnapshot:Bt,urlAfterRedirects:Z,extras:{...ht,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Z,(0,E.of)(ze)}{const Ce="";return this.events.next(new ce(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),Ce,z.IgnoredByUrlHandlingStrategy)),Wt.resolve(null),r.w}}),(0,F.M)(Wt=>{const Mn=new cn(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot);this.events.next(Mn)}),(0,y.T)(Wt=>(this.currentTransition=ze={...Wt,guards:Gr(Wt.targetSnapshot,Wt.currentSnapshot,this.rootContexts)},ze)),function kt(H,re){return(0,D.Z)(Q=>{const{targetSnapshot:se,currentSnapshot:Ee,guards:{canActivateChecks:ze,canDeactivateChecks:yt}}=Q;return 0===yt.length&&0===ze.length?(0,E.of)({...Q,guardsResult:!0}):function xn(H,re,Q,se){return(0,C.H)(H).pipe((0,D.Z)(Ee=>function Eo(H,re,Q,se,Ee){const ze=re&&re.routeConfig?re.routeConfig.canDeactivate:null;if(!ze||0===ze.length)return(0,E.of)(!0);const yt=ze.map(Zt=>{const Wt=Hn(re)??Ee,Mn=$r(Zt,Wt);return Pe(function wo(H){return H&&Vr(H.canDeactivate)}(Mn)?Mn.canDeactivate(H,re,Q,se):(0,t.runInInjectionContext)(Wt,()=>Mn(H,re,Q,se))).pipe((0,O.$)())});return(0,E.of)(yt).pipe(je())}(Ee.component,Ee.route,Q,re,se)),(0,O.$)(Ee=>!0!==Ee,!0))}(yt,se,Ee,H).pipe((0,D.Z)(Zt=>Zt&&function Yr(H){return"boolean"==typeof H}(Zt)?function qn(H,re,Q,se){return(0,C.H)(re).pipe((0,T.H)(Ee=>(0,f.x)(function jr(H,re){return null!==H&&re&&re(new Qi(H)),(0,E.of)(!0)}(Ee.route.parent,se),function Er(H,re){return null!==H&&re&&re(new sr(H)),(0,E.of)(!0)}(Ee.route,se),function kr(H,re,Q){const se=re[re.length-1],ze=re.slice(0,re.length-1).reverse().map(yt=>function oa(H){const re=H.routeConfig?H.routeConfig.canActivateChild:null;return re&&0!==re.length?{node:H,guards:re}:null}(yt)).filter(yt=>null!==yt).map(yt=>(0,d.v)(()=>{const Zt=yt.guards.map(Wt=>{const Mn=Hn(yt.node)??Q,L=$r(Wt,Mn);return Pe(function Xr(H){return H&&Vr(H.canActivateChild)}(L)?L.canActivateChild(se,H):(0,t.runInInjectionContext)(Mn,()=>L(se,H))).pipe((0,O.$)())});return(0,E.of)(Zt).pipe(je())}));return(0,E.of)(ze).pipe(je())}(H,Ee.path,Q),function Ts(H,re,Q){const se=re.routeConfig?re.routeConfig.canActivate:null;if(!se||0===se.length)return(0,E.of)(!0);const Ee=se.map(ze=>(0,d.v)(()=>{const yt=Hn(re)??Q,Zt=$r(ze,yt);return Pe(function Qr(H){return H&&Vr(H.canActivate)}(Zt)?Zt.canActivate(re,H):(0,t.runInInjectionContext)(yt,()=>Zt(re,H))).pipe((0,O.$)())}));return(0,E.of)(Ee).pipe(je())}(H,Ee.route,Q))),(0,O.$)(Ee=>!0!==Ee,!0))}(se,ze,H,re):(0,E.of)(Zt)),(0,y.T)(Zt=>({...Q,guardsResult:Zt})))})}(this.environmentInjector,Wt=>this.events.next(Wt)),(0,F.M)(Wt=>{if(ze.guardsResult=Wt.guardsResult,_t(Wt.guardsResult))throw ds(0,Wt.guardsResult);const Mn=new hi(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects),Wt.targetSnapshot,!!Wt.guardsResult);this.events.next(Mn)}),(0,I.p)(Wt=>!!Wt.guardsResult||(this.cancelNavigationTransition(Wt,"",Tt.GuardRejected),!1)),So(Wt=>{if(Wt.guards.canActivateChecks.length)return(0,E.of)(Wt).pipe((0,F.M)(Mn=>{const L=new Gn(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),this.urlSerializer.serialize(Mn.urlAfterRedirects),Mn.targetSnapshot);this.events.next(L)}),(0,M.n)(Mn=>{let L=!1;return(0,E.of)(Mn).pipe(function hs(H,re){return(0,D.Z)(Q=>{const{targetSnapshot:se,guards:{canActivateChecks:Ee}}=Q;if(!Ee.length)return(0,E.of)(Q);const ze=new Set(Ee.map(Wt=>Wt.route)),yt=new Set;for(const Wt of ze)if(!yt.has(Wt))for(const Mn of js(Wt))yt.add(Mn);let Zt=0;return(0,C.H)(yt).pipe((0,T.H)(Wt=>ze.has(Wt)?function To(H,re,Q,se){const Ee=H.routeConfig,ze=H._resolve;return void 0!==Ee?.title&&!bs(Ee)&&(ze[W]=Ee.title),function io(H,re,Q,se){const Ee=mt(H);if(0===Ee.length)return(0,E.of)({});const ze={};return(0,C.H)(Ee).pipe((0,D.Z)(yt=>function fs(H,re,Q,se){const Ee=Hn(re)??se,ze=$r(H,Ee);return Pe(ze.resolve?ze.resolve(re,Q):(0,t.runInInjectionContext)(Ee,()=>ze(re,Q)))}(H[yt],re,Q,se).pipe((0,O.$)(),(0,F.M)(Zt=>{ze[yt]=Zt}))),(0,U.o)(1),(0,Y.u)(ze),(0,S.W)(yt=>Te(yt)?r.w:(0,a.$)(yt)))}(ze,H,re,se).pipe((0,y.T)(yt=>(H._resolvedData=yt,H.data=Vi(H,H.parent,Q).resolve,null)))}(Wt,se,H,re):(Wt.data=Vi(Wt,Wt.parent,H).resolve,(0,E.of)(void 0))),(0,F.M)(()=>Zt++),(0,U.o)(1),(0,D.Z)(Wt=>Zt===yt.size?(0,E.of)(Q):r.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,F.M)({next:()=>L=!0,complete:()=>{L||this.cancelNavigationTransition(Mn,"",Tt.NoDataFromResolver)}}))}),(0,F.M)(Mn=>{const L=new Fn(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),this.urlSerializer.serialize(Mn.urlAfterRedirects),Mn.targetSnapshot);this.events.next(L)}))}),So(Wt=>{const Mn=L=>{const Ce=[];L.routeConfig?.loadComponent&&!L.routeConfig._loadedComponent&&Ce.push(this.configLoader.loadComponent(L.routeConfig).pipe((0,F.M)(Z=>{L.component=Z}),(0,y.T)(()=>{})));for(const Z of L.children)Ce.push(...Mn(Z));return Ce};return(0,b.z)(Mn(Wt.targetSnapshot.root)).pipe((0,N.U)(null),(0,w.s)(1))}),So(()=>this.afterPreactivation()),(0,M.n)(()=>{const{currentSnapshot:Wt,targetSnapshot:Mn}=ze,L=this.createViewTransition?.(this.environmentInjector,Wt.root,Mn.root);return L?(0,C.H)(L).pipe((0,y.T)(()=>ze)):(0,E.of)(ze)}),(0,y.T)(Wt=>{const Mn=function ns(H,re,Q){const se=Li(H,re._root,Q?Q._root:void 0);return new vn(se,re)}(Q.routeReuseStrategy,Wt.targetSnapshot,Wt.currentRouterState);return this.currentTransition=ze={...Wt,targetRouterState:Mn},this.currentNavigation.targetRouterState=Mn,ze}),(0,F.M)(()=>{this.events.next(new Hi)}),((H,re,Q,se)=>(0,y.T)(Ee=>(new ur(re,Ee.targetRouterState,Ee.currentRouterState,Q,se).activate(H),Ee)))(this.rootContexts,Q.routeReuseStrategy,Wt=>this.events.next(Wt),this.inputBindingEnabled),(0,w.s)(1),(0,F.M)({next:Wt=>{yt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ie(Wt.id,this.urlSerializer.serialize(Wt.extractedUrl),this.urlSerializer.serialize(Wt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Wt.targetRouterState.snapshot),Wt.resolve(!0)},complete:()=>{yt=!0}}),(0,$.Q)(this.transitionAbortSubject.pipe((0,F.M)(Wt=>{throw Wt}))),(0,ee.j)(()=>{!yt&&!Zt&&this.cancelNavigationTransition(ze,"",Tt.SupersededByNewNavigation),this.currentTransition?.id===ze.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,S.W)(Wt=>{if(Zt=!0,Dt(Wt))this.events.next(new he(ze.id,this.urlSerializer.serialize(ze.extractedUrl),Wt.message,Wt.cancellationCode)),function ys(H){return Dt(H)&&_t(H.url)}(Wt)?this.events.next(new On(Wt.url)):ze.resolve(!1);else{this.events.next(new Ve(ze.id,this.urlSerializer.serialize(ze.extractedUrl),Wt,ze.targetSnapshot??void 0));try{ze.resolve(Q.errorHandler(Wt))}catch(Mn){this.options.resolveNavigationPromiseOnError?ze.resolve(!1):ze.reject(Mn)}}return r.w}))}))}cancelNavigationTransition(Q,se,Ee){const ze=new he(Q.id,this.urlSerializer.serialize(Q.extractedUrl),se,Ee);this.events.next(ze),Q.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(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();function ko(H){return H!==ut}let oo=(()=>{class H{static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:()=>(0,t.inject)(Ne),providedIn:"root"})}return H})();class X{shouldDetach(re){return!1}store(re,Q){}shouldAttach(re){return!1}retrieve(re){return null}shouldReuseRoute(re,Q){return re.routeConfig===Q.routeConfig}}let Ne=(()=>{class H extends X{static#e=this.\u0275fac=(()=>{let Q;return function(Ee){return(Q||(Q=t.\u0275\u0275getInheritedFactory(H)))(Ee||H)}})();static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})(),oe=(()=>{class H{static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:()=>(0,t.inject)(ye),providedIn:"root"})}return H})(),ye=(()=>{class H extends oe{constructor(){super(...arguments),this.location=(0,t.inject)(_.Location),this.urlSerializer=(0,t.inject)(Mt),this.options=(0,t.inject)(qr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,t.inject)(so),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new vt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Dn(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(Q){return this.location.subscribe(se=>{"popstate"===se.type&&Q(se.url,se.state)})}handleRouterEvent(Q,se){if(Q instanceof wt)this.stateMemento=this.createStateMemento();else if(Q instanceof ce)this.rawUrlTree=se.initialUrl;else if(Q instanceof xt){if("eager"===this.urlUpdateStrategy&&!se.extras.skipLocationChange){const Ee=this.urlHandlingStrategy.merge(se.finalUrl,se.initialUrl);this.setBrowserUrl(Ee,se)}}else Q instanceof Hi?(this.currentUrlTree=se.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(se.finalUrl,se.initialUrl),this.routerState=se.targetRouterState,"deferred"===this.urlUpdateStrategy&&(se.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,se))):Q instanceof he&&(Q.code===Tt.GuardRejected||Q.code===Tt.NoDataFromResolver)?this.restoreHistory(se):Q instanceof Ve?this.restoreHistory(se,!0):Q instanceof Ie&&(this.lastSuccessfulId=Q.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Q,se){const Ee=this.urlSerializer.serialize(Q);if(this.location.isCurrentPathEqualTo(Ee)||se.extras.replaceUrl){const yt={...se.extras.state,...this.generateNgRouterState(se.id,this.browserPageId)};this.location.replaceState(Ee,"",yt)}else{const ze={...se.extras.state,...this.generateNgRouterState(se.id,this.browserPageId+1)};this.location.go(Ee,"",ze)}}restoreHistory(Q,se=!1){if("computed"===this.canceledNavigationResolution){const ze=this.currentPageId-this.browserPageId;0!==ze?this.location.historyGo(ze):this.currentUrlTree===Q.finalUrl&&0===ze&&(this.resetState(Q),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(se&&this.resetState(Q),this.resetUrlToCurrentUrlTree())}resetState(Q){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Q.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Q,se){return"computed"===this.canceledNavigationResolution?{navigationId:Q,\u0275routerPageId:se}:{navigationId:Q}}static#e=this.\u0275fac=(()=>{let Q;return function(Ee){return(Q||(Q=t.\u0275\u0275getInheritedFactory(H)))(Ee||H)}})();static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();var lt=function(H){return H[H.COMPLETE=0]="COMPLETE",H[H.FAILED=1]="FAILED",H[H.REDIRECTING=2]="REDIRECTING",H}(lt||{});function $t(H,re){H.events.pipe((0,I.p)(Q=>Q instanceof Ie||Q instanceof he||Q instanceof Ve||Q instanceof ce),(0,y.T)(Q=>Q instanceof Ie||Q instanceof ce?lt.COMPLETE:Q instanceof he&&(Q.code===Tt.Redirect||Q.code===Tt.SupersededByNewNavigation)?lt.REDIRECTING:lt.FAILED),(0,I.p)(Q=>Q!==lt.REDIRECTING),(0,w.s)(1)).subscribe(()=>{re()})}function Jt(H){throw H}const wn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ci={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ai=(()=>{class H{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)(qr,{optional:!0})||{},this.pendingTasks=(0,t.inject)(t.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,t.inject)(ms),this.urlSerializer=(0,t.inject)(Mt),this.location=(0,t.inject)(_.Location),this.urlHandlingStrategy=(0,t.inject)(so),this._events=new h.B,this.errorHandler=this.options.errorHandler||Jt,this.navigated=!1,this.routeReuseStrategy=(0,t.inject)(oo),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,t.inject)(Rr,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,t.inject)(Br,{optional:!0}),this.eventsSubscription=new p.yU,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:Q=>{this.console.warn(Q)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Q=this.navigationTransitions.events.subscribe(se=>{try{const Ee=this.navigationTransitions.currentTransition,ze=this.navigationTransitions.currentNavigation;if(null!==Ee&&null!==ze)if(this.stateManager.handleRouterEvent(se,ze),se instanceof he&&se.code!==Tt.Redirect&&se.code!==Tt.SupersededByNewNavigation)this.navigated=!0;else if(se instanceof Ie)this.navigated=!0;else if(se instanceof On){const yt=this.urlHandlingStrategy.merge(se.url,Ee.currentRawUrl),Zt={info:Ee.extras.info,skipLocationChange:Ee.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ko(Ee.source)};this.scheduleNavigation(yt,ut,null,Zt,{resolve:Ee.resolve,reject:Ee.reject,promise:Ee.promise})}(function ri(H){return!(H instanceof Hi||H instanceof On)})(se)&&this._events.next(se)}catch(Ee){this.navigationTransitions.transitionAbortSubject.next(Ee)}});this.eventsSubscription.add(Q)}resetRootComponentType(Q){this.routerState.root.component=Q,this.navigationTransitions.rootComponentType=Q}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ut,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((Q,se)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(Q,"popstate",se)},0)})}navigateToSyncWithBrowser(Q,se,Ee){const ze={replaceUrl:!0},yt=Ee?.navigationId?Ee:null;if(Ee){const Wt={...Ee};delete Wt.navigationId,delete Wt.\u0275routerPageId,0!==Object.keys(Wt).length&&(ze.state=Wt)}const Zt=this.parseUrl(Q);this.scheduleNavigation(Zt,se,yt,ze)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Q){this.config=Q.map(xi),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(Q,se={}){const{relativeTo:Ee,queryParams:ze,fragment:yt,queryParamsHandling:Zt,preserveFragment:Wt}=se,Mn=Wt?this.currentUrlTree.fragment:yt;let Ce,L=null;switch(Zt){case"merge":L={...this.currentUrlTree.queryParams,...ze};break;case"preserve":L=this.currentUrlTree.queryParams;break;default:L=ze||null}null!==L&&(L=this.removeEmptyProps(L));try{Ce=Je(Ee?Ee.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Q[0]||!Q[0].startsWith("/"))&&(Q=[]),Ce=this.currentUrlTree.root}return Ue(Ce,Q,L,Mn??null)}navigateByUrl(Q,se={skipLocationChange:!1}){const Ee=_t(Q)?Q:this.parseUrl(Q),ze=this.urlHandlingStrategy.merge(Ee,this.rawUrlTree);return this.scheduleNavigation(ze,ut,null,se)}navigate(Q,se={skipLocationChange:!1}){return function Ai(H){for(let re=0;re(null!=ze&&(se[Ee]=ze),se),{})}scheduleNavigation(Q,se,Ee,ze,yt){if(this.disposed)return Promise.resolve(!1);let Zt,Wt,Mn;yt?(Zt=yt.resolve,Wt=yt.reject,Mn=yt.promise):Mn=new Promise((Ce,Z)=>{Zt=Ce,Wt=Z});const L=this.pendingTasks.add();return $t(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(L))}),this.navigationTransitions.handleNavigationRequest({source:se,restoredState:Ee,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Q,extras:ze,resolve:Zt,reject:Wt,promise:Mn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Mn.catch(Ce=>Promise.reject(Ce))}static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})(),ki=(()=>{class H{constructor(Q,se,Ee,ze,yt,Zt){this.router=Q,this.route=se,this.tabIndexAttribute=Ee,this.renderer=ze,this.el=yt,this.locationStrategy=Zt,this.href=null,this.commands=null,this.onChanges=new h.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Wt=yt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Wt||"area"===Wt,this.isAnchorElement?this.subscription=Q.events.subscribe(Mn=>{Mn instanceof Ie&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Q){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Q)}ngOnChanges(Q){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Q){null!=Q?(this.commands=Array.isArray(Q)?Q:[Q],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Q,se,Ee,ze,yt){const Zt=this.urlTree;return!!(null===Zt||this.isAnchorElement&&(0!==Q||se||Ee||ze||yt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Zt,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Q=this.urlTree;this.href=null!==Q&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Q)):null;const se=null===this.href?null:(0,t.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",se)}applyAttributeValue(Q,se){const Ee=this.renderer,ze=this.el.nativeElement;null!==se?Ee.setAttribute(ze,Q,se):Ee.removeAttribute(ze,Q)}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(se){return new(se||H)(t.\u0275\u0275directiveInject(ai),t.\u0275\u0275directiveInject(jn),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:H,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(se,Ee){1&se&&t.\u0275\u0275listener("click",function(yt){return Ee.onClick(yt.button,yt.ctrlKey,yt.shiftKey,yt.altKey,yt.metaKey)}),2&se&&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 H})(),Di=(()=>{class H{get isActive(){return this._isActive}constructor(Q,se,Ee,ze,yt){this.router=Q,this.element=se,this.renderer=Ee,this.cdr=ze,this.link=yt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new t.EventEmitter,this.routerEventsSubscription=Q.events.subscribe(Zt=>{Zt instanceof Ie&&this.update()})}ngAfterContentInit(){(0,E.of)(this.links.changes,(0,E.of)(null)).pipe((0,j.U)()).subscribe(Q=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Q=[...this.links.toArray(),this.link].filter(se=>!!se).map(se=>se.onChanges);this.linkInputChangesSubscription=(0,C.H)(Q).pipe((0,j.U)()).subscribe(se=>{this._isActive!==this.isLinkActive(this.router)(se)&&this.update()})}set routerLinkActive(Q){const se=Array.isArray(Q)?Q:Q.split(" ");this.classes=se.filter(Ee=>!!Ee)}ngOnChanges(Q){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const Q=this.hasActiveLinks();this._isActive!==Q&&(this._isActive=Q,this.cdr.markForCheck(),this.classes.forEach(se=>{Q?this.renderer.addClass(this.element.nativeElement,se):this.renderer.removeClass(this.element.nativeElement,se)}),Q&&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(Q))})}isLinkActive(Q){const se=function er(H){return!!H.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Ee=>{const ze=Ee.urlTree;return!!ze&&Q.isActive(ze,se)}}hasActiveLinks(){const Q=this.isLinkActive(this.router);return this.link&&Q(this.link)||this.links.some(Q)}static#e=this.\u0275fac=function(se){return new(se||H)(t.\u0275\u0275directiveInject(ai),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.Renderer2),t.\u0275\u0275directiveInject(t.ChangeDetectorRef),t.\u0275\u0275directiveInject(ki,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:H,selectors:[["","routerLinkActive",""]],contentQueries:function(se,Ee,ze){if(1&se&&t.\u0275\u0275contentQuery(ze,ki,5),2&se){let yt;t.\u0275\u0275queryRefresh(yt=t.\u0275\u0275loadQuery())&&(Ee.links=yt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[t.\u0275\u0275NgOnChangesFeature]})}return H})();class Nr{}let xr=(()=>{class H{preload(Q,se){return se().pipe((0,S.W)(()=>(0,E.of)(null)))}static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})(),Ii=(()=>{class H{preload(Q,se){return(0,E.of)(null)}static#e=this.\u0275fac=function(se){return new(se||H)};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})(),mn=(()=>{class H{constructor(Q,se,Ee,ze,yt){this.router=Q,this.injector=Ee,this.preloadingStrategy=ze,this.loader=yt}setUpPreloading(){this.subscription=this.router.events.pipe((0,I.p)(Q=>Q instanceof Ie),(0,T.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Q,se){const Ee=[];for(const ze of se){ze.providers&&!ze._injector&&(ze._injector=(0,t.createEnvironmentInjector)(ze.providers,Q,`Route: ${ze.path}`));const yt=ze._injector??Q,Zt=ze._loadedInjector??yt;(ze.loadChildren&&!ze._loadedRoutes&&void 0===ze.canLoad||ze.loadComponent&&!ze._loadedComponent)&&Ee.push(this.preloadConfig(yt,ze)),(ze.children||ze._loadedRoutes)&&Ee.push(this.processRoutes(Zt,ze.children??ze._loadedRoutes))}return(0,C.H)(Ee).pipe((0,j.U)())}preloadConfig(Q,se){return this.preloadingStrategy.preload(se,()=>{let Ee;Ee=se.loadChildren&&void 0===se.canLoad?this.loader.loadChildren(Q,se):(0,E.of)(null);const ze=Ee.pipe((0,D.Z)(yt=>null===yt?(0,E.of)(void 0):(se._loadedRoutes=yt.routes,se._loadedInjector=yt.injector,this.processRoutes(yt.injector??Q,yt.routes))));if(se.loadComponent&&!se._loadedComponent){const yt=this.loader.loadComponent(se);return(0,C.H)([ze,yt]).pipe((0,j.U)())}return ze})}static#e=this.\u0275fac=function(se){return new(se||H)(t.\u0275\u0275inject(ai),t.\u0275\u0275inject(t.Compiler),t.\u0275\u0275inject(t.EnvironmentInjector),t.\u0275\u0275inject(Nr),t.\u0275\u0275inject(Os))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();const kn=new t.InjectionToken("");let Ti=(()=>{class H{constructor(Q,se,Ee,ze,yt={}){this.urlSerializer=Q,this.transitions=se,this.viewportScroller=Ee,this.zone=ze,this.options=yt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},yt.scrollPositionRestoration||="disabled",yt.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(Q=>{Q instanceof wt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Q.navigationTrigger,this.restoredId=Q.restoredState?Q.restoredState.navigationId:0):Q instanceof Ie?(this.lastId=Q.id,this.scheduleScrollEvent(Q,this.urlSerializer.parse(Q.urlAfterRedirects).fragment)):Q instanceof ce&&Q.code===z.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Q,this.urlSerializer.parse(Q.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Q=>{Q instanceof mi&&(Q.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Q.position):Q.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Q.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Q,se){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new mi(Q,"popstate"===this.lastSource?this.store[this.restoredId]:null,se))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(se){t.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:H,factory:H.\u0275fac})}return H})();function dr(H,...re){return(0,t.makeEnvironmentProviders)([{provide:Rr,multi:!0,useValue:H},[],{provide:jn,useFactory:or,deps:[ai]},{provide:t.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:Wn},re.map(Q=>Q.\u0275providers)])}function or(H){return H.routerState.root}function tr(H,re){return{\u0275kind:H,\u0275providers:re}}function pr(H){return[{provide:Rr,multi:!0,useValue:H},[]]}function ss(H={}){return tr(4,[{provide:kn,useFactory:()=>{const Q=(0,t.inject)(_.ViewportScroller),se=(0,t.inject)(t.NgZone),Ee=(0,t.inject)(ms),ze=(0,t.inject)(Mt);return new Ti(ze,Ee,Q,se,H)}}])}function Wn(){const H=(0,t.inject)(t.Injector);return re=>{const Q=H.get(t.ApplicationRef);if(re!==Q.components[0])return;const se=H.get(ai),Ee=H.get(Pr);1===H.get(Ko)&&se.initialNavigation(),H.get(Ws,null,t.InjectFlags.Optional)?.setUpPreloading(),H.get(kn,null,t.InjectFlags.Optional)?.init(),se.resetRootComponentType(Q.componentTypes[0]),Ee.closed||(Ee.next(),Ee.complete(),Ee.unsubscribe())}}const Pr=new t.InjectionToken("",{factory:()=>new h.B}),Ko=new t.InjectionToken("",{providedIn:"root",factory:()=>1});function zs(){return tr(2,[{provide:Ko,useValue:0},{provide:t.APP_INITIALIZER,multi:!0,deps:[t.Injector],useFactory:re=>{const Q=re.get(_.LOCATION_INITIALIZED,Promise.resolve());return()=>Q.then(()=>new Promise(se=>{const Ee=re.get(ai),ze=re.get(Pr);$t(Ee,()=>{se(!0)}),re.get(ms).afterPreactivation=()=>(se(!0),ze.closed?(0,E.of)(void 0):ze),Ee.initialNavigation()}))}}])}function Yi(){return tr(3,[{provide:t.APP_INITIALIZER,multi:!0,useFactory:()=>{const re=(0,t.inject)(ai);return()=>{re.setUpLocationChangeListener()}}},{provide:Ko,useValue:2}])}function Oo(){let H=[];return H=[],tr(1,H)}const Ws=new t.InjectionToken("");function Fr(H){return tr(0,[{provide:Ws,useExisting:mn},{provide:Nr,useExisting:H}])}function Gs(H){return tr(5,[{provide:qr,useValue:H}])}function Yo(){return tr(6,[{provide:_.LocationStrategy,useClass:_.HashLocationStrategy}])}function Ls(H){return tr(7,[{provide:t.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const Q=(0,t.inject)(t.EnvironmentInjector);(0,t.inject)(ai).events.subscribe(se=>{se instanceof Ve&&(0,t.runInInjectionContext)(Q,()=>H(se))})}}])}function lo(){return tr(8,[mr,{provide:Br,useExisting:mr}])}function Ns(H){return tr(9,[{provide:Ao,useValue:Gi},{provide:Es,useValue:{skipNextTransition:!!H?.skipInitialTransition,...H}}])}const co=new t.InjectionToken("ROUTER_FORROOT_GUARD"),uo=[_.Location,{provide:Mt,useClass:zt},ai,Xn,{provide:jn,useFactory:or,deps:[ai]},Os,[]];let ps=(()=>{class H{constructor(Q){}static forRoot(Q,se){return{ngModule:H,providers:[uo,[],{provide:Rr,multi:!0,useValue:Q},{provide:co,useFactory:ca,deps:[[ai,new t.Optional,new t.SkipSelf]]},{provide:qr,useValue:se||{}},se?.useHash?{provide:_.LocationStrategy,useClass:_.HashLocationStrategy}:{provide:_.LocationStrategy,useClass:_.PathLocationStrategy},{provide:kn,useFactory:()=>{const H=(0,t.inject)(_.ViewportScroller),re=(0,t.inject)(t.NgZone),Q=(0,t.inject)(qr),se=(0,t.inject)(ms),Ee=(0,t.inject)(Mt);return Q.scrollOffset&&H.setOffset(Q.scrollOffset),new Ti(Ee,se,H,re,Q)}},se?.preloadingStrategy?Fr(se.preloadingStrategy).\u0275providers:[],se?.initialNavigation?yr(se):[],se?.bindToComponentInputs?lo().\u0275providers:[],se?.enableViewTransitions?Ns().\u0275providers:[],[{provide:hr,useFactory:Wn},{provide:t.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:hr}]]}}static forChild(Q){return{ngModule:H,providers:[{provide:Rr,multi:!0,useValue:Q}]}}static#e=this.\u0275fac=function(se){return new(se||H)(t.\u0275\u0275inject(co,8))};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:H});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return H})();function ca(H){return"guarded"}function yr(H){return["disabled"===H.initialNavigation?Yi().\u0275providers:[],"enabledBlocking"===H.initialNavigation?zs().\u0275providers:[]]}const hr=new t.InjectionToken("");function Ks(H){return H.map(re=>(...Q)=>(0,t.inject)(re).canMatch(...Q))}function Qo(H){return H.map(re=>(...Q)=>(0,t.inject)(re).canActivate(...Q))}function os(H){return H.map(re=>(...Q)=>(0,t.inject)(re).canActivateChild(...Q))}function da(H){return H.map(re=>(...Q)=>(0,t.inject)(re).canDeactivate(...Q))}function wl(H){return(...re)=>(0,t.inject)(H).resolve(...re)}const El=new t.Version("17.3.0")},3955:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{DEFAULT_LANGUAGE:()=>R,FakeMissingTranslationHandler:()=>p,MissingTranslationHandler:()=>h,TranslateCompiler:()=>D,TranslateDefaultParser:()=>I,TranslateDirective:()=>U,TranslateFakeCompiler:()=>O,TranslateFakeLoader:()=>u,TranslateLoader:()=>r,TranslateModule:()=>ee,TranslateParser:()=>k,TranslatePipe:()=>Y,TranslateService:()=>A,TranslateStore:()=>T,USE_DEFAULT_LANG:()=>S,USE_EXTEND:()=>N,USE_STORE:()=>F});var t=g(4438),v=g(7673),C=g(4402),E=g(7468),c=g(2688),b=g(9030),s=g(6697),f=g(4668),d=g(6354),l=g(274),a=g(5558);class r{}let u=(()=>{class ie extends r{getTranslation(j){return(0,v.of)({})}static \u0275fac=(()=>{let j;return function(V){return(j||(j=t.\u0275\u0275getInheritedFactory(ie)))(V||ie)}})();static \u0275prov=t.\u0275\u0275defineInjectable({token:ie,factory:ie.\u0275fac})}return ie})();class h{}let p=(()=>{class ie{handle(j){return j.key}static \u0275fac=function(G){return new(G||ie)};static \u0275prov=t.\u0275\u0275defineInjectable({token:ie,factory:ie.\u0275fac})}return ie})();function _(ie,$){if(ie===$)return!0;if(null===ie||null===$)return!1;if(ie!=ie&&$!=$)return!0;let V,W,K,j=typeof ie;if(j==typeof $&&"object"==j){if(!Array.isArray(ie)){if(Array.isArray($))return!1;for(W in K=Object.create(null),ie){if(!_(ie[W],$[W]))return!1;K[W]=!0}for(W in $)if(!(W in K)&&typeof $[W]<"u")return!1;return!0}if(!Array.isArray($))return!1;if((V=ie.length)==$.length){for(W=0;W{M($[G])?G in ie?j[G]=w(ie[G],$[G]):Object.assign(j,{[G]:$[G]}):Object.assign(j,{[G]:$[G]})}),j}class k{}let I=(()=>{class ie extends k{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(j,G){let V;return V="string"==typeof j?this.interpolateString(j,G):"function"==typeof j?this.interpolateFunction(j,G):j,V}getValue(j,G){let V="string"==typeof G?G.split("."):[G];G="";do{G+=V.shift(),!y(j)||!y(j[G])||"object"!=typeof j[G]&&V.length?V.length?G+=".":j=void 0:(j=j[G],G="")}while(V.length);return j}interpolateFunction(j,G){return j(G)}interpolateString(j,G){return G?j.replace(this.templateMatcher,(V,W)=>{let K=this.getValue(G,W);return y(K)?K:V}):j}static \u0275fac=(()=>{let j;return function(V){return(j||(j=t.\u0275\u0275getInheritedFactory(ie)))(V||ie)}})();static \u0275prov=t.\u0275\u0275defineInjectable({token:ie,factory:ie.\u0275fac})}return ie})();class D{}let O=(()=>{class ie extends D{compile(j,G){return j}compileTranslations(j,G){return j}static \u0275fac=(()=>{let j;return function(V){return(j||(j=t.\u0275\u0275getInheritedFactory(ie)))(V||ie)}})();static \u0275prov=t.\u0275\u0275defineInjectable({token:ie,factory:ie.\u0275fac})}return ie})();class T{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new t.EventEmitter;onLangChange=new t.EventEmitter;onDefaultLangChange=new t.EventEmitter}const F=new t.InjectionToken("USE_STORE"),S=new t.InjectionToken("USE_DEFAULT_LANG"),R=new t.InjectionToken("DEFAULT_LANGUAGE"),N=new t.InjectionToken("USE_EXTEND");let A=(()=>{class ie{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(j){this.isolate?this._defaultLang=j:this.store.defaultLang=j}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(j){this.isolate?this._currentLang=j:this.store.currentLang=j}get langs(){return this.isolate?this._langs:this.store.langs}set langs(j){this.isolate?this._langs=j:this.store.langs=j}get translations(){return this.isolate?this._translations:this.store.translations}set translations(j){this.isolate?this._translations=j:this.store.translations=j}constructor(j,G,V,W,K,le=!0,ue=!1,ve=!1,Ye){this.store=j,this.currentLoader=G,this.compiler=V,this.parser=W,this.missingTranslationHandler=K,this.useDefaultLang=le,this.isolate=ue,this.extend=ve,Ye&&this.setDefaultLang(Ye)}setDefaultLang(j){if(j===this.defaultLang)return;let G=this.retrieveTranslations(j);typeof G<"u"?(null==this.defaultLang&&(this.defaultLang=j),G.pipe((0,s.s)(1)).subscribe(V=>{this.changeDefaultLang(j)})):this.changeDefaultLang(j)}getDefaultLang(){return this.defaultLang}use(j){if(j===this.currentLang)return(0,v.of)(this.translations[j]);let G=this.retrieveTranslations(j);return typeof G<"u"?(this.currentLang||(this.currentLang=j),G.pipe((0,s.s)(1)).subscribe(V=>{this.changeLang(j)}),G):(this.changeLang(j),(0,v.of)(this.translations[j]))}retrieveTranslations(j){let G;return(typeof this.translations[j]>"u"||this.extend)&&(this._translationRequests[j]=this._translationRequests[j]||this.getTranslation(j),G=this._translationRequests[j]),G}getTranslation(j){this.pending=!0;const G=this.currentLoader.getTranslation(j).pipe((0,f.t)(1),(0,s.s)(1));return this.loadingTranslations=G.pipe((0,d.T)(V=>this.compiler.compileTranslations(V,j)),(0,f.t)(1),(0,s.s)(1)),this.loadingTranslations.subscribe({next:V=>{this.translations[j]=this.extend&&this.translations[j]?{...V,...this.translations[j]}:V,this.updateLangs(),this.pending=!1},error:V=>{this.pending=!1}}),G}setTranslation(j,G,V=!1){G=this.compiler.compileTranslations(G,j),this.translations[j]=(V||this.extend)&&this.translations[j]?w(this.translations[j],G):G,this.updateLangs(),this.onTranslationChange.emit({lang:j,translations:this.translations[j]})}getLangs(){return this.langs}addLangs(j){j.forEach(G=>{-1===this.langs.indexOf(G)&&this.langs.push(G)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(j,G,V){let W;if(G instanceof Array){let K={},le=!1;for(let ue of G)K[ue]=this.getParsedResult(j,ue,V),(0,C.A)(K[ue])&&(le=!0);if(le){const ue=G.map(ve=>(0,C.A)(K[ve])?K[ve]:(0,v.of)(K[ve]));return(0,E.p)(ue).pipe((0,d.T)(ve=>{let Ye={};return ve.forEach((mt,ct)=>{Ye[G[ct]]=mt}),Ye}))}return K}if(j&&(W=this.parser.interpolate(this.parser.getValue(j,G),V)),typeof W>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(W=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],G),V)),typeof W>"u"){let K={key:G,translateService:this};typeof V<"u"&&(K.interpolateParams=V),W=this.missingTranslationHandler.handle(K)}return typeof W<"u"?W:G}get(j,G){if(!y(j)||!j.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,l.H)(V=>(V=this.getParsedResult(V,j,G),(0,C.A)(V)?V:(0,v.of)(V))));{let V=this.getParsedResult(this.translations[this.currentLang],j,G);return(0,C.A)(V)?V:(0,v.of)(V)}}getStreamOnTranslationChange(j,G){if(!y(j)||!j.length)throw new Error('Parameter "key" required');return(0,c.x)((0,b.v)(()=>this.get(j,G)),this.onTranslationChange.pipe((0,a.n)(V=>{const W=this.getParsedResult(V.translations,j,G);return"function"==typeof W.subscribe?W:(0,v.of)(W)})))}stream(j,G){if(!y(j)||!j.length)throw new Error('Parameter "key" required');return(0,c.x)((0,b.v)(()=>this.get(j,G)),this.onLangChange.pipe((0,a.n)(V=>{const W=this.getParsedResult(V.translations,j,G);return(0,C.A)(W)?W:(0,v.of)(W)})))}instant(j,G){if(!y(j)||!j.length)throw new Error('Parameter "key" required');let V=this.getParsedResult(this.translations[this.currentLang],j,G);if((0,C.A)(V)){if(j instanceof Array){let W={};return j.forEach((K,le)=>{W[j[le]]=j[le]}),W}return j}return V}set(j,G,V=this.currentLang){this.translations[V][j]=this.compiler.compile(G,V),this.updateLangs(),this.onTranslationChange.emit({lang:V,translations:this.translations[V]})}changeLang(j){this.currentLang=j,this.onLangChange.emit({lang:j,translations:this.translations[j]}),null==this.defaultLang&&this.changeDefaultLang(j)}changeDefaultLang(j){this.defaultLang=j,this.onDefaultLangChange.emit({lang:j,translations:this.translations[j]})}reloadLang(j){return this.resetLang(j),this.getTranslation(j)}resetLang(j){this._translationRequests[j]=void 0,this.translations[j]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let j=window.navigator.languages?window.navigator.languages[0]:null;return j=j||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof j>"u"?void 0:(-1!==j.indexOf("-")&&(j=j.split("-")[0]),-1!==j.indexOf("_")&&(j=j.split("_")[0]),j)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let j=window.navigator.languages?window.navigator.languages[0]:null;return j=j||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,j}static \u0275fac=function(G){return new(G||ie)(t.\u0275\u0275inject(T),t.\u0275\u0275inject(r),t.\u0275\u0275inject(D),t.\u0275\u0275inject(k),t.\u0275\u0275inject(h),t.\u0275\u0275inject(S),t.\u0275\u0275inject(F),t.\u0275\u0275inject(N),t.\u0275\u0275inject(R))};static \u0275prov=t.\u0275\u0275defineInjectable({token:ie,factory:ie.\u0275fac})}return ie})(),U=(()=>{class ie{translateService;element;_ref;key;lastParams;currentParams;onLangChangeSub;onDefaultLangChangeSub;onTranslationChangeSub;set translate(j){j&&(this.key=j,this.checkNodes())}set translateParams(j){_(this.currentParams,j)||(this.currentParams=j,this.checkNodes(!0))}constructor(j,G,V){this.translateService=j,this.element=G,this._ref=V,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(W=>{W.lang===this.translateService.currentLang&&this.checkNodes(!0,W.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(W=>{this.checkNodes(!0,W.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(W=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(j=!1,G){let V=this.element.nativeElement.childNodes;V.length||(this.setContent(this.element.nativeElement,this.key),V=this.element.nativeElement.childNodes);for(let W=0;W{K!==j&&(G.lastKey=j),G.originalContent||(G.originalContent=this.getContent(G)),G.currentValue=y(K)?K:G.originalContent||j,this.setContent(G,this.key?G.currentValue:G.originalContent.replace(j,G.currentValue)),this._ref.markForCheck()};if(y(V)){let K=this.translateService.getParsedResult(V,j,this.currentParams);(0,C.A)(K)?K.subscribe({next:W}):W(K)}else this.translateService.get(j,this.currentParams).subscribe(W)}}getContent(j){return y(j.textContent)?j.textContent:j.data}setContent(j,G){y(j.textContent)?j.textContent=G:j.data=G}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}static \u0275fac=function(G){return new(G||ie)(t.\u0275\u0275directiveInject(A),t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(t.ChangeDetectorRef))};static \u0275dir=t.\u0275\u0275defineDirective({type:ie,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}})}return ie})(),Y=(()=>{class ie{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(j,G){this.translate=j,this._ref=G}updateValue(j,G,V){let W=K=>{this.value=void 0!==K?K:j,this.lastKey=j,this._ref.markForCheck()};if(V){let K=this.translate.getParsedResult(V,j,G);(0,C.A)(K.subscribe)?K.subscribe(W):W(K)}this.translate.get(j,G).subscribe(W)}transform(j,...G){if(!j||!j.length)return j;if(_(j,this.lastKey)&&_(G,this.lastParams))return this.value;let V;if(y(G[0])&&G.length)if("string"==typeof G[0]&&G[0].length){let W=G[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{V=JSON.parse(W)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${G[0]}`)}}else"object"==typeof G[0]&&!Array.isArray(G[0])&&(V=G[0]);return this.lastKey=j,this.lastParams=G,this.updateValue(j,V),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(W=>{this.lastKey&&W.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(j,V,W.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(W=>{this.lastKey&&(this.lastKey=null,this.updateValue(j,V,W.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(j,V))})),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(G){return new(G||ie)(t.\u0275\u0275directiveInject(A,16),t.\u0275\u0275directiveInject(t.ChangeDetectorRef,16))};static \u0275pipe=t.\u0275\u0275definePipe({name:"translate",type:ie,pure:!1});static \u0275prov=t.\u0275\u0275defineInjectable({token:ie,factory:ie.\u0275fac})}return ie})(),ee=(()=>{class ie{static forRoot(j={}){return{ngModule:ie,providers:[j.loader||{provide:r,useClass:u},j.compiler||{provide:D,useClass:O},j.parser||{provide:k,useClass:I},j.missingTranslationHandler||{provide:h,useClass:p},T,{provide:F,useValue:j.isolate},{provide:S,useValue:j.useDefaultLang},{provide:N,useValue:j.extend},{provide:R,useValue:j.defaultLanguage},A]}}static forChild(j={}){return{ngModule:ie,providers:[j.loader||{provide:r,useClass:u},j.compiler||{provide:D,useClass:O},j.parser||{provide:k,useClass:I},j.missingTranslationHandler||{provide:h,useClass:p},{provide:F,useValue:j.isolate},{provide:S,useValue:j.useDefaultLang},{provide:N,useValue:j.extend},{provide:R,useValue:j.defaultLanguage},A]}}static \u0275fac=function(G){return new(G||ie)};static \u0275mod=t.\u0275\u0275defineNgModule({type:ie});static \u0275inj=t.\u0275\u0275defineInjector({})}return ie})()},5635:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{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}`)}}},1244:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{AUTH_CONFIG:()=>fn,AbstractValidationHandler:()=>ve,AuthConfig:()=>K,DateTimeProvider:()=>S,DefaultHashHandler:()=>we,DefaultOAuthInterceptor:()=>Mt,HashHandler:()=>Oe,JwksValidationHandler:()=>rn,LoginOptions:()=>N,MemoryStorage:()=>Y,NullValidationHandler:()=>O,OAuthErrorEvent:()=>G,OAuthEvent:()=>ie,OAuthInfoEvent:()=>j,OAuthLogger:()=>A,OAuthModule:()=>hn,OAuthModuleConfig:()=>T,OAuthNoopResourceServerErrorHandler:()=>rt,OAuthResourceServerConfig:()=>F,OAuthResourceServerErrorHandler:()=>Me,OAuthService:()=>Ge,OAuthStorage:()=>U,OAuthSuccessEvent:()=>$,ReceivedTokens:()=>ee,SystemDateTimeProvider:()=>R,UrlHelperService:()=>Ye,ValidationHandler:()=>ue,provideOAuthClient:()=>dn});var t=g(467),v=g(4438),C=g(177),E=g(1626),c=g(1413),b=g(7673),s=g(8455),f=g(1033),d=g(8810),l=g(4572),a=g(7786),r=g(5964),u=g(8141),h=g(152),p=g(3103),_=g(5558),y=g(6354),M=g(1594),w=g(9437),k=g(2087),I=g(6697),D=g(3028);class O{validateSignature(Vt){return Promise.resolve(null)}validateAtHash(Vt){return Promise.resolve(!0)}}class T{}class F{}class S{}let R=(()=>{class Pt extends S{now(){return Date.now()}new(){return new Date}static#e=this.\u0275fac=(()=>{let _e;return function(Qe){return(_e||(_e=v.\u0275\u0275getInheritedFactory(Pt)))(Qe||Pt)}})();static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Pt,factory:Pt.\u0275fac})}return Pt})();class N{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class A{}class U{}let Y=(()=>{class Pt{constructor(){this.data=new Map}getItem(_e){return this.data.get(_e)}removeItem(_e){this.data.delete(_e)}setItem(_e,Ze){this.data.set(_e,Ze)}static#e=this.\u0275fac=function(Ze){return new(Ze||Pt)};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Pt,factory:Pt.\u0275fac})}return Pt})();class ee{}class ie{constructor(Vt){this.type=Vt}}class $ extends ie{constructor(Vt,_e=null){super(Vt),this.info=_e}}class j extends ie{constructor(Vt,_e=null){super(Vt),this.info=_e}}class G extends ie{constructor(Vt,_e,Ze=null){super(Vt),this.reason=_e,this.params=Ze}}function V(Pt){const Vt=Pt.replace(/-/g,"+").replace(/_/g,"/");return decodeURIComponent(atob(Vt).split("").map(function(_e){return"%"+("00"+_e.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function W(Pt){return btoa(Pt).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class K{constructor(Vt){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=_e=>{location.href=_e},Vt&&Object.assign(this,Vt)}}class le{encodeKey(Vt){return encodeURIComponent(Vt)}encodeValue(Vt){return encodeURIComponent(Vt)}decodeKey(Vt){return decodeURIComponent(Vt)}decodeValue(Vt){return decodeURIComponent(Vt)}}class ue{}class ve{validateAtHash(Vt){var _e=this;return(0,t.A)(function*(){const Ze=_e.inferHashAlgorithm(Vt.idTokenHeader),Qe=yield _e.calcHash(Vt.accessToken,Ze),et=W(Qe.substr(0,Qe.length/2)),ft=Vt.idTokenClaims.at_hash.replace(/=/g,"");return et!==ft&&(console.error("exptected at_hash: "+et),console.error("actual at_hash: "+ft)),et===ft})()}inferHashAlgorithm(Vt){const _e=Vt.alg;if(!_e.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+_e);return"sha-"+_e.substr(2)}}let Ye=(()=>{class Pt{getHashFragmentParams(_e){let Ze=_e||window.location.hash;if(Ze=decodeURIComponent(Ze),0!==Ze.indexOf("#"))return{};const Qe=Ze.indexOf("?");return Ze=Ze.substr(Qe>-1?Qe+1:1),this.parseQueryString(Ze)}parseQueryString(_e){const Ze={};let Qe,Rt,et,ft,Re,pe;if(null===_e)return Ze;const Ke=_e.split("&");for(let te=0;te=64;){for(Rt=Vt[0],et=Vt[1],ft=Vt[2],Re=Vt[3],pe=Vt[4],Ke=Vt[5],te=Vt[6],de=Vt[7],tt=0;tt<16;tt++)It=Ze+4*tt,Pt[tt]=(255&_e[It])<<24|(255&_e[It+1])<<16|(255&_e[It+2])<<8|255&_e[It+3];for(tt=16;tt<64;tt++)Se=Pt[tt-2],Kt=(Se>>>17|Se<<15)^(Se>>>19|Se<<13)^Se>>>10,Se=Pt[tt-15],ln=(Se>>>7|Se<<25)^(Se>>>18|Se<<14)^Se>>>3,Pt[tt]=(Kt+Pt[tt-7]|0)+(ln+Pt[tt-16]|0);for(tt=0;tt<64;tt++)Kt=(((pe>>>6|pe<<26)^(pe>>>11|pe<<21)^(pe>>>25|pe<<7))+(pe&Ke^~pe&te)|0)+(de+(Ct[tt]+Pt[tt]|0)|0)|0,ln=((Rt>>>2|Rt<<30)^(Rt>>>13|Rt<<19)^(Rt>>>22|Rt<<10))+(Rt&et^Rt&ft^et&ft)|0,de=te,te=Ke,Ke=pe,pe=Re+Kt|0,Re=ft,ft=et,et=Rt,Rt=Kt+ln|0;Vt[0]+=Rt,Vt[1]+=et,Vt[2]+=ft,Vt[3]+=Re,Vt[4]+=pe,Vt[5]+=Ke,Vt[6]+=te,Vt[7]+=de,Ze+=64,Qe-=64}return Ze}class Ae{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 Vt=0;Vt0){for(;this.bufferLength<64&&_e>0;)this.buffer[this.bufferLength++]=Vt[Ze++],_e--;64===this.bufferLength&&(Pe(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(_e>=64&&(Ze=Pe(this.temp,this.state,Vt,Ze,_e),_e%=64);_e>0;)this.buffer[this.bufferLength++]=Vt[Ze++],_e--;return this}finish(Vt){if(!this.finished){const _e=this.bytesHashed,Ze=this.bufferLength,Qe=_e/536870912|0,Rt=_e<<3,et=_e%64<56?64:128;this.buffer[Ze]=128;for(let ft=Ze+1;ft>>24&255,this.buffer[et-7]=Qe>>>16&255,this.buffer[et-6]=Qe>>>8&255,this.buffer[et-5]=Qe>>>0&255,this.buffer[et-4]=Rt>>>24&255,this.buffer[et-3]=Rt>>>16&255,this.buffer[et-2]=Rt>>>8&255,this.buffer[et-1]=Rt>>>0&255,Pe(this.temp,this.state,this.buffer,0,et),this.finished=!0}for(let _e=0;_e<8;_e++)Vt[4*_e+0]=this.state[_e]>>>24&255,Vt[4*_e+1]=this.state[_e]>>>16&255,Vt[4*_e+2]=this.state[_e]>>>8&255,Vt[4*_e+3]=this.state[_e]>>>0&255;return this}digest(){const Vt=new Uint8Array(this.digestLength);return this.finish(Vt),Vt}_saveState(Vt){for(let _e=0;_e{class Pt{calcHash(_e,Ze){return(0,t.A)(function*(){return function it(Pt){const Vt=[];for(let _e=0;_e{class Pt extends K{constructor(_e,Ze,Qe,Rt,et,ft,Re,pe,Ke,te){super(),this.ngZone=_e,this.http=Ze,this.config=et,this.urlHelper=ft,this.logger=Re,this.crypto=pe,this.dateTimeService=te,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new c.B,this.discoveryDocumentLoadedSubject=new c.B,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=Ke,et||(et={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),Rt&&(this.tokenValidationHandler=Rt),et&&this.configure(et);try{Qe?this.setStorage(Qe):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(de){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",de)}if(this.checkLocalStorageAccessable()){const de=window?.navigator?.userAgent;(de?.includes("MSIE ")||de?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const _e="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(_e,_e),localStorage.removeItem(_e),0))}catch{return!1}}configure(_e){Object.assign(this,new K,_e),this.config=Object.assign({},new K,_e),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,r.p)(_e=>"token_received"===_e.type)).subscribe(()=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(_e={},Ze,Qe=!0){let Rt=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,u.M)(et=>{"token_received"===et.type?Rt=!0:"logout"===et.type&&(Rt=!1)}),(0,r.p)(et=>"token_expires"===et.type&&(null==Ze||"any"===Ze||et.info===Ze)),(0,h.B)(1e3)).subscribe(()=>{Rt&&this.refreshInternal(_e,Qe).catch(()=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(_e,Ze){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(_e,Ze):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(_e=null){return this.loadDiscoveryDocument().then(()=>this.tryLogin(_e))}loadDiscoveryDocumentAndLogin(_e=null){return this.loadDiscoveryDocumentAndTryLogin(_e=_e||{}).then(()=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof _e.state?_e.state:""),!1))}debug(..._e){this.showDebugInformation&&this.logger.debug(..._e)}validateUrlFromDiscoveryDocument(_e){const Ze=[],Qe=this.validateUrlForHttps(_e),Rt=this.validateUrlAgainstIssuer(_e);return Qe||Ze.push("https for all urls required. Also for urls received by discovery."),Rt||Ze.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),Ze}validateUrlForHttps(_e){if(!_e)return!0;const Ze=_e.toLowerCase();return!(!1!==this.requireHttps&&(!Ze.match(/^http:\/\/localhost($|[:/])/)&&!Ze.match(/^http:\/\/localhost($|[:/])/)||"remoteOnly"!==this.requireHttps))||Ze.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(_e,Ze){if(!_e)throw new Error(`'${Ze}' should not be null`);if(!this.validateUrlForHttps(_e))throw new Error(`'${Ze}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(_e){return!this.strictDiscoveryDocumentValidation||!_e||_e.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.p)(_e=>"token_received"===_e.type)).subscribe(()=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const _e=this.getAccessTokenExpiration(),Ze=this.getAccessTokenStoredAt(),Qe=this.calcTimeout(Ze,_e);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,b.of)(new j("token_expires","access_token")).pipe((0,p.c)(Qe)).subscribe(Rt=>{this.ngZone.run(()=>{this.eventsSubject.next(Rt)})})})}setupIdTokenTimer(){const _e=this.getIdTokenExpiration(),Ze=this.getIdTokenStoredAt(),Qe=this.calcTimeout(Ze,_e);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,b.of)(new j("token_expires","id_token")).pipe((0,p.c)(Qe)).subscribe(Rt=>{this.ngZone.run(()=>{this.eventsSubject.next(Rt)})})})}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(_e,Ze){const Qe=this.dateTimeService.now(),et=Math.max(0,(Ze-_e)*this.timeoutFactor-(Qe-_e)),ft=2147483647;return et>ft?ft:et}setStorage(_e){this._storage=_e,this.configChanged()}loadDiscoveryDocument(_e=null){return new Promise((Ze,Qe)=>{_e||((_e=this.issuer||"").endsWith("/")||(_e+="/"),_e+=".well-known/openid-configuration"),this.validateUrlForHttps(_e)?this.http.get(_e).subscribe(Rt=>{if(!this.validateDiscoveryDocument(Rt))return this.eventsSubject.next(new G("discovery_document_validation_error",null)),void Qe("discovery_document_validation_error");this.loginUrl=Rt.authorization_endpoint,this.logoutUrl=Rt.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=Rt.grant_types_supported,this.issuer=Rt.issuer,this.tokenEndpoint=Rt.token_endpoint,this.userinfoEndpoint=Rt.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=Rt.jwks_uri,this.sessionCheckIFrameUrl=Rt.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(Rt),this.revocationEndpoint=Rt.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(et=>{const Re=new $("discovery_document_loaded",{discoveryDocument:Rt,jwks:et});this.eventsSubject.next(Re),Ze(Re)}).catch(et=>{this.eventsSubject.next(new G("discovery_document_load_error",et)),Qe(et)})},Rt=>{this.logger.error("error loading discovery document",Rt),this.eventsSubject.next(new G("discovery_document_load_error",Rt)),Qe(Rt)}):Qe("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((_e,Ze)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(Qe=>{this.jwks=Qe,_e(Qe)},Qe=>{this.logger.error("error loading jwks",Qe),this.eventsSubject.next(new G("jwks_load_error",Qe)),Ze(Qe)}):_e(null)})}validateDiscoveryDocument(_e){let Ze;return this.skipIssuerCheck||_e.issuer===this.issuer?(Ze=this.validateUrlFromDiscoveryDocument(_e.authorization_endpoint),Ze.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",Ze),!1):(Ze=this.validateUrlFromDiscoveryDocument(_e.end_session_endpoint),Ze.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",Ze),!1):(Ze=this.validateUrlFromDiscoveryDocument(_e.token_endpoint),Ze.length>0&&this.logger.error("error validating token_endpoint in discovery document",Ze),Ze=this.validateUrlFromDiscoveryDocument(_e.revocation_endpoint),Ze.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",Ze),Ze=this.validateUrlFromDiscoveryDocument(_e.userinfo_endpoint),Ze.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",Ze),!1):(Ze=this.validateUrlFromDiscoveryDocument(_e.jwks_uri),Ze.length>0?(this.logger.error("error validating jwks_uri in discovery document",Ze),!1):(this.sessionChecksEnabled&&!_e.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: "+_e.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(_e,Ze,Qe=new E.HttpHeaders){return this.fetchTokenUsingPasswordFlow(_e,Ze,Qe).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((_e,Ze)=>{const Qe=(new E.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:Qe,observe:"response",responseType:"text"}).subscribe(Rt=>{if(this.debug("userinfo received",JSON.stringify(Rt)),Rt.headers.get("content-type").startsWith("application/json")){let et=JSON.parse(Rt.body);const ft=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!ft.sub||et.sub!==ft.sub))return void Ze("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");et=Object.assign({},ft,et),this._storage.setItem("id_token_claims_obj",JSON.stringify(et)),this.eventsSubject.next(new $("user_profile_loaded")),_e({info:et})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new $("user_profile_loaded")),_e(JSON.parse(Rt.body))},Rt=>{this.logger.error("error loading user info",Rt),this.eventsSubject.next(new G("user_profile_load_error",Rt)),Ze(Rt)})})}fetchTokenUsingPasswordFlow(_e,Ze,Qe=new E.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:_e,password:Ze},Qe)}fetchTokenUsingGrant(_e,Ze,Qe=new E.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Rt=new E.HttpParams({encoder:new le}).set("grant_type",_e).set("scope",this.scope);if(this.useHttpBasicAuth){const et=btoa(`${this.clientId}:${this.dummyClientSecret}`);Qe=Qe.set("Authorization","Basic "+et)}if(this.useHttpBasicAuth||(Rt=Rt.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Rt=Rt.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const et of Object.getOwnPropertyNames(this.customQueryParams))Rt=Rt.set(et,this.customQueryParams[et]);for(const et of Object.keys(Ze))Rt=Rt.set(et,Ze[et]);return Qe=Qe.set("Content-Type","application/x-www-form-urlencoded"),new Promise((et,ft)=>{this.http.post(this.tokenEndpoint,Rt,{headers:Qe}).subscribe(Re=>{this.debug("tokenResponse",Re),this.storeAccessTokenResponse(Re.access_token,Re.refresh_token,Re.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Re.scope,this.extractRecognizedCustomParameters(Re)),this.oidc&&Re.id_token&&this.processIdToken(Re.id_token,Re.access_token).then(pe=>{this.storeIdToken(pe),et(Re)}),this.eventsSubject.next(new $("token_received")),et(Re)},Re=>{this.logger.error("Error performing ${grantType} flow",Re),this.eventsSubject.next(new G("token_error",Re)),ft(Re)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((_e,Ze)=>{let Qe=new E.HttpParams({encoder:new le}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),Rt=(new E.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const et=btoa(`${this.clientId}:${this.dummyClientSecret}`);Rt=Rt.set("Authorization","Basic "+et)}if(this.useHttpBasicAuth||(Qe=Qe.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Qe=Qe.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const et of Object.getOwnPropertyNames(this.customQueryParams))Qe=Qe.set(et,this.customQueryParams[et]);this.http.post(this.tokenEndpoint,Qe,{headers:Rt}).pipe((0,_.n)(et=>this.oidc&&et.id_token?(0,s.H)(this.processIdToken(et.id_token,et.access_token,!0)).pipe((0,u.M)(ft=>this.storeIdToken(ft)),(0,y.T)(()=>et)):(0,b.of)(et))).subscribe(et=>{this.debug("refresh tokenResponse",et),this.storeAccessTokenResponse(et.access_token,et.refresh_token,et.expires_in||this.fallbackAccessTokenExpirationTimeInSec,et.scope,this.extractRecognizedCustomParameters(et)),this.eventsSubject.next(new $("token_received")),this.eventsSubject.next(new $("token_refreshed")),_e(et)},et=>{this.logger.error("Error refreshing token",et),this.eventsSubject.next(new G("token_refresh_error",et)),Ze(et)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=_e=>{const Ze=this.processMessageEventMessage(_e);this.checkOrigin&&_e.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:Ze,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(Qe=>this.debug("tryLogin during silent refresh failed",Qe))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(_e={},Ze=!0){const Qe=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(_e.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 Rt=this.document.getElementById(this.silentRefreshIFrameName);Rt&&this.document.body.removeChild(Rt),this.silentRefreshSubject=Qe.sub;const et=this.document.createElement("iframe");et.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,Ze,_e).then(te=>{et.setAttribute("src",te),this.silentRefreshShowIFrame||(et.style.display="none"),this.document.body.appendChild(et)});const Re=this.events.pipe((0,r.p)(te=>te instanceof G),(0,M.$)()),pe=this.events.pipe((0,r.p)(te=>"token_received"===te.type),(0,M.$)()),Ke=(0,b.of)(new G("silent_refresh_timeout",null)).pipe((0,p.c)(this.silentRefreshTimeout));return(0,f.O)([Re,pe,Ke]).pipe((0,y.T)(te=>{if(te instanceof G)throw"silent_refresh_timeout"===te.type||(te=new G("silent_refresh_error",te)),this.eventsSubject.next(te),te;return"token_received"===te.type&&(te=new $("silently_refreshed"),this.eventsSubject.next(te)),te})).toPromise()}initImplicitFlowInPopup(_e){return this.initLoginFlowInPopup(_e)}initLoginFlowInPopup(_e){return _e=_e||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(Ze=>new Promise((Qe,Rt)=>{let Re,ft=null;_e.windowRef?_e.windowRef&&!_e.windowRef.closed&&(ft=_e.windowRef,ft.location.href=Ze):ft=window.open(Ze,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(_e));const pe=tt=>{this.tryLogin({customHashFragment:tt,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{te(),Qe(!0)},It=>{te(),Rt(It)})};ft?Re=window.setInterval(()=>{(!ft||ft.closed)&&(te(),Rt(new G("popup_closed",{})))},500):Rt(new G("popup_blocked",{}));const te=()=>{window.clearInterval(Re),window.removeEventListener("storage",Se),window.removeEventListener("message",de),null!==ft&&ft.close(),ft=null},de=tt=>{const It=this.processMessageEventMessage(tt);It&&null!==It?(window.removeEventListener("storage",Se),pe(It)):console.log("false event firing")},Se=tt=>{"auth_hash"===tt.key&&(window.removeEventListener("message",de),pe(tt.newValue))};window.addEventListener("message",de),window.addEventListener("storage",Se)}))}calculatePopupFeatures(_e){const Ze=_e.height||470,Qe=_e.width||500,Rt=window.screenLeft+(window.outerWidth-Qe)/2;return`location=no,toolbar=no,width=${Qe},height=${Ze},top=${window.screenTop+(window.outerHeight-Ze)/2},left=${Rt}`}processMessageEventMessage(_e){let Ze="#";if(this.silentRefreshMessagePrefix&&(Ze+=this.silentRefreshMessagePrefix),!_e||!_e.data||"string"!=typeof _e.data)return;const Qe=_e.data;return Qe.startsWith(Ze)?"#"+Qe.substr(Ze.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=_e=>{const Ze=_e.origin.toLowerCase(),Qe=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),Qe.startsWith(Ze)){switch(_e.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",_e)}else this.debug("sessionCheckEventListener","wrong origin",Ze,"expected",Qe,"event",_e)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new j("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new j("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 j("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 j("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,r.p)(_e=>"silently_refreshed"===_e.type||"silent_refresh_timeout"===_e.type||"silent_refresh_error"===_e.type),(0,M.$)()).subscribe(_e=>{"silently_refreshed"!==_e.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new j("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new j("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const _e=this.document.getElementById(this.sessionCheckIFrameName);_e&&this.document.body.removeChild(_e);const Ze=this.document.createElement("iframe");Ze.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),Ze.setAttribute("src",this.sessionCheckIFrameUrl),Ze.style.display="none",this.document.body.appendChild(Ze),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 _e=this.document.getElementById(this.sessionCheckIFrameName);_e||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const Ze=this.getSessionState();Ze||this.stopSessionCheckTimer(),_e.contentWindow.postMessage(this.clientId+" "+Ze,this.issuer)}createLoginUrl(_e="",Ze="",Qe="",Rt=!1,et={}){var ft=this;return(0,t.A)(function*(){const Re=ft;let pe;pe=Qe||ft.redirectUri;const Ke=yield ft.createAndSaveNonce();if(_e=_e?Ke+ft.config.nonceStateSeparator+encodeURIComponent(_e):Ke,!ft.requestAccessToken&&!ft.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");ft.responseType=ft.config.responseType?ft.config.responseType:ft.oidc&&ft.requestAccessToken?"id_token token":ft.oidc&&!ft.requestAccessToken?"id_token":"token";const te=Re.loginUrl.indexOf("?")>-1?"&":"?";let de=Re.scope;ft.oidc&&!de.match(/(^|\s)openid($|\s)/)&&(de="openid "+de);let Se=Re.loginUrl+te+"response_type="+encodeURIComponent(Re.responseType)+"&client_id="+encodeURIComponent(Re.clientId)+"&state="+encodeURIComponent(_e)+"&redirect_uri="+encodeURIComponent(pe)+"&scope="+encodeURIComponent(de);if(ft.responseType.includes("code")&&!ft.disablePKCE){const[tt,It]=yield ft.createChallangeVerifierPairForPKCE();ft.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",It):ft._storage.setItem("PKCE_verifier",It),Se+="&code_challenge="+tt,Se+="&code_challenge_method=S256"}Ze&&(Se+="&login_hint="+encodeURIComponent(Ze)),Re.resource&&(Se+="&resource="+encodeURIComponent(Re.resource)),Re.oidc&&(Se+="&nonce="+encodeURIComponent(Ke)),Rt&&(Se+="&prompt=none");for(const tt of Object.keys(et))Se+="&"+encodeURIComponent(tt)+"="+encodeURIComponent(et[tt]);if(ft.customQueryParams)for(const tt of Object.getOwnPropertyNames(ft.customQueryParams))Se+="&"+tt+"="+encodeURIComponent(ft.customQueryParams[tt]);return Se})()}initImplicitFlowInternal(_e="",Ze=""){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 Qe={},Rt=null;"string"==typeof Ze?Rt=Ze:"object"==typeof Ze&&(Qe=Ze),this.createLoginUrl(_e,Rt,null,!1,Qe).then(this.config.openUri).catch(et=>{console.error("Error in initImplicitFlow",et),this.inImplicitFlow=!1})}initImplicitFlow(_e="",Ze=""){""!==this.loginUrl?this.initImplicitFlowInternal(_e,Ze):this.events.pipe((0,r.p)(Qe=>"discovery_document_loaded"===Qe.type)).subscribe(()=>this.initImplicitFlowInternal(_e,Ze))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(_e){const Ze=this;if(_e.onTokenReceived){const Qe={idClaims:Ze.getIdentityClaims(),idToken:Ze.getIdToken(),accessToken:Ze.getAccessToken(),state:Ze.state};_e.onTokenReceived(Qe)}}storeAccessTokenResponse(_e,Ze,Qe,Rt,et){if(this._storage.setItem("access_token",_e),Rt&&!Array.isArray(Rt)?this._storage.setItem("granted_scopes",JSON.stringify(Rt.split(" "))):Rt&&Array.isArray(Rt)&&this._storage.setItem("granted_scopes",JSON.stringify(Rt)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),Qe){const ft=1e3*Qe,pe=this.dateTimeService.new().getTime()+ft;this._storage.setItem("expires_at",""+pe)}Ze&&this._storage.setItem("refresh_token",Ze),et&&et.forEach((ft,Re)=>{this._storage.setItem(Re,ft)})}tryLogin(_e=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(_e).then(()=>!0):this.tryLoginImplicitFlow(_e)}parseQueryString(_e){return _e&&0!==_e.length?("?"===_e.charAt(0)&&(_e=_e.substr(1)),this.urlHelper.parseQueryString(_e)):{}}tryLoginCodeFlow(_e=null){var Ze=this;return(0,t.A)(function*(){const Qe=(_e=_e||{}).customHashFragment?_e.customHashFragment.substring(1):window.location.search,Rt=Ze.getCodePartsFromUrl(Qe),et=Rt.code,ft=Rt.state,Re=Rt.session_state;if(!_e.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[pe,Ke]=Ze.parseState(ft);if(Ze.state=Ke,Rt.error){Ze.debug("error trying to login"),Ze.handleLoginError(_e,Rt);const te=new G("code_error",{},Rt);return Ze.eventsSubject.next(te),Promise.reject(te)}if(!_e.disableNonceCheck){if(!pe)return Ze.saveRequestedRoute(),Promise.resolve();if(!_e.disableOAuth2StateCheck&&!Ze.validateNonce(pe)){const de=new G("invalid_nonce_in_state",null);return Ze.eventsSubject.next(de),Promise.reject(de)}}return Ze.storeSessionState(Re),et&&(yield Ze.getTokenFromCode(et,_e),Ze.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const _e=this._storage.getItem("requested_route");_e&&history.replaceState(null,"",window.location.origin+_e)}getCodePartsFromUrl(_e){return _e&&0!==_e.length?("?"===_e.charAt(0)&&(_e=_e.substr(1)),this.urlHelper.parseQueryString(_e)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(_e,Ze){let Qe=new E.HttpParams({encoder:new le}).set("grant_type","authorization_code").set("code",_e).set("redirect_uri",Ze.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let Rt;Rt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),Rt?Qe=Qe.set("code_verifier",Rt):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(Qe,Ze)}fetchAndProcessToken(_e,Ze){Ze=Ze||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Qe=(new E.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Rt=btoa(`${this.clientId}:${this.dummyClientSecret}`);Qe=Qe.set("Authorization","Basic "+Rt)}return this.useHttpBasicAuth||(_e=_e.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(_e=_e.set("client_secret",this.dummyClientSecret)),new Promise((Rt,et)=>{if(this.customQueryParams)for(const ft of Object.getOwnPropertyNames(this.customQueryParams))_e=_e.set(ft,this.customQueryParams[ft]);this.http.post(this.tokenEndpoint,_e,{headers:Qe}).subscribe(ft=>{this.debug("refresh tokenResponse",ft),this.storeAccessTokenResponse(ft.access_token,ft.refresh_token,ft.expires_in||this.fallbackAccessTokenExpirationTimeInSec,ft.scope,this.extractRecognizedCustomParameters(ft)),this.oidc&&ft.id_token?this.processIdToken(ft.id_token,ft.access_token,Ze.disableNonceCheck).then(Re=>{this.storeIdToken(Re),this.eventsSubject.next(new $("token_received")),this.eventsSubject.next(new $("token_refreshed")),Rt(ft)}).catch(Re=>{this.eventsSubject.next(new G("token_validation_error",Re)),console.error("Error validating tokens"),console.error(Re),et(Re)}):(this.eventsSubject.next(new $("token_received")),this.eventsSubject.next(new $("token_refreshed")),Rt(ft))},ft=>{console.error("Error getting token",ft),this.eventsSubject.next(new G("token_refresh_error",ft)),et(ft)})})}tryLoginImplicitFlow(_e=null){let Ze;Ze=(_e=_e||{}).customHashFragment?this.urlHelper.getHashFragmentParams(_e.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",Ze);const Qe=Ze.state,[Rt,et]=this.parseState(Qe);if(this.state=et,Ze.error){this.debug("error trying to login"),this.handleLoginError(_e,Ze);const te=new G("token_error",{},Ze);return this.eventsSubject.next(te),Promise.reject(te)}const ft=Ze.access_token,Re=Ze.id_token,pe=Ze.session_state,Ke=Ze.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!ft||this.requestAccessToken&&!_e.disableOAuth2StateCheck&&!Qe||this.oidc&&!Re)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!pe&&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&&!_e.disableNonceCheck&&!this.validateNonce(Rt)){const de=new G("invalid_nonce_in_state",null);return this.eventsSubject.next(de),Promise.reject(de)}return this.requestAccessToken&&this.storeAccessTokenResponse(ft,null,Ze.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Ke),this.oidc?this.processIdToken(Re,ft,_e.disableNonceCheck).then(te=>_e.validationHandler?_e.validationHandler({accessToken:ft,idClaims:te.idTokenClaims,idToken:te.idToken,state:Qe}).then(()=>te):te).then(te=>(this.storeIdToken(te),this.storeSessionState(pe),this.clearHashAfterLogin&&!_e.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new $("token_received")),this.callOnTokenReceivedIfExists(_e),this.inImplicitFlow=!1,!0)).catch(te=>(this.eventsSubject.next(new G("token_validation_error",te)),this.logger.error("Error validating tokens"),this.logger.error(te),Promise.reject(te))):(this.eventsSubject.next(new $("token_received")),this.clearHashAfterLogin&&!_e.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(_e),Promise.resolve(!0))}parseState(_e){let Ze=_e,Qe="";if(_e){const Rt=_e.indexOf(this.config.nonceStateSeparator);Rt>-1&&(Ze=_e.substr(0,Rt),Qe=_e.substr(Rt+this.config.nonceStateSeparator.length))}return[Ze,Qe]}validateNonce(_e){let Ze;return Ze=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Ze===_e||(console.error("Validating access_token failed, wrong state/nonce.",Ze,_e),!1)}storeIdToken(_e){this._storage.setItem("id_token",_e.idToken),this._storage.setItem("id_token_claims_obj",_e.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+_e.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(_e){this._storage.setItem("session_state",_e)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(_e,Ze){_e.onLoginError&&_e.onLoginError(Ze),this.clearHashAfterLogin&&!_e.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(_e=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:_e}processIdToken(_e,Ze,Qe=!1){const Rt=_e.split("."),ft=V(this.padBase64(Rt[0])),Re=JSON.parse(ft),Ke=V(this.padBase64(Rt[1])),te=JSON.parse(Ke);let de;if(de=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(te.aud)){if(te.aud.every(_t=>_t!==this.clientId)){const _t="Wrong audience: "+te.aud.join(",");return this.logger.warn(_t),Promise.reject(_t)}}else if(te.aud!==this.clientId){const _t="Wrong audience: "+te.aud;return this.logger.warn(_t),Promise.reject(_t)}if(!te.sub){const _t="No sub claim in id_token";return this.logger.warn(_t),Promise.reject(_t)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==te.sub){const _t=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${te.sub}`;return this.logger.warn(_t),Promise.reject(_t)}if(!te.iat){const _t="No iat claim in id_token";return this.logger.warn(_t),Promise.reject(_t)}if(!this.skipIssuerCheck&&te.iss!==this.issuer){const _t="Wrong issuer: "+te.iss;return this.logger.warn(_t),Promise.reject(_t)}if(!Qe&&te.nonce!==de){const _t="Wrong nonce: "+te.nonce;return this.logger.warn(_t),Promise.reject(_t)}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 _t="An at_hash is needed!";return this.logger.warn(_t),Promise.reject(_t)}const Se=this.dateTimeService.now(),tt=1e3*te.iat,It=1e3*te.exp,Kt=this.getClockSkewInMsec();if(tt-Kt>=Se||It+Kt-this.decreaseExpirationBySec<=Se){const _t="Token has expired";return console.error(_t),console.error({now:Se,issuedAtMSec:tt,expiresAtMSec:It}),Promise.reject(_t)}const ln={accessToken:Ze,idToken:_e,jwks:this.jwks,idTokenClaims:te,idTokenHeader:Re,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(ln).then(()=>({idToken:_e,idTokenClaims:te,idTokenClaimsJson:Ke,idTokenHeader:Re,idTokenHeaderJson:ft,idTokenExpiresAt:It})):this.checkAtHash(ln).then(_t=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!_t){const Nt="Wrong at_hash";return this.logger.warn(Nt),Promise.reject(Nt)}return this.checkSignature(ln).then(()=>{const Je={idToken:_e,idTokenClaims:te,idTokenClaimsJson:Ke,idTokenHeader:Re,idTokenHeaderJson:ft,idTokenExpiresAt:It};return this.disableAtHashCheck?Je:this.checkAtHash(ln).then(Ue=>{if(this.requestAccessToken&&!Ue){const nt="Wrong at_hash";return this.logger.warn(nt),Promise.reject(nt)}return Je})})})}getIdentityClaims(){const _e=this._storage.getItem("id_token_claims_obj");return _e?JSON.parse(_e):null}getGrantedScopes(){const _e=this._storage.getItem("granted_scopes");return _e?JSON.parse(_e):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(_e){for(;_e.length%4!=0;)_e+="=";return _e}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 _e=this._storage.getItem("expires_at"),Ze=this.dateTimeService.new();return!(_e&&parseInt(_e,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(_e)?JSON.parse(this._storage.getItem(_e)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(_e={},Ze=""){let Qe=!1;"boolean"==typeof _e&&(Qe=_e,_e={});const Rt=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(ft=>this._storage.removeItem(ft)),this.silentRefreshSubject=null,this.eventsSubject.next(new j("logout")),!this.logoutUrl||Qe)return;let et;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)et=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(Rt)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let ft=new E.HttpParams({encoder:new le});Rt&&(ft=ft.set("id_token_hint",Rt));const Re=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";Re&&(ft=ft.set("post_logout_redirect_uri",Re),Ze&&(ft=ft.set("state",Ze)));for(const pe in _e)ft=ft.set(pe,_e[pe]);et=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+ft.toString()}this.config.openUri(et)}createAndSaveNonce(){const _e=this;return this.createNonce().then(function(Ze){return _e.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",Ze):_e._storage.setItem("nonce",Ze),Ze})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const _e=this.document.getElementById(this.silentRefreshIFrameName);_e&&_e.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const Ze=this.document.getElementById(this.sessionCheckIFrameName);Ze&&Ze.remove()}createNonce(){return new Promise(_e=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const Ze="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let Qe=45,Rt="";const et=typeof self>"u"?null:self.crypto||self.msCrypto;if(et){let ft=new Uint8Array(Qe);et.getRandomValues(ft),ft.map||(ft.map=Array.prototype.map),ft=ft.map(Re=>Ze.charCodeAt(Re%66)),Rt=String.fromCharCode.apply(null,ft)}else for(;0"discovery_document_loaded"===Qe.type)).subscribe(()=>this.initCodeFlowInternal(_e,Ze))}initCodeFlowInternal(_e="",Ze={}){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 Qe={},Rt=null;"string"==typeof Ze?Rt=Ze:"object"==typeof Ze&&(Qe=Ze),this.createLoginUrl(_e,Rt,null,!1,Qe).then(this.config.openUri).catch(et=>{console.error("Error in initAuthorizationCodeFlow"),console.error(et)})}createChallangeVerifierPairForPKCE(){var _e=this;return(0,t.A)(function*(){if(!_e.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const Ze=yield _e.createNonce();return[W(yield _e.crypto.calcHash(Ze,"sha-256")),Ze]})()}extractRecognizedCustomParameters(_e){const Ze=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(Qe=>{_e[Qe]&&Ze.set(Qe,JSON.stringify(_e[Qe]))}),Ze}revokeTokenAndLogout(_e={},Ze=!1){const Qe=this.revocationEndpoint,Rt=this.getAccessToken(),et=this.getRefreshToken();if(!Rt)return Promise.resolve();let ft=new E.HttpParams({encoder:new le}),Re=(new E.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const pe=btoa(`${this.clientId}:${this.dummyClientSecret}`);Re=Re.set("Authorization","Basic "+pe)}if(this.useHttpBasicAuth||(ft=ft.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ft=ft.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const pe of Object.getOwnPropertyNames(this.customQueryParams))ft=ft.set(pe,this.customQueryParams[pe]);return new Promise((pe,Ke)=>{let te,de;if(Rt){const Se=ft.set("token",Rt).set("token_type_hint","access_token");te=this.http.post(Qe,Se,{headers:Re})}else te=(0,b.of)(null);if(et){const Se=ft.set("token",et).set("token_type_hint","refresh_token");de=this.http.post(Qe,Se,{headers:Re})}else de=(0,b.of)(null);Ze&&(te=te.pipe((0,w.W)(Se=>0===Se.status?(0,b.of)(null):(0,d.$)(Se))),de=de.pipe((0,w.W)(Se=>0===Se.status?(0,b.of)(null):(0,d.$)(Se)))),(0,l.z)([te,de]).subscribe(Se=>{this.logOut(_e),pe(Se),this.logger.info("Token successfully revoked")},Se=>{this.logger.error("Error revoking token",Se),this.eventsSubject.next(new G("token_revoke_error",Se)),Ke(Se)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}static#e=this.\u0275fac=function(Ze){return new(Ze||Pt)(v.\u0275\u0275inject(v.NgZone),v.\u0275\u0275inject(E.HttpClient),v.\u0275\u0275inject(U,8),v.\u0275\u0275inject(ue,8),v.\u0275\u0275inject(K,8),v.\u0275\u0275inject(Ye),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:Pt,factory:Pt.\u0275fac})}return Pt})();class Me{}class rt{handleError(Vt){return(0,d.$)(Vt)}}let Mt=(()=>{class Pt{constructor(_e,Ze,Qe){this.oAuthService=_e,this.errorHandler=Ze,this.moduleConfig=Qe}checkUrl(_e){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(_e):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(Ze=>_e.toLowerCase().startsWith(Ze.toLowerCase()))}intercept(_e,Ze){const Qe=_e.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(Qe)?this.moduleConfig.resourceServer.sendAccessToken?(0,a.h)((0,b.of)(this.oAuthService.getAccessToken()).pipe((0,r.p)(et=>!!et)),this.oAuthService.events.pipe((0,r.p)(et=>"token_received"===et.type),(0,k.w)(this.oAuthService.waitForTokenInMsec||0),(0,w.W)(()=>(0,b.of)(null)),(0,y.T)(()=>this.oAuthService.getAccessToken()))).pipe((0,I.s)(1),(0,D.Z)(et=>{if(et){const Re=_e.headers.set("Authorization","Bearer "+et);_e=_e.clone({headers:Re})}return Ze.handle(_e).pipe((0,w.W)(ft=>this.errorHandler.handleError(ft)))})):Ze.handle(_e).pipe((0,w.W)(et=>this.errorHandler.handleError(et))):Ze.handle(_e)}static#e=this.\u0275fac=function(Ze){return new(Ze||Pt)(v.\u0275\u0275inject(Ge),v.\u0275\u0275inject(Me),v.\u0275\u0275inject(T,8))};static#t=this.\u0275prov=v.\u0275\u0275defineInjectable({token:Pt,factory:Pt.\u0275fac})}return Pt})();function zt(){return console}function Xt(){return typeof sessionStorage<"u"?sessionStorage:new Y}function dn(Pt=null,Vt=O){return(0,v.makeEnvironmentProviders)([Ge,Ye,{provide:A,useFactory:zt},{provide:U,useFactory:Xt},{provide:ue,useClass:Vt},{provide:Oe,useClass:we},{provide:Me,useClass:rt},{provide:T,useValue:Pt},{provide:E.HTTP_INTERCEPTORS,useClass:Mt,multi:!0},{provide:S,useClass:R}])}let hn=(()=>{class Pt{static forRoot(_e=null,Ze=O){return{ngModule:Pt,providers:[dn(_e,Ze)]}}static#e=this.\u0275fac=function(Ze){return new(Ze||Pt)};static#t=this.\u0275mod=v.\u0275\u0275defineNgModule({type:Pt});static#n=this.\u0275inj=v.\u0275\u0275defineInjector({imports:[C.CommonModule]})}return Pt})();class rn 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 fn=new v.InjectionToken("AUTH_CONFIG")},2774:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{HIGHLIGHT_OPTIONS:()=>_,Highlight:()=>O,HighlightJS:()=>D,HighlightLoader:()=>k,HighlightModule:()=>T});var t=g(4438),v=g(177),C=g(4412),E=g(5964),c=g(6697),b=g(5558),s=g(8141),f=g(983),d=g(9437),l=g(8810),a=g(4437),r=g(6354),u=g(8455),h=g(536),p=g(345);const _=new t.InjectionToken("HIGHLIGHT_OPTIONS");let y;let k=(()=>{class F{constructor(R,N,A){this.doc=R,this.platformId=N,this._options=A,this._ready=new C.t(null),this.ready=this._ready.asObservable().pipe((0,E.p)(U=>!!U),(0,c.s)(1)),(0,v.isPlatformBrowser)(N)&&(R.defaultView.hljs?this._ready.next(R.defaultView.hljs):(this._loadLibrary().pipe((0,b.n)(U=>this._options&&this._options.lineNumbersLoader?(R.defaultView.hljs=U,this.loadLineNumbers().pipe((0,s.M)(Y=>{Y.activateLineNumbers(),this._ready.next(U)}))):(this._ready.next(U),f.w)),(0,d.W)(U=>(console.error("[HLJS] ",U),f.w))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,l.$)(()=>"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.$)(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,l.$)(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,l.$)(()=>"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.n)(R=>this._loadLanguages(R)))}return(0,l.$)(()=>"Highlight.js library was not imported!")}_loadLanguages(R){const N=Object.entries(this._options.languages).map(([A,U])=>I(U()).pipe((0,s.M)(Y=>R.registerLanguage(A,Y))));return(0,a.y)(...N).pipe((0,r.T)(()=>R))}loadCoreLibrary(){return I(this._options.coreLibraryLoader())}loadFullLibrary(){return I(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,u.H)(this._options.lineNumbersLoader())}setTheme(R){(0,v.isPlatformBrowser)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=R:this.loadTheme(R))}loadTheme(R){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=R,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(N){return new(N||F)(t.\u0275\u0275inject(v.DOCUMENT),t.\u0275\u0275inject(t.PLATFORM_ID),t.\u0275\u0275inject(_,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})();const I=F=>(0,u.H)(F).pipe((0,E.p)(S=>!!S?.default),(0,r.T)(S=>S.default));let D=(()=>{class F{get hljs(){return this._hljs}constructor(R,N){this._loader=R,this._hljs=null,R.ready.subscribe(A=>{this._hljs=A,N&&N.config&&(A.configure(N.config),A.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(R,{language:N,ignoreIllegals:A}){return this._loader.ready.pipe((0,r.T)(U=>U.highlight(R,{language:N,ignoreIllegals:A})))}highlightAuto(R,N){return this._loader.ready.pipe((0,r.T)(A=>A.highlightAuto(R,N)))}highlightElement(R){return this._loader.ready.pipe((0,r.T)(N=>N.highlightElement(R)))}highlightAll(){return this._loader.ready.pipe((0,r.T)(R=>R.highlightAll()))}configure(R){return this._loader.ready.pipe((0,r.T)(N=>N.configure(R)))}registerLanguage(R,N){return this._loader.ready.pipe((0,s.M)(A=>A.registerLanguage(R,N)))}unregisterLanguage(R){return this._loader.ready.pipe((0,s.M)(N=>N.unregisterLanguage(R)))}registerAliases(R,{languageName:N}){return this._loader.ready.pipe((0,s.M)(A=>A.registerAliases(R,{languageName:N})))}listLanguages(){return this._loader.ready.pipe((0,r.T)(R=>R.listLanguages()))}getLanguage(R){return this._loader.ready.pipe((0,r.T)(N=>N.getLanguage(R)))}safeMode(){return this._loader.ready.pipe((0,r.T)(R=>R.safeMode()))}debugMode(){return this._loader.ready.pipe((0,r.T)(R=>R.debugMode()))}lineNumbersBlock(R){return this._loader.ready.pipe((0,E.p)(N=>!!N.lineNumbersBlock),(0,s.M)(N=>N.lineNumbersBlock(R)))}static#e=this.\u0275fac=function(N){return new(N||F)(t.\u0275\u0275inject(k),t.\u0275\u0275inject(_,8))};static#t=this.\u0275prov=t.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})(),O=(()=>{class F{constructor(R,N,A,U,Y){this._hljs=N,this._sanitizer=A,this.platformId=U,this._options=Y,this.highlighted=new t.EventEmitter,this._nativeElement=R.nativeElement}ngOnChanges(R){(0,v.isPlatformBrowser)(this.platformId)&&null!==R?.code?.currentValue&&R.code.currentValue!==R.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(R,N){this.setTextContent(R),this._hljs.highlightAuto(R,N).subscribe(A=>{this.setInnerHTML(A?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(A)})}addLineNumbers(){this.destroyLineNumbersObserver(),h.X.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(R){h.X.schedule(()=>this._nativeElement.textContent=R)}setInnerHTML(R){h.X.schedule(()=>this._nativeElement.innerHTML=function w(F){return function M(){if(!y)try{y=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:F=>F})}catch{}return y}()?.createHTML(F)||F}(this._sanitizer.sanitize(t.SecurityContext.HTML,R)||""))}static#e=this.\u0275fac=function(N){return new(N||F)(t.\u0275\u0275directiveInject(t.ElementRef),t.\u0275\u0275directiveInject(D),t.\u0275\u0275directiveInject(p.DomSanitizer),t.\u0275\u0275directiveInject(t.PLATFORM_ID),t.\u0275\u0275directiveInject(_,8))};static#t=this.\u0275dir=t.\u0275\u0275defineDirective({type:F,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(N,A){2&N&&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 F})(),T=(()=>{class F{static#e=this.\u0275fac=function(N){return new(N||F)};static#t=this.\u0275mod=t.\u0275\u0275defineNgModule({type:F});static#n=this.\u0275inj=t.\u0275\u0275defineInjector({})}return F})()},4110:(De,ne,g)=>{"use strict";g.r(ne),g.d(ne,{MAT_SELECTSEARCH_DEFAULT_OPTIONS:()=>ve,MatSelectNoEntriesFoundDirective:()=>Ye,MatSelectSearchClearDirective:()=>le,MatSelectSearchComponent:()=>mt,MatSelectSearchVersion:()=>ct,NgxMatSelectSearchModule:()=>Ct,configurableDefaultOptions:()=>ue});var t=g(7336),v=g(4438),C=g(9417),E=g(6600),c=g(2102),b=g(2798),s=g(4412),f=g(7673),d=g(4572),l=g(1413),a=g(5558),r=g(6354),u=g(9172),h=g(3103),p=g(6977),_=g(6697),y=g(8141),M=g(5964),w=g(5478),k=g(177),I=g(8834),D=g(2765),O=g(9213),T=g(9183),F=g(4823),S=g(1997);const R=["searchSelectInput"],N=["innerSelectSearch"],A=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],U=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"],Y=(Pe,Ae)=>({"mat-select-search-inner-multiple":Pe,"mat-select-search-inner-toggle-all":Ae});function ee(Pe,Ae){if(1&Pe){const me=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementStart(0,"mat-checkbox",12),v.\u0275\u0275listener("change",function(Fe){v.\u0275\u0275restoreView(me);const xe=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(xe._emitSelectAllBooleanToParent(Fe.checked))}),v.\u0275\u0275elementEnd()}if(2&Pe){const me=v.\u0275\u0275nextContext();v.\u0275\u0275property("color",null==me.matFormField?null:me.matFormField.color)("checked",me.toggleAllCheckboxChecked)("indeterminate",me.toggleAllCheckboxIndeterminate)("matTooltip",me.toggleAllCheckboxTooltipMessage)("matTooltipPosition",me.toggleAllCheckboxTooltipPosition)}}function ie(Pe,Ae){1&Pe&&v.\u0275\u0275element(0,"mat-spinner",13)}function $(Pe,Ae){1&Pe&&v.\u0275\u0275projection(0,1,["*ngIf","clearIcon; else defaultIcon"])}function j(Pe,Ae){if(1&Pe&&(v.\u0275\u0275elementStart(0,"mat-icon",16),v.\u0275\u0275text(1),v.\u0275\u0275elementEnd()),2&Pe){const me=v.\u0275\u0275nextContext(2);v.\u0275\u0275property("svgIcon",me.closeSvgIcon),v.\u0275\u0275advance(),v.\u0275\u0275textInterpolate1(" ",me.closeSvgIcon?null:me.closeIcon," ")}}function G(Pe,Ae){if(1&Pe){const me=v.\u0275\u0275getCurrentView();v.\u0275\u0275elementStart(0,"button",14),v.\u0275\u0275listener("click",function(){v.\u0275\u0275restoreView(me);const Fe=v.\u0275\u0275nextContext();return v.\u0275\u0275resetView(Fe._reset(!0))}),v.\u0275\u0275template(1,$,1,0,"ng-content",15)(2,j,2,2,"ng-template",null,2,v.\u0275\u0275templateRefExtractor),v.\u0275\u0275elementEnd()}if(2&Pe){const me=v.\u0275\u0275reference(3),We=v.\u0275\u0275nextContext();v.\u0275\u0275advance(),v.\u0275\u0275property("ngIf",We.clearIcon)("ngIfElse",me)}}function V(Pe,Ae){1&Pe&&v.\u0275\u0275projection(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function W(Pe,Ae){if(1&Pe&&v.\u0275\u0275text(0),2&Pe){const me=v.\u0275\u0275nextContext(2);v.\u0275\u0275textInterpolate(me.noEntriesFoundLabel)}}function K(Pe,Ae){if(1&Pe&&(v.\u0275\u0275elementStart(0,"div",17),v.\u0275\u0275template(1,V,1,0,"ng-content",15)(2,W,1,1,"ng-template",null,3,v.\u0275\u0275templateRefExtractor),v.\u0275\u0275elementEnd()),2&Pe){const me=v.\u0275\u0275reference(3),We=v.\u0275\u0275nextContext();v.\u0275\u0275advance(),v.\u0275\u0275property("ngIf",We.noEntriesFound)("ngIfElse",me)}}let le=(()=>{class Pe{}return Pe.\u0275fac=function(me){return new(me||Pe)},Pe.\u0275dir=v.\u0275\u0275defineDirective({type:Pe,selectors:[["","ngxMatSelectSearchClear",""]]}),Pe})();const ue=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],ve=new v.InjectionToken("mat-selectsearch-default-options");let Ye=(()=>{class Pe{}return Pe.\u0275fac=function(me){return new(me||Pe)},Pe.\u0275dir=v.\u0275\u0275defineDirective({type:Pe,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),Pe})(),mt=(()=>{class Pe{constructor(me,We,Fe,xe=null,$e=null,q){this.matSelect=me,this.changeDetectorRef=We,this._viewportRuler=Fe,this.matOption=xe,this.matFormField=$e,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=ge=>{},this._options$=new s.t(null),this.optionsList$=this._options$.pipe((0,a.n)(ge=>ge?ge.changes.pipe((0,r.T)(Oe=>Oe.toArray()),(0,u.Z)(ge.toArray())):(0,f.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,r.T)(ge=>ge?ge.length:0)),this._formControl=new C.FormControl(""),this._showNoEntriesFound$=(0,d.z)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,r.T)(([ge,Oe])=>this.noEntriesFoundLabel&&ge&&Oe===this.getOptionsLengthOffset())),this._onDestroy=new l.B,this.applyDefaultOptions(q)}get value(){return this._formControl.value}set _options(me){this._options$.next(me)}get _options(){return this._options$.getValue()}applyDefaultOptions(me){if(me)for(const We of ue)me.hasOwnProperty(We)&&(this[We]=me[We])}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.c)(1),(0,p.Q)(this._onDestroy)).subscribe(me=>{me?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,_.s)(1),(0,a.n)(me=>{this._options=this.matSelect.options;let We=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe((0,y.M)(()=>{setTimeout(()=>{const Fe=this._options.toArray(),xe=Fe[this.getOptionsLengthOffset()],$e=this.matSelect._keyManager;$e&&this.matSelect.panelOpen&&xe&&((!We||!this.matSelect.compareWith(We.value,xe.value)||!$e.activeItem||!Fe.find(ge=>this.matSelect.compareWith(ge.value,$e.activeItem.value)))&&$e.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),We=xe})}))})).pipe((0,p.Q)(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe((0,p.Q)(this._onDestroy)).subscribe(me=>{this.matOption&&(me?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.Q)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,p.Q)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(me){this.toggleAll.emit(me)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(me){(me.key&&1===me.key.length||me.keyCode>=t.A&&me.keyCode<=t.Z||me.keyCode>=t.f2&&me.keyCode<=t.bn||me.keyCode===t.t6||this.preventHomeEndKeyPropagation&&(me.keyCode===t.yZ||me.keyCode===t.Kp))&&me.stopPropagation(),this.matSelect.multiple&&me.key&&me.keyCode===t.Fm&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&me.keyCode===t._f&&this.value&&(this._reset(!0),me.stopPropagation())}_handleKeyup(me){if(me.keyCode===t.i7||me.keyCode===t.n6){const We=this.matSelect._getAriaActiveDescendant(),Fe=this._options.toArray().findIndex(xe=>xe.id===We);-1!==Fe&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[Fe]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",We))}}writeValue(me){this._lastExternalInputValue=me,this._formControl.setValue(me),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(me){this._formControl.valueChanges.pipe((0,M.p)(We=>We!==this._lastExternalInputValue),(0,y.M)(()=>this._lastExternalInputValue=void 0),(0,p.Q)(this._onDestroy)).subscribe(me)}registerOnTouched(me){this.onTouched=me}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const me=this.matSelect.panel.nativeElement,We=me.scrollTop;this.searchSelectInput.nativeElement.focus(),me.scrollTop=We}_reset(me){this._formControl.setValue(""),me&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,p.Q)(this._onDestroy)).subscribe(me=>{let We=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!me||!Array.isArray(me))&&(me=[]);const Fe=this.matSelect.options.map(xe=>xe.value);this.previousSelectedValues.forEach(xe=>{!me.some($e=>this.matSelect.compareWith($e,xe))&&!Fe.some($e=>this.matSelect.compareWith($e,xe))&&(me.push(xe),We=!0)})}this.previousSelectedValues=me,We&&this.matSelect._onChange(me)})):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 We,me=this.innerSelectSearch.nativeElement;for(;me=me.parentElement;)if(me.classList.contains("mat-select-panel")){We=me;break}We&&(this.innerSelectSearch.nativeElement.style.width=We.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return Pe.\u0275fac=function(me){return new(me||Pe)(v.\u0275\u0275directiveInject(b.MatSelect),v.\u0275\u0275directiveInject(v.ChangeDetectorRef),v.\u0275\u0275directiveInject(w.Xj),v.\u0275\u0275directiveInject(E.MatOption,8),v.\u0275\u0275directiveInject(c.MatFormField,8),v.\u0275\u0275directiveInject(ve,8))},Pe.\u0275cmp=v.\u0275\u0275defineComponent({type:Pe,selectors:[["ngx-mat-select-search"]],contentQueries:function(me,We,Fe){if(1&me&&(v.\u0275\u0275contentQuery(Fe,le,5),v.\u0275\u0275contentQuery(Fe,Ye,5)),2&me){let xe;v.\u0275\u0275queryRefresh(xe=v.\u0275\u0275loadQuery())&&(We.clearIcon=xe.first),v.\u0275\u0275queryRefresh(xe=v.\u0275\u0275loadQuery())&&(We.noEntriesFound=xe.first)}},viewQuery:function(me,We){if(1&me&&(v.\u0275\u0275viewQuery(R,7,v.ElementRef),v.\u0275\u0275viewQuery(N,7,v.ElementRef)),2&me){let Fe;v.\u0275\u0275queryRefresh(Fe=v.\u0275\u0275loadQuery())&&(We.searchSelectInput=Fe.first),v.\u0275\u0275queryRefresh(Fe=v.\u0275\u0275loadQuery())&&(We.innerSelectSearch=Fe.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)(()=>Pe),multi:!0}])],ngContentSelectors:U,decls:13,vars:14,consts:[["innerSelectSearch",""],["searchSelectInput",""],["defaultIcon",""],["defaultNoEntriesFound",""],["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"],[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,"keydown","keyup","blur","type","formControl","placeholder"],["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,"change","color","checked","indeterminate","matTooltip","matTooltipPosition"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"]],template:function(me,We){if(1&me){const Fe=v.\u0275\u0275getCurrentView();v.\u0275\u0275projectionDef(A),v.\u0275\u0275element(0,"input",4),v.\u0275\u0275elementStart(1,"div",5,0)(3,"div",6),v.\u0275\u0275template(4,ee,1,5,"mat-checkbox",7),v.\u0275\u0275elementStart(5,"input",8,1),v.\u0275\u0275listener("keydown",function($e){return v.\u0275\u0275restoreView(Fe),v.\u0275\u0275resetView(We._handleKeydown($e))})("keyup",function($e){return v.\u0275\u0275restoreView(Fe),v.\u0275\u0275resetView(We._handleKeyup($e))})("blur",function(){return v.\u0275\u0275restoreView(Fe),v.\u0275\u0275resetView(We.onBlur())}),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(7,ie,1,0,"mat-spinner",9)(8,G,4,2,"button",10),v.\u0275\u0275projection(9),v.\u0275\u0275elementEnd(),v.\u0275\u0275element(10,"mat-divider"),v.\u0275\u0275elementEnd(),v.\u0275\u0275template(11,K,4,2,"div",11),v.\u0275\u0275pipe(12,"async")}2&me&&(v.\u0275\u0275advance(),v.\u0275\u0275property("ngClass",v.\u0275\u0275pureFunction2(11,Y,We.matSelect.multiple,We._isToggleAllCheckboxVisible())),v.\u0275\u0275advance(3),v.\u0275\u0275property("ngIf",We._isToggleAllCheckboxVisible()),v.\u0275\u0275advance(),v.\u0275\u0275property("type",We.type)("formControl",We._formControl)("placeholder",We.placeholderLabel),v.\u0275\u0275attribute("aria-label",We.ariaLabel),v.\u0275\u0275advance(2),v.\u0275\u0275property("ngIf",We.searching),v.\u0275\u0275advance(),v.\u0275\u0275property("ngIf",!We.hideClearSearchButton&&We.value&&!We.searching),v.\u0275\u0275advance(3),v.\u0275\u0275property("ngIf",v.\u0275\u0275pipeBind1(12,9,We._showNoEntriesFound$)))},dependencies:[k.NgClass,k.NgIf,C.DefaultValueAccessor,C.NgControlStatus,C.FormControlDirective,I.MatIconButton,D.MatCheckbox,O.MatIcon,T.MatProgressSpinner,F.oV,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}),Pe})();const ct="7.0.5";let Ct=(()=>{class Pe{}return Pe.\u0275fac=function(me){return new(me||Pe)},Pe.\u0275mod=v.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=v.\u0275\u0275defineInjector({imports:[k.CommonModule,C.ReactiveFormsModule,I.MatButtonModule,D.MatCheckboxModule,O.MatIconModule,T.MatProgressSpinnerModule,F.uc,S.MatDividerModule]}),Pe})()},994:(De,ne,g)=>{"use strict";function c(L){let Ce=L.length;for(;--Ce>=0;)L[Ce]=0}g.r(ne),g.d(ne,{Deflate:()=>H,Inflate:()=>Ee,constants:()=>Wt,default:()=>Mn,deflate:()=>re,deflateRaw:()=>Q,gzip:()=>se,inflate:()=>ze,inflateRaw:()=>yt,ungzip:()=>Zt});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]),F=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]),R=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 Y=new Array(512);c(Y);const ee=new Array(256);c(ee);const ie=new Array(29);c(ie);const $=new Array(30);function j(L,Ce,Z,Xe,gt){this.static_tree=L,this.extra_bits=Ce,this.extra_base=Z,this.elems=Xe,this.max_length=gt,this.has_stree=L&&L.length}let G,V,W;function K(L,Ce){this.dyn_tree=L,this.max_code=0,this.stat_desc=Ce}c($);const le=L=>L<256?Y[L]:Y[256+(L>>>7)],ue=(L,Ce)=>{L.pending_buf[L.pending++]=255&Ce,L.pending_buf[L.pending++]=Ce>>>8&255},ve=(L,Ce,Z)=>{L.bi_valid>16-Z?(L.bi_buf|=Ce<>16-L.bi_valid,L.bi_valid+=Z-16):(L.bi_buf|=Ce<{ve(L,Z[2*Ce],Z[2*Ce+1])},mt=(L,Ce)=>{let Z=0;do{Z|=1&L,L>>>=1,Z<<=1}while(--Ce>0);return Z>>>1},Pe=(L,Ce,Z)=>{const Xe=new Array(16);let ht,Yt,gt=0;for(ht=1;ht<=15;ht++)gt=gt+Z[ht-1]<<1,Xe[ht]=gt;for(Yt=0;Yt<=Ce;Yt++){let Bt=L[2*Yt+1];0!==Bt&&(L[2*Yt]=mt(Xe[Bt]++,Bt))}},me=L=>{let Ce;for(Ce=0;Ce<286;Ce++)L.dyn_ltree[2*Ce]=0;for(Ce=0;Ce<30;Ce++)L.dyn_dtree[2*Ce]=0;for(Ce=0;Ce<19;Ce++)L.bl_tree[2*Ce]=0;L.dyn_ltree[512]=1,L.opt_len=L.static_len=0,L.sym_next=L.matches=0},We=L=>{L.bi_valid>8?ue(L,L.bi_buf):L.bi_valid>0&&(L.pending_buf[L.pending++]=L.bi_buf),L.bi_buf=0,L.bi_valid=0},Fe=(L,Ce,Z,Xe)=>{const gt=2*Ce,ht=2*Z;return L[gt]{const Xe=L.heap[Z];let gt=Z<<1;for(;gt<=L.heap_len&&(gt{let Xe,gt,Yt,Bt,ht=0;if(0!==L.sym_next)do{Xe=255&L.pending_buf[L.sym_buf+ht++],Xe+=(255&L.pending_buf[L.sym_buf+ht++])<<8,gt=L.pending_buf[L.sym_buf+ht++],0===Xe?Ye(L,gt,Ce):(Yt=ee[gt],Ye(L,Yt+256+1,Ce),Bt=T[Yt],0!==Bt&&(gt-=ie[Yt],ve(L,gt,Bt)),Xe--,Yt=le(Xe),Ye(L,Yt,Z),Bt=F[Yt],0!==Bt&&(Xe-=$[Yt],ve(L,Xe,Bt)))}while(ht{const Z=Ce.dyn_tree,Xe=Ce.stat_desc.static_tree,gt=Ce.stat_desc.has_stree,ht=Ce.stat_desc.elems;let Yt,Bt,Ft,Nn=-1;for(L.heap_len=0,L.heap_max=573,Yt=0;Yt>1;Yt>=1;Yt--)xe(L,Z,Yt);Ft=ht;do{Yt=L.heap[1],L.heap[1]=L.heap[L.heap_len--],xe(L,Z,1),Bt=L.heap[1],L.heap[--L.heap_max]=Yt,L.heap[--L.heap_max]=Bt,Z[2*Ft]=Z[2*Yt]+Z[2*Bt],L.depth[Ft]=(L.depth[Yt]>=L.depth[Bt]?L.depth[Yt]:L.depth[Bt])+1,Z[2*Yt+1]=Z[2*Bt+1]=Ft,L.heap[1]=Ft++,xe(L,Z,1)}while(L.heap_len>=2);L.heap[--L.heap_max]=L.heap[1],((L,Ce)=>{const Z=Ce.dyn_tree,Xe=Ce.max_code,gt=Ce.stat_desc.static_tree,ht=Ce.stat_desc.has_stree,Yt=Ce.stat_desc.extra_bits,Bt=Ce.stat_desc.extra_base,Nn=Ce.stat_desc.max_length;let Ft,Qt,Ni,An,gn,zn,ir=0;for(An=0;An<=15;An++)L.bl_count[An]=0;for(Z[2*L.heap[L.heap_max]+1]=0,Ft=L.heap_max+1;Ft<573;Ft++)Qt=L.heap[Ft],An=Z[2*Z[2*Qt+1]+1]+1,An>Nn&&(An=Nn,ir++),Z[2*Qt+1]=An,!(Qt>Xe)&&(L.bl_count[An]++,gn=0,Qt>=Bt&&(gn=Yt[Qt-Bt]),zn=Z[2*Qt],L.opt_len+=zn*(An+gn),ht&&(L.static_len+=zn*(gt[2*Qt+1]+gn)));if(0!==ir){do{for(An=Nn-1;0===L.bl_count[An];)An--;L.bl_count[An]--,L.bl_count[An+1]+=2,L.bl_count[Nn]--,ir-=2}while(ir>0);for(An=Nn;0!==An;An--)for(Qt=L.bl_count[An];0!==Qt;)Ni=L.heap[--Ft],!(Ni>Xe)&&(Z[2*Ni+1]!==An&&(L.opt_len+=(An-Z[2*Ni+1])*Z[2*Ni],Z[2*Ni+1]=An),Qt--)}})(L,Ce),Pe(Z,Nn,L.bl_count)},ge=(L,Ce,Z)=>{let Xe,ht,gt=-1,Yt=Ce[1],Bt=0,Nn=7,Ft=4;for(0===Yt&&(Nn=138,Ft=3),Ce[2*(Z+1)+1]=65535,Xe=0;Xe<=Z;Xe++)ht=Yt,Yt=Ce[2*(Xe+1)+1],!(++Bt{let Xe,ht,gt=-1,Yt=Ce[1],Bt=0,Nn=7,Ft=4;for(0===Yt&&(Nn=138,Ft=3),Xe=0;Xe<=Z;Xe++)if(ht=Yt,Yt=Ce[2*(Xe+1)+1],!(++Bt{ve(L,0+(Xe?1:0),3),We(L),ue(L,Z),ue(L,~Z),Z&&L.pending_buf.set(L.window.subarray(Ce,Ce+Z),L.pending),L.pending+=Z};var Pt={_tr_init:L=>{Ge||((()=>{let L,Ce,Z,Xe,gt;const ht=new Array(16);for(Z=0,Xe=0;Xe<28;Xe++)for(ie[Xe]=Z,L=0;L<1<>=7;Xe<30;Xe++)for($[Xe]=gt<<7,L=0;L<1<{let gt,ht,Yt=0;L.level>0?(2===L.strm.data_type&&(L.strm.data_type=(L=>{let Z,Ce=4093624447;for(Z=0;Z<=31;Z++,Ce>>>=1)if(1&Ce&&0!==L.dyn_ltree[2*Z])return 0;if(0!==L.dyn_ltree[18]||0!==L.dyn_ltree[20]||0!==L.dyn_ltree[26])return 1;for(Z=32;Z<256;Z++)if(0!==L.dyn_ltree[2*Z])return 1;return 0})(L)),q(L,L.l_desc),q(L,L.d_desc),Yt=(L=>{let Ce;for(ge(L,L.dyn_ltree,L.l_desc.max_code),ge(L,L.dyn_dtree,L.d_desc.max_code),q(L,L.bl_desc),Ce=18;Ce>=3&&0===L.bl_tree[2*R[Ce]+1];Ce--);return L.opt_len+=3*(Ce+1)+5+5+4,Ce})(L),gt=L.opt_len+3+7>>>3,ht=L.static_len+3+7>>>3,ht<=gt&&(gt=ht)):gt=ht=Z+5,Z+4<=gt&&-1!==Ce?rt(L,Ce,Z,Xe):4===L.strategy||ht===gt?(ve(L,2+(Xe?1:0),3),$e(L,A,U)):(ve(L,4+(Xe?1:0),3),((L,Ce,Z,Xe)=>{let gt;for(ve(L,Ce-257,5),ve(L,Z-1,5),ve(L,Xe-4,4),gt=0;gt(L.pending_buf[L.sym_buf+L.sym_next++]=Ce,L.pending_buf[L.sym_buf+L.sym_next++]=Ce>>8,L.pending_buf[L.sym_buf+L.sym_next++]=Z,0===Ce?L.dyn_ltree[2*Z]++:(L.matches++,Ce--,L.dyn_ltree[2*(ee[Z]+256+1)]++,L.dyn_dtree[2*le(Ce)]++),L.sym_next===L.sym_end),_tr_align:L=>{ve(L,2,3),Ye(L,256,A),(L=>{16===L.bi_valid?(ue(L,L.bi_buf),L.bi_buf=0,L.bi_valid=0):L.bi_valid>=8&&(L.pending_buf[L.pending++]=255&L.bi_buf,L.bi_buf>>=8,L.bi_valid-=8)})(L)}},_e=(L,Ce,Z,Xe)=>{let gt=65535&L,ht=L>>>16&65535,Yt=0;for(;0!==Z;){Yt=Z>2e3?2e3:Z,Z-=Yt;do{gt=gt+Ce[Xe++]|0,ht=ht+gt|0}while(--Yt);gt%=65521,ht%=65521}return gt|ht<<16};const Qe=new Uint32Array((()=>{let L,Ce=[];for(var Z=0;Z<256;Z++){L=Z;for(var Xe=0;Xe<8;Xe++)L=1&L?3988292384^L>>>1:L>>>1;Ce[Z]=L}return Ce})());var et=(L,Ce,Z,Xe)=>{const gt=Qe,ht=Xe+Z;L^=-1;for(let Yt=Xe;Yt>>8^gt[255&(L^Ce[Yt])];return~L},ft={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"},Re={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:pe,_tr_stored_block:Ke,_tr_flush_block:te,_tr_tally:de,_tr_align:Se}=Pt,{Z_NO_FLUSH:tt,Z_PARTIAL_FLUSH:It,Z_FULL_FLUSH:Kt,Z_FINISH:ln,Z_BLOCK:_t,Z_OK:Nt,Z_STREAM_END:Je,Z_STREAM_ERROR:Ue,Z_DATA_ERROR:nt,Z_BUF_ERROR:He,Z_DEFAULT_COMPRESSION:dt,Z_FILTERED:At,Z_HUFFMAN_ONLY:en,Z_RLE:yn,Z_FIXED:Ln,Z_DEFAULT_STRATEGY:Ri,Z_UNKNOWN:Ei,Z_DEFLATED:Vn}=Re,Tt=262,_i=(L,Ce)=>(L.msg=ft[Ce],Ce),mi=L=>2*L-(L>4?9:0),Hi=L=>{let Ce=L.length;for(;--Ce>=0;)L[Ce]=0},On=L=>{let Ce,Z,Xe,gt=L.w_size;Ce=L.hash_size,Xe=Ce;do{Z=L.head[--Xe],L.head[Xe]=Z>=gt?Z-gt:0}while(--Ce);Ce=gt,Xe=Ce;do{Z=L.prev[--Xe],L.prev[Xe]=Z>=gt?Z-gt:0}while(--Ce)};let Bi=(L,Ce,Z)=>(Ce<{const Ce=L.state;let Z=Ce.pending;Z>L.avail_out&&(Z=L.avail_out),0!==Z&&(L.output.set(Ce.pending_buf.subarray(Ce.pending_out,Ce.pending_out+Z),L.next_out),L.next_out+=Z,Ce.pending_out+=Z,L.total_out+=Z,L.avail_out-=Z,Ce.pending-=Z,0===Ce.pending&&(Ce.pending_out=0))},Qn=(L,Ce)=>{te(L,L.block_start>=0?L.block_start:-1,L.strstart-L.block_start,Ce),L.block_start=L.strstart,Xn(L.strm)},ni=(L,Ce)=>{L.pending_buf[L.pending++]=Ce},zi=(L,Ce)=>{L.pending_buf[L.pending++]=Ce>>>8&255,L.pending_buf[L.pending++]=255&Ce},Fi=(L,Ce,Z,Xe)=>{let gt=L.avail_in;return gt>Xe&&(gt=Xe),0===gt?0:(L.avail_in-=gt,Ce.set(L.input.subarray(L.next_in,L.next_in+gt),Z),1===L.state.wrap?L.adler=_e(L.adler,Ce,gt,Z):2===L.state.wrap&&(L.adler=et(L.adler,Ce,gt,Z)),L.next_in+=gt,L.total_in+=gt,gt)},Un=(L,Ce)=>{let gt,ht,Z=L.max_chain_length,Xe=L.strstart,Yt=L.prev_length,Bt=L.nice_match;const Nn=L.strstart>L.w_size-Tt?L.strstart-(L.w_size-Tt):0,Ft=L.window,Qt=L.w_mask,Ni=L.prev,An=L.strstart+258;let gn=Ft[Xe+Yt-1],zn=Ft[Xe+Yt];L.prev_length>=L.good_match&&(Z>>=2),Bt>L.lookahead&&(Bt=L.lookahead);do{if(gt=Ce,Ft[gt+Yt]===zn&&Ft[gt+Yt-1]===gn&&Ft[gt]===Ft[Xe]&&Ft[++gt]===Ft[Xe+1]){Xe+=2,gt++;do{}while(Ft[++Xe]===Ft[++gt]&&Ft[++Xe]===Ft[++gt]&&Ft[++Xe]===Ft[++gt]&&Ft[++Xe]===Ft[++gt]&&Ft[++Xe]===Ft[++gt]&&Ft[++Xe]===Ft[++gt]&&Ft[++Xe]===Ft[++gt]&&Ft[++Xe]===Ft[++gt]&&XeYt){if(L.match_start=Ce,Yt=ht,ht>=Bt)break;gn=Ft[Xe+Yt-1],zn=Ft[Xe+Yt]}}}while((Ce=Ni[Ce&Qt])>Nn&&0!=--Z);return Yt<=L.lookahead?Yt:L.lookahead},vn=L=>{const Ce=L.w_size;let Z,Xe,gt;do{if(Xe=L.window_size-L.lookahead-L.strstart,L.strstart>=Ce+(Ce-Tt)&&(L.window.set(L.window.subarray(Ce,Ce+Ce-Xe),0),L.match_start-=Ce,L.strstart-=Ce,L.block_start-=Ce,L.insert>L.strstart&&(L.insert=L.strstart),On(L),Xe+=Ce),0===L.strm.avail_in)break;if(Z=Fi(L.strm,L.window,L.strstart+L.lookahead,Xe),L.lookahead+=Z,L.lookahead+L.insert>=3)for(gt=L.strstart-L.insert,L.ins_h=L.window[gt],L.ins_h=Bi(L,L.ins_h,L.window[gt+1]);L.insert&&(L.ins_h=Bi(L,L.ins_h,L.window[gt+3-1]),L.prev[gt&L.w_mask]=L.head[L.ins_h],L.head[L.ins_h]=gt,gt++,L.insert--,!(L.lookahead+L.insert<3)););}while(L.lookahead{let Xe,gt,ht,Z=L.pending_buf_size-5>L.w_size?L.w_size:L.pending_buf_size-5,Yt=0,Bt=L.strm.avail_in;do{if(Xe=65535,ht=L.bi_valid+42>>3,L.strm.avail_outgt+L.strm.avail_in&&(Xe=gt+L.strm.avail_in),Xe>ht&&(Xe=ht),Xe>8,L.pending_buf[L.pending-2]=~Xe,L.pending_buf[L.pending-1]=~Xe>>8,Xn(L.strm),gt&&(gt>Xe&&(gt=Xe),L.strm.output.set(L.window.subarray(L.block_start,L.block_start+gt),L.strm.next_out),L.strm.next_out+=gt,L.strm.avail_out-=gt,L.strm.total_out+=gt,L.block_start+=gt,Xe-=gt),Xe&&(Fi(L.strm,L.strm.output,L.strm.next_out,Xe),L.strm.next_out+=Xe,L.strm.avail_out-=Xe,L.strm.total_out+=Xe)}while(0===Yt);return Bt-=L.strm.avail_in,Bt&&(Bt>=L.w_size?(L.matches=2,L.window.set(L.strm.input.subarray(L.strm.next_in-L.w_size,L.strm.next_in),0),L.strstart=L.w_size,L.insert=L.strstart):(L.window_size-L.strstart<=Bt&&(L.strstart-=L.w_size,L.window.set(L.window.subarray(L.w_size,L.w_size+L.strstart),0),L.matches<2&&L.matches++,L.insert>L.strstart&&(L.insert=L.strstart)),L.window.set(L.strm.input.subarray(L.strm.next_in-Bt,L.strm.next_in),L.strstart),L.strstart+=Bt,L.insert+=Bt>L.w_size-L.insert?L.w_size-L.insert:Bt),L.block_start=L.strstart),L.high_waterht&&L.block_start>=L.w_size&&(L.block_start-=L.w_size,L.strstart-=L.w_size,L.window.set(L.window.subarray(L.w_size,L.w_size+L.strstart),0),L.matches<2&&L.matches++,ht+=L.w_size,L.insert>L.strstart&&(L.insert=L.strstart)),ht>L.strm.avail_in&&(ht=L.strm.avail_in),ht&&(Fi(L.strm,L.window,L.strstart,ht),L.strstart+=ht,L.insert+=ht>L.w_size-L.insert?L.w_size-L.insert:ht),L.high_water>3,ht=L.pending_buf_size-ht>65535?65535:L.pending_buf_size-ht,Z=ht>L.w_size?L.w_size:ht,gt=L.strstart-L.block_start,(gt>=Z||(gt||Ce===ln)&&Ce!==tt&&0===L.strm.avail_in&><=ht)&&(Xe=gt>ht?ht:gt,Yt=Ce===ln&&0===L.strm.avail_in&&Xe===gt?1:0,Ke(L,L.block_start,Xe,Yt),L.block_start+=Xe,Xn(L.strm)),Yt?3:1)},Rn=(L,Ce)=>{let Z,Xe;for(;;){if(L.lookahead=3&&(L.ins_h=Bi(L,L.ins_h,L.window[L.strstart+3-1]),Z=L.prev[L.strstart&L.w_mask]=L.head[L.ins_h],L.head[L.ins_h]=L.strstart),0!==Z&&L.strstart-Z<=L.w_size-Tt&&(L.match_length=Un(L,Z)),L.match_length>=3)if(Xe=de(L,L.strstart-L.match_start,L.match_length-3),L.lookahead-=L.match_length,L.match_length<=L.max_lazy_match&&L.lookahead>=3){L.match_length--;do{L.strstart++,L.ins_h=Bi(L,L.ins_h,L.window[L.strstart+3-1]),Z=L.prev[L.strstart&L.w_mask]=L.head[L.ins_h],L.head[L.ins_h]=L.strstart}while(0!=--L.match_length);L.strstart++}else L.strstart+=L.match_length,L.match_length=0,L.ins_h=L.window[L.strstart],L.ins_h=Bi(L,L.ins_h,L.window[L.strstart+1]);else Xe=de(L,0,L.window[L.strstart]),L.lookahead--,L.strstart++;if(Xe&&(Qn(L,!1),0===L.strm.avail_out))return 1}return L.insert=L.strstart<2?L.strstart:2,Ce===ln?(Qn(L,!0),0===L.strm.avail_out?3:4):L.sym_next&&(Qn(L,!1),0===L.strm.avail_out)?1:2},jn=(L,Ce)=>{let Z,Xe,gt;for(;;){if(L.lookahead=3&&(L.ins_h=Bi(L,L.ins_h,L.window[L.strstart+3-1]),Z=L.prev[L.strstart&L.w_mask]=L.head[L.ins_h],L.head[L.ins_h]=L.strstart),L.prev_length=L.match_length,L.prev_match=L.match_start,L.match_length=2,0!==Z&&L.prev_length4096)&&(L.match_length=2)),L.prev_length>=3&&L.match_length<=L.prev_length){gt=L.strstart+L.lookahead-3,Xe=de(L,L.strstart-1-L.prev_match,L.prev_length-3),L.lookahead-=L.prev_length-1,L.prev_length-=2;do{++L.strstart<=gt&&(L.ins_h=Bi(L,L.ins_h,L.window[L.strstart+3-1]),Z=L.prev[L.strstart&L.w_mask]=L.head[L.ins_h],L.head[L.ins_h]=L.strstart)}while(0!=--L.prev_length);if(L.match_available=0,L.match_length=2,L.strstart++,Xe&&(Qn(L,!1),0===L.strm.avail_out))return 1}else if(L.match_available){if(Xe=de(L,0,L.window[L.strstart-1]),Xe&&Qn(L,!1),L.strstart++,L.lookahead--,0===L.strm.avail_out)return 1}else L.match_available=1,L.strstart++,L.lookahead--}return L.match_available&&(Xe=de(L,0,L.window[L.strstart-1]),L.match_available=0),L.insert=L.strstart<2?L.strstart:2,Ce===ln?(Qn(L,!0),0===L.strm.avail_out?3:4):L.sym_next&&(Qn(L,!1),0===L.strm.avail_out)?1:2};function Wi(L,Ce,Z,Xe,gt){this.good_length=L,this.max_lazy=Ce,this.nice_length=Z,this.max_chain=Xe,this.func=gt}const ar=[new Wi(0,0,0,0,Dn),new Wi(4,4,8,4,Rn),new Wi(4,5,16,8,Rn),new Wi(4,6,32,32,Rn),new Wi(4,4,16,16,jn),new Wi(8,16,32,32,jn),new Wi(8,16,128,128,jn),new Wi(8,32,128,256,jn),new Wi(32,128,258,1024,jn),new Wi(32,258,258,4096,jn)];function Sr(){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=Vn,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),Hi(this.dyn_ltree),Hi(this.dyn_dtree),Hi(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),Hi(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Hi(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 wr=L=>{if(!L)return 1;const Ce=L.state;return!Ce||Ce.strm!==L||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},bs=L=>{if(wr(L))return _i(L,Ue);L.total_in=L.total_out=0,L.data_type=Ei;const Ce=L.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,L.adler=2===Ce.wrap?0:1,Ce.last_flush=-2,pe(Ce),Nt},Ar=L=>{const Ce=bs(L);return Ce===Nt&&(L=>{L.window_size=2*L.w_size,Hi(L.head),L.max_lazy_match=ar[L.level].max_lazy,L.good_match=ar[L.level].good_length,L.nice_match=ar[L.level].nice_length,L.max_chain_length=ar[L.level].max_chain,L.strstart=0,L.block_start=0,L.lookahead=0,L.insert=0,L.match_length=L.prev_length=2,L.match_available=0,L.ins_h=0})(L.state),Ce},Br=(L,Ce,Z,Xe,gt,ht)=>{if(!L)return Ue;let Yt=1;if(Ce===dt&&(Ce=6),Xe<0?(Yt=0,Xe=-Xe):Xe>15&&(Yt=2,Xe-=16),gt<1||gt>9||Z!==Vn||Xe<8||Xe>15||Ce<0||Ce>9||ht<0||ht>Ln||8===Xe&&1!==Yt)return _i(L,Ue);8===Xe&&(Xe=9);const Bt=new Sr;return L.state=Bt,Bt.strm=L,Bt.status=42,Bt.wrap=Yt,Bt.gzhead=null,Bt.w_bits=Xe,Bt.w_size=1<Br(L,Ce,Vn,15,8,Ri),deflateInit2:Br,deflateReset:Ar,deflateResetKeep:bs,deflateSetHeader:(L,Ce)=>wr(L)||2!==L.state.wrap?Ue:(L.state.gzhead=Ce,Nt),deflate:(L,Ce)=>{if(wr(L)||Ce>_t||Ce<0)return L?_i(L,Ue):Ue;const Z=L.state;if(!L.output||0!==L.avail_in&&!L.input||666===Z.status&&Ce!==ln)return _i(L,0===L.avail_out?He:Ue);const Xe=Z.last_flush;if(Z.last_flush=Ce,0!==Z.pending){if(Xn(L),0===L.avail_out)return Z.last_flush=-1,Nt}else if(0===L.avail_in&&mi(Ce)<=mi(Xe)&&Ce!==ln)return _i(L,He);if(666===Z.status&&0!==L.avail_in)return _i(L,He);if(42===Z.status&&0===Z.wrap&&(Z.status=113),42===Z.status){let gt=Vn+(Z.w_bits-8<<4)<<8,ht=-1;if(ht=Z.strategy>=en||Z.level<2?0:Z.level<6?1:6===Z.level?2:3,gt|=ht<<6,0!==Z.strstart&&(gt|=32),gt+=31-gt%31,zi(Z,gt),0!==Z.strstart&&(zi(Z,L.adler>>>16),zi(Z,65535&L.adler)),L.adler=1,Z.status=113,Xn(L),0!==Z.pending)return Z.last_flush=-1,Nt}if(57===Z.status)if(L.adler=0,ni(Z,31),ni(Z,139),ni(Z,8),Z.gzhead)ni(Z,(Z.gzhead.text?1:0)+(Z.gzhead.hcrc?2:0)+(Z.gzhead.extra?4:0)+(Z.gzhead.name?8:0)+(Z.gzhead.comment?16:0)),ni(Z,255&Z.gzhead.time),ni(Z,Z.gzhead.time>>8&255),ni(Z,Z.gzhead.time>>16&255),ni(Z,Z.gzhead.time>>24&255),ni(Z,9===Z.level?2:Z.strategy>=en||Z.level<2?4:0),ni(Z,255&Z.gzhead.os),Z.gzhead.extra&&Z.gzhead.extra.length&&(ni(Z,255&Z.gzhead.extra.length),ni(Z,Z.gzhead.extra.length>>8&255)),Z.gzhead.hcrc&&(L.adler=et(L.adler,Z.pending_buf,Z.pending,0)),Z.gzindex=0,Z.status=69;else if(ni(Z,0),ni(Z,0),ni(Z,0),ni(Z,0),ni(Z,0),ni(Z,9===Z.level?2:Z.strategy>=en||Z.level<2?4:0),ni(Z,3),Z.status=113,Xn(L),0!==Z.pending)return Z.last_flush=-1,Nt;if(69===Z.status){if(Z.gzhead.extra){let gt=Z.pending,ht=(65535&Z.gzhead.extra.length)-Z.gzindex;for(;Z.pending+ht>Z.pending_buf_size;){let Bt=Z.pending_buf_size-Z.pending;if(Z.pending_buf.set(Z.gzhead.extra.subarray(Z.gzindex,Z.gzindex+Bt),Z.pending),Z.pending=Z.pending_buf_size,Z.gzhead.hcrc&&Z.pending>gt&&(L.adler=et(L.adler,Z.pending_buf,Z.pending-gt,gt)),Z.gzindex+=Bt,Xn(L),0!==Z.pending)return Z.last_flush=-1,Nt;gt=0,ht-=Bt}let Yt=new Uint8Array(Z.gzhead.extra);Z.pending_buf.set(Yt.subarray(Z.gzindex,Z.gzindex+ht),Z.pending),Z.pending+=ht,Z.gzhead.hcrc&&Z.pending>gt&&(L.adler=et(L.adler,Z.pending_buf,Z.pending-gt,gt)),Z.gzindex=0}Z.status=73}if(73===Z.status){if(Z.gzhead.name){let ht,gt=Z.pending;do{if(Z.pending===Z.pending_buf_size){if(Z.gzhead.hcrc&&Z.pending>gt&&(L.adler=et(L.adler,Z.pending_buf,Z.pending-gt,gt)),Xn(L),0!==Z.pending)return Z.last_flush=-1,Nt;gt=0}ht=Z.gzindexgt&&(L.adler=et(L.adler,Z.pending_buf,Z.pending-gt,gt)),Z.gzindex=0}Z.status=91}if(91===Z.status){if(Z.gzhead.comment){let ht,gt=Z.pending;do{if(Z.pending===Z.pending_buf_size){if(Z.gzhead.hcrc&&Z.pending>gt&&(L.adler=et(L.adler,Z.pending_buf,Z.pending-gt,gt)),Xn(L),0!==Z.pending)return Z.last_flush=-1,Nt;gt=0}ht=Z.gzindexgt&&(L.adler=et(L.adler,Z.pending_buf,Z.pending-gt,gt))}Z.status=103}if(103===Z.status){if(Z.gzhead.hcrc){if(Z.pending+2>Z.pending_buf_size&&(Xn(L),0!==Z.pending))return Z.last_flush=-1,Nt;ni(Z,255&L.adler),ni(Z,L.adler>>8&255),L.adler=0}if(Z.status=113,Xn(L),0!==Z.pending)return Z.last_flush=-1,Nt}if(0!==L.avail_in||0!==Z.lookahead||Ce!==tt&&666!==Z.status){let gt=0===Z.level?Dn(Z,Ce):Z.strategy===en?((L,Ce)=>{let Z;for(;;){if(0===L.lookahead&&(vn(L),0===L.lookahead)){if(Ce===tt)return 1;break}if(L.match_length=0,Z=de(L,0,L.window[L.strstart]),L.lookahead--,L.strstart++,Z&&(Qn(L,!1),0===L.strm.avail_out))return 1}return L.insert=0,Ce===ln?(Qn(L,!0),0===L.strm.avail_out?3:4):L.sym_next&&(Qn(L,!1),0===L.strm.avail_out)?1:2})(Z,Ce):Z.strategy===yn?((L,Ce)=>{let Z,Xe,gt,ht;const Yt=L.window;for(;;){if(L.lookahead<=258){if(vn(L),L.lookahead<=258&&Ce===tt)return 1;if(0===L.lookahead)break}if(L.match_length=0,L.lookahead>=3&&L.strstart>0&&(gt=L.strstart-1,Xe=Yt[gt],Xe===Yt[++gt]&&Xe===Yt[++gt]&&Xe===Yt[++gt])){ht=L.strstart+258;do{}while(Xe===Yt[++gt]&&Xe===Yt[++gt]&&Xe===Yt[++gt]&&Xe===Yt[++gt]&&Xe===Yt[++gt]&&Xe===Yt[++gt]&&Xe===Yt[++gt]&&Xe===Yt[++gt]&>L.lookahead&&(L.match_length=L.lookahead)}if(L.match_length>=3?(Z=de(L,1,L.match_length-3),L.lookahead-=L.match_length,L.strstart+=L.match_length,L.match_length=0):(Z=de(L,0,L.window[L.strstart]),L.lookahead--,L.strstart++),Z&&(Qn(L,!1),0===L.strm.avail_out))return 1}return L.insert=0,Ce===ln?(Qn(L,!0),0===L.strm.avail_out?3:4):L.sym_next&&(Qn(L,!1),0===L.strm.avail_out)?1:2})(Z,Ce):ar[Z.level].func(Z,Ce);if((3===gt||4===gt)&&(Z.status=666),1===gt||3===gt)return 0===L.avail_out&&(Z.last_flush=-1),Nt;if(2===gt&&(Ce===It?Se(Z):Ce!==_t&&(Ke(Z,0,0,!1),Ce===Kt&&(Hi(Z.head),0===Z.lookahead&&(Z.strstart=0,Z.block_start=0,Z.insert=0))),Xn(L),0===L.avail_out))return Z.last_flush=-1,Nt}return Ce!==ln?Nt:Z.wrap<=0?Je:(2===Z.wrap?(ni(Z,255&L.adler),ni(Z,L.adler>>8&255),ni(Z,L.adler>>16&255),ni(Z,L.adler>>24&255),ni(Z,255&L.total_in),ni(Z,L.total_in>>8&255),ni(Z,L.total_in>>16&255),ni(Z,L.total_in>>24&255)):(zi(Z,L.adler>>>16),zi(Z,65535&L.adler)),Xn(L),Z.wrap>0&&(Z.wrap=-Z.wrap),0!==Z.pending?Nt:Je)},deflateEnd:L=>{if(wr(L))return Ue;const Ce=L.state.status;return L.state=null,113===Ce?_i(L,nt):Nt},deflateSetDictionary:(L,Ce)=>{let Z=Ce.length;if(wr(L))return Ue;const Xe=L.state,gt=Xe.wrap;if(2===gt||1===gt&&42!==Xe.status||Xe.lookahead)return Ue;if(1===gt&&(L.adler=_e(L.adler,Ce,Z,0)),Xe.wrap=0,Z>=Xe.w_size){0===gt&&(Hi(Xe.head),Xe.strstart=0,Xe.block_start=0,Xe.insert=0);let Nn=new Uint8Array(Xe.w_size);Nn.set(Ce.subarray(Z-Xe.w_size,Z),0),Ce=Nn,Z=Xe.w_size}const ht=L.avail_in,Yt=L.next_in,Bt=L.input;for(L.avail_in=Z,L.next_in=0,L.input=Ce,vn(Xe);Xe.lookahead>=3;){let Nn=Xe.strstart,Ft=Xe.lookahead-2;do{Xe.ins_h=Bi(Xe,Xe.ins_h,Xe.window[Nn+3-1]),Xe.prev[Nn&Xe.w_mask]=Xe.head[Xe.ins_h],Xe.head[Xe.ins_h]=Nn,Nn++}while(--Ft);Xe.strstart=Nn,Xe.lookahead=2,vn(Xe)}return Xe.strstart+=Xe.lookahead,Xe.block_start=Xe.strstart,Xe.insert=Xe.lookahead,Xe.lookahead=0,Xe.match_length=Xe.prev_length=2,Xe.match_available=0,L.next_in=Yt,L.input=Bt,L.avail_in=ht,Xe.wrap=gt,Nt},deflateInfo:"pako deflate (from Nodeca project)"};const Gt=(L,Ce)=>Object.prototype.hasOwnProperty.call(L,Ce);var bn={assign:function(L){const Ce=Array.prototype.slice.call(arguments,1);for(;Ce.length;){const Z=Ce.shift();if(Z){if("object"!=typeof Z)throw new TypeError(Z+"must be non-object");for(const Xe in Z)Gt(Z,Xe)&&(L[Xe]=Z[Xe])}}return L},flattenChunks:L=>{let Ce=0;for(let Xe=0,gt=L.length;Xe=252?6:L>=248?5:L>=240?4:L>=224?3:L>=192?2:1;$n[254]=$n[254]=1;var ii={string2buf:L=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(L);let Ce,Z,Xe,gt,ht,Yt=L.length,Bt=0;for(gt=0;gt>>6,Ce[ht++]=128|63&Z):Z<65536?(Ce[ht++]=224|Z>>>12,Ce[ht++]=128|Z>>>6&63,Ce[ht++]=128|63&Z):(Ce[ht++]=240|Z>>>18,Ce[ht++]=128|Z>>>12&63,Ce[ht++]=128|Z>>>6&63,Ce[ht++]=128|63&Z);return Ce},buf2string:(L,Ce)=>{const Z=Ce||L.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(L.subarray(0,Ce));let Xe,gt;const ht=new Array(2*Z);for(gt=0,Xe=0;Xe4)ht[gt++]=65533,Xe+=Bt-1;else{for(Yt&=2===Bt?31:3===Bt?15:7;Bt>1&&Xe1?ht[gt++]=65533:Yt<65536?ht[gt++]=Yt:(Yt-=65536,ht[gt++]=55296|Yt>>10&1023,ht[gt++]=56320|1023&Yt)}}return((L,Ce)=>{if(Ce<65534&&L.subarray&&In)return String.fromCharCode.apply(null,L.length===Ce?L:L.subarray(0,Ce));let Z="";for(let Xe=0;Xe{(Ce=Ce||L.length)>L.length&&(Ce=L.length);let Z=Ce-1;for(;Z>=0&&128==(192&L[Z]);)Z--;return Z<0||0===Z?Ce:Z+$n[L[Z]]>Ce?Z:Ce}},ur=function li(){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 vi=Object.prototype.toString,{Z_NO_FLUSH:Wr,Z_SYNC_FLUSH:Gr,Z_FULL_FLUSH:oa,Z_FINISH:$r,Z_OK:Ji,Z_STREAM_END:ui,Z_DEFAULT_COMPRESSION:rs,Z_DEFAULT_STRATEGY:Kr,Z_DEFLATED:Vr}=Re;function Yr(L){this.options=bn.assign({level:rs,method:Vr,chunkSize:16384,windowBits:15,memLevel:8,strategy:Kr},L||{});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 ur,this.strm.avail_out=0;let Z=jt.deflateInit2(this.strm,Ce.level,Ce.method,Ce.windowBits,Ce.memLevel,Ce.strategy);if(Z!==Ji)throw new Error(ft[Z]);if(Ce.header&&jt.deflateSetHeader(this.strm,Ce.header),Ce.dictionary){let Xe;if(Xe="string"==typeof Ce.dictionary?ii.string2buf(Ce.dictionary):"[object ArrayBuffer]"===vi.call(Ce.dictionary)?new Uint8Array(Ce.dictionary):Ce.dictionary,Z=jt.deflateSetDictionary(this.strm,Xe),Z!==Ji)throw new Error(ft[Z]);this._dict_set=!0}}function Zr(L,Ce){const Z=new Yr(Ce);if(Z.push(L,!0),Z.err)throw Z.msg||ft[Z.err];return Z.result}Yr.prototype.push=function(L,Ce){const Z=this.strm,Xe=this.options.chunkSize;let gt,ht;if(this.ended)return!1;for(ht=Ce===~~Ce?Ce:!0===Ce?$r:Wr,Z.input="string"==typeof L?ii.string2buf(L):"[object ArrayBuffer]"===vi.call(L)?new Uint8Array(L):L,Z.next_in=0,Z.avail_in=Z.input.length;;)if(0===Z.avail_out&&(Z.output=new Uint8Array(Xe),Z.next_out=0,Z.avail_out=Xe),(ht===Gr||ht===oa)&&Z.avail_out<=6)this.onData(Z.output.subarray(0,Z.next_out)),Z.avail_out=0;else{if(gt=jt.deflate(Z,ht),gt===ui)return Z.next_out>0&&this.onData(Z.output.subarray(0,Z.next_out)),gt=jt.deflateEnd(this.strm),this.onEnd(gt),this.ended=!0,gt===Ji;if(0!==Z.avail_out){if(ht>0&&Z.next_out>0)this.onData(Z.output.subarray(0,Z.next_out)),Z.avail_out=0;else if(0===Z.avail_in)break}else this.onData(Z.output)}return!0},Yr.prototype.onData=function(L){this.chunks.push(L)},Yr.prototype.onEnd=function(L){L===Ji&&(this.result=bn.flattenChunks(this.chunks)),this.chunks=[],this.err=L,this.msg=this.strm.msg};var kt={Deflate:Yr,deflate:Zr,deflateRaw:function Qr(L,Ce){return(Ce=Ce||{}).raw=!0,Zr(L,Ce)},gzip:function Xr(L,Ce){return(Ce=Ce||{}).gzip=!0,Zr(L,Ce)},constants:Re};const xn=16209;var Er=function(Ce,Z){let Xe,gt,ht,Yt,Bt,Nn,Ft,Qt,Ni,An,gn,zn,ir,wi,ci,Pi,pi,Sn,Si,Cr,Pn,ji,bi,si;const gi=Ce.state;Xe=Ce.next_in,bi=Ce.input,gt=Xe+(Ce.avail_in-5),ht=Ce.next_out,si=Ce.output,Yt=ht-(Z-Ce.avail_out),Bt=ht+(Ce.avail_out-257),Nn=gi.dmax,Ft=gi.wsize,Qt=gi.whave,Ni=gi.wnext,An=gi.window,gn=gi.hold,zn=gi.bits,ir=gi.lencode,wi=gi.distcode,ci=(1<>>24,gn>>>=Sn,zn-=Sn,Sn=pi>>>16&255,0===Sn)si[ht++]=65535πelse{if(!(16&Sn)){if(64&Sn){if(32&Sn){gi.mode=16191;break e}Ce.msg="invalid literal/length code",gi.mode=xn;break e}pi=ir[(65535&pi)+(gn&(1<>>=Sn,zn-=Sn),zn<15&&(gn+=bi[Xe++]<>>24,gn>>>=Sn,zn-=Sn,Sn=pi>>>16&255,16&Sn){if(Cr=65535&pi,Sn&=15,znNn){Ce.msg="invalid distance too far back",gi.mode=xn;break e}if(gn>>>=Sn,zn-=Sn,Sn=ht-Yt,Cr>Sn){if(Sn=Cr-Sn,Sn>Qt&&gi.sane){Ce.msg="invalid distance too far back",gi.mode=xn;break e}if(Pn=0,ji=An,0===Ni){if(Pn+=Ft-Sn,Sn2;)si[ht++]=ji[Pn++],si[ht++]=ji[Pn++],si[ht++]=ji[Pn++],Si-=3;Si&&(si[ht++]=ji[Pn++],Si>1&&(si[ht++]=ji[Pn++]))}else{Pn=ht-Cr;do{si[ht++]=si[Pn++],si[ht++]=si[Pn++],si[ht++]=si[Pn++],Si-=3}while(Si>2);Si&&(si[ht++]=si[Pn++],Si>1&&(si[ht++]=si[Pn++]))}break}if(64&Sn){Ce.msg="invalid distance code",gi.mode=xn;break e}pi=wi[(65535&pi)+(gn&(1<>3,Xe-=Si,zn-=Si<<3,gn&=(1<{const Nn=Bt.bits;let pi,Sn,Si,Cr,Pn,bi,Ft=0,Qt=0,Ni=0,An=0,gn=0,zn=0,ir=0,wi=0,ci=0,Pi=0,ji=null;const si=new Uint16Array(16),gi=new Uint16Array(16);let $i,Xo,fo,Ro=null;for(Ft=0;Ft<=15;Ft++)si[Ft]=0;for(Qt=0;Qt=1&&0===si[An];An--);if(gn>An&&(gn=An),0===An)return gt[ht++]=20971520,gt[ht++]=20971520,Bt.bits=1,0;for(Ni=1;Ni0&&(0===L||1!==An))return-1;for(gi[1]=0,Ft=1;Ft<15;Ft++)gi[Ft+1]=gi[Ft]+si[Ft];for(Qt=0;Qt852||2===L&&ci>592)return 1;for(;;){$i=Ft-ir,Yt[Qt]+1=bi?(Xo=Ro[Yt[Qt]-bi],fo=ji[Yt[Qt]-bi]):(Xo=96,fo=0),pi=1<>ir)+Sn]=$i<<24|Xo<<16|fo}while(0!==Sn);for(pi=1<>=1;if(0!==pi?(Pi&=pi-1,Pi+=pi):Pi=0,Qt++,0==--si[Ft]){if(Ft===An)break;Ft=Ce[Z+Yt[Qt]]}if(Ft>gn&&(Pi&Cr)!==Si){for(0===ir&&(ir=gn),Pn+=Ni,zn=Ft-ir,wi=1<852||2===L&&ci>592)return 1;Si=Pi&Cr,gt[Si]=gn<<24|zn<<16|Pn-ht}}return 0!==Pi&&(gt[Pn+Pi]=Ft-ir<<24|64<<16),Bt.bits=gn,0};const{Z_FINISH:Ho,Z_BLOCK:Fs,Z_TREES:As,Z_OK:Jr,Z_STREAM_END:zo,Z_NEED_DICT:ei,Z_STREAM_ERROR:di,Z_DATA_ERROR:lr,Z_MEM_ERROR:Or,Z_BUF_ERROR:cr,Z_DEFLATED:to}=Re,Us=16180,Vs=16190,hs=16191,qr=16199,Rr=16200,Gi=16209,oe=L=>(L>>>24&255)+(L>>>8&65280)+((65280&L)<<8)+((255&L)<<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 lt=L=>{if(!L)return 1;const Ce=L.state;return!Ce||Ce.strm!==L||Ce.mode16211?1:0},$t=L=>{if(lt(L))return di;const Ce=L.state;return L.total_in=L.total_out=Ce.total=0,L.msg="",Ce.wrap&&(L.adler=1&Ce.wrap),Ce.mode=Us,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},Jt=L=>{if(lt(L))return di;const Ce=L.state;return Ce.wsize=0,Ce.whave=0,Ce.wnext=0,$t(L)},wn=(L,Ce)=>{let Z;if(lt(L))return di;const Xe=L.state;return Ce<0?(Z=0,Ce=-Ce):(Z=5+(Ce>>4),Ce<48&&(Ce&=15)),Ce&&(Ce<8||Ce>15)?di:(null!==Xe.window&&Xe.wbits!==Ce&&(Xe.window=null),Xe.wrap=Z,Xe.wbits=Ce,Jt(L))},Ci=(L,Ce)=>{if(!L)return di;const Z=new ye;L.state=Z,Z.strm=L,Z.window=null,Z.mode=Us;const Xe=wn(L,Ce);return Xe!==Jr&&(L.state=null),Xe};let ri,ki,Ai=!0;const Di=L=>{if(Ai){ri=new Int32Array(512),ki=new Int32Array(32);let Ce=0;for(;Ce<144;)L.lens[Ce++]=8;for(;Ce<256;)L.lens[Ce++]=9;for(;Ce<280;)L.lens[Ce++]=7;for(;Ce<288;)L.lens[Ce++]=8;for(Ss(1,L.lens,0,288,ri,0,L.work,{bits:9}),Ce=0;Ce<32;)L.lens[Ce++]=5;Ss(2,L.lens,0,32,ki,0,L.work,{bits:5}),Ai=!1}L.lencode=ri,L.lenbits=9,L.distcode=ki,L.distbits=5},er=(L,Ce,Z,Xe)=>{let gt;const ht=L.state;return null===ht.window&&(ht.wsize=1<=ht.wsize?(ht.window.set(Ce.subarray(Z-ht.wsize,Z),0),ht.wnext=0,ht.whave=ht.wsize):(gt=ht.wsize-ht.wnext,gt>Xe&&(gt=Xe),ht.window.set(Ce.subarray(Z-Xe,Z-Xe+gt),ht.wnext),(Xe-=gt)?(ht.window.set(Ce.subarray(Z-Xe,Z),0),ht.wnext=Xe,ht.whave=ht.wsize):(ht.wnext+=gt,ht.wnext===ht.wsize&&(ht.wnext=0),ht.whaveCi(L,15),inflateInit2:Ci,inflate:(L,Ce)=>{let Z,Xe,gt,ht,Yt,Bt,Nn,Ft,Qt,Ni,An,gn,zn,ir,ci,Pi,pi,Sn,Si,Cr,Pn,ji,wi=0;const bi=new Uint8Array(4);let si,gi;const Ro=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(lt(L)||!L.output||!L.input&&0!==L.avail_in)return di;Z=L.state,Z.mode===hs&&(Z.mode=16192),Yt=L.next_out,gt=L.output,Nn=L.avail_out,ht=L.next_in,Xe=L.input,Bt=L.avail_in,Ft=Z.hold,Qt=Z.bits,Ni=Bt,An=Nn,ji=Jr;e:for(;;)switch(Z.mode){case Us:if(0===Z.wrap){Z.mode=16192;break}for(;Qt<16;){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>>8&255,Z.check=et(Z.check,bi,2,0),Ft=0,Qt=0,Z.mode=16181;break}if(Z.head&&(Z.head.done=!1),!(1&Z.wrap)||(((255&Ft)<<8)+(Ft>>8))%31){L.msg="incorrect header check",Z.mode=Gi;break}if((15&Ft)!==to){L.msg="unknown compression method",Z.mode=Gi;break}if(Ft>>>=4,Qt-=4,Pn=8+(15&Ft),0===Z.wbits&&(Z.wbits=Pn),Pn>15||Pn>Z.wbits){L.msg="invalid window size",Z.mode=Gi;break}Z.dmax=1<>8&1),512&Z.flags&&4&Z.wrap&&(bi[0]=255&Ft,bi[1]=Ft>>>8&255,Z.check=et(Z.check,bi,2,0)),Ft=0,Qt=0,Z.mode=16182;case 16182:for(;Qt<32;){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>>8&255,bi[2]=Ft>>>16&255,bi[3]=Ft>>>24&255,Z.check=et(Z.check,bi,4,0)),Ft=0,Qt=0,Z.mode=16183;case 16183:for(;Qt<16;){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>8),512&Z.flags&&4&Z.wrap&&(bi[0]=255&Ft,bi[1]=Ft>>>8&255,Z.check=et(Z.check,bi,2,0)),Ft=0,Qt=0,Z.mode=16184;case 16184:if(1024&Z.flags){for(;Qt<16;){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>>8&255,Z.check=et(Z.check,bi,2,0)),Ft=0,Qt=0}else Z.head&&(Z.head.extra=null);Z.mode=16185;case 16185:if(1024&Z.flags&&(gn=Z.length,gn>Bt&&(gn=Bt),gn&&(Z.head&&(Pn=Z.head.extra_len-Z.length,Z.head.extra||(Z.head.extra=new Uint8Array(Z.head.extra_len)),Z.head.extra.set(Xe.subarray(ht,ht+gn),Pn)),512&Z.flags&&4&Z.wrap&&(Z.check=et(Z.check,Xe,gn,ht)),Bt-=gn,ht+=gn,Z.length-=gn),Z.length))break e;Z.length=0,Z.mode=16186;case 16186:if(2048&Z.flags){if(0===Bt)break e;gn=0;do{Pn=Xe[ht+gn++],Z.head&&Pn&&Z.length<65536&&(Z.head.name+=String.fromCharCode(Pn))}while(Pn&&gn>9&1,Z.head.done=!0),L.adler=Z.check=0,Z.mode=hs;break;case 16189:for(;Qt<32;){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>>=7&Qt,Qt-=7&Qt,Z.mode=16206;break}for(;Qt<3;){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>>=1,Qt-=1,3&Ft){case 0:Z.mode=16193;break;case 1:if(Di(Z),Z.mode=qr,Ce===As){Ft>>>=2,Qt-=2;break e}break;case 2:Z.mode=16196;break;case 3:L.msg="invalid block type",Z.mode=Gi}Ft>>>=2,Qt-=2;break;case 16193:for(Ft>>>=7&Qt,Qt-=7&Qt;Qt<32;){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>>16^65535)){L.msg="invalid stored block lengths",Z.mode=Gi;break}if(Z.length=65535&Ft,Ft=0,Qt=0,Z.mode=16194,Ce===As)break e;case 16194:Z.mode=16195;case 16195:if(gn=Z.length,gn){if(gn>Bt&&(gn=Bt),gn>Nn&&(gn=Nn),0===gn)break e;gt.set(Xe.subarray(ht,ht+gn),Yt),Bt-=gn,ht+=gn,Nn-=gn,Yt+=gn,Z.length-=gn;break}Z.mode=hs;break;case 16196:for(;Qt<14;){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>>=5,Qt-=5,Z.ndist=1+(31&Ft),Ft>>>=5,Qt-=5,Z.ncode=4+(15&Ft),Ft>>>=4,Qt-=4,Z.nlen>286||Z.ndist>30){L.msg="too many length or distance symbols",Z.mode=Gi;break}Z.have=0,Z.mode=16197;case 16197:for(;Z.have>>=3,Qt-=3}for(;Z.have<19;)Z.lens[Ro[Z.have++]]=0;if(Z.lencode=Z.lendyn,Z.lenbits=7,si={bits:Z.lenbits},ji=Ss(0,Z.lens,0,19,Z.lencode,0,Z.work,si),Z.lenbits=si.bits,ji){L.msg="invalid code lengths set",Z.mode=Gi;break}Z.have=0,Z.mode=16198;case 16198:for(;Z.have>>24,Pi=wi>>>16&255,pi=65535&wi,!(ci<=Qt);){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>>=ci,Qt-=ci,Z.lens[Z.have++]=pi;else{if(16===pi){for(gi=ci+2;Qt>>=ci,Qt-=ci,0===Z.have){L.msg="invalid bit length repeat",Z.mode=Gi;break}Pn=Z.lens[Z.have-1],gn=3+(3&Ft),Ft>>>=2,Qt-=2}else if(17===pi){for(gi=ci+3;Qt>>=ci,Qt-=ci,Pn=0,gn=3+(7&Ft),Ft>>>=3,Qt-=3}else{for(gi=ci+7;Qt>>=ci,Qt-=ci,Pn=0,gn=11+(127&Ft),Ft>>>=7,Qt-=7}if(Z.have+gn>Z.nlen+Z.ndist){L.msg="invalid bit length repeat",Z.mode=Gi;break}for(;gn--;)Z.lens[Z.have++]=Pn}}if(Z.mode===Gi)break;if(0===Z.lens[256]){L.msg="invalid code -- missing end-of-block",Z.mode=Gi;break}if(Z.lenbits=9,si={bits:Z.lenbits},ji=Ss(1,Z.lens,0,Z.nlen,Z.lencode,0,Z.work,si),Z.lenbits=si.bits,ji){L.msg="invalid literal/lengths set",Z.mode=Gi;break}if(Z.distbits=6,Z.distcode=Z.distdyn,si={bits:Z.distbits},ji=Ss(2,Z.lens,Z.nlen,Z.ndist,Z.distcode,0,Z.work,si),Z.distbits=si.bits,ji){L.msg="invalid distances set",Z.mode=Gi;break}if(Z.mode=qr,Ce===As)break e;case qr:Z.mode=Rr;case Rr:if(Bt>=6&&Nn>=258){L.next_out=Yt,L.avail_out=Nn,L.next_in=ht,L.avail_in=Bt,Z.hold=Ft,Z.bits=Qt,Er(L,An),Yt=L.next_out,gt=L.output,Nn=L.avail_out,ht=L.next_in,Xe=L.input,Bt=L.avail_in,Ft=Z.hold,Qt=Z.bits,Z.mode===hs&&(Z.back=-1);break}for(Z.back=0;wi=Z.lencode[Ft&(1<>>24,Pi=wi>>>16&255,pi=65535&wi,!(ci<=Qt);){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>Sn)],ci=wi>>>24,Pi=wi>>>16&255,pi=65535&wi,!(Sn+ci<=Qt);){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>>=Sn,Qt-=Sn,Z.back+=Sn}if(Ft>>>=ci,Qt-=ci,Z.back+=ci,Z.length=pi,0===Pi){Z.mode=16205;break}if(32&Pi){Z.back=-1,Z.mode=hs;break}if(64&Pi){L.msg="invalid literal/length code",Z.mode=Gi;break}Z.extra=15&Pi,Z.mode=16201;case 16201:if(Z.extra){for(gi=Z.extra;Qt>>=Z.extra,Qt-=Z.extra,Z.back+=Z.extra}Z.was=Z.length,Z.mode=16202;case 16202:for(;wi=Z.distcode[Ft&(1<>>24,Pi=wi>>>16&255,pi=65535&wi,!(ci<=Qt);){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>Sn)],ci=wi>>>24,Pi=wi>>>16&255,pi=65535&wi,!(Sn+ci<=Qt);){if(0===Bt)break e;Bt--,Ft+=Xe[ht++]<>>=Sn,Qt-=Sn,Z.back+=Sn}if(Ft>>>=ci,Qt-=ci,Z.back+=ci,64&Pi){L.msg="invalid distance code",Z.mode=Gi;break}Z.offset=pi,Z.extra=15&Pi,Z.mode=16203;case 16203:if(Z.extra){for(gi=Z.extra;Qt>>=Z.extra,Qt-=Z.extra,Z.back+=Z.extra}if(Z.offset>Z.dmax){L.msg="invalid distance too far back",Z.mode=Gi;break}Z.mode=16204;case 16204:if(0===Nn)break e;if(gn=An-Nn,Z.offset>gn){if(gn=Z.offset-gn,gn>Z.whave&&Z.sane){L.msg="invalid distance too far back",Z.mode=Gi;break}gn>Z.wnext?(gn-=Z.wnext,zn=Z.wsize-gn):zn=Z.wnext-gn,gn>Z.length&&(gn=Z.length),ir=Z.window}else ir=gt,zn=Yt-Z.offset,gn=Z.length;gn>Nn&&(gn=Nn),Nn-=gn,Z.length-=gn;do{gt[Yt++]=ir[zn++]}while(--gn);0===Z.length&&(Z.mode=Rr);break;case 16205:if(0===Nn)break e;gt[Yt++]=Z.length,Nn--,Z.mode=Rr;break;case 16206:if(Z.wrap){for(;Qt<32;){if(0===Bt)break e;Bt--,Ft|=Xe[ht++]<{if(lt(L))return di;let Ce=L.state;return Ce.window&&(Ce.window=null),L.state=null,Jr},inflateGetHeader:(L,Ce)=>{if(lt(L))return di;const Z=L.state;return 2&Z.wrap?(Z.head=Ce,Ce.done=!1,Jr):di},inflateSetDictionary:(L,Ce)=>{const Z=Ce.length;let Xe,gt,ht;return lt(L)||(Xe=L.state,0!==Xe.wrap&&Xe.mode!==Vs)?di:Xe.mode===Vs&&(gt=1,gt=_e(gt,Ce,Z,0),gt!==Xe.check)?lr:(ht=er(L,Ce,Z,Z),ht?(Xe.mode=16210,Or):(Xe.havedict=1,Jr))},inflateInfo:"pako inflate (from Nodeca project)"},zs=function Ko(){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 Yi=Object.prototype.toString,{Z_NO_FLUSH:Oo,Z_FINISH:Ws,Z_OK:Fr,Z_STREAM_END:Gs,Z_NEED_DICT:Yo,Z_STREAM_ERROR:Ls,Z_DATA_ERROR:lo,Z_MEM_ERROR:Ns}=Re;function Kn(L){this.options=bn.assign({chunkSize:65536,windowBits:15,to:""},L||{});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&&!(L&&L.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 ur,this.strm.avail_out=0;let Z=Pr.inflateInit2(this.strm,Ce.windowBits);if(Z!==Fr)throw new Error(ft[Z]);if(this.header=new zs,Pr.inflateGetHeader(this.strm,this.header),Ce.dictionary&&("string"==typeof Ce.dictionary?Ce.dictionary=ii.string2buf(Ce.dictionary):"[object ArrayBuffer]"===Yi.call(Ce.dictionary)&&(Ce.dictionary=new Uint8Array(Ce.dictionary)),Ce.raw&&(Z=Pr.inflateSetDictionary(this.strm,Ce.dictionary),Z!==Fr)))throw new Error(ft[Z])}function co(L,Ce){const Z=new Kn(Ce);if(Z.push(L),Z.err)throw Z.msg||ft[Z.err];return Z.result}Kn.prototype.push=function(L,Ce){const Z=this.strm,Xe=this.options.chunkSize,gt=this.options.dictionary;let ht,Yt,Bt;if(this.ended)return!1;for(Yt=Ce===~~Ce?Ce:!0===Ce?Ws:Oo,Z.input="[object ArrayBuffer]"===Yi.call(L)?new Uint8Array(L):L,Z.next_in=0,Z.avail_in=Z.input.length;;){for(0===Z.avail_out&&(Z.output=new Uint8Array(Xe),Z.next_out=0,Z.avail_out=Xe),ht=Pr.inflate(Z,Yt),ht===Yo&>&&(ht=Pr.inflateSetDictionary(Z,gt),ht===Fr?ht=Pr.inflate(Z,Yt):ht===lo&&(ht=Yo));Z.avail_in>0&&ht===Gs&&Z.state.wrap>0&&0!==L[Z.next_in];)Pr.inflateReset(Z),ht=Pr.inflate(Z,Yt);switch(ht){case Ls:case lo:case Yo:case Ns:return this.onEnd(ht),this.ended=!0,!1}if(Bt=Z.avail_out,Z.next_out&&(0===Z.avail_out||ht===Gs))if("string"===this.options.to){let Nn=ii.utf8border(Z.output,Z.next_out),Ft=Z.next_out-Nn,Qt=ii.buf2string(Z.output,Nn);Z.next_out=Ft,Z.avail_out=Xe-Ft,Ft&&Z.output.set(Z.output.subarray(Nn,Nn+Ft),0),this.onData(Qt)}else this.onData(Z.output.length===Z.next_out?Z.output:Z.output.subarray(0,Z.next_out));if(ht!==Fr||0!==Bt){if(ht===Gs)return ht=Pr.inflateEnd(this.strm),this.onEnd(ht),this.ended=!0,!0;if(0===Z.avail_in)break}}return!0},Kn.prototype.onData=function(L){this.chunks.push(L)},Kn.prototype.onEnd=function(L){L===Fr&&(this.result="string"===this.options.to?this.chunks.join(""):bn.flattenChunks(this.chunks)),this.chunks=[],this.err=L,this.msg=this.strm.msg};var yr={Inflate:Kn,inflate:co,inflateRaw:function uo(L,Ce){return(Ce=Ce||{}).raw=!0,co(L,Ce)},ungzip:co,constants:Re};const{Deflate:hr,deflate:ua,deflateRaw:Ks,gzip:Qo}=kt,{Inflate:os,inflate:da,inflateRaw:wl,ungzip:El}=yr;var H=hr,re=ua,Q=Ks,se=Qo,Ee=os,ze=da,yt=wl,Zt=El,Wt=Re,Mn={Deflate:hr,deflate:ua,deflateRaw:Ks,gzip:Qo,Inflate:os,inflate:da,inflateRaw:wl,ungzip:El,constants:Re}},467:(De,ne,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(ne,{A:()=>v})},3380: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]]}}')},9852:De=>{"use strict";De.exports=JSON.parse('{"name":"fhirpath","version":"3.10.4","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"}')},8330:De=>{"use strict";De.exports=JSON.parse('{"name":"matchbox","version":"3.8.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.3.0","@angular/animations":"^17.3.0","@angular/cdk":"^17.3.0","@angular/common":"^17.3.0","@angular/core":"^17.3.0","@angular/forms":"^17.3.0","@angular/material":"^17.3.0","@angular/platform-browser":"^17.3.0","@angular/platform-browser-dynamic":"^17.3.0","@angular/router":"^17.3.0","@ngx-translate/core":"^15.0.0","@ngx-translate/http-loader":"^8.0.0","ace-builds":"^1.32.7","angular-oauth2-oidc":"^17.0.1","browserify-zlib":"^0.2.0","debug":"^4.3.1","fhir-kit-client":"1.9.2","fhirpath":"^3.10.4","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.3.0","@angular-eslint/eslint-plugin":"^17.3.0","@angular-eslint/eslint-plugin-template":"^17.3.0","@angular-eslint/schematics":"^17.3.0","@angular-eslint/template-parser":"^17.3.0","@angular/cli":"^17.3.0","@angular/compiler":"^17.3.0","@angular/compiler-cli":"^17.3.0","@angular/language-service":"^17.3.0","@types/debug":"^4.1.12","@types/jasmine":"^5.1.4","@types/node":"^20.11.30","@types/pako":"^2.0.3","@typescript-eslint/eslint-plugin":"^7.3.1","@typescript-eslint/parser":"^7.3.1","eslint":"^8.57.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.4.3","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.4.2"},"browser":{"fs":false,"os":false,"path":false,"zlib":false},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}}}')}},De=>{De(De.s=4429)}]); \ 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 deleted file mode 100644 index ae7e2cb74ac..00000000000 --- a/matchbox-server/src/main/resources/static/main.f2ef9fa836ae74fe.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(" (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/matchbox-server/src/main/resources/static/polyfills.4577ad29b0ebcfea.js b/matchbox-server/src/main/resources/static/polyfills.2f8bab6afb7b32f9.js similarity index 99% rename from matchbox-server/src/main/resources/static/polyfills.4577ad29b0ebcfea.js rename to matchbox-server/src/main/resources/static/polyfills.2f8bab6afb7b32f9.js index f88bfdb6986..cf8312fde1e 100644 --- a/matchbox-server/src/main/resources/static/polyfills.4577ad29b0ebcfea.js +++ b/matchbox-server/src/main/resources/static/polyfills.2f8bab6afb7b32f9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[260],{4728:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(t.Promise!==se.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return oe}static __load_patch(e,r,k=!1){if(se.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),se[e]=r(t,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,j),e.runCount++;const $=oe;oe=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(j,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,oe=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(X,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==X&&e._transitionTo(j,X),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new m(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new m(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new m(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===j||e.state===E){e._transitionTo(G,j,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CL.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class m{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const u=this;this.invoke=T===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(t,u,this,arguments)}}static invokeTask(T,e,r){T||(T=this),te++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==te&&_(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),O=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||t[O]&&(K=t[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else t[M](L,0)}function R(L){0===te&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},oe=null,te=0;function W(){}o("Zone","Zone"),t.Zone=d}(globalThis);const fe=Object.getOwnPropertyDescriptor,me=Object.defineProperty,be=Object.getPrototypeOf,De=Object.create,ct=Array.prototype.slice,Ze="addEventListener",Oe="removeEventListener",Ne=Zone.__symbol__(Ze),Ie=Zone.__symbol__(Oe),ce="true",ae="false",pe=Zone.__symbol__("");function Me(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const A=Zone.__symbol__,Pe=typeof window<"u",_e=Pe?window:void 0,Y=Pe&&_e||globalThis,at="removeAttribute";function je(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Me(t[i],n+"_"+i));return t}function Fe(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!_e.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!_e.HTMLElement),Re={},We=function(t){if(!(t=t||Y.event))return;let n=Re[t.type];n||(n=Re[t.type]=A("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===_e&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function qe(t,n,i){let o=fe(t,n);if(!o&&i&&fe(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&t===Y&&(m=Y),m&&("function"==typeof m[b]&&m.removeEventListener(d,We),y&&y.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const m=v[b];if(m)return m;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[at]&&v.removeAttribute(n),M}return null},me(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Le(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(t,n){t[A("OriginalDelegate")]=n}let ze=!1,He=!1;function ht(){if(ze)return He;ze=!0;try{const t=_e.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then"),M="__creationTrace__";i.onUnhandledError=u=>{if(i.showUncaughtError()){const l=u&&u.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(u)}},i.microtaskDrainDone=()=>{for(;d.length;){const u=d.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(l){N(l)}}};const O=y("unhandledPromiseRejectionHandler");function N(u){i.onUnhandledError(u);try{const l=n[O];"function"==typeof l&&l.call(this,u)}catch{}}function B(u){return u&&u.then}function H(u){return u}function K(u){return e.reject(u)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",j=null,E=!0,G=!1,h=0;function I(u,l){return s=>{try{z(u,l,s)}catch(f){z(u,!1,f)}}}const P=function(){let u=!1;return function(s){return function(){u||(u=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",se=y("currentTaskTrace");function z(u,l,s){const f=P();if(u===s)throw new TypeError(Q);if(u[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(u,!1,w)})(),u}if(l!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)oe(s),z(u,s[q],s[R]);else if(l!==G&&"function"==typeof g)try{g.call(s,f(I(u,l)),f(I(u,!1)))}catch(w){f(()=>{z(u,!1,w)})()}else{u[q]=l;const w=u[R];if(u[R]=s,u[_]===_&&l===E&&(u[q]=u[x],u[R]=u[J]),l===G&&s instanceof Error){const p=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];p&&c(s,se,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{const S=u[R],D=!!s&&_===s[_];D&&(s[J]=S,s[x]=w);const Z=l.run(p,void 0,D&&p!==K&&p!==H?[]:[S]);z(s,!0,Z)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(l){return l instanceof e?l:z(new this(null),E,l)}static reject(l){return z(new this(null),G,l)}static withResolvers(){const l={};return l.promise=new e((s,f)=>{l.resolve=s,l.reject=f}),l}static any(l){if(!l||"function"!=typeof l[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let p of l)f++,s.push(e.resolve(p))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new e((p,S)=>{for(let D=0;D{g||(g=!0,p(Z))},Z=>{w.push(Z),f--,0===f&&(g=!0,S(new T(w,"All promises were rejected")))})})}static race(l){let s,f,g=new this((S,D)=>{s=S,f=D});function w(S){s(S)}function p(S){f(S)}for(let S of l)B(S)||(S=this.resolve(S)),S.then(w,p);return g}static all(l){return e.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof e?this:e).allWithCallback(l,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(l,s){let f,g,w=new this((Z,V)=>{f=Z,g=V}),p=2,S=0;const D=[];for(let Z of l){B(Z)||(Z=this.resolve(Z));const V=S;try{Z.then(F=>{D[V]=s?s.thenCallback(F):F,p--,0===p&&f(D)},F=>{s?(D[V]=s.errorCallback(F),p--,0===p&&f(D)):g(F)})}catch(F){g(F)}p++,S++}return p-=2,0===p&&f(D),w}constructor(l){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();l&&l(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(l,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const g=new f(L),w=n.current;return this[q]==j?this[R].push(w,g,l,s):te(this,w,g,l,s),g}catch(l){return this.then(null,l)}finally(l){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(L);f[_]=_;const g=n.current;return this[q]==j?this[R].push(g,f,l,l):te(this,g,f,l,l),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(u){const l=u.prototype,s=o(l,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=l.then;l[m]=f,u.prototype.then=function(g,w){return new e((S,D)=>{f.call(this,S,D)}).then(g,w)},u[k]=!0}return i.patchThen=C,r&&(C(r),le(t,"fetch",u=>function $(u){return function(l,s){let f=u.apply(l,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=t[o];if(m)return n.call(m)}if(this===Error){const m=t[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let Ee=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{Ee=!1}const dt={useG:!0},ne={},Ye={},$e=new RegExp("^"+pe+"(\\w+)(true|false)$"),Je=A("propagationStopped");function Ke(t,n){const i=(n?n(t):t)+ae,o=(n?n(t):t)+ce,c=pe+i,a=pe+o;ne[t]={},ne[t][ae]=c,ne[t][ce]=a}function _t(t,n,i,o){const c=o&&o.add||Ze,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=A(c),v="."+c+":",m="prependListener",M="."+m+":",O=function(R,_,J){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[J])}catch(E){X=E}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,J){if(!(_=_||t.event))return;const x=R||_.target||t,X=x[ne[_.type][J?ce:ae]];if(X){const j=[];if(1===X.length){const E=O(X[0],x,_);E&&j.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=be(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[A(a)]=E[a],Q=E[A(y)]=E[y],se=E[A(d)]=E[d];let z;_&&_.prepend&&(z=E[A(_.prepend)]=E[_.prepend]);const e=J?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=J?function(s){if(!s.isRemoved){const f=ne[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let p=0;p{ie.zone.cancelTask(ie)},{once:!0})),h.target=null,ve&&(ve.taskData=null),nt&&(ee.once=!0),!Ee&&"boolean"==typeof ie.options||(ie.options=ee),ie.target=D,ie.capture=Ge,ie.eventName=Z,F&&(ie.originalDelegate=V),S?ye.unshift(ie):ye.push(ie),p?D:void 0}};return E[c]=l(I,v,e,r,j),z&&(E[m]=l(z,M,function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),E[a]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],w=!!g&&("boolean"==typeof g||g.capture),p=arguments[1];if(!p)return P.apply(this,arguments);if(x&&!x(P,p,s,arguments))return;const S=ne[f];let D;S&&(D=S[w?ce:ae]);const Z=D&&s[D];if(Z)for(let V=0;Vfunction(c,a){c[Je]=!0,o&&o.apply(c,a)})}function Tt(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(m){const M=`${i}.${o}::`+m,O=b.prototype;try{if(O.hasOwnProperty(m)){const N=t.ObjectGetOwnPropertyDescriptor(O,m);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(b.prototype,m,N)):O[m]&&(O[m]=t.wrapWithCurrentZone(O[m],M))}else O[m]&&(O[m]=t.wrapWithCurrentZone(O[m],M))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function et(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(t,n,i,o){t&&Xe(t,et(t,n,i),o)}function xe(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=xe(t);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=je,i.patchMacroTask=ut;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=Et,i.patchEventTarget=_t,i.isIEOrEdge=ht,i.ObjectDefineProperty=me,i.ObjectGetOwnPropertyDescriptor=fe,i.ObjectCreate=De,i.ArraySlice=ct,i.patchClass=ge,i.wrapWithCurrentZone=Me,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Tt,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:ne,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=A("zoneTask");function Te(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(t,m.args),v}function b(v){return a.call(t,v.data.handleId)}c=le(t,n+=o,v=>function(m,M){if("function"==typeof M[0]){const O={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||("number"==typeof O.handleId?delete y[O.handleId]:O.handleId&&(O.handleId[Ce]=null))}};const B=Le(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,M)}),a=le(t,i,v=>function(m,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Ce],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete y[O]:O&&(O[Ce]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",t=>{const n="set",i="clear";Te(t,n,i,"Timeout"),Te(t,n,i,"Interval"),Te(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Te(t,"request","cancel","AnimationFrame"),Te(t,"mozRequest","mozCancel","AnimationFrame"),Te(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function kt(t,n){n.patchEventPrototype(t,n)})(t,i),function gt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function yt(t,n){if(we&&!Ue||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ft(){try{const t=_e.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,xe(c),i&&i.concat(a),be(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Ne],B=M[Ie];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ne],B=I[Ie]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ne],B=P[Ie]),Q&&B.call(P,H,Q);const se=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===K){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const oe=h.invoke;h.invoke=function(){const te=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],J.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===K&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function O(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(t);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function lt(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,je(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){Qe(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{!function mt(t,n){n.patchMethod(t,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(t,i)})}},fe=>{fe(fe.s=4728)}]); \ No newline at end of file +"use strict";(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[461],{6935:()=>{!function(t){const n=t.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=t.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===t[a("forceDuplicateZoneCheck")];if(t.Zone){if(y||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(t.Promise!==se.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=L.current;for(;e.parent;)e=e.parent;return e}static get current(){return U.zone}static get currentTask(){return oe}static __load_patch(e,r,k=!1){if(se.hasOwnProperty(e)){if(!k&&y)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const C="Zone:"+e;i(C),se[e]=r(t,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(e,r){this._parent=e,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(e){const r=this.getZoneWith(e);if(r)return r._properties[e]}getZoneWith(e){let r=this;for(;r;){if(r._properties.hasOwnProperty(e))return r;r=r._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,r){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const k=this._zoneDelegate.intercept(this,e,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(e,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,e,r,k,C)}finally{U=U.parent}}runGuarded(e,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,e,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(e,r,k){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===x&&(e.type===Q||e.type===P))return;const C=e.state!=E;C&&e._transitionTo(E,j),e.runCount++;const $=oe;oe=e,U={parent:U,zone:this};try{e.type==P&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,r,k)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{e.state!==x&&e.state!==h&&(e.type==Q||e.data&&e.data.isPeriodic?C&&e._transitionTo(j,E):(e.runCount=0,this._updateTaskCount(e,-1),C&&e._transitionTo(x,E,x))),U=U.parent,oe=$}}scheduleTask(e){if(e.zone&&e.zone!==this){let k=this;for(;k;){if(k===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);k=k.parent}}e._transitionTo(X,x);const r=[];e._zoneDelegates=r,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(k){throw e._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return e._zoneDelegates===r&&this._updateTaskCount(e,1),e.state==X&&e._transitionTo(j,X),e}scheduleMicroTask(e,r,k,C){return this.scheduleTask(new m(I,e,r,k,C,void 0))}scheduleMacroTask(e,r,k,C,$){return this.scheduleTask(new m(P,e,r,k,C,$))}scheduleEventTask(e,r,k,C,$){return this.scheduleTask(new m(Q,e,r,k,C,$))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||J).name+"; Execution: "+this.name+")");if(e.state===j||e.state===E){e._transitionTo(G,j,E);try{this._zoneDelegate.cancelTask(this,e)}catch(r){throw e._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(e,-1),e._transitionTo(x,G),e.runCount=0,e}}_updateTaskCount(e,r){const k=e._zoneDelegates;-1==r&&(e._zoneDelegates=null);for(let C=0;CL.hasTask(e,r),onScheduleTask:(L,T,e,r)=>L.scheduleTask(e,r),onInvokeTask:(L,T,e,r,k,C)=>L.invokeTask(e,r,k,C),onCancelTask:(L,T,e,r)=>L.cancelTask(e,r)};class v{constructor(T,e,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=e,this._forkZS=r&&(r&&r.onFork?r:e._forkZS),this._forkDlgt=r&&(r.onFork?e:e._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:e._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:e._interceptZS),this._interceptDlgt=r&&(r.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:e._invokeZS),this._invokeDlgt=r&&(r.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:e._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:e._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:e._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:e._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||e&&e._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(T,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,e):new d(T,e)}intercept(T,e,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,e,r):e}invoke(T,e,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,e,r,k,C):e.apply(r,k)}handleError(T,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,e)}scheduleTask(T,e){let r=e;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,e),r||(r=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=I)throw new Error("Task is missing scheduleFn.");R(e)}return r}invokeTask(T,e,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,e,r,k):e.callback.apply(r,k)}cancelTask(T,e){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");r=e.cancelFn(e)}return r}hasTask(T,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,e)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,e){const r=this._taskCounts,k=r[T],C=r[T]=k+e;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class m{constructor(T,e,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=e,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const u=this;this.invoke=T===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(t,u,this,arguments)}}static invokeTask(T,e,r){T||(T=this),te++;try{return T.runCount++,T.zone.runTask(T,e,r)}finally{1==te&&_(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,e,r){if(this._state!==e&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${e}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),O=a("Promise"),N=a("then");let K,B=[],H=!1;function q(L){if(K||t[O]&&(K=t[O].resolve(0)),K){let T=K[N];T||(T=K.then),T.call(K,L)}else t[M](L,0)}function R(L){0===te&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},oe=null,te=0;function W(){}o("Zone","Zone"),t.Zone=d}(globalThis);const fe=Object.getOwnPropertyDescriptor,me=Object.defineProperty,be=Object.getPrototypeOf,De=Object.create,ct=Array.prototype.slice,Ze="addEventListener",Oe="removeEventListener",Ne=Zone.__symbol__(Ze),Ie=Zone.__symbol__(Oe),ce="true",ae="false",pe=Zone.__symbol__("");function Me(t,n){return Zone.current.wrap(t,n)}function Le(t,n,i,o,c){return Zone.current.scheduleMacroTask(t,n,i,o,c)}const A=Zone.__symbol__,Pe=typeof window<"u",_e=Pe?window:void 0,Y=Pe&&_e||globalThis,at="removeAttribute";function je(t,n){for(let i=t.length-1;i>=0;i--)"function"==typeof t[i]&&(t[i]=Me(t[i],n+"_"+i));return t}function Fe(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!_e.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!_e.HTMLElement),Re={},We=function(t){if(!(t=t||Y.event))return;let n=Re[t.type];n||(n=Re[t.type]=A("ON_PROPERTY"+t.type));const i=this||t.target||Y,o=i[n];let c;return Ae&&i===_e&&"error"===t.type?(c=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&t.preventDefault()),c};function qe(t,n,i){let o=fe(t,n);if(!o&&i&&fe(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&t===Y&&(m=Y),m&&("function"==typeof m[b]&&m.removeEventListener(d,We),y&&y.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&t===Y&&(v=Y),!v)return null;const m=v[b];if(m)return m;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[at]&&v.removeAttribute(n),M}return null},me(t,n,o),t[c]=!0}function Xe(t,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Le(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(t,n){t[A("OriginalDelegate")]=n}let ze=!1,He=!1;function ht(){if(ze)return He;ze=!0;try{const t=_e.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(t,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==t[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then"),M="__creationTrace__";i.onUnhandledError=u=>{if(i.showUncaughtError()){const l=u&&u.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(u)}},i.microtaskDrainDone=()=>{for(;d.length;){const u=d.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(l){N(l)}}};const O=y("unhandledPromiseRejectionHandler");function N(u){i.onUnhandledError(u);try{const l=n[O];"function"==typeof l&&l.call(this,u)}catch{}}function B(u){return u&&u.then}function H(u){return u}function K(u){return e.reject(u)}const q=y("state"),R=y("value"),_=y("finally"),J=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",j=null,E=!0,G=!1,h=0;function I(u,l){return s=>{try{z(u,l,s)}catch(f){z(u,!1,f)}}}const P=function(){let u=!1;return function(s){return function(){u||(u=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",se=y("currentTaskTrace");function z(u,l,s){const f=P();if(u===s)throw new TypeError(Q);if(u[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(u,!1,w)})(),u}if(l!==G&&s instanceof e&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)oe(s),z(u,s[q],s[R]);else if(l!==G&&"function"==typeof g)try{g.call(s,f(I(u,l)),f(I(u,!1)))}catch(w){f(()=>{z(u,!1,w)})()}else{u[q]=l;const w=u[R];if(u[R]=s,u[_]===_&&l===E&&(u[q]=u[x],u[R]=u[J]),l===G&&s instanceof Error){const p=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];p&&c(s,se,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{const S=u[R],D=!!s&&_===s[_];D&&(s[J]=S,s[x]=w);const Z=l.run(p,void 0,D&&p!==K&&p!==H?[]:[S]);z(s,!0,Z)}catch(S){z(s,!1,S)}},s)}const L=function(){},T=t.AggregateError;class e{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(l){return l instanceof e?l:z(new this(null),E,l)}static reject(l){return z(new this(null),G,l)}static withResolvers(){const l={};return l.promise=new e((s,f)=>{l.resolve=s,l.reject=f}),l}static any(l){if(!l||"function"!=typeof l[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let p of l)f++,s.push(e.resolve(p))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new e((p,S)=>{for(let D=0;D{g||(g=!0,p(Z))},Z=>{w.push(Z),f--,0===f&&(g=!0,S(new T(w,"All promises were rejected")))})})}static race(l){let s,f,g=new this((S,D)=>{s=S,f=D});function w(S){s(S)}function p(S){f(S)}for(let S of l)B(S)||(S=this.resolve(S)),S.then(w,p);return g}static all(l){return e.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof e?this:e).allWithCallback(l,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(l,s){let f,g,w=new this((Z,V)=>{f=Z,g=V}),p=2,S=0;const D=[];for(let Z of l){B(Z)||(Z=this.resolve(Z));const V=S;try{Z.then(F=>{D[V]=s?s.thenCallback(F):F,p--,0===p&&f(D)},F=>{s?(D[V]=s.errorCallback(F),p--,0===p&&f(D)):g(F)})}catch(F){g(F)}p++,S++}return p-=2,0===p&&f(D),w}constructor(l){const s=this;if(!(s instanceof e))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=P();l&&l(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return e}then(l,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||e);const g=new f(L),w=n.current;return this[q]==j?this[R].push(w,g,l,s):te(this,w,g,l,s),g}catch(l){return this.then(null,l)}finally(l){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=e);const f=new s(L);f[_]=_;const g=n.current;return this[q]==j?this[R].push(g,f,l,l):te(this,g,f,l,l),f}}e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;const r=t[v]=t.Promise;t.Promise=e;const k=y("thenPatched");function C(u){const l=u.prototype,s=o(l,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=l.then;l[m]=f,u.prototype.then=function(g,w){return new e((S,D)=>{f.call(this,S,D)}).then(g,w)},u[k]=!0}return i.patchThen=C,r&&(C(r),le(t,"fetch",u=>function $(u){return function(l,s){let f=u.apply(l,s);if(f instanceof e)return f;let g=f.constructor;return g[k]||C(g),f}}(u))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,e}),Zone.__load_patch("toString",t=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=t[o];if(m)return n.call(m)}if(this===Error){const m=t[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let Ee=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){Ee=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{Ee=!1}const dt={useG:!0},ne={},Ye={},$e=new RegExp("^"+pe+"(\\w+)(true|false)$"),Je=A("propagationStopped");function Ke(t,n){const i=(n?n(t):t)+ae,o=(n?n(t):t)+ce,c=pe+i,a=pe+o;ne[t]={},ne[t][ae]=c,ne[t][ce]=a}function _t(t,n,i,o){const c=o&&o.add||Ze,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=A(c),v="."+c+":",m="prependListener",M="."+m+":",O=function(R,_,J){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[J])}catch(E){X=E}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,J.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,J){if(!(_=_||t.event))return;const x=R||_.target||t,X=x[ne[_.type][J?ce:ae]];if(X){const j=[];if(1===X.length){const E=O(X[0],x,_);E&&j.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let J=!0;_&&void 0!==_.useG&&(J=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=be(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[A(a)]=E[a],Q=E[A(y)]=E[y],se=E[A(d)]=E[d];let z;_&&_.prepend&&(z=E[A(_.prepend)]=E[_.prepend]);const e=J?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=J?function(s){if(!s.isRemoved){const f=ne[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let p=0;p{ie.zone.cancelTask(ie)},{once:!0})),h.target=null,ve&&(ve.taskData=null),nt&&(ee.once=!0),!Ee&&"boolean"==typeof ie.options||(ie.options=ee),ie.target=D,ie.capture=Ge,ie.eventName=Z,F&&(ie.originalDelegate=V),S?ye.unshift(ie):ye.push(ie),p?D:void 0}};return E[c]=l(I,v,e,r,j),z&&(E[m]=l(z,M,function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,j,!0)),E[a]=function(){const s=this||t;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],w=!!g&&("boolean"==typeof g||g.capture),p=arguments[1];if(!p)return P.apply(this,arguments);if(x&&!x(P,p,s,arguments))return;const S=ne[f];let D;S&&(D=S[w?ce:ae]);const Z=D&&s[D];if(Z)for(let V=0;Vfunction(c,a){c[Je]=!0,o&&o.apply(c,a)})}function Tt(t,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(m){const M=`${i}.${o}::`+m,O=b.prototype;try{if(O.hasOwnProperty(m)){const N=t.ObjectGetOwnPropertyDescriptor(O,m);N&&N.value?(N.value=t.wrapWithCurrentZone(N.value,M),t._redefineProperty(b.prototype,m,N)):O[m]&&(O[m]=t.wrapWithCurrentZone(O[m],M))}else O[m]&&(O[m]=t.wrapWithCurrentZone(O[m],M))}catch{}}),y.call(n,d,b,v)},t.attachOriginToPatched(n[o],y)}function et(t,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===t);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(t,n,i,o){t&&Xe(t,et(t,n,i),o)}function xe(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(t,n,i)=>{const o=xe(t);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=je,i.patchMacroTask=ut;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");t[a]&&(t[c]=t[a]),t[c]&&(n[c]=n[a]=t[c]),i.patchEventPrototype=Et,i.patchEventTarget=_t,i.isIEOrEdge=ht,i.ObjectDefineProperty=me,i.ObjectGetOwnPropertyDescriptor=fe,i.ObjectCreate=De,i.ArraySlice=ct,i.patchClass=ge,i.wrapWithCurrentZone=Me,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Tt,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:ne,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:pe,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=A("zoneTask");function Te(t,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(t,m.args),v}function b(v){return a.call(t,v.data.handleId)}c=le(t,n+=o,v=>function(m,M){if("function"==typeof M[0]){const O={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||("number"==typeof O.handleId?delete y[O.handleId]:O.handleId&&(O.handleId[Ce]=null))}};const B=Le(n,M[0],O,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(t,M)}),a=le(t,i,v=>function(m,M){const O=M[0];let N;"number"==typeof O?N=y[O]:(N=O&&O[Ce],N||(N=O)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof O?delete y[O]:O&&(O[Ce]=null),N.zone.cancelTask(N)):v.apply(t,M)})}Zone.__load_patch("legacy",t=>{const n=t[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",t=>{const n="set",i="clear";Te(t,n,i,"Timeout"),Te(t,n,i,"Interval"),Te(t,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Te(t,"request","cancel","AnimationFrame"),Te(t,"mozRequest","mozCancel","AnimationFrame"),Te(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,t,v,d)})}),Zone.__load_patch("EventTarget",(t,n,i)=>{(function kt(t,n){n.patchEventPrototype(t,n)})(t,i),function gt(t,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ge("MutationObserver"),ge("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,n,i)=>{ge("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,n,i)=>{ge("FileReader")}),Zone.__load_patch("on_property",(t,n,i)=>{!function yt(t,n){if(we&&!Ue||Zone[t.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ft(){try{const t=_e.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,xe(c),i&&i.concat(a),be(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(t,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&t.customElements&&"customElements"in t&&n.patchCallbacks(n,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(t,i)}),Zone.__load_patch("XHR",(t,n)=>{!function b(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Ne],B=M[Ie];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ne],B=I[Ie]}}const H="readystatechange",K="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ne],B=P[Ie]),Q&&B.call(P,H,Q);const se=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===K){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const oe=h.invoke;h.invoke=function(){const te=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],J.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Le("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===K&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function O(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(t);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function lt(t,n){const i=t.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,je(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,n)=>{function i(o){return function(c){Qe(t,o).forEach(y=>{const d=t.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}t.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(t,n,i)=>{!function mt(t,n){n.patchMethod(t,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(t,i)})}},fe=>{fe(fe.s=6935)}]); \ No newline at end of file diff --git a/matchbox-server/src/main/resources/static/runtime.9801e927d78bee5c.js b/matchbox-server/src/main/resources/static/runtime.06be8fa34bcec2d9.js similarity index 95% rename from matchbox-server/src/main/resources/static/runtime.9801e927d78bee5c.js rename to matchbox-server/src/main/resources/static/runtime.06be8fa34bcec2d9.js index adb19bed0e6..0130e3e8c9b 100644 --- a/matchbox-server/src/main/resources/static/runtime.9801e927d78bee5c.js +++ b/matchbox-server/src/main/resources/static/runtime.06be8fa34bcec2d9.js @@ -1 +1 @@ -(()=>{"use strict";var e,s={},b={};function n(e){var l=b[e];if(void 0!==l)return l.exports;var r=b[e]={id:e,loaded:!1,exports:{}};return s[e].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=s,n.amdD=function(){throw new Error("define cannot be used indirect")},e=[],n.O=(l,r,f,o)=>{if(!r){var i=1/0;for(a=0;a=o)&&Object.keys(n.O).every(_=>n.O[_](r[t]))?r.splice(t--,1):(u=!1,o0&&e[a-1][2]>o;a--)e[a]=e[a-1];e[a]=[r,f,o]},n.d=(e,l)=>{for(var r in l)n.o(l,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:l[r]})},n.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),n.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={688:0};n.O.j=f=>0===e[f];var l=(f,o)=>{var t,c,[a,i,u]=o,d=0;if(a.some(h=>0!==e[h])){for(t in i)n.o(i,t)&&(n.m[t]=i[t]);if(u)var v=u(n)}for(f&&f(o);d{"use strict";var e,s={},b={};function n(e){var l=b[e];if(void 0!==l)return l.exports;var r=b[e]={id:e,loaded:!1,exports:{}};return s[e].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=s,n.amdD=function(){throw new Error("define cannot be used indirect")},e=[],n.O=(l,r,f,o)=>{if(!r){var i=1/0;for(a=0;a=o)&&Object.keys(n.O).every(_=>n.O[_](r[t]))?r.splice(t--,1):(u=!1,o0&&e[a-1][2]>o;a--)e[a]=e[a-1];e[a]=[r,f,o]},n.d=(e,l)=>{for(var r in l)n.o(l,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:l[r]})},n.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),n.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={121:0};n.O.j=f=>0===e[f];var l=(f,o)=>{var t,c,[a,i,u]=o,d=0;if(a.some(h=>0!==e[h])){for(t in i)n.o(i,t)&&(n.m[t]=i[t]);if(u)var v=u(n)}for(f&&f(o);dapp-home,main>app-capability-statement,main>app-igs,main>app-fhir-path,main>app-mapping-language,main>app-transform,main>app-settings{margin:0 auto;padding:3rem 0;width:1000px;display:block}} diff --git a/matchbox-server/src/main/resources/static/styles.99acbba4143fa086.css b/matchbox-server/src/main/resources/static/styles.99acbba4143fa086.css new file mode 100644 index 00000000000..565e6a34a64 --- /dev/null +++ b/matchbox-server/src/main/resources/static/styles.99acbba4143fa086.css @@ -0,0 +1,10 @@ +pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! + Theme: GitHub + Description: Light theme as seen on github.com + Author: github.com + Maintainer: @Hirse + Updated: 2021-05-15 + + Outdated base version: https://github.com/primer/github-syntax-light + Current colors taken from GitHub's CSS +*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, transparent);color:var(--mat-app-text-color, inherit)}html{--mat-ripple-color: rgba(0, 0, 0, .1)}html{--mat-option-selected-state-label-text-color: #97d6ba;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #1e91ff;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #97d6ba;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #97d6ba;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html,.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #1e91ff;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #1e91ff;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87)}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}html{--mdc-elevated-card-container-shape: 4px;--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}html{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}html{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #97d6ba;--mdc-linear-progress-track-color: rgba(151, 214, 186, .25)}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #1e91ff;--mdc-linear-progress-track-color: rgba(30, 145, 255, .25)}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}html{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}html{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}html{--mdc-filled-text-field-caret-color: #97d6ba;--mdc-filled-text-field-focus-active-indicator-color: #97d6ba;--mdc-filled-text-field-focus-label-text-color: rgba(151, 214, 186, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #97d6ba;--mdc-outlined-text-field-focus-outline-color: #97d6ba;--mdc-outlined-text-field-focus-label-text-color: rgba(151, 214, 186, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-focus-select-arrow-color: rgba(151, 214, 186, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .08}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #1e91ff;--mdc-filled-text-field-focus-active-indicator-color: #1e91ff;--mdc-filled-text-field-focus-label-text-color: rgba(30, 145, 255, .87);--mdc-outlined-text-field-caret-color: #1e91ff;--mdc-outlined-text-field-focus-outline-color: #1e91ff;--mdc-outlined-text-field-focus-label-text-color: rgba(30, 145, 255, .87);--mat-form-field-focus-select-arrow-color: rgba(30, 145, 255, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}html{--mat-form-field-container-height: 52px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 14px;--mat-form-field-filled-with-label-container-padding-top: 22px;--mat-form-field-filled-with-label-container-padding-bottom: 6px}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(151, 214, 186, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(30, 145, 255, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-autocomplete-background-color: white}html{--mdc-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mdc-dialog-container-shadow-color: #000;--mdc-dialog-container-shape: 4px;--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}html{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-standard-chip{--mdc-chip-container-shape-family: rounded;--mdc-chip-container-shape-radius: 16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family: rounded;--mdc-chip-with-avatar-avatar-shape-radius: 14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-selected-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-flat-disabled-selected-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-selected-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121;--mat-chip-selected-disabled-trailing-icon-color: #212121;--mat-chip-selected-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #97d6ba;--mdc-chip-elevated-selected-container-color: #97d6ba;--mdc-chip-elevated-disabled-container-color: #97d6ba;--mdc-chip-flat-disabled-selected-container-color: #97d6ba;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #1e91ff;--mdc-chip-elevated-selected-container-color: #1e91ff;--mdc-chip-elevated-disabled-container-color: #1e91ff;--mdc-chip-flat-disabled-selected-container-color: #1e91ff;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 28px}html{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1;--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}html{--mdc-switch-selected-focus-state-layer-color: #37546b;--mdc-switch-selected-handle-color: #37546b;--mdc-switch-selected-hover-state-layer-color: #37546b;--mdc-switch-selected-pressed-state-layer-color: #37546b;--mdc-switch-selected-focus-handle-color: #1a3043;--mdc-switch-selected-hover-handle-color: #1a3043;--mdc-switch-selected-pressed-handle-color: #1a3043;--mdc-switch-selected-focus-track-color: #778d9d;--mdc-switch-selected-hover-track-color: #778d9d;--mdc-switch-selected-pressed-track-color: #778d9d;--mdc-switch-selected-track-color: #778d9d;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-disabled-label-text-color: rgba(0, 0, 0, .38)}html .mat-mdc-slide-toggle{--mdc-form-field-label-text-color: rgba(0, 0, 0, .87)}html .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #37546b;--mdc-switch-selected-handle-color: #37546b;--mdc-switch-selected-hover-state-layer-color: #37546b;--mdc-switch-selected-pressed-state-layer-color: #37546b;--mdc-switch-selected-focus-handle-color: #1a3043;--mdc-switch-selected-hover-handle-color: #1a3043;--mdc-switch-selected-pressed-handle-color: #1a3043;--mdc-switch-selected-focus-track-color: #778d9d;--mdc-switch-selected-hover-track-color: #778d9d;--mdc-switch-selected-pressed-track-color: #778d9d;--mdc-switch-selected-track-color: #778d9d}html .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}html{--mdc-switch-state-layer-size: 36px}html .mat-mdc-slide-toggle{--mdc-form-field-label-text-font: Roboto, sans-serif;--mdc-form-field-label-text-line-height: 20px;--mdc-form-field-label-text-size: 14px;--mdc-form-field-label-text-tracking: .0178571429em;--mdc-form-field-label-text-weight: 400}html{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button{--mdc-form-field-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #97d6ba;--mdc-radio-selected-hover-icon-color: #97d6ba;--mdc-radio-selected-icon-color: #97d6ba;--mdc-radio-selected-pressed-icon-color: #97d6ba;--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #97d6ba;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #1e91ff;--mdc-radio-selected-hover-icon-color: #1e91ff;--mdc-radio-selected-icon-color: #1e91ff;--mdc-radio-selected-pressed-icon-color: #1e91ff;--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #1e91ff;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}html{--mdc-radio-state-layer-size: 36px;--mat-radio-touch-target-display: block}.mat-mdc-radio-button{--mdc-form-field-label-text-font: Roboto, sans-serif;--mdc-form-field-label-text-line-height: 20px;--mdc-form-field-label-text-size: 14px;--mdc-form-field-label-text-tracking: .0178571429em;--mdc-form-field-label-text-weight: 400}html{--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%);--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6}html{--mdc-slider-handle-color: #97d6ba;--mdc-slider-focus-handle-color: #97d6ba;--mdc-slider-hover-handle-color: #97d6ba;--mdc-slider-active-track-color: #97d6ba;--mdc-slider-inactive-track-color: #97d6ba;--mdc-slider-with-tick-marks-inactive-container-color: #97d6ba;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-label-container-color: #000;--mdc-slider-label-label-text-color: #fff;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-ripple-color: #97d6ba;--mat-slider-hover-state-layer-color: rgba(151, 214, 186, .05);--mat-slider-focus-state-layer-color: rgba(151, 214, 186, .2);--mat-slider-value-indicator-opacity: .6}html .mat-accent{--mat-slider-ripple-color: #1e91ff;--mat-slider-hover-state-layer-color: rgba(30, 145, 255, .05);--mat-slider-focus-state-layer-color: rgba(30, 145, 255, .2);--mdc-slider-handle-color: #1e91ff;--mdc-slider-focus-handle-color: #1e91ff;--mdc-slider-hover-handle-color: #1e91ff;--mdc-slider-active-track-color: #1e91ff;--mdc-slider-inactive-track-color: #1e91ff;--mdc-slider-with-tick-marks-inactive-container-color: #1e91ff;--mdc-slider-with-tick-marks-active-container-color: white}html .mat-warn{--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2);--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38;--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 0}html{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #97d6ba;--mdc-radio-selected-hover-icon-color: #97d6ba;--mdc-radio-selected-icon-color: #97d6ba;--mdc-radio-selected-pressed-icon-color: #97d6ba}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #1e91ff;--mdc-radio-selected-hover-icon-color: #1e91ff;--mdc-radio-selected-icon-color: #1e91ff;--mdc-radio-selected-pressed-icon-color: #1e91ff}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #97d6ba;--mdc-checkbox-selected-hover-icon-color: #97d6ba;--mdc-checkbox-selected-icon-color: #97d6ba;--mdc-checkbox-selected-pressed-icon-color: #97d6ba;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #97d6ba;--mdc-checkbox-selected-hover-state-layer-color: #97d6ba;--mdc-checkbox-selected-pressed-state-layer-color: #97d6ba;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #1e91ff;--mdc-checkbox-selected-hover-icon-color: #1e91ff;--mdc-checkbox-selected-icon-color: #1e91ff;--mdc-checkbox-selected-pressed-icon-color: #1e91ff;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #1e91ff;--mdc-checkbox-selected-hover-state-layer-color: #1e91ff;--mdc-checkbox-selected-pressed-state-layer-color: #1e91ff;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#97d6ba}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mdc-list-list-item-one-line-container-height: 44px;--mdc-list-list-item-two-line-container-height: 60px;--mdc-list-list-item-three-line-container-height: 84px;--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 32px}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-state-layer-size: 36px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:52px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:68px}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html{--mat-paginator-container-size: 52px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px}html{--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0;--mdc-secondary-navigation-tab-container-height: 48px;--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #97d6ba;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #97d6ba;--mat-tab-header-active-ripple-color: #97d6ba;--mat-tab-header-inactive-ripple-color: #97d6ba;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #97d6ba;--mat-tab-header-active-hover-label-text-color: #97d6ba;--mat-tab-header-active-focus-indicator-color: #97d6ba;--mat-tab-header-active-hover-indicator-color: #97d6ba}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #1e91ff;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #1e91ff;--mat-tab-header-active-ripple-color: #1e91ff;--mat-tab-header-inactive-ripple-color: #1e91ff;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #1e91ff;--mat-tab-header-active-hover-label-text-color: #1e91ff;--mat-tab-header-active-focus-indicator-color: #1e91ff;--mat-tab-header-active-hover-indicator-color: #1e91ff}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #97d6ba;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #1e91ff;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 44px}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}html{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #1e91ff;--mdc-checkbox-selected-hover-icon-color: #1e91ff;--mdc-checkbox-selected-icon-color: #1e91ff;--mdc-checkbox-selected-pressed-icon-color: #1e91ff;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #1e91ff;--mdc-checkbox-selected-hover-state-layer-color: #1e91ff;--mdc-checkbox-selected-pressed-state-layer-color: #1e91ff;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black;--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-checkbox{--mdc-form-field-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #97d6ba;--mdc-checkbox-selected-hover-icon-color: #97d6ba;--mdc-checkbox-selected-icon-color: #97d6ba;--mdc-checkbox-selected-pressed-icon-color: #97d6ba;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #97d6ba;--mdc-checkbox-selected-hover-state-layer-color: #97d6ba;--mdc-checkbox-selected-pressed-state-layer-color: #97d6ba;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mdc-checkbox-state-layer-size: 36px;--mat-checkbox-touch-target-display: block}html{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false;--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false;--mdc-protected-button-container-shape: 4px;--mdc-protected-button-keep-touch-target: false;--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px;--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0;--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px;--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px;--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}html{--mdc-text-button-label-text-color: black;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-text-button-state-layer-color: black;--mat-text-button-disabled-state-layer-color: black;--mat-text-button-ripple-color: rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity: .04;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: black;--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-filled-button-state-layer-color: black;--mat-filled-button-disabled-state-layer-color: black;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity: .04;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: black;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-protected-button-container-shadow-color: #000;--mat-protected-button-state-layer-color: black;--mat-protected-button-disabled-state-layer-color: black;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity: .04;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color: black;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: black;--mat-outlined-button-disabled-state-layer-color: black;--mat-outlined-button-ripple-color: rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity: .04;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #97d6ba;--mat-text-button-state-layer-color: #97d6ba;--mat-text-button-ripple-color: rgba(151, 214, 186, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #1e91ff;--mat-text-button-state-layer-color: #1e91ff;--mat-text-button-ripple-color: rgba(30, 145, 255, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336;--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #97d6ba;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #1e91ff;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #97d6ba;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #1e91ff;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #97d6ba;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #97d6ba;--mat-outlined-button-ripple-color: rgba(151, 214, 186, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #1e91ff;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #1e91ff;--mat-outlined-button-ripple-color: rgba(30, 145, 255, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}html{--mdc-text-button-container-height: 32px;--mdc-filled-button-container-height: 32px;--mdc-outlined-button-container-height: 32px;--mdc-protected-button-container-height: 32px;--mat-text-button-touch-target-display: block;--mat-filled-button-touch-target-display: block;--mat-protected-button-touch-target-display: block;--mat-outlined-button-touch-target-display: block}html{--mdc-icon-button-icon-size: 24px}html{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38);--mat-icon-button-state-layer-color: black;--mat-icon-button-disabled-state-layer-color: black;--mat-icon-button-ripple-color: rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12}html .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #97d6ba;--mat-icon-button-state-layer-color: #97d6ba;--mat-icon-button-ripple-color: rgba(151, 214, 186, .1)}html .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #1e91ff;--mat-icon-button-state-layer-color: #1e91ff;--mat-icon-button-ripple-color: rgba(30, 145, 255, .1)}html .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 44px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:10px}html{--mdc-fab-container-shape: 50%;--mdc-fab-icon-size: 24px;--mdc-fab-small-container-shape: 50%;--mdc-fab-small-icon-size: 24px;--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px}html{--mdc-fab-container-color: white;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-container-shadow-color: #000;--mat-fab-foreground-color: black;--mat-fab-state-layer-color: black;--mat-fab-disabled-state-layer-color: black;--mat-fab-ripple-color: rgba(0, 0, 0, .1);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-disabled-state-foreground-color: rgba(0, 0, 0, .38);--mdc-fab-small-container-color: white;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-small-container-shadow-color: #000;--mat-fab-small-foreground-color: black;--mat-fab-small-state-layer-color: black;--mat-fab-small-disabled-state-layer-color: black;--mat-fab-small-ripple-color: rgba(0, 0, 0, .1);--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-small-disabled-state-foreground-color: rgba(0, 0, 0, .38);--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-extended-fab-container-shadow-color: #000}html .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #97d6ba;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #1e91ff;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #97d6ba;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #1e91ff;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html{--mat-fab-touch-target-display: block;--mat-fab-small-touch-target-display: block}html{--mdc-snackbar-container-shape: 4px}html{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #1e91ff}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 52px;--mat-table-footer-container-height: 48px;--mat-table-row-item-container-height: 48px}html{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}html{--mdc-circular-progress-active-indicator-color: #97d6ba}html .mat-accent{--mdc-circular-progress-active-indicator-color: #1e91ff}html .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}html{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}html{--mat-badge-background-color: #97d6ba;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #1e91ff;--mat-badge-text-color: white}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-bottom-sheet-container-shape: 4px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1;--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}html{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html{--mat-standard-button-toggle-height: 44px}html{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #97d6ba;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(151, 214, 186, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(151, 214, 186, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(151, 214, 186, .3);--mat-datepicker-toggle-active-state-icon-color: #97d6ba;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(151, 214, 186, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: black;--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #1e91ff;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(30, 145, 255, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(30, 145, 255, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(30, 145, 255, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(30, 145, 255, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #1e91ff}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls{--mat-icon-button-touch-target-display: none}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}html{--mat-divider-width: 1px}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 44px;--mat-expansion-header-expanded-state-height: 60px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #97d6ba}.mat-icon.mat-accent{--mat-icon-color: #1e91ff}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #97d6ba;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #97d6ba;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #97d6ba;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #1e91ff;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #1e91ff;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #1e91ff;--mat-stepper-header-edit-state-icon-foreground-color: white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 68px}html{--mat-sort-arrow-color: #757575}html{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #97d6ba;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #1e91ff;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 60px;--mat-toolbar-mobile-height: 52px}html{--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87)}html{--mat-tree-node-min-height: 44px}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px}.mat-h1,.mat-headline-5,.mat-typography .mat-h1,.mat-typography .mat-headline-5,.mat-typography h1{font:400 24px/32px Roboto,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-headline-6,.mat-typography .mat-h2,.mat-typography .mat-headline-6,.mat-typography h2{font:500 20px/32px Roboto,sans-serif;letter-spacing:.0125em;margin:0 0 16px}.mat-h3,.mat-subtitle-1,.mat-typography .mat-h3,.mat-typography .mat-subtitle-1,.mat-typography h3{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em;margin:0 0 16px}.mat-h4,.mat-body-1,.mat-typography .mat-h4,.mat-typography .mat-body-1,.mat-typography h4{font:400 16px/24px Roboto,sans-serif;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,.mat-typography .mat-body-strong,.mat-typography .mat-subtitle-2{font:500 14px/22px Roboto,sans-serif;letter-spacing:.0071428571em}.mat-body,.mat-body-2,.mat-typography .mat-body,.mat-typography .mat-body-2,.mat-typography{font:400 14px/20px Roboto,sans-serif;letter-spacing:.0178571429em}.mat-body p,.mat-body-2 p,.mat-typography .mat-body p,.mat-typography .mat-body-2 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font:400 12px/20px Roboto,sans-serif;letter-spacing:.0333333333em}.mat-headline-1,.mat-typography .mat-headline-1{font:300 96px/96px Roboto,sans-serif;letter-spacing:-.015625em;margin:0 0 56px}.mat-headline-2,.mat-typography .mat-headline-2{font:300 60px/60px Roboto,sans-serif;letter-spacing:-.0083333333em;margin:0 0 64px}.mat-headline-3,.mat-typography .mat-headline-3{font:400 48px/50px Roboto,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-headline-4,.mat-typography .mat-headline-4{font:400 34px/40px Roboto,sans-serif;letter-spacing:.0073529412em;margin:0 0 64px}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-label-text-font: Roboto, sans-serif;--mat-legacy-button-toggle-label-text-line-height: 24px;--mat-legacy-button-toggle-label-text-size: 16px;--mat-legacy-button-toggle-label-text-tracking: .03125em;--mat-legacy-button-toggle-label-text-weight: 400;--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 24px;--mat-standard-button-toggle-label-text-size: 16px;--mat-standard-button-toggle-label-text-tracking: .03125em;--mat-standard-button-toggle-label-text-weight: 400}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}html .mat-mdc-slide-toggle,.mat-mdc-radio-button{--mdc-form-field-label-text-font: Roboto, sans-serif;--mdc-form-field-label-text-line-height: 20px;--mdc-form-field-label-text-size: 14px;--mdc-form-field-label-text-tracking: .0178571429em;--mdc-form-field-label-text-weight: 400}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}.mat-mdc-checkbox{--mdc-form-field-label-text-font: Roboto, sans-serif;--mdc-form-field-label-text-line-height: 20px;--mdc-form-field-label-text-size: 14px;--mdc-form-field-label-text-tracking: .0178571429em;--mdc-form-field-label-text-weight: 400}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: .0892857143em;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none;--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: .0892857143em;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none;--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: .0892857143em;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none;--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: .0892857143em;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none}html{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500}html{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}body{background:#e2e7ea}body,body html{margin:0;width:100%;height:100%;font-family:Roboto,Arial,sans-serif}.mat-card.primary{padding:1.5rem}.mat-card.primary .primary-card-header{margin:-1.5rem;margin-bottom:0;padding-top:1.5rem;padding-left:1.5rem;padding-right:1.5rem}.mat-card.primary .primary-card-header h1{margin-bottom:0}.mat-card.primary .primary-card-header .mat-card-header-text{display:none}@media screen and (min-width: 1020px){.mat-card.primary .primary-card-header{background-color:#97d6ba;color:#fff;border-radius:4px 4px 0 0;padding-bottom:1.5rem}}.mat-card.primary .mat-card-content{padding-top:1.5rem}@font-face{font-family:InterVariable;font-style:normal;font-weight:100 900;font-display:swap;src:url(InterVariable.ff710c092db72df4.woff2) format("woff2")}@font-face{font-family:InterVariable;font-style:italic;font-weight:100 900;font-display:swap;src:url(InterVariable-Italic.ef0ecaff9635470d.woff2) format("woff2")}body{font-size:14px;font-family:InterVariable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.white-block{background:#fff;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;padding:16px;border-radius:4px}.white-block h2,.white-block h3,.white-block h4,.white-block h5,.white-block h6{font-weight:400;margin:.3em 0}.white-block h5{color:#959595;font-size:1em}table th{font-weight:600;color:#272727}button{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}button.primary{background-color:#97d6ba;color:#fff}.ace_editor{border:1px solid #dfdfdf;border-radius:4px}@media screen and (min-width: 1020px){main>app-home,main>app-capability-statement,main>app-igs,main>app-fhir-path,main>app-mapping-language,main>app-transform,main>app-settings{margin:0 auto;padding:3rem 0;width:1000px;display:block}} diff --git a/pom.xml b/pom.xml index f181871530e..1d1ee05c9d3 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ health.matchbox matchbox - 3.7.0 + 3.8.0 pom matchbox An open-source implementation to support testing and implementation of FHIR based solutions and map or